Hi folks,
I'm trying to fully integrate my FreeBSD box on my Active Directory. I successfully make sshd working against the AD, but not GDM and SUDO.
I've all the AD's users in the list of GDM, but but I can't log in. So I've try to use a file called /etc/pam.d/gdm that contain the same things for the sshd service:
But what I don't understand, is that the file is renamed gdm_disabled by the system
Anyone who could explain me what's happen and how to log in with GDM and Gnome on my FreeBSD box against my AD's users will be my hero. Idem for sudo, is there a pam config file somewhere for sudoing with ad's users?
Thanks in advance
Ps: My system is a FreeBSD 9.0 Release amd64 up to date.
I'm trying to fully integrate my FreeBSD box on my Active Directory. I successfully make sshd working against the AD, but not GDM and SUDO.
I've all the AD's users in the list of GDM, but but I can't log in. So I've try to use a file called /etc/pam.d/gdm that contain the same things for the sshd service:
Code:
auth sufficient pam_opie.so no_warn no_fake_prompts
auth sufficient /usr/local/lib/pam_winbind.so
auth requisite pam_opieaccess.so no_warn allow_local
#auth sufficient pam_krb5.so no_warn try_first_pass
#auth sufficient pam_ssh.so no_warn try_first_pass
auth required pam_unix.so no_warn try_first_pass
# account
account required pam_nologin.so
#account required pam_krb5.so
account required pam_login_access.so
account required pam_unix.so
# session
#session optional pam_ssh.so want_agent
session required /usr/local/lib/pam_mkhomedir.so
session required pam_permit.so
# password
#password sufficient pam_krb5.so no_warn try_first_pass
password required pam_unix.so no_warn try_first_pass
But what I don't understand, is that the file is renamed gdm_disabled by the system
Anyone who could explain me what's happen and how to log in with GDM and Gnome on my FreeBSD box against my AD's users will be my hero. Idem for sudo, is there a pam config file somewhere for sudoing with ad's users?
Thanks in advance
Ps: My system is a FreeBSD 9.0 Release amd64 up to date.