Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 07-20-2006, 10:25 AM   #1
Registered: Oct 2004
Distribution: Slackware, CentOS
Posts: 135

Rep: Reputation: 15
Samba: Clients fail to join domain, machine password not found

I have setup a samba PDC+LDAP on our fileserver, which is housed in the university's server room, so it is on a different subnet. I give our client machines the ip of the pdc as the wins server. This allows our clients to join the domain, but it fails with user name not found. Checking the logs, I see that Administrator was able to login, and the smbldap-tools script ran and added the machine to the domain. But before this even happens, it seems samba looks for the machine password, and fails. Its the only error that is in the log.

I'm running Samba 3.0.22(Blastwave) on Solaris 10. I've run the same version on Linux(RHEL v4) to do the same job(before we moved the homes to the fileserver) and didn't have any of these problems. I've tried everything I can think off, but still no go. Any ideas?

The smb.conf:

workgroup = CBI
netbios name = Cajal
enable privileges = yes
interfaces = ce0
server string = Cajal PDC %v
security = user
encrypt passwords = Yes
log level = 2
syslog = 0
time server = yes

domain logons = yes
os level = 90
preferred master = yes
domain master = yes
wins support = yes

passdb backend = ldapsam:ldap://x.x.x
ldap admin dn = cn=samba,ou=DSA,dc=x
ldap suffix = dc=x
ldap group suffix = ou=group
ldap user suffix = ou=people
ldap machine suffix = ou=machines
ldap idmap suffix = ou=Idmap
ldap passwd sync = Yes
ldap ssl = start tls

add user script = /opt/csw/sbin/smbldap-useradd -m "%u"
add machine script = /opt/csw/sbin/smbldap-useradd -w "%u"
add group script = /opt/csw/sbin/smbldap-groupadd -p "%g"
add user to group script = /opt/csw/sbin/smbldap-groupmod -m "%u" "%g"
delete user from group script = /opt/csw/sbin/smbldap-groupmod -x "%u" "%g"
set primary group script = /opt/csw/sbin/smbldap-usermod -g "%g" "%u"


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
Samba - Cannot join domain m4rk Linux - Software 6 06-27-2007 08:40 AM
Join W2K machine to Linux domain mediocrity Linux - Networking 3 04-03-2005 11:44 AM
Cannot join Samba domain. codedv Linux - Networking 0 10-12-2004 05:33 PM
Can't join my Samba Domain subaruwrx Linux - Networking 53 09-30-2004 10:29 AM
join samba domain! egyptian Linux - Networking 1 07-29-2004 10:18 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:12 PM.

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