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=com" -b
"DC=domain,DC=com" -x -W homeDirectory
I retrieve the active directory home drives.
However I'm wishing to implement mounting either in pam_winbind or
pam_mount.
This ldapsearch part requires me to use -D bindDN and -W
I did read about anonymous logins, but is there a way to query this information
within pam_winbind or other suggestions?
Thanks,
James Mitchell
**********************************************************************
This message is intended for the addressee named and may contain
privileged information or confidential information or both. If you
are not the intended recipient please delete it and notify the sender.
**********************************************************************