[Samba] Samba PDC + LDAP

Gordon Pritchard gordonp at sfu.ca
Fri May 16 15:15:38 GMT 2003


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




More information about the samba mailing list