Hi,
I have some problems with sssd. I set up some Fedora 13 machines and want to use ldap authentication.
This was set up with the command:
authconfig --useshadow --enablemd5 --enableldap --enableldapauth --ldapserver "xxx" --ldapbasedn "dc=xxx" --disablesysnetauth --disablecache --enablelocauthorize --update
That's working, basically, which means, I can log into the machines with the ldap credentials.
But: If for example I add an user to another group in the ldap database and log out and in again on the machines, the user there is not member of that group! So, somehow sssd seems to not refresh the local cache. This is also the case, if I shutdown the machines and startup again, even if there is a whole day between (I can't imagine that there is such a long refresh timeout set anywhere).
Another problem:
I also have shadow entries in the ldap database, e. g. for expiring accounts. But they seem to be ignored on the Fedora machines. Well, maybe this is also related to the above problem. I added the shadow entries afterwards, so if the machines just use their local caches, they also won't get the shadow entries.
Has someone had similar experiencies? I would really like to do this the usual way for setting things up, using authconfig, and not manually changing any config files.
See my config files at the bottom. Unfortunately in the sssd logfiles there isn't something usefull.
Cheers!
/etc/sssd/sssd.conf
PHP Code:
[sssd]
config_file_version = 2
sbus_timeout = 30
services = nss, pam
domains = default
[nss]
filter_groups = root
filter_users = root
reconnection_retries = 3
[pam]
reconnection_retries = 3
[domain/default]
cache_credentials = True
ldap_search_base = dc=xxx
krb5_realm = EXAMPLE.COM
chpass_provider = ldap
id_provider = ldap
auth_provider = ldap
debug_level = 0
ldap_uri = xxx
krb5_kdcip = kerberos.example.com
ldap_tls_cacertdir = /etc/openldap/cacerts
/etc/nsswitch.conf
PHP Code:
passwd: files sss
shadow: files sss
group: files sss
hosts: files mdns4_minimal [NOTFOUND=return] dns
bootparams: nisplus [NOTFOUND=return] files
ethers: files
netmasks: files
networks: files
protocols: files
rpc: files
services: files
netgroup: files ldap
publickey: nisplus
automount: files ldap
aliases: files nisplus
---------- Post added at 01:22 PM CDT ---------- Previous post was at 11:32 AM CDT ----------
Another question: To make it easy... can I somehow disable sssd on Fedora 13 completely?
I tried authconfig .... --disablesssd --disablesssdauth but still sssd is used (instead of using ldap directly)
Cheers!