On Mon, Mar 17, 2008 at 11:29 PM, Quanah Gibson-Mount <
quanah@zimbra.com> wrote:
--On Monday, March 17, 2008 11:26 PM +0530 vinodh kumar <vinstce@gmail.com>
wrote:
> our ldif file is,
>
>
>
> dn: cn:new,dc=example,dc=com
>
> objectClass:posixAccount
> cn:new
> uid:new
> displayname:neww
> homedirectory
> homedirectory:/home/new
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:
oh thanks:)
actually i have a doubt that where to add this???
objectclass ( 0.9.2342.19200300.100.4.5 NAME 'account'
SUP top STRUCTURAL
MUST userid
MAY ( description $ seeAlso $ localityName $
organizationName $ organizationalUnitName $ host )
)
--Quanah
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 :)