Have you added pam_winbind.so to your /etc/pam.d/samba file ?
Josh
-----Original Message-----
From: peabresch@pepco.com [mailto:peabresch@pepco.com]
Sent: Monday, July 15, 2002 5:28 PM
To: samba@lists.samba.org
Subject: [Samba] Winbind problems when mapping shares
I have just installed Samba 2.2.5. I am using Winbind and have changed the
following in /etc/nsswitch.conf.
passwd: files winbind
group: files winbind
I successfully joined a PDC domain. When I list files, I see that groups are
being resolved from winbind. I have userid xtuser defined to Linux. I see
the following:
ibm9672:/home # getent passwd | grep xtuser
xtuser:x:11240:11763:test user:/home/xtuser:/bin/bash
PEP+XTUSER:x:11240:10255:E56157 | 062-0000:/home/xtuser/xtuser:/bin/false
However I get the following error trying to map to Samba shares:
[2002/07/15 17:51:04, 1] smbd/password.c:pass_check_smb(545)
Couldn't find user 'pep+xtuser' in passdb.
I have xtuser defined to Linux. I noticed that output from getent shows
xtuser from Linux and PEP+XTUSER from the NT domain. The error message shows
lower case pep+xtuser. Is this my problem? How do I correct it. I appreciate
any assistance that anyone can provide. Thanks in advance.
Peter
The smb.conf is as follows:
[global]
workgroup = PEP
netbios name = IBM9672
interfaces = 161.186.129.96
encrypt passwords = Yes
min passwd length = 8
map to guest = Bad User
password server = teb-pri cc-dc1 benn-dc1 pep-dc2 pep-dc3
log level = 1
log file = /var/log/samba/%U.log
keepalive = 30
os level = 2
wins server = 10.10.211.242
kernel oplocks = No
winbind uid = 10000-20000
winbind gid = 10000-20000
template homedir = /home/%U/%U
winbind separator = +
[printers]
comment = All Printers
path = /tmp
create mask = 0700
printable = Yes
browseable = No
[x062nc4]
path = /home/%u
browseable = No
[homes]
comment = Linux/Samba on IBM 9672-R26 Personal Shares
path = %H
username = %S
read only = No
create mask = 0700
directory mask = 0700
inherit permissions = Yes
browseable = No
exec = preexec = csh -c 'echo
[g062]
comment = Common Directory for 062
path = /home/PEP+PEPCOUsers-NM
valid users = +PEP+PEPCOUsers-NM
force group = PEP+PEPCOUsers-NM
read only = No
create mask = 0770
force create mode = 070
directory mask = 0770
-------------- next part --------------
HTML attachment scrubbed and removed