Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
James Rouzier
OpenLDAP
Commits
77dfb204
Commit
77dfb204
authored
Sep 16, 2021
by
Ondřej Kuzník
Committed by
Quanah Gibson-Mount
Sep 16, 2021
Browse files
ITS
#9671
Revert some NO-USER-MODIFICATION flags in ppolicy
parent
f8bc0913
Changes
3
Hide whitespace changes
Inline
Side-by-side
doc/man/man5/slapo-ppolicy.5
View file @
77dfb204
...
...
@@ -790,7 +790,6 @@ policy rules will be enforced.
EQUALITY distinguishedNameMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.12
SINGLE\-VALUE
NO\-USER\-MODIFICATION
USAGE directoryOperation)
.RE
...
...
@@ -835,7 +834,6 @@ password policy attribute is set to "TRUE".
EQUALITY generalizedTimeMatch
ORDERING generalizedTimeOrderingMatch
SINGLE\-VALUE
NO\-USER\-MODIFICATION
USAGE directoryOperation)
.RE
...
...
@@ -991,7 +989,6 @@ applies.
ORDERING generalizedTimeOrderingMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.24
SINGLE\-VALUE
NO\-USER\-MODIFICATION
USAGE directoryOperation )
.RE
...
...
@@ -1010,7 +1007,6 @@ attribute does not exist, then this restriction does not apply.
ORDERING generalizedTimeOrderingMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.24
SINGLE\-VALUE
NO\-USER\-MODIFICATION
USAGE directoryOperation )
.RE
...
...
servers/slapd/overlays/ppolicy.c
View file @
77dfb204
...
...
@@ -161,7 +161,9 @@ static struct schema_info {
"ORDERING generalizedTimeOrderingMatch "
"SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 "
"SINGLE-VALUE "
#if 0 /* FIXME: ITS#9671 until we introduce a separate lockout flag? */
"NO-USER-MODIFICATION "
#endif
"USAGE directoryOperation )"
,
&
ad_pwdAccountLockedTime
},
{
"( 1.3.6.1.4.1.42.2.27.8.1.19 "
...
...
@@ -203,7 +205,9 @@ static struct schema_info {
"EQUALITY distinguishedNameMatch "
"SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 "
"SINGLE-VALUE "
#if 0 /* ITS#9671: until we implement ITS#9343 or similar */
"NO-USER-MODIFICATION "
#endif
"USAGE directoryOperation )"
,
&
ad_pwdPolicySubentry
},
{
"( 1.3.6.1.4.1.42.2.27.8.1.27 "
...
...
@@ -213,7 +217,6 @@ static struct schema_info {
"ORDERING generalizedTimeOrderingMatch "
"SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 "
"SINGLE-VALUE "
"NO-USER-MODIFICATION "
"USAGE directoryOperation )"
,
&
ad_pwdStartTime
},
{
"( 1.3.6.1.4.1.42.2.27.8.1.28 "
...
...
@@ -223,7 +226,6 @@ static struct schema_info {
"ORDERING generalizedTimeOrderingMatch "
"SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 "
"SINGLE-VALUE "
"NO-USER-MODIFICATION "
"USAGE directoryOperation )"
,
&
ad_pwdEndTime
},
/* Defined in schema_prep.c now
...
...
tests/scripts/test022-ppolicy
View file @
77dfb204
...
...
@@ -78,7 +78,7 @@ if test $RC = 0 ; then
fi
echo
"Using ldapadd to populate the database..."
$LDAPADD
-D
"
$MANAGERDN
"
-H
$URI1
-w
$PASSWD
-e
'!relax'
\
$LDAPADD
-D
"
$MANAGERDN
"
-H
$URI1
-w
$PASSWD
\
<
$LDIFPPOLICY
>>
$TESTOUT
2>&1
RC
=
$?
if
test
$RC
!=
0
;
then
...
...
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