Commit af7f636c authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

s/rfc822mailgroup/groupofnames/ as we don't have a LDAPv3 mailgroup spec

parent 35a29123
......@@ -45,14 +45,10 @@ member: cn=Ursula Hampster, ou=Alumni Association, ou=People, o=University of
Michigan, c=US
member: cn=Bjorn Jensen, ou=Information Technology Division, ou=People, o=Univ
ersity of Michigan, c=US
associateddomain: umich.edu
requeststo: cn=Manager, o=University of Michigan, c=US
errorsto: cn=Manager, o=University of Michigan, c=US
owner: cn=Manager, o=University of Michigan, c=US
cn: All Staff
joinable: FALSE
multilinedescription: Everyone in the sample data
objectclass: rfc822mailgroup
description: Everyone in the sample data
objectclass: groupofnames
dn: cn=Alumni Assoc Staff,ou=Groups,o=University of Michigan,c=US
member: cn=Manager, o=University of Michigan, c=US
......@@ -68,14 +64,10 @@ member: cn=Mark Elliot, ou=Alumni Association, ou=People, o=University of Mich
igan, c=US
member: cn=Ursula Hampster, ou=Alumni Association, ou=People, o=University of
Michigan, c=US
associateddomain: umich.edu
requeststo: cn=Manager, o=University of Michigan, c=US
errorsto: cn=Manager, o=University of Michigan, c=US
owner: cn=Manager, o=University of Michigan, c=US
multilinedescription: All Alumni Assoc Staff
description: All Alumni Assoc Staff
cn: Alumni Assoc Staff
joinable: FALSE
objectclass: rfc822mailgroup
objectclass: groupofnames
dn: ou=Alumni Association, ou=People, o=University of Michigan, c=US
objectclass: top
......@@ -149,14 +141,10 @@ objectclass: organizationalUnit
ou: Information Technology Divisio
dn: cn=ITD Staff,ou=Groups,o=University of Michigan,c=US
associateddomain: umich.edu
requeststo: cn=Manager, o=University of Michigan, c=US
errorsto: cn=Manager, o=University of Michigan, c=US
owner: cn=Manager, o=University of Michigan, c=US
multilinedescription: All ITD Staff
description: All ITD Staff
cn: ITD Staff
joinable: FALSE
objectclass: rfc822mailgroup
objectclass: groupofnames
member: cn=Manager, o=University of Michigan, c=US
member: cn=Bjorn Jensen, ou=Information Technology Division, ou=People, o=Univ
ersity of Michigan, c=US
......@@ -166,8 +154,7 @@ member: cn=John Doe, ou=Information Technology Division, ou=People, o=Universi
ty of Michigan, c=US
member: cn=James A Jones 1, ou=Alumni Association, ou=People, o=University of
Michigan, c=US
labeledurl: http://www.itd.umich.edu ITD Home Page
telephonenumber: +1 810 555 1212
ou: Groups
dn: cn=James A Jones 2, ou=Information Technology Division, ou=People, o=Unive
rsity of Michigan, c=US
......
dn: cn=All Staff,ou=Groups,o=University of Michigan,c=US
associateddomain: umich.edu
requeststo: cn=Manager, o=University of Michigan, c=US
errorsto: cn=Manager, o=University of Michigan, c=US
owner: cn=Manager, o=University of Michigan, c=US
cn: All Staff
joinable: FALSE
multilinedescription: Everyone in the sample data
objectclass: rfc822mailgroup
description: Everyone in the sample data
objectclass: groupofnames
member: cn=Dorothy Stevens, ou=Alumni Association, ou=People, o=University of
Michigan, c=US
dn: cn=Alumni Assoc Staff,ou=Groups,o=University of Michigan,c=US
member: cn=Manager, o=University of Michigan, c=US
......@@ -22,14 +20,10 @@ member: cn=Mark Elliot, ou=Alumni Association, ou=People, o=University of Mich
igan, c=US
member: cn=Ursula Hampster, ou=Alumni Association, ou=People, o=University of
Michigan, c=US
associateddomain: umich.edu
requeststo: cn=Manager, o=University of Michigan, c=US
errorsto: cn=Manager, o=University of Michigan, c=US
owner: cn=Manager, o=University of Michigan, c=US
multilinedescription: All Alumni Assoc Staff
description: All Alumni Assoc Staff
cn: Alumni Assoc Staff
joinable: FALSE
objectclass: rfc822mailgroup
objectclass: groupofnames
dn: ou=Alumni Association, ou=People, o=University of Michigan, c=US
objectclass: top
......@@ -154,14 +148,10 @@ objectclass: organizationalUnit
ou: Information Technology Divisio
dn: cn=ITD Staff,ou=Groups,o=University of Michigan,c=US
associateddomain: umich.edu
requeststo: cn=Manager, o=University of Michigan, c=US
errorsto: cn=Manager, o=University of Michigan, c=US
owner: cn=Manager, o=University of Michigan, c=US
multilinedescription: All ITD Staff
description: All ITD Staff
cn: ITD Staff
joinable: FALSE
objectclass: rfc822mailgroup
objectclass: groupofnames
member: cn=Manager, o=University of Michigan, c=US
member: cn=John Doe, ou=Information Technology Division, ou=People, o=Universi
ty of Michigan, c=US
......@@ -169,7 +159,6 @@ member: cn=Dorothy Stevens, ou=Alumni Association, ou=People, o=University of
Michigan, c=US
member: cn=James A Jones 1, ou=Alumni Association, ou=People, o=University of
Michigan, c=US
labeledurl: http://www.itd.umich.edu ITD Home Page
dn: cn=James A Jones 1, ou=Alumni Association, ou=People, o=University of Mich
igan, c=US
......
......@@ -20,14 +20,10 @@ member: cn=Ursula Hampster, ou=Alumni Association, ou=People, o=University of
Michigan, c=US
member: cn=Bjorn Jensen, ou=Information Technology Division, ou=People, o=Univ
ersity of Michigan, c=US
associateddomain: umich.edu
requeststo: cn=Manager, o=University of Michigan, c=US
errorsto: cn=Manager, o=University of Michigan, c=US
owner: cn=Manager, o=University of Michigan, c=US
cn: All Staff
joinable: FALSE
multilinedescription: Everyone in the sample data
objectclass: rfc822mailgroup
description: Everyone in the sample data
objectclass: groupofnames
dn: cn=Alumni Assoc Staff,ou=Groups,o=University of Michigan,c=US
member: cn=Manager, o=University of Michigan, c=US
......@@ -43,14 +39,10 @@ member: cn=Mark Elliot, ou=Alumni Association, ou=People, o=University of Mich
igan, c=US
member: cn=Ursula Hampster, ou=Alumni Association, ou=People, o=University of
Michigan, c=US
associateddomain: umich.edu
requeststo: cn=Manager, o=University of Michigan, c=US
errorsto: cn=Manager, o=University of Michigan, c=US
owner: cn=Manager, o=University of Michigan, c=US
multilinedescription: All Alumni Assoc Staff
description: All Alumni Assoc Staff
cn: Alumni Assoc Staff
joinable: FALSE
objectclass: rfc822mailgroup
objectclass: groupofnames
dn: ou=Alumni Association, ou=People, o=University of Michigan, c=US
objectclass: top
......@@ -151,14 +143,10 @@ objectclass: organizationalUnit
ou: Information Technology Divisio
dn: cn=ITD Staff,ou=Groups,o=University of Michigan,c=US
associateddomain: umich.edu
requeststo: cn=Manager, o=University of Michigan, c=US
errorsto: cn=Manager, o=University of Michigan, c=US
owner: cn=Manager, o=University of Michigan, c=US
multilinedescription: All ITD Staff
description: All ITD Staff
cn: ITD Staff
joinable: FALSE
objectclass: rfc822mailgroup
objectclass: groupofnames
member: cn=Manager, o=University of Michigan, c=US
member: cn=Bjorn Jensen, ou=Information Technology Division, ou=People, o=Univ
ersity of Michigan, c=US
......@@ -166,7 +154,6 @@ member: cn=James A Jones 2, ou=Information Technology Division, ou=People, o=U
niversity of Michigan, c=US
member: cn=John Doe, ou=Information Technology Division, ou=People, o=Universi
ty of Michigan, c=US
labeledurl: http://www.itd.umich.edu ITD Home Page
dn: cn=James A Jones II, ou=Information Technology Division, ou=People, o=Univ
ersity of Michigan, c=US
......
......@@ -20,14 +20,10 @@ member: cn=Ursula Hampster, ou=Alumni Association, ou=People, o=University of
Michigan, c=US
member: cn=Bjorn Jensen, ou=Information Technology Division, ou=People, o=Univ
ersity of Michigan, c=US
associateddomain: umich.edu
requeststo: cn=Manager, o=University of Michigan, c=US
errorsto: cn=Manager, o=University of Michigan, c=US
owner: cn=Manager, o=University of Michigan, c=US
cn: All Staff
joinable: FALSE
multilinedescription: Everyone in the sample data
objectclass: rfc822mailgroup
description: Everyone in the sample data
objectclass: groupofnames
dn: cn=Alumni Assoc Staff,ou=Groups,o=University of Michigan,c=US
member: cn=Manager, o=University of Michigan, c=US
......@@ -43,14 +39,10 @@ member: cn=Mark Elliot, ou=Alumni Association, ou=People, o=University of Mich
igan, c=US
member: cn=Ursula Hampster, ou=Alumni Association, ou=People, o=University of
Michigan, c=US
associateddomain: umich.edu
requeststo: cn=Manager, o=University of Michigan, c=US
errorsto: cn=Manager, o=University of Michigan, c=US
owner: cn=Manager, o=University of Michigan, c=US
multilinedescription: All Alumni Assoc Staff
description: All Alumni Assoc Staff
cn: Alumni Assoc Staff
joinable: FALSE
objectclass: rfc822mailgroup
objectclass: groupofnames
dn: ou=Alumni Association, ou=People, o=University of Michigan, c=US
objectclass: top
......@@ -151,14 +143,10 @@ objectclass: organizationalUnit
ou: Information Technology Divisio
dn: cn=ITD Staff,ou=Groups,o=University of Michigan,c=US
associateddomain: umich.edu
requeststo: cn=Manager, o=University of Michigan, c=US
errorsto: cn=Manager, o=University of Michigan, c=US
owner: cn=Manager, o=University of Michigan, c=US
multilinedescription: All ITD Staff
description: All ITD Staff
cn: ITD Staff
joinable: FALSE
objectclass: rfc822mailgroup
objectclass: groupofnames
member: cn=Manager, o=University of Michigan, c=US
member: cn=Bjorn Jensen, ou=Information Technology Division, ou=People, o=Univ
ersity of Michigan, c=US
......@@ -166,7 +154,6 @@ member: cn=James A Jones 2, ou=Information Technology Division, ou=People, o=U
niversity of Michigan, c=US
member: cn=John Doe, ou=Information Technology Division, ou=People, o=Universi
ty of Michigan, c=US
labeledurl: http://www.itd.umich.edu ITD Home Page
dn: cn=James A Jones II, ou=Information Technology Division, ou=People, o=Univ
ersity of Michigan, c=US
......
......@@ -76,14 +76,10 @@ member: cn=Ursula Hampster, ou=Alumni Association, ou=People, o=University of
Michigan, c=US
member: cn=Bjorn Jensen, ou=Information Technology Division, ou=People, o=Univ
ersity of Michigan, c=US
associateddomain: umich.edu
requeststo: cn=Manager, o=University of Michigan, c=US
errorsto: cn=Manager, o=University of Michigan, c=US
owner: cn=Manager, o=University of Michigan, c=US
cn: All Staff
joinable: FALSE
multilinedescription: Everyone in the sample data
objectclass: rfc822mailgroup
description: Everyone in the sample data
objectclass: groupofnames
dn: cn=Alumni Assoc Staff,ou=Groups,o=University of Michigan,c=US
member: cn=Manager, o=University of Michigan, c=US
......@@ -99,24 +95,16 @@ member: cn=Mark Elliot, ou=Alumni Association, ou=People, o=University of Mich
igan, c=US
member: cn=Ursula Hampster, ou=Alumni Association, ou=People, o=University of
Michigan, c=US
associateddomain: umich.edu
requeststo: cn=Manager, o=University of Michigan, c=US
errorsto: cn=Manager, o=University of Michigan, c=US
owner: cn=Manager, o=University of Michigan, c=US
multilinedescription: All Alumni Assoc Staff
description: All Alumni Assoc Staff
cn: Alumni Assoc Staff
joinable: FALSE
objectclass: rfc822mailgroup
objectclass: groupofnames
dn: cn=ITD Staff,ou=Groups,o=University of Michigan,c=US
associateddomain: umich.edu
requeststo: cn=Manager, o=University of Michigan, c=US
errorsto: cn=Manager, o=University of Michigan, c=US
owner: cn=Manager, o=University of Michigan, c=US
multilinedescription: All ITD Staff
description: All ITD Staff
cn: ITD Staff
joinable: FALSE
objectclass: rfc822mailgroup
objectclass: groupofnames
member: cn=Manager, o=University of Michigan, c=US
member: cn=Bjorn Jensen, ou=Information Technology Division, ou=People, o=Univ
ersity of Michigan, c=US
......@@ -124,7 +112,6 @@ member: cn=James A Jones 2, ou=Information Technology Division, ou=People, o=U
niversity of Michigan, c=US
member: cn=John Doe, ou=Information Technology Division, ou=People, o=Universi
ty of Michigan, c=US
labeledurl: http://www.itd.umich.edu ITD Home Page
dn: cn=James A Jones 1, ou=Alumni Association, ou=People, o=University of Mich
igan, c=US
......@@ -174,14 +161,10 @@ member: cn=Ursula Hampster, ou=Alumni Association, ou=People, o=University of
Michigan, c=US
member: cn=Bjorn Jensen, ou=Information Technology Division, ou=People, o=Univ
ersity of Michigan, c=US
associateddomain: umich.edu
requeststo: cn=Manager, o=University of Michigan, c=US
errorsto: cn=Manager, o=University of Michigan, c=US
owner: cn=Manager, o=University of Michigan, c=US
cn: All Staff
joinable: FALSE
multilinedescription: Everyone in the sample data
objectclass: rfc822mailgroup
description: Everyone in the sample data
objectclass: groupofnames
dn: cn=Alumni Assoc Staff,ou=Groups,o=University of Michigan,c=US
member: cn=Manager, o=University of Michigan, c=US
......@@ -197,14 +180,10 @@ member: cn=Mark Elliot, ou=Alumni Association, ou=People, o=University of Mich
igan, c=US
member: cn=Ursula Hampster, ou=Alumni Association, ou=People, o=University of
Michigan, c=US
associateddomain: umich.edu
requeststo: cn=Manager, o=University of Michigan, c=US
errorsto: cn=Manager, o=University of Michigan, c=US
owner: cn=Manager, o=University of Michigan, c=US
multilinedescription: All Alumni Assoc Staff
description: All Alumni Assoc Staff
cn: Alumni Assoc Staff
joinable: FALSE
objectclass: rfc822mailgroup
objectclass: groupofnames
dn: cn=All Staff,ou=Groups,o=University of Michigan,c=US
member: cn=Manager, o=University of Michigan, c=US
member: cn=Barbara Jensen, ou=Information Technology Division, ou=People, o=Un
......@@ -227,14 +206,10 @@ member: cn=Ursula Hampster, ou=Alumni Association, ou=People, o=University of
Michigan, c=US
member: cn=Bjorn Jensen, ou=Information Technology Division, ou=People, o=Univ
ersity of Michigan, c=US
associateddomain: umich.edu
requeststo: cn=Manager, o=University of Michigan, c=US
errorsto: cn=Manager, o=University of Michigan, c=US
owner: cn=Manager, o=University of Michigan, c=US
cn: All Staff
joinable: FALSE
multilinedescription: Everyone in the sample data
objectclass: rfc822mailgroup
description: Everyone in the sample data
objectclass: groupofnames
dn: cn=Alumni Assoc Staff,ou=Groups,o=University of Michigan,c=US
member: cn=Manager, o=University of Michigan, c=US
......@@ -250,14 +225,10 @@ member: cn=Mark Elliot, ou=Alumni Association, ou=People, o=University of Mich
igan, c=US
member: cn=Ursula Hampster, ou=Alumni Association, ou=People, o=University of
Michigan, c=US
associateddomain: umich.edu
requeststo: cn=Manager, o=University of Michigan, c=US
errorsto: cn=Manager, o=University of Michigan, c=US
owner: cn=Manager, o=University of Michigan, c=US
multilinedescription: All Alumni Assoc Staff
description: All Alumni Assoc Staff
cn: Alumni Assoc Staff
joinable: FALSE
objectclass: rfc822mailgroup
objectclass: groupofnames
dn: ou=Alumni Association, ou=People, o=University of Michigan, c=US
objectclass: top
......@@ -276,14 +247,10 @@ objectclass: organizationalUnit
ou: Information Technology Divisio
dn: cn=ITD Staff,ou=Groups,o=University of Michigan,c=US
associateddomain: umich.edu
requeststo: cn=Manager, o=University of Michigan, c=US
errorsto: cn=Manager, o=University of Michigan, c=US
owner: cn=Manager, o=University of Michigan, c=US
multilinedescription: All ITD Staff
description: All ITD Staff
cn: ITD Staff
joinable: FALSE
objectclass: rfc822mailgroup
objectclass: groupofnames
member: cn=Manager, o=University of Michigan, c=US
member: cn=Bjorn Jensen, ou=Information Technology Division, ou=People, o=Univ
ersity of Michigan, c=US
......@@ -291,7 +258,6 @@ member: cn=James A Jones 2, ou=Information Technology Division, ou=People, o=U
niversity of Michigan, c=US
member: cn=John Doe, ou=Information Technology Division, ou=People, o=Universi
ty of Michigan, c=US
labeledurl: http://www.itd.umich.edu ITD Home Page
dn: ou=People, o=University of Michigan, c=US
objectclass: top
......
......@@ -44,7 +44,7 @@ access to attr=member
by dnattr=member selfwrite
by * read
access to filter="objectclass=rfc822mailgroup"
access to filter="objectclass=groupofnames"
by dn="^cn=Bjorn Jensen,ou=Information Technology Division,ou=People,o=University of Michigan,c=US$" =sc continue
by dn="^cn=Bjorn Jensen,ou=Information Technology Division,ou=People,o=University of Michigan,c=US$" +rw stop
by * break
......
......@@ -43,7 +43,7 @@ access to attr=member
by dnattr=member selfwrite
by * read
access to filter="objectclass=rfc822mailgroup"
access to filter="objectclass=groupofnames"
by dn="Bjorn Jensen,ou=Information Technology Division,ou=People,o=University of Michigan,c=US" write
by * read
......
......@@ -4,6 +4,10 @@
#
include ./data/slapd.at.conf
include ./data/slapd.oc.conf
#include ../../servers/slapd/schema/core.schema
#include ../../servers/slapd/schema/openldap.schema
#include ../../servers/slapd/schema/cosine.schema
#include ../../servers/slapd/schema/inetorgperson.schema
schemacheck on
pidfile ./test-db/slapd.pid
argsfile ./test-db/slapd.args
......
......@@ -59,14 +59,10 @@ member: cn=Ursula Hampster, ou=Alumni Association, ou=People, o=University of
Michigan, c=US
member: cn=Bjorn Jensen, ou=Information Technology Division, ou=People, o=Univ
ersity of Michigan, c=US
associateddomain: umich.edu
requeststo: cn=Manager, o=University of Michigan, c=US
errorsto: cn=Manager, o=University of Michigan, c=US
owner: cn=Manager, o=University of Michigan, c=US
cn: All Staff
joinable: FALSE
multilinedescription: Everyone in the sample data
objectclass: rfc822mailgroup
description: Everyone in the sample data
objectclass: groupofnames
dn: cn=Alumni Assoc Staff,ou=Groups,o=University of Michigan,c=US
member: cn=Manager, o=University of Michigan, c=US
......@@ -82,14 +78,10 @@ member: cn=Mark Elliot, ou=Alumni Association, ou=People, o=University of Mich
igan, c=US
member: cn=Ursula Hampster, ou=Alumni Association, ou=People, o=University of
Michigan, c=US
associateddomain: umich.edu
requeststo: cn=Manager, o=University of Michigan, c=US
errorsto: cn=Manager, o=University of Michigan, c=US
owner: cn=Manager, o=University of Michigan, c=US
multilinedescription: All Alumni Assoc Staff
description: All Alumni Assoc Staff
cn: Alumni Assoc Staff
joinable: FALSE
objectclass: rfc822mailgroup
objectclass: groupofnames
dn: cn=Barbara Jensen, ou=Information Technology Division, ou=People, o=Univer
sity of Michigan, c=US
......@@ -174,14 +166,10 @@ mail: dots@mail.alumni.umich.edu
homephone: +1 313 555 0454
dn: cn=ITD Staff,ou=Groups,o=University of Michigan,c=US
associateddomain: umich.edu
requeststo: cn=Manager, o=University of Michigan, c=US
errorsto: cn=Manager, o=University of Michigan, c=US
owner: cn=Manager, o=University of Michigan, c=US
multilinedescription: All ITD Staff
description: All ITD Staff
cn: ITD Staff
joinable: FALSE
objectclass: rfc822mailgroup
objectclass: groupofnames
member: cn=Manager, o=University of Michigan, c=US
member: cn=Bjorn Jensen, ou=Information Technology Division, ou=People, o=Univ
ersity of Michigan, c=US
......@@ -189,7 +177,6 @@ member: cn=James A Jones 2, ou=Information Technology Division, ou=People, o=U
niversity of Michigan, c=US
member: cn=John Doe, ou=Information Technology Division, ou=People, o=Universi
ty of Michigan, c=US
labeledurl: http://www.itd.umich.edu ITD Home Page
dn: cn=James A Jones 1, ou=Alumni Association, ou=People, o=University of Mich
igan, c=US
......
......@@ -20,14 +20,10 @@ member: cn=Ursula Hampster, ou=Alumni Association, ou=People, o=University of
Michigan, c=US
member: cn=Bjorn Jensen, ou=Information Technology Division, ou=People, o=Univ
ersity of Michigan, c=US
associateddomain: umich.edu
requeststo: cn=Manager, o=University of Michigan, c=US
errorsto: cn=Manager, o=University of Michigan, c=US
owner: cn=Manager, o=University of Michigan, c=US
cn: All Staff
joinable: FALSE
multilinedescription: Everyone in the sample data
objectclass: rfc822mailgroup
description: Everyone in the sample data
objectclass: groupofnames
dn: cn=Alumni Assoc Staff,ou=Groups,o=University of Michigan,c=US
member: cn=Manager, o=University of Michigan, c=US
......@@ -43,14 +39,10 @@ member: cn=Mark Elliot, ou=Alumni Association, ou=People, o=University of Mich
igan, c=US
member: cn=Ursula Hampster, ou=Alumni Association, ou=People, o=University of
Michigan, c=US
associateddomain: umich.edu
requeststo: cn=Manager, o=University of Michigan, c=US
errorsto: cn=Manager, o=University of Michigan, c=US
owner: cn=Manager, o=University of Michigan, c=US
multilinedescription: All Alumni Assoc Staff
description: All Alumni Assoc Staff
cn: Alumni Assoc Staff
joinable: FALSE
objectclass: rfc822mailgroup
objectclass: groupofnames
dn: ou=Alumni Association, ou=People, o=University of Michigan, c=US
objectclass: top
......@@ -151,14 +143,10 @@ objectclass: organizationalUnit
ou: Information Technology Divisio
dn: cn=ITD Staff,ou=Groups,o=University of Michigan,c=US
associateddomain: umich.edu
requeststo: cn=Manager, o=University of Michigan, c=US
errorsto: cn=Manager, o=University of Michigan, c=US
owner: cn=Manager, o=University of Michigan, c=US
multilinedescription: All ITD Staff
description: All ITD Staff
cn: ITD Staff
joinable: FALSE
objectclass: rfc822mailgroup
objectclass: groupofnames
member: cn=Manager, o=University of Michigan, c=US
member: cn=Bjorn Jensen, ou=Information Technology Division, ou=People, o=Univ
ersity of Michigan, c=US
......@@ -166,7 +154,6 @@ member: cn=James A Jones 2, ou=Information Technology Division, ou=People, o=U
niversity of Michigan, c=US
member: cn=John Doe, ou=Information Technology Division, ou=People, o=Universi
ty of Michigan, c=US
labeledurl: http://www.itd.umich.edu ITD Home Page
dn: cn=James A Jones 1, ou=Alumni Association, ou=People, o=University of Mich
igan, c=US
......
......@@ -59,7 +59,7 @@ fi
echo "Testing OR searching..."
$LDAPSEARCH -S "" -b "$BASEDN" -h localhost -p $PORT \
'(|(objectclass=rfc822mailgroup)(sn=jones))' >> $SEARCHOUT 2>&1
'(|(objectclass=groupofnames)(sn=jones))' >> $SEARCHOUT 2>&1
if test $RC != 0 ; then
echo "ldapsearch failed!"
kill -HUP $PID
......@@ -68,7 +68,7 @@ fi
echo "Testing AND matching and ends-with searching..."
$LDAPSEARCH -S "" -b "$BASEDN" -h localhost -p $PORT \
'(&(objectclass=rfc822mailgroup)(cn=A*))' >> $SEARCHOUT 2>&1
'(&(objectclass=groupofnames)(cn=A*))' >> $SEARCHOUT 2>&1
if test $RC != 0 ; then
echo "ldapsearch failed!"
kill -HUP $PID
......
......@@ -82,6 +82,9 @@ member: cn=James A Jones 1, ou=Alumni Association, ou=People, o=University of Mi
dn: cn=All Staff,ou=Groups,o=University of Michigan,c=US
changetype: modify
delete: member
-
add: member
member: cn=Dorothy Stevens, ou=Alumni Association, ou=People, o=University of Michigan, c=US
dn: cn=Gern Jensen, ou=Information Technology Division, ou=People, o=University of Michigan, c=US
changetype: add
......
......@@ -108,9 +108,9 @@ dn: cn=ITD Staff, ou=Groups, o=University of Michigan, c=US
# comment
changetype: modify
# comment
add: telephonenumber
add: ou
# comment
telephonenumber: +1 810 555 1212
ou: Groups
# comment
EOMODS4
......
......@@ -79,7 +79,7 @@ fi
echo "Testing OR searching..."
$LDAPSEARCH -S "" -b "$BASEDN" -h localhost -p $SLAVEPORT \
'(|(objectclass=rfc822mailgroup)(sn=jones))' >> $SEARCHOUT 2>&1
'(|(objectclass=groupofnames)(sn=jones))' >> $SEARCHOUT 2>&1
if test $RC != 0 ; then
echo "ldapsearch failed!"
kill -HUP $PID $SLAVEPID
......@@ -88,7 +88,7 @@ fi
echo "Testing AND matching and ends-with searching..."
$LDAPSEARCH -S "" -b "$BASEDN" -h localhost -p $SLAVEPORT \
'(&(objectclass=rfc822mailgroup)(cn=A*))' >> $SEARCHOUT 2>&1
'(&(objectclass=groupofnames)(cn=A*))' >> $SEARCHOUT 2>&1
if test $RC != 0 ; then
echo "ldapsearch failed!"
kill -HUP $PID $SLAVEPID
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment