[Samba] smbldap-tools problem

Buchan Milne bgmilne at cae.co.za
Wed Oct 30 16:55:25 GMT 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> Message: 22
> From: Philipp Hellmich <Philipp.Hellmich at stua-lp.nrw.de>
> Reply-To: Philipp.Hellmich at stua-lp.nrw.de
> To: samba at lists.samba.org
> Date: Wed, 30 Oct 2002 10:14:13 +0100
> Subject: [Samba] smbldap-tools problem
>
> Hello!
>
> I installed a new suse 8.1 server, I want to use the smbldap-tools to man=
> age=20
> user and computer accounts.
>
> But when I try to add a new windows user or computer account, I get ths e=
> rror:
> c130230:~ # smbldap-useradd.pl -a testuser
> ldapadd: update failed: uid=3Dtestuser,ou=3DUsers,dc=3Dstua-lp,dc=3Dnrw,d=
> c=3Dde
> ldap_add: Object class violation (65)
>         additional info: invalid structural object class chain=20
> (account/inetOrgPerson)
> /usr/local/sbin/smbldap-useradd.pl: error while adding posix user testuse=
> r
>
> I read that since version ldap 3 something changed with the restrictions.
>
> What do I have to change in the smbldap-useradd.pl script?
>
> thank you very much for your help!

You are missing some schemas on your LDAP server, specifically the one
that defines the inetorgperson objectclass.

In Openldap, that is provided by inetorgperson.schema

Regards,
Buchan
- --
|----------------Registered Linux User #182071-----------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering         http://www.cae.co.za
GPG Key                   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE9v9HkrJK6UGDSBKcRAsGAAJ48GOoLFGNWhwvSVzr97uJIbU/hJQCgx/5B
b1kwV0SIZ7hXB31sVHto4vE=
=9kQ/
-----END PGP SIGNATURE-----




More information about the samba mailing list