Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue 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
David Barchiesi
OpenLDAP
Commits
daf41868
Commit
daf41868
authored
20 years ago
by
Pierangelo Masarati
Browse files
Options
Downloads
Patches
Plain Diff
improve ITS
#3107
parent
c9323fd7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/data/test-limits.ldif
+3
-9
3 additions, 9 deletions
tests/data/test-limits.ldif
tests/scripts/test022-ppolicy
+11
-11
11 additions, 11 deletions
tests/scripts/test022-ppolicy
with
14 additions
and
20 deletions
tests/data/test-limits.ldif
+
3
−
9
View file @
daf41868
...
...
@@ -6,17 +6,11 @@ objectclass: organization
objectclass: domainRelatedObject
objectclass: dcobject
dc: example
l: An
n Arbor
, Michigan
l: An
ytown
, Michigan
st: Michigan
o: Example, Inc.
o: University of Michigan
o: UMICH
o: UM
o: U-M
o: U of M
description: The University of Michigan at Ann Arbor
postaladdress: University of Michigan $ 535 W. William St. $ Ann Arbor, MI 481
09 $ US
description: Some example company at Anytown in Michigan
postaladdress: Example, Inc. $ 535 W. William St. $ Anytown, MI 48109 $ US
telephonenumber: +1 313 764-1817
associateddomain: example.com
...
...
This diff is collapsed.
Click to expand it.
tests/scripts/test022-ppolicy
+
11
−
11
View file @
daf41868
...
...
@@ -33,7 +33,7 @@ if test $WAIT != 0 ; then
fi
KILLPIDS
=
"
$PID
"
USER
=
"uid=nd, ou=People,
o=University of Michigan
, c=
US
"
USER
=
"uid=nd, ou=People,
dc=example
,
d
c=
com
"
PASS
=
testpassword
echo
"Using ldapsearch to check that slapd is running..."
...
...
@@ -94,7 +94,7 @@ fi
echo
"Testing password expiration..."
$LDAPMODIFY
-v
-D
"
$MANAGERDN
"
-h
$LOCALHOST
-p
$PORT1
-w
$PASSWD
>
\
$TESTOUT
2>&1
<<
EOMODS
dn: uid=nd,
ou=People, o=University of Michigan, c=US
dn: uid=nd,
dc=example, dc=com
changetype: modify
replace: pwdChangedTime
pwdChangedTime: 20031231000001Z
...
...
@@ -136,7 +136,7 @@ fi
echo
"Filling password history..."
$LDAPMODIFY
-v
-D
"
$USER
"
-h
$LOCALHOST
-p
$PORT1
-w
$PASS
>
\
$TESTOUT
2>&1
<<
EOMODS
dn: uid=nd, ou=People,
o=University of Michigan,c=US
dn: uid=nd, ou=People,
dc=example, dc=com
changetype: modify
delete: userpassword
userpassword: testpassword
...
...
@@ -144,7 +144,7 @@ userpassword: testpassword
replace: userpassword
userpassword: 20urgle12-1
dn: uid=nd, ou=People,
o=University of Michigan,c=US
dn: uid=nd, ou=People,
dc=example, dc=com
changetype: modify
delete: userpassword
userpassword: 20urgle12-1
...
...
@@ -152,7 +152,7 @@ userpassword: 20urgle12-1
replace: userpassword
userpassword: 20urgle12-2
dn: uid=nd, ou=People,
o=University of Michigan,c=US
dn: uid=nd, ou=People,
dc=example, dc=com
changetype: modify
delete: userpassword
userpassword: 20urgle12-2
...
...
@@ -160,7 +160,7 @@ userpassword: 20urgle12-2
replace: userpassword
userpassword: 20urgle12-3
dn: uid=nd, ou=People,
o=University of Michigan,c=US
dn: uid=nd, ou=People,
dc=example, dc=com
changetype: modify
delete: userpassword
userpassword: 20urgle12-3
...
...
@@ -168,7 +168,7 @@ userpassword: 20urgle12-3
replace: userpassword
userpassword: 20urgle12-4
dn: uid=nd, ou=People,
o=University of Michigan,c=US
dn: uid=nd, ou=People,
dc=example, dc=com
changetype: modify
delete: userpassword
userpassword: 20urgle12-4
...
...
@@ -176,7 +176,7 @@ userpassword: 20urgle12-4
replace: userpassword
userpassword: 20urgle12-5
dn: uid=nd, ou=People,
o=University of Michigan,c=US
dn: uid=nd, ou=People,
dc=example, dc=com
changetype: modify
delete: userpassword
userpassword: 20urgle12-5
...
...
@@ -194,7 +194,7 @@ fi
echo
"Testing password history..."
$LDAPMODIFY
-v
-D
"
$USER
"
-h
$LOCALHOST
-p
$PORT1
-w
20urgle12-6
>
\
$TESTOUT
2>&1
<<
EOMODS
dn: uid=nd, ou=People,
o=University of Michigan
, c=
US
dn: uid=nd, ou=People,
dc=example
,
d
c=
com
changetype: modify
delete: userPassword
userPassword: 20urgle12-6
...
...
@@ -214,7 +214,7 @@ echo "Testing forced reset..."
$LDAPMODIFY
-v
-D
"
$MANAGERDN
"
-h
$LOCALHOST
-p
$PORT1
-w
$PASSWD
>
\
$TESTOUT
2>&1
<<
EOMODS
dn: uid=nd, ou=People,
o=University of Michigan
, c=
US
dn: uid=nd, ou=People,
dc=example
,
d
c=
com
changetype: modify
replace: userPassword
userPassword: testpassword
...
...
@@ -250,7 +250,7 @@ echo "Clearing forced reset..."
$LDAPMODIFY
-v
-D
"
$MANAGERDN
"
-h
$LOCALHOST
-p
$PORT1
-w
$PASSWD
>
\
$TESTOUT
2>&1
<<
EOMODS
dn: uid=nd, ou=People,
o=University of Michigan
, c=
US
dn: uid=nd, ou=People,
dc=example
,
d
c=
com
changetype: modify
delete: pwdReset
...
...
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