# Smbpasswd (command not found) need help..

**URL:** <https://community.unix.com/t/smbpasswd-command-not-found-need-help/227787>\
**Category:** Solaris\
**Created:** [January 15, 2009, 5:14am UTC](https://community.unix.com/t/smbpasswd-command-not-found-need-help/227787 "2009-01-15T05:14:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![zaeedh](https://community.unix.com/letter_avatar/zaeedh/32/5_5575768a8748004e209b776fc1b2916d.png) [@zaeedh](https://community.unix.com/u/zaeedh)\
**Post date:** [January 15, 2009, 5:14am UTC](https://community.unix.com/t/smbpasswd-command-not-found-need-help/227787/1 "2009-01-15T05:14:55Z")

</div>

Dear all

I am sorry if the case look's like a newbie case 😛  
but yes .. it is.. hehe..  
like U2 songs, now I'm stuck in the moment exactly ..  
I have been installed solaris ix86 and tried to make samba services.

and it's already run until I have config swat, smb.conf for shared directory, and it's running well.

but when I browse in the windows network client, there is authenticate session like login prompt. I used root user but it can't be open .

then I tried to make samba users with smbpasswd -a zaeedh, in addition I have already make unix user as zaeedh too, when I type smbpasswd -a zaeedh, the result is command not found, so there is some mistaked, or package was corrupt?  
I was search the previous topic, but there is a thousand topic.??

really need help, and thank's for the reply.

---

<div class="post-metadata">

**Author:** ![otheus](https://community.unix.com/user_avatar/community.unix.com/otheus/32/505_2.png) [@otheus](https://community.unix.com/u/otheus)\
**Post date:** [January 15, 2009, 5:58am UTC](https://community.unix.com/t/smbpasswd-command-not-found-need-help/227787/2 "2009-01-15T05:58:55Z")

</div>

Maybe smbpasswd is in the /opt/csw/samba/bin or sbin directory?

---

<div class="post-metadata">

**Author:** ![zaeedh](https://community.unix.com/letter_avatar/zaeedh/32/5_5575768a8748004e209b776fc1b2916d.png) [@zaeedh](https://community.unix.com/u/zaeedh)\
**Post date:** [January 16, 2009, 6:02am UTC](https://community.unix.com/t/smbpasswd-command-not-found-need-help/227787/3 "2009-01-16T06:02:34Z")

</div>

Otheus, thank's for the reply, I have checked it and it's the result :

#cd /opt/  
#ls  
#SUNWits SUNWmlib staroffice8  
#cd /sbin  
# ls

autopush ifconfig metadevadm rc1 soconfig umountall  
biosdev ifparse metainit rc2 su uname  
bootadm in.mpathd metarecover rc3 su.static zfs  
bpgetfile init metastat rc5 sulogin zonename  
dhcpagent installgrub mount rc6 swapadd zpool  
dhcpinfo jsh mountall rcS sync  
dladm luactivate netstrategy route tnctl  
fdisk lucurr pfsh routeadm uadmin  
hostconfig metadb rc0 sh umount

#which samba  
no samba in /usr/sbin /usr/bin /usr/openwin/bin /usr/ucb

```
actually in the RedHat machine, when I tried to configure to entry smbpasswd it's work, the case is, I just can't login, when I browse from the windows client to workgroup that I've been made on the solaris machine, usually first we need to add smb user with smbpasswd command in the solaris. is it ?

```

here the info of the package :

# pkginfo -x | grep samba

SUNWsmbac samba - A Windows SMB/CIFS fileserver for UNIX (client)  
SUNWsmbar samba - A Windows SMB/CIFS fileserver for UNIX (Root)  
SUNWsmbau samba - A Windows SMB/CIFS fileserver for UNIX (Usr)

thank's for the help ..

---

<div class="post-metadata">

**Author:** ![DukeNuke2](https://community.unix.com/user_avatar/community.unix.com/dukenuke2/32/407_2.png) [@DukeNuke2](https://community.unix.com/u/DukeNuke2)\
**Post date:** [January 16, 2009, 7:02am UTC](https://community.unix.com/t/smbpasswd-command-not-found-need-help/227787/4 "2009-01-16T07:02:32Z")

</div>

my path to smbpasswd is:

/usr/sfw/bin/smbpasswd

hth,  
DN2
