Re: [CentOS] LDAP create home directories

2015-12-20 Thread Todor Petkov
On 20/12/2015 12:05 AM, Tim Dunphy wrote: Check /var/log/secure for why the directory is not able to be created. Might be selinux, is that enabled? (sestatus) Good catch! It was indeed SELinux preventing the directory from being created. Disabling it allows that to happen. For instance I just

Re: [CentOS] LDAP create home directories

2015-12-19 Thread Tim Dunphy
> > Check /var/log/secure for why the directory is not able to be created. > Might be selinux, is that enabled? (sestatus) Good catch! It was indeed SELinux preventing the directory from being created. Disabling it allows that to happen. For instance I just created a new test user in LDAP: #ssh

Re: [CentOS] LDAP create home directories

2015-12-19 Thread Bill Howe
Check /var/log/secure for why the directory is not able to be created. Might be selinux, is that enabled? (sestatus) On Dec 19, 2015 15:40, "Tim Dunphy" wrote: > > > > You may also need to restart sssd or nslcd, depending upon which one is > > running the backed ldap connection service on the cl

Re: [CentOS] LDAP create home directories

2015-12-19 Thread Tim Dunphy
> > You may also need to restart sssd or nslcd, depending upon which one is > running the backed ldap connection service on the clients. Hmm.. I got a different result after restarting nclcd. Instead of logging me in and just complaining that it couldn't create the home directory, it still compla

Re: [CentOS] LDAP create home directories

2015-12-19 Thread Bill Howe
You may also need to restart sssd or nslcd, depending upon which one is running the backed ldap connection service on the clients. On Dec 19, 2015 14:25, "Tim Dunphy" wrote: > Hey guys, > > I've setup an LDAP server on our network. I'm using OpenLDAP. > > It was really easy to use the authconfi

[CentOS] LDAP create home directories

2015-12-19 Thread Tim Dunphy
Hey guys, I've setup an LDAP server on our network. I'm using OpenLDAP. It was really easy to use the authconfig-tui to generate the nsswitch.conf and ldap.conf files that would allow user authentication. But when users would log in, the system wasn't creating the home directories. I found