[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: objectClass: account (undefined?)



tir, 2003-01-28 kl. 00:35 skrev Suveges.Gyorgy@stud.u-szeged.hu:

> I have a problem, maybe it's a problem of beginners.
> I would like to store accounts in my LDAP tree, and I used to do this the PADL's migrate tools. It generated LDIF file. Part of it:
> 
> dn: uid=ntundi,ou=People,o=szte,c=hu
> uid: ntundi
> cn: Nagy Tunde
> objectClass: account
> objectClass: posixAccount
> objectClass: top
> objectClass: shadowAccount
> userPassword: {crypt}...
> shadowLastChange: 12041
> shadowMax: 99999
> shadowWarning: 7
> loginShell: /bin/bash
> uidNumber: 501
> gidNumber: 501
> homeDirectory: /home/ntundi
> gecos: Nagy Tunde

Again a reason for me to recommend GQ (GUI for all sorts of LDAP types).

If you used it, you could easily see that to use posixAccount and
shadowAccount you'd have to have person, which again obviates account.
You'd probably want to add inetOrgPerson, too.

Best,

Tony

-- 

Tony Earnshaw

When all's said and done ...
there's nothing left to say or do.

e-post:		tonni@billy.demon.nl
www:		http://www.billy.demon.nl