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.

r<br />

r<br />

r<br />

r<br />

r<br />

r<br />

>2.1.x<br />

sasl-regexp search pattern<br />

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

The authentication request DN is first checked against the defined saslregexp<br />

rules until one is matched.<br />

Only the first matching rule is processed.<br />

This comparison is performed via calls to the standard regcomp() and<br />

regexec() functions.<br />

The search pattern may contain any regular expressions characters.<br />

“.”matches any character.<br />

“*” matches zero or more repeats of the preceding character or pattern.<br />

Clauses enclosed in paranthesis are remembered for coposition of the<br />

replacement pattern.<br />

Any matching characters between the parenthesis are stored in the<br />

variable $1. The authentication request dn of<br />

cn=awilliam,cn=WHITEMICE.ORG,cn=gssapi,cn=auth<br />

matches cn=(.*),cn=WHITEMICE.ORG,cn=gssapi,cn=auth<br />

and stores awilliam in $1.

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

Saved successfully!

Ooh no, something went wrong!