Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
reg-app
Regapp
Commits
6bbd7e4d
Commit
6bbd7e4d
authored
Nov 11, 2019
by
michael.simon
Browse files
Set sambaGroupType as String and not as Integer
closes
#78
parent
9db260a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
bwreg-service/src/main/java/edu/kit/scc/webreg/service/reg/ldap/LdapWorker.java
View file @
6bbd7e4d
...
...
@@ -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
[]
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment