File diff 5fa7e5872446 → c3861b9a54bb
roles/ldap_server/molecule/default/tests/test_mandatory.py
Show inline comments
 
@@ -128,7 +128,8 @@ def test_permissions(host):
 
    with host.sudo():
 
        permissions = host.run("ldapsearch -o ldif-wrap=no -H ldapi:/// -Q -LLL -Y EXTERNAL -b 'olcDatabase={1}mdb,cn=config' -s base olcAccess olcAccess")
 

	
 
        expected_permissions = """olcAccess: {0}to * by dn.exact=gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth manage by dn="cn=admin,dc=local" manage by * break
 
        expected_permissions = \
 
            """olcAccess: {0}to * by dn.exact=gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth manage by dn="cn=admin,dc=local" manage by * break
 
olcAccess: {1}to attrs=userPassword,shadowLastChange by self write by anonymous auth by * none
 
olcAccess: {2}to dn.base="" by * read
 
olcAccess: {3}to * by self write by dn="cn=admin,dc=local" write by users read by * none"""