|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Problems in slapd & so in ldapadd
I use the command in this sequence,
../../../usr/local/libexec/slapd it is running without error. then (1) I run ldapadd with the error /usr/local/bin/ldapadd -f /tmp/entries.ldif -x -D "cn=Manager,dc=example,dc=com" -w secret error: ldap_bind: Invalid credentials (49) then I checked slapd with debug option, (2) ../../../usr/local/libexec/slapd -d 256 error: (#) $OpenLDAP: slapd 2.4.7 (Mar 5 2008 23:32:47) $ rnal:/usr/local/openldap-2.4.7/servers/slapd daemon: bind(7) failed errno=98 (Address already in use) daemon: bind(7) failed errno=98 (Address already in use) slapd stopped. connections_destroy: nothing to destroy. any suggestion? |
|
#2
|
||||
|
||||
|
Try with slapadd and see if you can add it.
__________________
Miscellaneous Software Viper_SB Developershed E-Support Anyone else play chess? Challenge me Challenge me |
|
#3
|
|||
|
|||
|
slapadd not working
Helloo..
I have checked the slapadd with the following files /usr/local/sbin/slapadd -l ../../../entries.ldif -f ../../../usr/local/etc/openldap/slapd.conf error: /usr/local/sbin/slapadd -l ../../../entries.ldif -f ../../../usr/local/etc/openldap/slapd.conf bdb_db_open: warning - no DB_CONFIG file found in directory /usr/local/var/openldap-data: (2). Expect poor performance for suffix "dc=my-domain,dc=com". bdb_monitor_db_open: monitoring disabled; configure monitor database to enable => bdb_tool_entry_put: id2entry_add failed: DB_KEYEXIST: Key/data pair already exists (-30996) => bdb_tool_entry_put: txn_aborted! DB_KEYEXIST: Key/data pair already exists (-30996) slapadd: could not add entry dn="dc=my-domain,dc=com" (line=1): txn_aborted! DB_KEYEXIST: Key/data pair already exists (-30996) Quote:
|
![]() |
| Viewing: Dev Shed Forums > Databases > LDAP Programming > Problems in slapd & so in ldapadd |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|