You are not logged in.

#1 2018-12-03 09:52:25

Registered: 2018-12-03
Posts: 1

samba + pam + winbind


I'm new to Arch Linux, and I come from Gentoo.

On the latter, I use a custom ebuild that:

1) installs ${SAMBA_SOURCE_CODE}/examples/pam_winbind/pam_winbind.conf to /etc/security/

2) installs a file called system-auth-winbind to /etc/pam.d/ which content is:

auth        required
auth        sufficient
auth        sufficient likeauth nullok use_first_pass
auth        required

account     sufficient
account     required

password    required retry=3
password    sufficient nullok use_authtok md5 shadow
password    required

session     required skel=/etc/skel/ umask=0077
session     required
session     required

The above steps allow me then to easily decide which service can use winbind authentication.
For instance, I can allow sshd tu use it:

auth       include      system-auth-winbind
account    include      system-auth-winbind
password   include      system-auth-winbind
session    include      system-auth-winbind

The Arch Linux package manager doesn't seem to include this.
Can it be added?


Board footer

Powered by FluxBB