I'm having a lot of issues with FreeBSD 10.3
I'm finding the binary packages are fairly useless. I've had to build nearly everything to make things "work". I like using the adcli tool to join to a domain (MUCH nicer than samba). But the binary version in pkg doesn't work. Building it from ports with all the obvious stuff enabled makes it work.
At this point, I have it to the point where I can successfully do a "getent", but no matter what I try, it won't auth my account. SSH, sudo, even running login directly, and it behaves as if I have a bad password.
I'm wondering if I need to use the heimdal krb package instead of MIT?
Here are my relevant configs:
krb5.conf:
[libdefaults]
default_realm = MYDOMAIN-SR.NET
forwardable = true
[realms]
MYDOMAIN-SR.NET = {
admin_server = ad.mydomain-sr.net
kdc = ad.mydomain-sr.net
}
[domain_realm]
mydomain.net = MYDOMAIN-SR.NET
.mydomain.net = MYDOMAIN-SR.NET
MYDOMAIN.net = MYDOMAIN-SR.NET
.MYDOMAIN.net = MYDOMAIN-SR.NET
nsswitch.conf:
#
# nsswitch.conf(5) - name service switch configuration file
# $FreeBSD: releng/10.3/etc/nsswitch.conf 224765 2011-08-10 20:52:02Z dougb $
#
#group: compat
group: files sss
#group_compat: nis
hosts: files dns
networks: files
#passwd: compat
passwd: files sss
#passwd_compat: nis
shells: files
services: compat
services_compat: nis
protocols: files
rpc: files
sssd.conf:
[sssd]
config_file_version = 2
#domains = mydomain-sr.net
domains = MYDOMAIN-SR.NET
services = nss, pam, pac
fallback_homedir = /home/%u
debug_level = 9
[pam]
pam_verbosity = 3
[domain/MYDOMAIN-SR.NET]
id_provider = ad
access_provider = ad
auth_provider = ad
chpass_provider = ad
ldap_id_mapping = False
#cache_credentials = true
cache_credentials = false
ad_server = ad.mydomain-sr.net
override_shell = /bin/tcsh
#ldap_sasl_canonicalize = false
#krb5_canonicalize = false