Bug 732541
Summary: | Ignore an error 32 in this case since we're adding a new AutoMember definition | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] 389 | Reporter: | Jr Aquino <jr.aquino> | ||||||||
Component: | Server - Plugins | Assignee: | Rich Megginson <rmeggins> | ||||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Viktor Ashirov <vashirov> | ||||||||
Severity: | low | Docs Contact: | |||||||||
Priority: | unspecified | ||||||||||
Version: | 1.2.9 | CC: | amsharma, nhosoi, nkinder, rmeggins | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | x86_64 | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | |||||||||||
: | 733442 (view as bug list) | Environment: | |||||||||
Last Closed: | 2015-12-07 16:33:01 UTC | Type: | --- | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Bug Depends On: | |||||||||||
Bug Blocks: | 690318, 708096, 733442 | ||||||||||
Attachments: |
|
Description
Jr Aquino
2011-08-22 20:31:07 UTC
To reproduce without having to install/setup FreeIPA, do the following: - Run setup-ds.pl to create a new DS instance with a suffix of 'dc=example,dc=com'. - Use ldapmodify to apply the operations in ldif1.ldif (attached). - Do a 'service dirsrv restart' to apply the config area change from ldif1.ldif. - Use ldapmodify to apply the operations in ldif2.ldif (attached). This will fail with an err=53. The fix should cause the second ldif to apply with no errors. Created attachment 519675 [details]
test ldif (ldif1)
Created attachment 519676 [details]
test ldif (ldif2)
Created attachment 519679 [details]
Patch
Checked into master and 389-ds-base-1.2.9 branch. Thanks to Rich for his review! Counting objects: 13, done. Delta compression using up to 2 threads. Compressing objects: 100% (7/7), done. Writing objects: 100% (7/7), 1.10 KiB, done. Total 7 (delta 4), reused 0 (delta 0) To ssh://git.fedorahosted.org/git/389/ds.git 971dded..7e43a28 master -> master Counting objects: 13, done. Delta compression using up to 2 threads. Compressing objects: 100% (7/7), done. Writing objects: 100% (7/7), 1.12 KiB, done. Total 7 (delta 4), reused 0 (delta 0) To ssh://git.fedorahosted.org/git/389/ds.git 5ff4af3..6ceca02 129-local -> 389-ds-base-1.2.9 [root@snmaptest ~]# netstat -nlp | grep 389 tcp 0 0 :::389 :::* LISTEN 3455/ns-slapd [root@snmaptest ~]# [root@snmaptest ~]# ldapmodify -x -h localhost -p 389 -D "cn=Directory Manager" -w Secret123 << EOF > dn: ou=etc,dc=example,dc=com > changetype: add > objectclass: organizationalUnit > ou: etc > > dn: cn=Auto Membership Plugin,cn=plugins,cn=config > changetype: modify > replace: nsslapd-pluginConfigArea > nsslapd-pluginConfigArea: ou=etc,dc=example,dc=com > EOF adding new entry "ou=etc,dc=example,dc=com" modifying entry "cn=Auto Membership Plugin,cn=plugins,cn=config" [root@snmaptest ~]# service dirsrv restart Shutting down dirsrv: M1... [ OK ] M2... [ OK ] M3... [ OK ] M4... [ OK ] snmaptest... [ OK ] snmaptest1... [ OK ] Starting dirsrv: M1... [ OK ] M2... [ OK ] M3... [ OK ] M4... [ OK ] snmaptest... [ OK ] snmaptest1... [ OK ] [root@snmaptest ~]# ldapmodify -x -h localhost -p 389 -D "cn=Directory Manager" -w Secret123 << EOF > dn: cn=Hostgroups,ou=etc,dc=example,dc=com > changetype: add > objectclass: autoMemberDefinition > cn: Hostgroups > autoMemberScope: dc=example,dc=com > autoMemberFilter: objectclass=posixAccount > autoMemberDefaultGroup: cn=orphans,cn=hostgroups,dc=example,dc=com > autoMemberGroupingAttr: member:dn > EOF adding new entry "cn=Hostgroups,ou=etc,dc=example,dc=com" Hence VERIFIED. |