Discussion:
smbpasswd: command not found
Erwin Panen
2011-02-27 19:58:20 UTC
Permalink
Hi,

I'm having a strange issue here. Today I wanted to add a new user to my EON storage system. Looked at the the wiki: setting up shares.

[i]Issuing smbpasswd throws a "command not found" (as root)[/i]
------------------------
eon:1:/#smbpasswd
bash: smbpasswd: command not found
-------------------------

[i]Next did some searching:[/i]
-------------------------
eon:28:/#find . -name "smbpasswd" -print
./var/smb/smbpasswd
-------------------------

[i]smbpasswd seems readonly??[/i]
--------------------------
eon:3:/var/smb#ls -la
total 26
drwxr-xr-x 2 root sys 512 Nov 11 10:59 .
drwxr-xr-x 25 root sys 512 Apr 4 2010 ..
-rw------- 1 root sys 0 Feb 27 18:51 .pwd.lock
-r-------- 1 root sys 0 Dec 8 2009 osmbpasswd
-rw-r--r-- 1 root sys 10240 May 10 2010 smbgroup.db
-r-------- 1 root sys 44 May 20 2010 smbpasswd
-----------------------------------

What am I missing here?

Thanks for helping out!

Erwin
--
This message posted from opensolaris.org
Andre Lue
2011-02-28 05:39:26 UTC
Permalink
The smbpasswd command is only available in SAMBA (has -smb in the name) ISO images. If that command is unavailable it most likely means you are using a CIFS (has -cifs in the name) ISO image.

Please see the howto for the specific images here:
http://sites.google.com/site/eonstorage/getting-started
--
This message posted from opensolaris.org
Erwin Panen
2011-03-04 08:32:25 UTC
Permalink
André thanks,

So obvious, it's right next to my nose and I didn't see it - deserve a good spanking ;)

Thx,

Erwin
--
This message posted from opensolaris.org
Loading...