This is Interesting: Free IT Magazines  
Home > Archive > Samba > June 2004 > [Samba] smbldap-populate.pl





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [Samba] smbldap-populate.pl
Mario Ohnewald

2004-06-29, 8:41 am

Hi again

I am trying to populate my ldap database with the ./smbldap-populate.pl
script now.
The errors i get are:

----
adding new entry: uid=Administrator,ou=People,dc=abmas,dc=
biz
failed to add entry: objectclass: value #2 invalid per syntax at
../smbldap-populate.pl line 323, <GEN1> line 6.

adding new entry: uid=nobody,ou=People,dc=abmas,dc=biz
failed to add entry: objectclass: value #2 invalid per syntax at
../smbldap-populate.pl line 323, <GEN1> line 7.
----

I guess it can not add it because there is something wrong with the
samba.schema.
Has anyone else had that problem yet?
I have already changed the spelling problem (objectClass sambaSAMAccount
to sambaSamAccount. So that maches now.
I would just like to know now why i get this sytax error with the populate
script.

Thanks, Mario

--
"Sie haben neue Mails!" - Die GMX Toolbar informiert Sie beim Surfen!
Jetzt aktivieren unter http://www.gmx.net/info

--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
Mario Ohnewald

2004-06-29, 8:41 am

Solution: cp schema/nis.schema.default schema/nis.schema

I kept messing around in the samba schema, but it was the posix one which
caused the problems

> Hi again
>
> I am trying to populate my ldap database with the ./smbldap-populate.pl
> script now.
> The errors i get are:
>
> ----
> adding new entry: uid=Administrator,ou=People,dc=abmas,dc=
biz
> failed to add entry: objectclass: value #2 invalid per syntax at
> ./smbldap-populate.pl line 323, <GEN1> line 6.
>
> adding new entry: uid=nobody,ou=People,dc=abmas,dc=biz
> failed to add entry: objectclass: value #2 invalid per syntax at
> ./smbldap-populate.pl line 323, <GEN1> line 7.
> ----
>
> I guess it can not add it because there is something wrong with the
> samba.schema.
> Has anyone else had that problem yet?
> I have already changed the spelling problem (objectClass sambaSAMAccount
> to sambaSamAccount. So that maches now.
> I would just like to know now why i get this sytax error with the populate
> script.
>
> Thanks, Mario
>
> --
> "Sie haben neue Mails!" - Die GMX Toolbar informiert Sie beim Surfen!
> Jetzt aktivieren unter http://www.gmx.net/info
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
>


--
+++ Jetzt WLAN-Router für alle DSL-Einsteiger und Wechsler +++
GMX DSL-Powertarife zudem 3 Monate gratis* http://www.gmx.net/dsl

--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2010 webservertalk.com