Displaying 3 results from an estimated 3 matches for "db_ldap_init".
2006 Nov 07
1
rc12 dovecot-auth core dump with ldap
...ass=User)(sAMAccountName=%n))
pass_filter = (&(objectClass=User)(sAMAccountName=%n))
Strangely, it crashes in a different place when I don't define the
scope, so I'm guessing it's something to do with reading parameters.
backtrace with "scope = subtree" :
#0 0x1ec94 in db_ldap_init (
config_path=0x5bc08 "/opt/RDGdovect/etc/dovecot-ldap.conf")
at db-ldap.c:661
661 if (*conn->set.user_global_gid == '\0')
(gdb) bt
#0 0x1ec94 in db_ldap_init (
config_path=0x5bc08 "/opt/RDGdovect/etc/dovecot-ldap.conf")
at db-ldap.c:661
#...
2005 Apr 12
1
test67 ldap_connection
...39;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' function
returns the existing ldap connection if it exists, the
'passdb_ldap_preinit' and 'usedb_ldap_preinit' will call the
'db_ldap_set_attrs' function on _the same_ 'ldap_connection' object.
- So when the 'db_ldap_search' function is called fro...
2005 Apr 08
2
attr_names in test67
...econd 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_ldap_conn);
(g...