[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Regarding using ldap_modif_ext_s for modifying all users globally in AD?
- To: <openldap-technical@openldap.org>
- Subject: Regarding using ldap_modif_ext_s for modifying all users globally in AD?
- From: "Santosh Kumar" <santosh.kb@rediffmail.com>
- Date: 17 Aug 2009 08:22:08 -0000
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=redf; d=rediffmail.com; b=Z+TDHQoaCiKh2sNoRvvtjmUVR8KVe5+QOYfLOlEg5Z+xX5YDGSDNzCeHJMxs8sIK4tupJYp4o4oyZSmplx18AUqaHvNyy//5t9ak2PXLI473cdk5EmPiV8HLsUbMqhQ8lxiGqHhccYT299OhwpsI/OmpmIcCXhGAo4lA/adDBt0= ;
Hi Everyone,
Please help us to modify all users under "users" container.
could modify for individual user entry for attributes.
Is the the user_dn parameter specified correct?
Will the ldap_modify_ext_s supports the globally users entry modification?
1) Modify the user "tetsuser5"
char *user_dn = "cn=testuser5,cn=users,dc=kpvmpdc,dc=com"
if (ldap_modify_ext_s(ld, user_dn, mods,NULL,NULL) != LDAP_SUCCESS) {
ldap_perror( ld, "ldap_modify_s" );
exit(EXIT_FAILURE);
}
->Works
2)To modify users globally,
used : char *user_dn = "cn=users,dc=kpvmpdc,dc=com"
that gives error
ldap_modify_s: Object class violation (65)
additional info: 0000207D: UpdErr: DSID-03150F9C, problem 6002 (OBJ_CLASS_VIOLATION), data 0
Thanks in advance.
Regards
Santosh