Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
0b15c19c
Commit
0b15c19c
authored
Jan 15, 2000
by
Howard Chu
Browse files
Fix bug in group spec parsing, was failing to set attributeType if a
nondefault objectclass was given
parent
9ac0eab1
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/aclparse.c
View file @
0b15c19c
...
...
@@ -338,7 +338,7 @@ parse_acl(
/* format of string is "group/objectClassValue/groupAttrName" */
if
((
value
=
strchr
(
left
,
'/'
))
!=
NULL
)
{
*
value
++
=
'\0'
;
if
(
value
&&
*
value
if
(
*
value
&&
(
name
=
strchr
(
value
,
'/'
))
!=
NULL
)
{
*
name
++
=
'\0'
;
...
...
@@ -353,14 +353,14 @@ parse_acl(
*--
value
=
'/'
;
}
else
{
b
->
a_group_oc
=
ch_strdup
(
"groupOfNames"
);
}
if
(
name
&&
*
name
)
{
b
->
a_group_at
=
ch_strdup
(
name
);
*--
name
=
'/'
;
if
(
name
&&
*
name
)
{
b
->
a_group_at
=
ch_strdup
(
name
);
*--
name
=
'/'
;
}
else
{
b
->
a_group_at
=
ch_strdup
(
"member"
);
}
}
else
{
b
->
a_group_at
=
ch_strdup
(
"member"
);
}
continue
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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