Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Christopher Ng
OpenLDAP
Commits
6bc2cf3c
Commit
6bc2cf3c
authored
19 years ago
by
Howard Chu
Browse files
Options
Downloads
Patches
Plain Diff
ITS#3573, cannot set pwdChangedTime manually any more
parent
855f7d44
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/scripts/test022-ppolicy
+5
-11
5 additions, 11 deletions
tests/scripts/test022-ppolicy
with
5 additions
and
11 deletions
tests/scripts/test022-ppolicy
+
5
−
11
View file @
6bc2cf3c
...
...
@@ -79,8 +79,8 @@ if test $COUNT != 2 ; then
exit
1
fi
echo
"Waiting
3
0 seconds for lockout to reset..."
sleep
3
0
echo
"Waiting
2
0 seconds for lockout to reset..."
sleep
2
0
$LDAPSEARCH
-e
ppolicy
-h
$LOCALHOST
-p
$PORT1
-D
"
$USER
"
-w
$PASS
\
-b
"
$BASEDN
"
-s
base
>>
$SEARCHOUT
2>&1
...
...
@@ -91,15 +91,9 @@ if test $RC != 0 ; then
exit
$RC
fi
echo
"Testing password expiration..."
$LDAPMODIFY
-v
-D
"
$MANAGERDN
"
-h
$LOCALHOST
-p
$PORT1
-w
$PASSWD
>
\
$TESTOUT
2>&1
<<
EOMODS
dn: uid=nd, ou=People, dc=example, dc=com
changetype: modify
replace: pwdChangedTime
pwdChangedTime: 20031231000001Z
EOMODS
echo
"Testing password expiration"
echo
"Waiting 20 seconds for password to expire..."
sleep
20
$LDAPSEARCH
-e
ppolicy
-h
$LOCALHOST
-p
$PORT1
-D
"
$USER
"
-w
$PASS
\
-b
"
$BASEDN
"
-s
base
>
$SEARCHOUT
2>&1
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment