Samba smbpasswd depends on username@/etc/passwd
|Reported by:||johnrw||Owned by:||developers|
This is a plea to make the shadow-utils available... and then even part of the samba3 package dependancy list.
On a fresh install... from svn, enabling Samba is a bit awkward.
The default samba template comes with 'user' security model set.
This means every user allowed to access a share... must have an account on the router. There is a small problem I had, starting with smbpasswd. The samba3 package comes with 2 executable files... smbd, and smbpasswd. So I try and add a user to samba's password list with "smbpasswd username password" It gives an error... saying that user is not known in /etc/passwd!
Here is where I would ordinarily adduser -m username on a debian system. In Openwrt... you may have another package that provides a callable adduser equivalent. If so, then tear this ticket up. :)
I did wind up doing a
echo "blah blah" >> /etc/passwd
but it felt kind of primitive.
Just a heads up. smbpasswd depends on a valid /etc/passwd username:group.