Can't delete groups / users

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux