Its Working....
One more thing to ask you.
I missed to add one entry related to krbName and its throwing error as:
dn: uid=apache,ou=People,dc=im,dc=logica,dc=com
uid: apache
cn: Apache
sn: Apache
mail: apache(a)logica.com
mailRoutingAddress: apache(a)mail.logica.com
mailHost:
mail.logica.com
objectClass: inetLocalMailRecipient
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: top
objectClass: kerberosSecurityObject
objectClass: shadowAccount
userPassword: {crypt}!!
shadowLastChange: 13801
shadowMax: 99999
shadowWarning: 7
krbName: apache(a)LOGICA.COM
loginShell: /sbin/nologin
uidNumber: 48
gidNumber: 48
homeDirectory: /var/www
gecos: Apache
And the error:
uid=apache,ou=People,dc=im,dc=logica,dc=com: Error adding object 'dn:
uid=apache,ou=People,dc=im,dc=logica,dc=com'. The error sent by the
server was 'Object class violation. unknown object class
"kerberosSecurityObject"
'. The object is: LDAPEntry:
uid=apache,ou=People,dc=im,dc=logica,dc=com; LDAPAttributeSet:
LDAPAttribute {type='sn', values='Apache'} LDAPAttribute
{type='loginshell', values='/sbin/nologin'} LDAPAttribute
{type='userpassword', values='{crypt}!!'} LDAPAttribute
{type='gidnumber', values='48'} LDAPAttribute {type='uidnumber',
values='48'} LDAPAttribute {type='mail',
values='apache(a)logica.com'}
LDAPAttribute {type='krbname', values='apache(a)LOGICA.COM'} LDAPAttribute
{type='shadowmax', values='99999'} LDAPAttribute
{type='objectclass',
values='inetLocalMailRecipient,person,organizationalPerson,inetOrgPerson
,posixAccount,top,kerberosSecurityObject,shadowAccount,mailRecipient'}
LDAPAttribute {type='uid', values='apache'} LDAPAttribute
{type='gecos',
values='Apache'} LDAPAttribute {type='shadowlastchange',
values='13801'}
LDAPAttribute {type='mailhost', values='mail.logica.com'} LDAPAttribute
{type='mailroutingaddress', values='apache(a)mail.logica.com'}
LDAPAttribute {type='cn', values='Apache'} LDAPAttribute
{type='homedirectory', values='/var/www'} LDAPAttribute
{type='shadowwarning', values='7'}.
How Can I get it work?
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It
may contain proprietary material, confidential information and/or be subject to legal
privilege. It should not be copied, disclosed to, retained or used by, any other party. If
you are not an intended recipient then please promptly delete this e-mail and any
attachment and all copies and inform the sender. Thank you.