[Samba] Want ADS, don't want to use winbind in /etc/nsswitch.conf

francis picabia fpicabia at gmail.com
Mon Oct 3 17:49:37 MDT 2011


On Mon, Oct 3, 2011 at 8:34 PM, francis picabia <fpicabia at gmail.com> wrote:
> I'll ask a new question.  I use ADS with winbind for authentication of
> samba shares on Linux.
>
> If I want to have users in smb.conf which are not in /etc/passwd, can
> I do this without the entry of:
>
> passwd winbind
>
> in /etc/nsswitch.conf ?
>
> I'd rather not have this in nsswitch.conf as it messes up the way
> the passwd command works for Linux users.
>
> Is there another way other than removing the winbind reference
> in nsswitch.conf each time I want to assign a local password?

OK, found the solution.  Removed smb/winbind references from /etc/pam.d/passwd


More information about the samba mailing list