14.02.2014 Views

ldapv3.pdf 7947KB Apr 17 2013 11:30:42 AM - mirror omadata

ldapv3.pdf 7947KB Apr 17 2013 11:30:42 AM - mirror omadata

ldapv3.pdf 7947KB Apr 17 2013 11:30:42 AM - mirror omadata

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2.1.x<br />

sasl-regexp rewrite pattern<br />

sasl-regexp {search pattern} {replacement pattern}<br />

The replacement pattern is merely a string, where the value stored in $1 from<br />

the search pattern is substituted to produce either a DN or a search URL<br />

If $1 contains the value “awilliam” then<br />

uid=$1,ou=People,dc=Whitemice,dc=Org<br />

will produce the DN uid=awilliam,ou=People,dc=Whitemice,dc=Org.<br />

ldap:///dc=Whitemice,dc=org??sub?(&(uid=$1)(objectclass=account))<br />

will produce the LDAP search URL of<br />

ldap:///dc=Whitemice,dc=Org??sub(&(uid=awilliam)(objectclass=account).<br />

An LDAP search URL has the format of -<br />

ldap://{host}/{base}?{attrs}?{scope}?{filter}<br />

Since we are only concerned with locating a DN, the attrs field should be left<br />

blank, as well as the host field, as the current server is assumed.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!