Hey Guys,
When I try to add the base ldif file i get the error mentioned below. Please help me out with this. its really urgent.
Regards,
Arun Nair
*This is my base domain ldif file:* dn: dc=abc,dc=corp ou: rootobject description: LDAP Admin objectClass: top objectClass: dcObject objectClass: organizationalUnit dc: abc description: ABC Corp
dn: ou=People,dc=abc,dc=corp ou: People description: users of abc corp objectClass: organizationalUnit
*Complete debug log of ldapadd:* [root@centserver mysql]# ldapadd -x -D "cn=root,dc=abc,dc=corp" -W -f /tmp/abc.corp.ldif -d 1 ldap_create Enter LDAP Password: ldap_bind ldap_simple_bind ldap_sasl_bind ldap_send_initial_request ldap_new_connection 1 1 0 ldap_int_open_connection ldap_connect_to_host: TCP centserver.abc.corp:389 ldap_new_socket: 4 ldap_prepare_socket: 4 ldap_connect_to_host: Trying 127.0.0.1:389 ldap_connect_timeout: fd: 4 tm: -1 async: 0 ldap_open_defconn: successful ldap_send_server_request ber_scanf fmt ({it) ber: ber_scanf fmt ({i) ber: ber_flush: 46 bytes to sd 4 ldap_result ld 0x99156e8 msgid 1 ldap_chkResponseList ld 0x99156e8 msgid 1 all 1 ldap_chkResponseList returns ld 0x99156e8 NULL wait4msg ld 0x99156e8 msgid 1 (infinite timeout) wait4msg continue ld 0x99156e8 msgid 1 all 1 ** ld 0x99156e8 Connections: * host: centserver.abc.corp port: 389 (default) refcnt: 2 status: Connected last used: Thu Oct 2 20:34:46 2008
** ld 0x99156e8 Outstanding Requests: * msgid 1, origid 1, status InProgress outstanding referrals 0, parent count 0 ** ld 0x99156e8 Response Queue: Empty ldap_chkResponseList ld 0x99156e8 msgid 1 all 1 ldap_chkResponseList returns ld 0x99156e8 NULL ldap_int_select read1msg: ld 0x99156e8 msgid 1 all 1 ber_get_next ber_get_next: tag 0x30 len 12 contents: read1msg: ld 0x99156e8 msgid 1 message type bind ber_scanf fmt ({eaa) ber: read1msg: ld 0x99156e8 0 new referrals read1msg: mark request completed, ld 0x99156e8 msgid 1 request done: ld 0x99156e8 msgid 1 res_errno: 0, res_error: <>, res_matched: <> ldap_free_request (origid 1, msgid 1) ldap_free_connection 0 1 ldap_free_connection: refcnt 1 ldap_parse_result ber_scanf fmt ({iaa) ber: ber_scanf fmt (}) ber: ldap_msgfree adding new entry "dc=abc,dc=corp" ldap_add_ext ldap_send_initial_request ldap_send_server_request ber_scanf fmt ({it) ber: ber_scanf fmt ({) ber: ber_flush: 151 bytes to sd 4 ldap_result ld 0x99156e8 msgid 2 ldap_chkResponseList ld 0x99156e8 msgid 2 all 1 ldap_chkResponseList returns ld 0x99156e8 NULL wait4msg ld 0x99156e8 msgid 2 (timeout 100000 usec) wait4msg continue ld 0x99156e8 msgid 2 all 1 ** ld 0x99156e8 Connections: * host: centserver.abc.corp port: 389 (default) refcnt: 2 status: Connected last used: Thu Oct 2 20:34:46 2008
** ld 0x99156e8 Outstanding Requests: * msgid 2, origid 2, status InProgress outstanding referrals 0, parent count 0 ** ld 0x99156e8 Response Queue: Empty ldap_chkResponseList ld 0x99156e8 msgid 2 all 1 ldap_chkResponseList returns ld 0x99156e8 NULL ldap_int_select read1msg: ld 0x99156e8 msgid 2 all 1 ber_get_next ber_get_next: tag 0x30 len 56 contents: read1msg: ld 0x99156e8 msgid 2 message type add ber_scanf fmt ({eaa) ber: read1msg: ld 0x99156e8 0 new referrals read1msg: mark request completed, ld 0x99156e8 msgid 2 request done: ld 0x99156e8 msgid 2 res_errno: 0, res_error: <>, res_matched: <> ldap_free_request (origid 2, msgid 2) ldap_free_connection 0 1 ldap_free_connection: refcnt 1 ldap_parse_result ber_scanf fmt ({iaa) ber: ber_scanf fmt (}) ber: ldap_msgfree ldap_perror ldap_add: Server is unwilling to perform (53) additional info: operation not permitted within namingContext
ldap_free_connection 1 1 ldap_send_unbind ber_flush: 7 bytes to sd 4 ldap_free_connection: actually freed
openldap-technical@openldap.org