Displaying 3 results from an estimated 3 matches for "userdb_ldap_conn".
2005 Apr 12
1
test67 ldap_connection
...I've noticed the following changes in the source code, and my
understanding (which may be wrong) of my problem goes as follows :
- In test62, the 'attr_names' attribute array was defined outside the
'ldap_connection' struct, thus allowing 'passdb_ldap_conn' and
'userdb_ldap_conn' structs to have different array of such type.
- At the opposite, in test67, the 'attr_names' array is inside the
'ldap_connection'. As 'passdb_ldap_conn' and 'userdb_ldap_conn' are of
the 'ldap_connection' type and since the 'db_ldap_init' f...
2005 Apr 08
2
attr_names in test67
...nn->attr_names second element (for
instance) "turns to" "homeDirectory" as the following step by step gdb
run sample shows ? :
--
Breakpoint 1, userdb_ldap_preinit (args=0x80796d0 "/usr/local/dovecot/etc/dovecot-ldap.conf")
at userdb-ldap.c:201
201 userdb_ldap_conn = db_ldap_init(args);
(gdb) p passdb_ldap_conn->attr_names[1]
$1 = 0x8079990 "userPassword"
(gdb) cont
Continuing.
Breakpoint 2, userdb_ldap_init (args=0x80796d0 "/usr/local/dovecot/etc/dovecot-ldap.conf")
at userdb-ldap.c:208
208 (void)db_ldap_connect(userdb...
2003 Nov 04
0
PATCH: make local IP address available to auth modules
The attached patch makes the local IP address to which the client
connected available to the authentication modules; i.e., the local IP
address is available for substitution as %i for the mysql and pgsql
modules. We needed this feature to support thousands of our legacy
accounts which are authenticated by username/local_part (not the full
email address) and IP address (one per domain).
Timo,