Re: [Samba] add machine script not running
- Date: Fri, 17 Nov 2017 09:03:25 +0100
- From: Daniel Berteaud via samba <samba@xxxxxxxxxxxxxxx>
- Subject: Re: [Samba] add machine script not running
Le 16/11/2017 à 19:30, Andrew Bartlett via samba a écrit :
But unlike nss-ldap, sssd does provide some caching mecanism that's
why I think it's this part which breaks something.
Switching to nss-ldap+pam-ldap instead of sssd makes everything
working. I just don't understand why. How can this makes samba
ignore "add machine script" and instead try to create the entry
This is executed when the posix account doesn't exist, so it depends on
the return value of getpwnam(), which in turn makes nss calls.
It's still not very clear to me. When the posix account does not exist,
samba should call the "add machine script". But in my case, the account
didn't existed, but instead of calling add machine script, samba tried
to create directly the user in the LDAP tree, not through my custom
script. It's this part that I don't understand.
Société de Services en Logiciels Libres
Tel : 05 56 64 15 32 <tel:0556641532>
To unsubscribe from this list go to the following URL and read the