Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
8bd82bf6
Commit
8bd82bf6
authored
Jan 05, 2022
by
Quanah Gibson-Mount
Browse files
Merge branch its9767 with refs/heads/master into refs/merge-requests/465/train
parents
14015ba8
711ebba5
Pipeline
#3947
passed with stage
in 43 minutes and 26 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/overlays/unique.c
View file @
8bd82bf6
...
...
@@ -551,6 +551,16 @@ unique_cf_attrs( ConfigArgs *c )
rc
=
0
;
break
;
case
LDAP_MOD_ADD
:
if
(
c
->
argc
>
2
)
{
snprintf
(
c
->
cr_msg
,
sizeof
(
c
->
cr_msg
),
"Please insert multiple names as separate %s values"
,
c
->
argv
[
0
]
);
Debug
(
LDAP_DEBUG_CONFIG
,
"unique config: %s
\n
"
,
c
->
cr_msg
);
rc
=
ARG_BAD_CONF
;
break
;
}
/* FALLTHRU */
case
SLAP_CONFIG_ADD
:
if
(
domains
)
{
snprintf
(
c
->
cr_msg
,
sizeof
(
c
->
cr_msg
),
...
...
@@ -580,7 +590,7 @@ unique_cf_attrs( ConfigArgs *c )
if
(
!
legacy
->
uri
)
unique_new_domain_uri_basic
(
&
legacy
->
uri
,
c
);
rc
=
0
;
for
(
i
=
1
;
c
->
arg
v
[
i
]
;
++
i
)
{
for
(
i
=
1
;
i
<
c
->
arg
c
;
++
i
)
{
AttributeDescription
*
ad
=
NULL
;
const
char
*
text
;
if
(
slap_str2ad
(
c
->
argv
[
i
],
&
ad
,
&
text
)
...
...
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