LinuxQuestions.org
Help answer threads with 0 replies.
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 07-20-2006, 11:25 AM   #1
Neruocomp
Member
 
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:

[global]
workgroup = CBI
netbios name = Cajal
enable privileges = yes
interfaces = ce0 127.0.0.1
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"
 
  


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


All times are GMT -5. The time now is 07:20 PM.

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