[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: slapd-relay and slapo-rwm questions





--On Thursday, October 12, 2006 3:48 PM -0700 Quanah Gibson-Mount <quanah@stanford.edu> wrote:

Well, I think I've tracked this down to this line:

rwm-rewriteRule "(.+,)?cn=outlook,dc=stanford,dc=edu$"
"$1cn=people,dc=stanford,dc=edu"  ":"


If I take that line out, the rewriting occurs -- But I get no data from the entries, just the DN's.

If I keep the line, then the DN's are rewritten, but I get to see the
entry data.  I'm guessing that's an ITS if there isn't one on it
already...

As an example, without the line, I see:

tribes:~> ldapsearch -x -h ldap-dev1 -b "cn=outlook,dc=stanford,dc=edu" "cn=quanah*"
# extended LDIF
#
# LDAPv3
# base <cn=outlook,dc=stanford,dc=edu> with scope subtree
# filter: cn=quanah*
# requesting: ALL
#


# 85e49978f61311d2ae662436000baa77, outlook, stanford.edu
dn: suRegID=85e49978f61311d2ae662436000baa77,cn=outlook,dc=stanford,dc=edu

# 8696e59cf61311d2ae662436000baa77, outlook, stanford.edu
dn: suRegID=8696e59cf61311d2ae662436000baa77,cn=outlook,dc=stanford,dc=edu



With the line, I see:

tribes:~> ldapsearch -x -h ldap-dev1 -b "cn=outlook,dc=stanford,dc=edu" "cn=quanah*"
# extended LDIF
#
# LDAPv3
# base <cn=outlook,dc=stanford,dc=edu> with scope subtree
# filter: cn=quanah*
# requesting: ALL
#


# 85e49978f61311d2ae662436000baa77, people, stanford.edu
dn: suRegID=85e49978f61311d2ae662436000baa77,cn=people,dc=stanford,dc=edu
cn: quanah gibson
cn: quanah gibson mount
cn: quanah mount
displayName: Quanah Gibson-Mount
givenName: quanah
mail: quanah@stanford.edu
o: University
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: person
objectClass: suPerson
ou: IT Services
sn: gibson
sn: gibson mount
sn: mount
suAffiliation: stanford:staff
suDisplayAffiliation: Staff
suDisplayNameFirst: Quanah
suDisplayNameLast: Gibson-Mount
suDisplayNameLF: Gibson-Mount, Quanah
suRegID: 85e49978f61311d2ae662436000baa77
title: Principal Sys Admin, QA, Programmer, Webmaster

....


--Quanah

--
Quanah Gibson-Mount
Principal Software Developer
ITS/Shared Application Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html