Hello. [...] > But $ldap_basedn appears to be undefined as shown by our ldap logs. > The same code approach does work if I declare $ldap_basedn locally > within authenticated_via_ldap instead of trying to access it from > global. Any hint about what might I be overseeing? From this description, the only reason I could assume is a typo somewhere. > > > > It's probably better to start moving these variables into the > > standard configuration storage, they don't contain any sensitive > > data. > > Well, not exactly. One usual param regarding LDAP access > configuration is an account (login and password) when it's not > possible to go with anonymous access. What I was thinking about is > using an array for all LDAP-related data instead of different > unrelated variables. What do you think about that? Could you suggest a code example for this? I'm not good at LDAP, to be honest. -- DO4-UANIC