LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 02-03-2009, 09:01 AM   #1
brandon@rhiamet.com
LQ Newbie
 
Registered: Jan 2009
Posts: 20

Rep: Reputation: 0
Failing to join domain/Samba/LDAP/XP


I've read quite a few posts in various forums on this problem, but haven't yet found a solution. I'm running Samba 3.0.23c-1.fc5 (Fedora 5) as a PDC with an LDAP backend and my problem is joining XP machines to the domain. It seems that the only way I can get it to work is to add the machine account with

smbldap-useradd -w "machine$"

and _also_ add an entry to /etc/passwd for the same machine with the same uid and gid as assigned in the LDAP backend.

Unless I do both, I always get a user name not found error when trying to join the domain.

Another interesting thing is that when asked on the XP side for a username and password of an account that has permissions to join the domain, entering "root" without a password works. If I include the password for root I get an bad password error.

I have defined in smb.conf

add machine script = /usr/sbin/smbldap-useradd -w "%u"

and when joining fails, the following in smbd.log

_samr_create_user: Running the command `/usr/sbin/smbldap-useradd -w "machine$"' gave 9

Any ideas?
 
  


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
Whay I can't join WinXP to Samba PDC LDAP domain? meksyk13 Linux - Server 3 08-29-2014 08:34 AM
Samba - Cannot join domain m4rk Linux - Software 6 06-27-2007 09:40 AM
samba 3 problem - samba PDC can not join to the domain ananthak Linux - Networking 1 05-21-2006 11:39 AM
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


All times are GMT -5. The time now is 12:08 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