LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 02-13-2005, 09:02 PM   #1
demerson3
Member
 
Registered: Sep 2004
Location: Los Angeles
Distribution: debian stable
Posts: 43

Rep: Reputation: 15
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

Last edited by demerson3; 02-14-2005 at 12:46 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
adding users using smbpasswd, or synchronise passwd/smbpasswd gyodai Linux - Networking 2 03-11-2009 03:47 PM
create hashed passwords in PHP ? ALInux Programming 1 11-12-2005 08:45 AM
Sync MySQL passwords with local account passwords? turbine216 Linux - Software 2 02-18-2005 04:15 AM
create "shadow" passwords benjalien Linux - Security 3 11-16-2004 06:27 PM
smbpasswd -a ... smbpasswd: Command not found Lleb_KCir Linux - Software 7 08-11-2004 12:27 PM


All times are GMT -5. The time now is 04:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration