line 300: get_lda_pwnam does not return a struct smb_pass at the end. it also returns False not NULL, at the top. ldap_connect_anonymous and ldap_connect_user are defined statically (locally) and not used anywhere. this is deliberate? luke