LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-04-2005, 07:29 PM   #1
lukebeales
Member
 
Registered: Oct 2003
Location: Australia
Distribution: Slackware/LFS/Ubuntu
Posts: 89

Rep: Reputation: 15
smbpasswd & smbd accounts problem


Hi all,
Search is broken for me so I hope this hasn't been asked. I have a startup script that adds all user accounts in all protocols, samba included. Then later on another script runs smbd & nmbd. This all happens without returning any errors and the smbpasswd file gets populated correctly.

The problem happens when someone tries to log in to samba from another computer, it will not accept any account.

I can get it to work by adding all the user accounts again (re-running the initial script) - this time smbd is running and it fixes all the problems. The smbpasswd file does not change at all.

So I'm after any little trick that I might be overlooking. The manual for smbpasswd says if run as root (which I do in both instances) it ONLY affects the smbpasswd file and smbd does not need to be running, but if that were the case it would work from the word go. It's not really possible for me to change the order around. Any ideas?
 
  


Reply



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 02:47 PM
smbd startup problem yvesg Linux - Networking 3 09-29-2005 11:13 PM
Unable to change existing smbpasswd on user; pam problem?? Geronimo Debian 1 10-13-2004 05:35 PM
smbpasswd -a ... smbpasswd: Command not found Lleb_KCir Linux - Software 7 08-11-2004 11:27 AM
SuSE 9.0 smbd -D && nmbd -D autostart DaFrEQ Linux - Distributions 5 04-24-2004 04:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:00 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
Open Source Consulting | Domain Registration