I am running Samba version 3.0.9-1.3E.2 on a server that is joined to a
windows server 2003 domain using ADS security. The samba server hosts a
share called 'files'. I am having problems mounting this share using a
new account I set up. getent passwd shows the information for the new
account as does wbinfo -u. Mounting the share with the new users
account using the net use command from xp or using smbclient from the
samba server works now and then but it is not consistent. When it fails
I see large numbers of log entries appear in winbindd.log that state the
user does not exist. I can mount the share with my personal domain
account no problem. I just switched my samba server security from
domain to ads and added the enum users and groups entries in smb.conf
and that is when these problems cropped up. Thanks in advance for your
help.
-drew
/etc/samba/smb.conf:
[global]
# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = MYDOMAIN
winbind separator = +
winbind cache time = 10
winbind use default domain = Yes
winbind enum users = yes
winbind enum groups = yes
template shell = /bin/bash
template homedir = /home/%D/%U
password server = azores.myrealm.mydomain
security = ADS
idmap uid = 15000-20000
idmap gid = 15000-20000
use sendfile = Yes
realm = myrealm.mydomain
client use spnego = yes
create mask = 0774
directory mask = 0775
encrypt passwords = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
remote browse sync = 10.0.1.0/24
remote announce = 10.0.1.0/24
local master = no
domain master = no
[files]
comment = Staff Filespace
path = /mnt/apple1/smbhome
browseable = yes
writable = yes
/etc/nsswitch.conf:
passwd: files winbind
shadow: files winbind
group: files winbind
#hosts: db files nisplus nis dns
hosts: files dns wins
/var/log/samba/winbindd.log:
[2005/04/13 17:18:55, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
user '<NewUser>' does not exist
[2005/04/13 17:18:55, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
user '<NewUser>' does not exist
[2005/04/13 17:18:55, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
user '<NewUser>' does not exist
[2005/04/13 17:18:55, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
user '<NewUser>' does not exist
[2005/04/13 17:18:55, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
user '<NewUser>' does not exist
[2005/04/13 17:27:15, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
user '<NewUser>' does not exist
[2005/04/13 17:27:15, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
user '<NewUser>' does not exist
[2005/04/13 17:27:15, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
user '<NewUser>' does not exist
[2005/04/13 17:27:15, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
user '<NewUser>' does not exist
[2005/04/13 17:27:15, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
user '<NewUser>' does not exist
[2005/04/13 17:27:15, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
user '<NewUser>' does not exist
[2005/04/13 17:27:15, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
user '<NewUser>' does not exist
[2005/04/13 17:27:15, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
user '<NewUser>' does not exist
[2005/04/13 17:27:15, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
user '<NewUser>' does not exist
[2005/04/13 17:27:15, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
user '<NewUser>' does not exist
[2005/04/13 17:27:15, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
user '<NewUser>' does not exist
[2005/04/13 17:27:15, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
user '<NewUser>' does not exist
[2005/04/13 17:27:15, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
user '<NewUser>' does not exist
[2005/04/13 17:27:15, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
user '<NewUser>' does not exist
...
[2005/04/13 18:07:07, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
user 'ADMINISTRATOR' does not exist
[2005/04/13 18:07:07, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
user 'administrator' does not exist
[2005/04/13 18:07:07, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
user 'ADMINISTRATOR' does not exist
[2005/04/13 18:07:07, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
user 'administrator' does not exist
[2005/04/13 18:07:07, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
user 'ADMINISTRATOR' does not exist
[2005/04/13 18:07:07, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
user 'administrator' does not exist
[2005/04/13 18:07:07, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
user 'administrator' does not exist
[2005/04/13 18:07:07, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
user 'ADMINISTRATOR' does not exist
[2005/04/13 18:07:07, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
user 'administrator' does not exist
[2005/04/13 18:07:07, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
user 'ADMINISTRATOR' does not exist
[2005/04/13 18:07:07, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
user 'administrator' does not exist
[2005/04/13 18:07:07, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
user 'ADMINISTRATOR' does not exist
[2005/04/13 18:09:30, 1] nsswitch/winbindd_group.c:winbindd_getgrgid(381)
could not lookup sid
[2005/04/13 18:09:30, 1] nsswitch/winbindd_user.c:winbindd_getpwuid(248)
could not lookup sid S-1-5-21-774361187-2347313055-767287078-1129
[2005/04/13 18:09:30, 1] nsswitch/winbindd_user.c:winbindd_getpwuid(248)
could not lookup sid S-1-5-21-774361187-2347313055-767287078-1139
[2005/04/13 18:09:30, 1] nsswitch/winbindd_group.c:winbindd_getgrgid(381)
could not lookup sid
[2005/04/13 18:09:30, 1] nsswitch/winbindd_user.c:winbindd_getpwuid(248)
could not lookup sid S-1-5-21-774361187-2347313055-767287078-1114
[2005/04/13 18:09:30, 1] nsswitch/winbindd_user.c:winbindd_getpwuid(248)
could not lookup sid S-1-5-21-774361187-2347313055-767287078-1105
[2005/04/13 18:09:30, 1] nsswitch/winbindd_user.c:winbindd_getpwuid(248)
could not lookup sid S-1-5-21-774361187-2347313055-767287078-1142
[2005/04/13 18:09:30, 1] nsswitch/winbindd_user.c:winbindd_getpwuid(248)
could not lookup sid S-1-5-21-774361187-2347313055-767287078-1113
[2005/04/13 18:09:30, 1] nsswitch/winbindd_user.c:winbindd_getpwuid(248)
could not lookup sid S-1-5-21-774361187-2347313055-767287078-1148
[2005/04/13 18:09:30, 1] nsswitch/winbindd_user.c:winbindd_getpwuid(248)
could not lookup sid S-1-5-21-774361187-2347313055-767287078-1135