Bug 2166366
| Summary: | RFE - CLI - add dsrc options for default user and group subtrees | ||
|---|---|---|---|
| Product: | Red Hat Directory Server | Reporter: | mreynolds |
| Component: | 389-ds-base | Assignee: | mreynolds |
| Status: | CLOSED ERRATA | QA Contact: | LDAP QA Team <idm-ds-qe-bugs> |
| Severity: | high | Docs Contact: | Zuzana Zoubkova <zzoubkov> |
| Priority: | high | ||
| Version: | 12.2 | CC: | aadhikar, emartyny, idm-ds-dev-bugs, pasik, vashirov |
| Target Milestone: | DS12.2 | Keywords: | Triaged |
| Target Release: | dirsrv-12.2 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | sync-to-jira | ||
| Fixed In Version: | redhat-ds-12-9020020230314150545.1674d574 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-05-30 09:40:35 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
mreynolds
2023-02-01 15:41:28 UTC
Upstream ticket: https://github.com/389ds/389-ds-base/issues/4293 Build tested: 389-ds-base-2.2.7-2.module+el9dsrv+18726+78959e84.x86_64 I specified people_rdn and groups_rdn in dsrc file: # cat .dsrc [localhost] uri = ldapi://%%2fvar%%2frun%%2fslapd-localhost.socket people_rdn = ou=users groups_rdn = ou=grp Adding user works: # dsidm localhost -b "dc=example,dc=com" user create --uid example --cn example --displayName example --homeDirectory /home/example --uidNumber 1000 --gidNumber 1000 Successfully created example # ldapsearch -xLLL -D "cn=Directory Manager" -w password uid=example dn: uid=example,ou=users,dc=example,dc=com objectClass: top objectClass: nsPerson objectClass: nsAccount objectClass: nsOrgPerson objectClass: posixAccount uid: example cn: example displayName: example uidNumber: 1000 gidNumber: 1000 homeDirectory: /home/example Adding group works: # dsidm localhost -b "dc=example,dc=com" group create --cn example_grp Successfully created example_grp # ldapsearch -xLLL -D "cn=Directory Manager" -w password cn=example_grp dn: cn=example_grp,ou=grp,dc=example,dc=com objectClass: top objectClass: groupOfNames objectClass: nsMemberOf cn: example_grp Marking as VERIFIED. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (redhat-ds:12 bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:3344 |