On Mon, Mar 17, 2008 at 11:29 PM, Quanah Gibson-Mount <email@example.com
--On Monday, March 17, 2008 11:26 PM +0530 vinodh kumar <firstname.lastname@example.org>
> our ldif file is,> homedirectory:/home/new
> dn: cn:new,dc=example,dc=com
I suggest you research into objectClasses and valid objectClass chains.
The error you've gotten is quite correct, you've failed to provide a
structural objectClass in your entry. Think of it in terms of object
oriented programming -- Every entry object must be of a specific class,
which can then be added onto with auxiliary information. posixAccount is
auxiliary, you need to add a valid structural OC to your entry.
"account" may be the one you're looking for:
actually i have a doubt that where to add this???
objectclass ( 0.9.2342.19200300.100.4.5 NAME 'account'
SUP top STRUCTURAL
MAY ( description $ seeAlso $ localityName $
organizationName $ organizationalUnitName $ host )
so , we need to add a entry objectclass : account in our .ldif file right???
and do i need to add the above in schema file ????
sorry if my doubt is silly!! bare with me :)