On Fri, Sep 25, 2015 at 02:45:31PM +0200, dviggiani(a)tiscali.it wrote:
Hi,
we are using SSSD on Red Hat 7 to authenticate users on an
Active Directory domain.
Any idea why almost all users get /bin/sh as
shell instead of /bin/bash?
This is my sssd.conf:
[
domain/MYDOMAIN.COM]
ad_domain =
MYDOMAIN.COM
krb5_realm =
MYDOMAIN.COM
realmd_tags = manages-system joined-with-samba
cache_credentials = True
id_provider = ad
krb5_store_password_if_offline = True
default_shell = /bin/bash
ldap_id_mapping = True
#use_fully_qualified_names = True
fallback_homedir = /home/AD/%u
access_provider = ad
override_homedir = /home/AD/%u
I was not able to find the culprit
:-) Peraphs, "Homedir' field in AD? Can I ovveride it?
I guess the POSIX attributes are not replicated to GC?
But yes, you can override the shell, search man sssd.conf for 'shell',
there is a number of options.