Commit 6bbd7e4d authored by michael.simon's avatar michael.simon
Browse files

Set sambaGroupType as String and not as Integer

closes #78
parent 9db260a2
......@@ -530,7 +530,7 @@ public class LdapWorker {
attrs = AttributesFactory.createAttributes("objectClass", new String[] {
"top", "posixGroup", "sambaGroupMapping"});
attrs.put(AttributesFactory.createAttribute("sambaSID", sidPrefix + (Long.parseLong(gidNumber) * 2L + 1000L)));
attrs.put(AttributesFactory.createAttribute("sambaGroupType", 2));
attrs.put(AttributesFactory.createAttribute("sambaGroupType", "2"));
}
else {
attrs = AttributesFactory.createAttributes("objectClass", new String[] {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment