mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-09 02:52:04 +08:00
sort test output
This commit is contained in:
parent
4d53c886a8
commit
f9ec3a5792
@ -1,28 +1,28 @@
|
||||
dn: c=US
|
||||
objectClass: country
|
||||
c: US
|
||||
|
||||
dn: o=Example,c=US
|
||||
objectClass: organization
|
||||
o: Example
|
||||
o: Example, Inc.
|
||||
|
||||
dn: c=UK
|
||||
objectClass: country
|
||||
c: UK
|
||||
|
||||
dn: o=Example,c=UK
|
||||
objectClass: organization
|
||||
o: Example
|
||||
o: Example, Ltd.
|
||||
|
||||
dn: c=IT
|
||||
objectClass: country
|
||||
c: IT
|
||||
|
||||
dn: o=Esempio,c=IT
|
||||
objectClass: organization
|
||||
o: Esempio
|
||||
o: Esempio S.p.A.
|
||||
o: Example
|
||||
|
||||
dn: o=Example,c=UK
|
||||
objectClass: organization
|
||||
o: Example
|
||||
o: Example, Ltd.
|
||||
|
||||
dn: o=Example,c=US
|
||||
objectClass: organization
|
||||
o: Example
|
||||
o: Example, Inc.
|
||||
|
||||
dn: c=IT
|
||||
objectClass: country
|
||||
c: IT
|
||||
|
||||
dn: c=UK
|
||||
objectClass: country
|
||||
c: UK
|
||||
|
||||
dn: c=US
|
||||
objectClass: country
|
||||
c: US
|
||||
|
||||
|
@ -1,24 +1,12 @@
|
||||
dn: c=US
|
||||
objectClass: country
|
||||
c: US
|
||||
|
||||
dn: o=Example,c=US
|
||||
dn: o=Beispiel,c=DE
|
||||
objectClass: organization
|
||||
o: Beispiel
|
||||
o: Beispiel GmbH
|
||||
o: Example
|
||||
o: Example, Inc.
|
||||
|
||||
dn: c=UK
|
||||
dn: c=DE
|
||||
objectClass: country
|
||||
c: UK
|
||||
|
||||
dn: o=Example,c=UK
|
||||
objectClass: organization
|
||||
o: Example
|
||||
o: Example, Ltd.
|
||||
|
||||
dn: c=IT
|
||||
objectClass: country
|
||||
c: IT
|
||||
c: DE
|
||||
|
||||
dn: o=Esempio,c=IT
|
||||
objectClass: organization
|
||||
@ -26,13 +14,25 @@ o: Esempio
|
||||
o: Esempio S.p.A.
|
||||
o: Example
|
||||
|
||||
dn: c=DE
|
||||
objectClass: country
|
||||
c: DE
|
||||
|
||||
dn: o=Beispiel,c=DE
|
||||
dn: o=Example,c=UK
|
||||
objectClass: organization
|
||||
o: Beispiel
|
||||
o: Beispiel GmbH
|
||||
o: Example
|
||||
o: Example, Ltd.
|
||||
|
||||
dn: o=Example,c=US
|
||||
objectClass: organization
|
||||
o: Example
|
||||
o: Example, Inc.
|
||||
|
||||
dn: c=IT
|
||||
objectClass: country
|
||||
c: IT
|
||||
|
||||
dn: c=UK
|
||||
objectClass: country
|
||||
c: UK
|
||||
|
||||
dn: c=US
|
||||
objectClass: country
|
||||
c: US
|
||||
|
||||
|
@ -66,7 +66,7 @@ fi
|
||||
|
||||
echo "Searching database..."
|
||||
|
||||
$LDAPSEARCH -b "" -h $LOCALHOST -p $PORT1 > $SEARCHOUT 2>&1
|
||||
$LDAPSEARCH -S "" -b "" -h $LOCALHOST -p $PORT1 > $SEARCHOUT 2>&1
|
||||
|
||||
RC=$?
|
||||
if test $RC != 0 ; then
|
||||
@ -143,7 +143,7 @@ EOF
|
||||
|
||||
echo "Searching database..."
|
||||
|
||||
$LDAPSEARCH -b "" -h $LOCALHOST -p $PORT1 > $SEARCHOUT 2>&1
|
||||
$LDAPSEARCH -S "" -b "" -h $LOCALHOST -p $PORT1 > $SEARCHOUT 2>&1
|
||||
|
||||
RC=$?
|
||||
if test $RC != 0 ; then
|
||||
|
Loading…
Reference in New Issue
Block a user