I have to create a local user. I have a user resource module but that's not working as the LDAP service is running. I have to stop the nscd and nslcd before creating the user.
I tried with before=>'Service ['nscd'] but thats conflicting as thats already mentioned in another module to configure ldap client.
I too tried with Exec command => '/sbin/service nscd stop ; /sbin/service nslcd stop' but its not working either.
Do you have any better solution to create local user for LDAP enabled servers?
↧