diff --git a/bin/convertdomain b/bin/convertdomain index d8825d5..0e3965b 100755 --- a/bin/convertdomain +++ b/bin/convertdomain @@ -408,12 +408,12 @@ PATH=/var/www/html:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/sbin:/bin /var/www/html/occ ldap:set-config s01 ldapAgentName cn=admin,dc=$DOMAIN_FIRST,dc=$DOMAIN_LAST /var/www/html/occ ldap:set-config s01 ldapAgentPassword $LDAP_SECRET /var/www/html/occ ldap:set-config s01 ldapBase ou=people,dc=$DOMAIN_FIRST,dc=$DOMAIN_LAST -/var/www/html/occ ldap:set-config s01 ldapBaseGroups ou=people,dc=$DOMAIN_FIRST,dc=$DOMAIN_LAST +/var/www/html/occ ldap:set-config s01 ldapBaseGroups ou=groups,dc=$DOMAIN_FIRST,dc=$DOMAIN_LAST /var/www/html/occ ldap:set-config s01 ldapBaseUsers ou=people,dc=$DOMAIN_FIRST,dc=$DOMAIN_LAST /var/www/html/occ ldap:set-config s01 ldapEmailAttribute mail /var/www/html/occ ldap:set-config s01 ldapGidNumber gidNumber /var/www/html/occ ldap:set-config s01 ldapGroupDisplayName cn -/var/www/html/occ ldap:set-config s01 ldapGroupFilter '(&(|(objectclass=inetOrgPerson)))' +/var/www/html/occ ldap:set-config s01 ldapGroupFilter '(&(|(objectclass=posixGroup)))' /var/www/html/occ ldap:set-config s01 ldapGroupFilterMode 0 /var/www/html/occ ldap:set-config s01 ldapGroupFilterObjectclass inetOrgPerson /var/www/html/occ ldap:set-config s01 ldapGroupMemberAssocAttr gidNumber