Displaying 2 results from an estimated 2 matches for "some_ou".
Did you mean:
some_id
2012 May 21
1
Active Directory : searches in root tree
...http://www.iredmail.org/wiki/index.php?title=Integration/Active.Directory.iRedMail
here
Here's my dovecot-ldap.conf :
hosts = dc.domain.lan:389
ldap_version = 3
auth_bind = yes
dn = vmail at domain.lan
dnpass = vmail_passwd
base = ou=some_ou,dc=domain,dc=lan
scope = subtree
deref = never
user_filter =
(&(userPrincipalName=%u)(objectClass=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))
pass_filter =
(&(userPrincipalName=%u)(objectClass=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))...
2006 Jan 11
0
special variables
...pty if there is no domain
But, what if dovecot could offer something like this:
%1-9 = domain tokens (%1 = tld, %2 = domain when %d = domain.tld)
(actually, these variables are present in auth_ldap module for saslauthd)
This way people could create a query like this (just an example):
base = ou=some_ou,dc=%2,dc=%1
I know I could modify my ldap schema to:
dc=domain_1.tld_1
dc=domain_2.tld_1
....
and it would be solved by using %d, however those "new" variables could
be useful, what do you think?
Cheers,
- --
Andr?s Pereira
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Lin...