Hi all,
I've been following the SuSE guide to setting up 389-ds available at :
https://doc.opensuse.org/documentation/leap/security/html/book-security/cha-security-ldap.html
I've been able to setup a default instance with dscreate
dscreate from-file traken-test-template.txt
This shows up ok, and I can create users/groups
ldap-test:~ # dsidm traken-test group list
demo_group
test
But when I try and delete a group I get :
ldap-test:~ # dsidm traken-test group delete
Enter dn to delete : test
Deleting Group test :
Type 'Yes I am sure' to continue: Yes I am sure
Error: The entry does not exist
What could be wrong?
Also is there a flag I can pass to dsidm to not have to type 'Yes I am
sure' every time, this will make automating stuff a pain.....
I'll include below my create script (with comments stripped) and my ~/.dsrc
Cheers.
Phill.
[general]
full_machine_name = ldap-test.ftt
start = True
[slapd]
db_lib = mdb
instance_name = traken-test
ldapi = /run/slapd-{instance_name}.socket
mdb_max_size = 21138142003.2
port = 389
root_password = redacted
secure_port = 636
self_sign_cert = True
elf_sign_cert_valid_months = 24
[backend-userroot]
changelog_max_age = 7d
changelog_max_entries = -1
create_suffix_entry = False
enable_replication = False
replica_binddn = cn=replication manager,cn=config
replica_bindgroup =
replica_bindpw =
replica_id = 1
replica_role = supplier
require_index = False
hangelog_max_entries = -1
create_suffix_entry = False
enable_replication = False
replica_binddn = cn=replication manager,cn=config
replica_bindgroup =
replica_bindpw =
replica_id = 1
replica_role = supplier
require_index = False
sample_entries = yes
suffix = dc=traken-test,dc=ftt
and my ~/.dsrc[traken-test]
uri = ldapi://%%2fvar%%2frun%%2fslapd-traken-test.socket
basedn = dc=traken-test,dc=ftt
binddn = cn=Directory Manager
--
_______________________________________________
389-users mailing list -- 389-users@lists.fedoraproject.org
To unsubscribe send an email to 389-users-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.org
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
No comments:
Post a Comment