[Samba] winbind /etc/pam.d/system-auth

Norman Zhang nzhang at arkon-group.com
Sat Oct 12 02:28:00 GMT 2002

: > I have setup /etc/pam.d/system-auth as below. But when I login to the
: > Box from KDE3, I get a prompt saying I don't have write access to the
: pam_mkhomedir doesn't make deep directories, so you need to make the
: parent directory of your user's homes. So if you use 'template homedir =
: /home/%D/%u', then you need to make /home/%D where %D is each domain you
: are supporting.

/home/%D is created (i.e., /home/My_DOMAIN) and "obey pam restriction = yes"
is set. But still cannot login from both KDE3 and Network Neighborhood. I
took out winbind.so from /etc/pam.d/KDE3. But system-auth is the same as
before. Users are no longer listed as My_DOMAIN\%u.

When I tried,

wbinfo -u only %u are listed
wbinfo -g gives the groups from My_DOMAIN
wbinfo -t says Secret is bad 0x00000c5

Please help.


workgroup = My_DOMAIN
netbios name = 2139-1-19
server string = %L running Samba Server %v
security = DOMAIN
encrypt passwords = Yes
obey pam restrictions = Yes
password server = PDC_Server
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
character set = ISO8859-15
os level = 18
preferred master = False
local master = No
domain master = False
dns proxy = No
winbind uid = 10000-20000
winbind gid = 10000-20000
template shell = /bin/bash
winbind use default domain = Yes

comment = Home Directories
path = %H
valid users = %S
read only = No
create mask = 0700
browseable = No

More information about the samba mailing list