Displaying 1 result from an estimated 1 matches for "_pam_set_data_string".
2009 Mar 06
0
pam_winbind get attributes?
Hello,
I am attempting to map the "home directory" of users as they login using pam_winbind by getting the attribute from Active Directory.
It appears that in pam_winbind.c
_pam_set_data_string(pamh, ctrl, PAM_WINBIND_HOMEDIR, response->data.auth.info3.home_dir);
Does not actually contain the homedir, it contains nothing. Is this because I'm using it on a MS AD domain rather then LDAP?
If I do (using ldap-utils):
ldapsearch -h server -D "CN=My User,OU=something,DC=domain,DC=...