OpenLDAP backend: Place the refint overlay after the memberof overlay
authorAndrew Bartlett <abartlet@samba.org>
Wed, 16 Jan 2008 23:35:08 +0000 (10:35 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 16 Jan 2008 23:35:08 +0000 (10:35 +1100)
This still doesn't work for me, but is the recommended order.

Andrew Bartlett
(This used to be commit 4c869c54c2b8125fc88e58bbfddf1975476978a5)

source4/setup/provision-backend

index ba9e67f22955bdf4a9c2fa157e7bdc846f8dc809..6582587624006e48b8fa1b2cafc00cc2f4c5b089 100755 (executable)
@@ -169,9 +169,10 @@ memberof-dangling-error 32
                }
        }
 
-       memberof_config = "overlay refint
+       memberof_config = memberof_config + "
+overlay refint
 refint_attributes" + refint_attributes + "
-" + memberof_config;
+";
        
        ok = sys.file_save(subobj.LDAPDIR + "/memberof.conf", memberof_config);
        if (!ok) {