[Samba] Samba PDC + LDAP

Chris McKeever cgmckeever at prupref.com
Fri May 16 15:28:34 GMT 2003


Does any configration need to be done to the useradd script that sits on the
BDC?  So it updates correctly and allows replicaiton??

I saw somewhere how to allow user creation on the LDAP BDC, but for the life
of me I can't find it, and I am wondering if that has something to do why it
works on the master ldap, but not the slave

Thanks

> -----Original Message-----
> From: Gordon Pritchard [mailto:gordonp at sfu.ca]
> Sent: Friday, May 16, 2003 10:15 AM
> To: Sathi
> Cc: samba at lists.samba.org
> Subject: Re: [Samba] Samba PDC + LDAP
> 
> 
> On Fri, 2003-05-16 at 02:23, Sathi wrote:
> 
> > I am trying to setup Samba PDC with LDAP. 
> 
> > I was able to add username in ldap using smbldap-useradd.pl,
> > but i find problem in adding machine name.
> > When i try to add machine name i got following error
> > 
> >  ./smbldap-useradd.pl -w test$
> > Malformed UTF-8 character (unexpected continuation byte 
> 0xab, with no preceding start byte) at smbldap_tools.pm line 518.
> > Malformed UTF-8 character (unexpected continuation byte 
> 0xbb, with no preceding start byte) at smbldap_tools.pm line 518.
> > ldapadd: update failed: uid=test$,ou=Computers,dc=xxx,dc=com
> > ldap_add: Object class violation (65)
> >         additional info: no structural object class provided
> > ./smbldap-useradd.pl: error while adding posix account to 
> machine test$
> 
> 	When you use idealx's tools, don't put the '$' at the end of the
> machine-name; it will be done for you.  So, your syntax should be:
> 
> ./smbldap-useradd.pl -w test
> 
> 	HTH,
> 	-Gord
> 
> -- 
> Gordon Pritchard, P.Eng.         | Institute of Electrical and
> Research Labs Manager            |      Electronics Engineers
> Simon Fraser University, Surrey  | Quarter Century Wireless Ass'n
> gordonp at sfu.ca                   | Telephone Pioneers of America
> phone:  604.268.7509             | Amateur Radio:  VA7SFU, VA7GP
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 



More information about the samba mailing list