So I've been racking my brains over why my Samba-LDAP PDC wont add a machine account automatically like it is supposed to. If I add the machine by hand there is no problem with joining the domain. So what's up? I try to log on and I don't get any error codes that pertain to adding a user showing up in the logs. In addition Samba does not want to execute the 'add user script' at all even if I use a custom script.
Until today I had thought the problem might have to do with my Perl libraries. BUZZZZ! Wrong answer!


Turns out that if you have the ldap port set incorrectly in /etc/smb.conf you can only join the domain if the user has already been added. Reason being that Samba refuses to execute the 'add user script'. I found this very weird as I would have expected that no joining the domain at all would have been possible under these conditions.



Jim C.



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to