- # extended LDIF
- #
- # LDAPv3
- # base <dc=thunderbird> with scope subtree
-
# filter: uid=dmarkey
- # requesting: ALL
- #
- # dmarkey, user, thunderbird
- dn: uid=dmarkey,ou=user,dc=thunderbird
- objectClass: top
- objectClass: person
- objectClass: organizationalPerson
- objectClass: inetOrgPerson
- objectClass: posixAccount
- objectClass: shadowAccount
- objectClass: krb5Principal
- objectClass: krb5KDCEntry
-
objectClass: sambaSamAccount
- sn: Markey
- givenName: David
- uid: dmarkey
- mail: dmarkey@xxxx
- cn: David Markey Staff
- # search result
- search: 2
- result: 0 Success
- # numResponses: 2
- # numEntries: 1
- Robinson:/opt/openldap/etc/openldap # ldapsearch -b dc=thunderbird -x uid=dmarkey mail
- # extended LDIF
- #
- # LDAPv3
- # base <dc=thunderbird> with scope subtree
- # filter: uid=dmarkey
- # requesting: mail
- #
- # search result
- search: 2
- result: 0 Success
-
# numResponses: 1
Here is the relay database definition
database relay
suffix "dc=thunderbird"
relay "dc=example,dc=ie"
overlay rwm
overlay memberof
rwm-rewriteEngine on
rwm-suffixmassage "dc=example,dc=ie"
map attribute cn gecos
map attribute mail *
map attribute uid *
map attribute sn *
map attribute givenname *
map attribute memberof *
map attribute *
access to filter="memberOf=cn=staff,ou=groupofnames,dc=thunderbird"
by * read
Anyone see what im doing wrong here?
Thanks.