Hello everyone,
I have two freenas servers. One connects to AD fine and one doesn't. The one that doesn't seems to list all the correct information for wbinfo, but it only lists local users for getent passwd and local groups for getent group. winbind is listed correctly in nsswitch.conf. The only difference I see between the two is the /etc/pam.d/login file. The one that works looks like this:
and the one that does not work looks like this:
I also do not have a /etc/pam.d/samba file on the server that does not work.
I believe that is where my problem is. I tried adding those lines to that file, but it just reverts back after a reboot.
The freenas version I am using is FreeNAS-8.0-RELEASE-i386. I know it's old.. I have been unable to upgrade via the web and unable to physically get to the server.
Any help is greatly appreciated. This problem is driving me nuts :(
EDIT: I was also getting a bunch of these in my log.windbind.idmap
-Chris
I have two freenas servers. One connects to AD fine and one doesn't. The one that doesn't seems to list all the correct information for wbinfo, but it only lists local users for getent passwd and local groups for getent group. winbind is listed correctly in nsswitch.conf. The only difference I see between the two is the /etc/pam.d/login file. The one that works looks like this:
Code:
# # $FreeBSD: src/etc/pam.d/login,v 1.17 2007/06/10 18:57:20 yar Exp $ # # PAM configuration for the "login" service # # auth auth sufficient pam_self.so no_warn auth sufficient /usr/local/lib/pam_winbind.so silent try_first_pass krb5_auth krb5_ccache_type=FILE auth include system # account account requisite pam_securetty.so account required pam_nologin.so account sufficient /usr/local/lib/pam_winbind.so krb5_auth krb5_ccache_type=FILE account include system # session session include system # password password include system
and the one that does not work looks like this:
Code:
# # $FreeBSD: src/etc/pam.d/login,v 1.17 2007/06/10 18:57:20 yar Exp $ # # PAM configuration for the "login" service # # auth auth sufficient pam_self.so no_warn auth include system # account account requisite pam_securetty.so account required pam_nologin.so account include system # session session include system # password password include system
I also do not have a /etc/pam.d/samba file on the server that does not work.
I believe that is where my problem is. I tried adding those lines to that file, but it just reverts back after a reboot.
The freenas version I am using is FreeNAS-8.0-RELEASE-i386. I know it's old.. I have been unable to upgrade via the web and unable to physically get to the server.
Any help is greatly appreciated. This problem is driving me nuts :(
EDIT: I was also getting a bunch of these in my log.windbind.idmap
Code:
[2014/01/21 16:14:06.468424, 3] winbindd/idmap.c:302(idmap_init_domain) idmap backend rid not found [2014/01/21 16:14:06.468449, 3] lib/module.c:48(do_smb_load_module) Error loading module '/usr/local/lib/samba/idmap/rid.so': Cannot open "/usr/local/lib/samba/idmap/rid.so" [2014/01/21 16:14:06.468458, 3] winbindd/idmap.c:307(idmap_init_domain) Could not probe idmap module rid [2014/01/21 16:14:06.470931, 3] winbindd/idmap.c:302(idmap_init_domain) idmap backend rid not found [2014/01/21 16:14:06.470955, 3] lib/module.c:48(do_smb_load_module) Error loading module '/usr/local/lib/samba/idmap/rid.so': Cannot open "/usr/local/lib/samba/idmap/rid.so" [2014/01/21 16:14:06.470968, 3] winbindd/idmap.c:307(idmap_init_domain) Could not probe idmap module rid [2014/01/21 16:14:06.473559, 3] winbindd/idmap.c:302(idmap_init_domain) idmap backend rid not found [2014/01/21 16:14:06.473584, 3] lib/module.c:48(do_smb_load_module) Error loading module '/usr/local/lib/samba/idmap/rid.so': Cannot open "/usr/local/lib/samba/idmap/rid.so" [2014/01/21 16:14:06.473593, 3] winbindd/idmap.c:307(idmap_init_domain) Could not probe idmap module rid
-Chris