Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fusiondirectory
fusiondirectory
Commits
a4a1892e
Commit
a4a1892e
authored
Mar 15, 2016
by
Côme Chilliet
Browse files
Fixes
#4613
Missing changes from previous commit
parent
8b93d88e
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/functions.inc
View file @
a4a1892e
...
...
@@ -3149,10 +3149,10 @@ function get_next_id_pool($attrib)
/* Add as default */
$attrs
=
array
(
'objectClass'
=>
array
(
'organizationalUnit'
,
'sambaUnixIdPool'
)
'ou'
=>
'idmap'
;
'uidNumber'
=>
$minUserId
;
'gidNumber'
=>
$minGroupId
;
'objectClass'
=>
array
(
'organizationalUnit'
,
'sambaUnixIdPool'
)
,
'ou'
=>
'idmap'
,
'uidNumber'
=>
$minUserId
,
'gidNumber'
=>
$minGroupId
,
);
$ldap
->
cd
(
'ou=idmap,'
.
$config
->
current
[
'BASE'
]);
$ldap
->
add
(
$attrs
);
...
...
Write
Preview
Supports
Markdown
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