LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   smbpasswd won't create new passwords (https://www.linuxquestions.org/questions/linux-networking-3/smbpasswd-wont-create-new-passwords-289839/)

demerson3 02-13-2005 08:02 PM

solved?? smbpasswd won't enable users
 
I may have solved the problem of windoze being unable to access the server by ensuring the windoze passwords matched the linux users' passwords. I still have no idea if smbpasswd works properly... here's my original message:


I am trying to set up user level security on a samba network. smbpasswd keeps failing to enable users / create new passwords! This is driving me bonkers.

I've tried
smbpasswd -e
and
smbpasswd -a
and probably a couple others. Nothing works! Users are still disabled. Win98 boxes can -intermittently- access the resources. But intermittent service is not what one wants from one's server.

In the output below, I have NOT hidden the hashes -- this is exactly as the terminal has output them -- that is to say, nothing was hashed in the first place.


root@1[samba]# ls -l /etc/samba/smbpasswd
-rw------- 1 root root 3780 2005-02-13 17:22 /etc/samba/smbpasswd

root@1[samba]# grep mark smbpasswd
mark:1001:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[U ]:LCT-00000000:Mark

root@1[samba]# smbpasswd -e mark
Enabled user mark.

root@1[samba]# grep mark smbpasswd
mark:1001:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[U ]:LCT-00000000:Mark

root@1[samba]# smbpasswd mark
New SMB password:
Retype new SMB password:

root@1[samba]# grep mark smbpasswd
mark:1001:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[U ]:LCT-00000000:Mark

root@1[samba]# smbpasswd -a mark
New SMB password:
Retype new SMB password:

root@1[samba]# grep mark smbpasswd
mark:1001:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[U ]:LCT-00000000:Mark


Thanks in advance,
David


All times are GMT -5. The time now is 08:15 PM.