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

Re: Problem importing shadowAccount ldif file



I've checked the site you listed in your reply, but I'm still not clear on how to create a 'shadowAccount'. I'm running Linux 7.0 with shadow passwords. I need to create an LDAP entry for the accounts in '/etc/shadow' (or can I just create a posixAccount). For example, I have a user account for 'John Humphrey' with username 'johnh', uid of '500' and guid of '500', home directory of '/home/johnh', and a password of 'xx...xhash string'. Can someone please show me an example ldif file that imports this shadowAccount into the directory? I would be much appreciative.

John Humphrey


From: "David Young" To: Subject: Re: Problem importing shadowAccount ldif file Date: Tue, 1 May 2001 15:01:39 -0400

Take a look at http://www.hklc.com/ldapschema/

You are trying to set attributes that are not part of the shadowAccount objectclass. You probably want "posixAccount".


----- Original Message ----- From: "John Humphrey" To: Sent: Tuesday, May 01, 2001 2:09 PM Subject: Problem importing shadowAccount ldif file



> I'm having problems importing the following ldif file into OpenLDAP: > > "#Adding a ShadowAccount > dn: uid=johnh,ou=services,dc=texarkana,dc=txed,dc=net > objectClass: top > objectClass: account > objectClass: shadowAccount > uid: johnh > cn: John Humphrey > userPassword: {crypt}$1$TueBpBUH$6Lg/XO4fPds/Pv8NpLtf5/ > uidNumber:500 > gidNumber:500 > homeDirectory: /home/johnh > loginShell: /bin/bash" > > I get an "undefined attribute type" error message. > I'm running OpenLDAP 2.0.7 on a Red Hat 7.0 server. > I compiled with "./configure --with-kerberos, make, make install" > Any help would be appreciated. > > John Humphrey > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com > >


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com