[Samba] Samba PDC + LDAP

jwilliams at pop.courtesymortgage.com jwilliams at pop.courtesymortgage.com
Sat May 17 06:03:22 GMT 2003


Just a shot here.

The error is saying there is a problem on line 518 on your smbldap_tools.pm
file.

You may want to take a look at the line and see if you can figure out what
the problem is.

Regards,

Jason

Original Message:
-----------------
From: Sathi sathi_linux at gmx.net
Date: Sat, 17 May 2003 09:28:28 +0530
To: gordonp at sfu.ca, samba at lists.samba.org
Subject: Re: [Samba] Samba PDC + LDAP


Hello Gord,

Thanks but i got same error when trying to add a machine name without "$"

 ./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$

Regards
Sathi


> 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


--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .





More information about the samba mailing list