[Samba] validate root locally with winbind

Ramon Casha ramon.casha at linux.org.mt
Fri Jul 9 15:03:58 GMT 2004


> I don't know about *only* against shadow. But I've got winbind setup,
> and it authenticates users first against the domain, but if that fails
> resorts to the local password database.
>
> Here are the relavent lines from my
> /etc/pam.d/system-auth
>
> auth        required      /lib/security/pam_env.so
> auth        sufficient    /lib/security/pam_winbind.so
> auth        sufficient    /lib/security/pam_unix.so likeauth nullok
> use_first_pa ss
> auth        required      /lib/security/pam_deny.so

Can I reverse that so that it checks local files first? That way if the user 
(eg "root") is local it doesn't have to check the domain.

-- 
Ramon Casha
Malta Linux User Group (http://linux.org.mt)


More information about the samba mailing list