OpenLdap: does not work due to few bugs in configuration files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Server Guide |
Fix Released
|
Undecided
|
Andreas Hasenack |
Bug Description
Page https:/
1. add_content.ldif sets "dn: ou=Groups,
nss_base_group ou=Groups,
2. a bug in PAM-LDAP (https:/
#password [success=1 user_unknown=ignore default=die] pam_ldap.so use_authtok try_first_pass
password [success=1 user_unknown=ignore default=die] pam_ldap.so try_first_pass
# remove use_authtok - it causes authentication problems in "sudo passwd testuser"
3. "Backup and Restore" section, "${SLAPCAT} -n 2" command fails if Replication is not configured:
sudo slapcat -n 2
Database number selected via -n is out of range
Must be in the range 0 to 1 (the number of configured databases)
4. "Backup and Restore" section, commands "sudo slapadd -F /etc/ldap/slapd.d -n 0 -l /export/
523473df => hdb_tool_entry_put: id2entry_add failed: DB_KEYEXIST: Key/data pair already exists (-30995)
523473df => hdb_tool_entry_put: txn_aborted! DB_KEYEXIST: Key/data pair already exists (-30995)
slapadd: could not add entry dn="dc=
Need some commands to remove data first. Given that restore of backup is rarely tested and is almost always needed in a very stressful situation, it would be nice to give something that will actually work.
tags: | added: serverguide |
Changed in serverguide: | |
assignee: | nobody → Peter Matulis (petermatulis) |
Changed in serverguide: | |
assignee: | Peter Matulis (petermatulis) → nobody |
summary: |
- Ubuntu serverguide: does not work due to few bugs in configuration files + OpenLdap: does not work due to few bugs in configuration files |
Changed in serverguide: | |
assignee: | nobody → Andreas Hasenack (ahasenack) |
Changed in serverguide: | |
status: | New → In Progress |
I updated the backup/restore section and moved it to https:/ /ubuntu. com/server/ docs/service- ldap