[Samba] Winbind separator Problem

Alex Brehme alex.brehme at werk2.biz
Wed Jan 9 14:42:59 GMT 2008


Hello list,

I have installed samba-3.0.24 on FC 6.

I have some problems to authenticate users against pam_winbind

If the user has the winbind separator in the username then the
authentication does not work

Here are some logs:

[2008/01/09 14:12:45, 3] nsswitch/winbindd_user.c:winbindd_getpwnam(336)
  [    0]: getpwnam domain-user.name-ext
[2008/01/09 14:12:45, 5] nsswitch/winbindd_async.c:lookupname_recv(641)
  lookup_name returned an error
[2008/01/09 14:12:45, 5]
nsswitch/winbindd_user.c:getpwnam_name2sid_recv(377)
  Could not lookup name for user domain-user.name-ext
[2008/01/09 14:12:48, 3] nsswitch/winbindd_user.c:winbindd_getpwnam(336)
  [    0]: getpwnam domain-user.name-ext
[2008/01/09 14:12:48, 5] nsswitch/winbindd_async.c:lookupname_recv(641)
  lookup_name returned an error
[2008/01/09 14:12:48, 5]
nsswitch/winbindd_user.c:getpwnam_name2sid_recv(377)
  Could not lookup name for user domain-user.name-ext
[2008/01/09 14:12:48, 3] nsswitch/winbindd_user.c:winbindd_getpwnam(336)
  [    0]: getpwnam domain-user.name-ext
[2008/01/09 14:12:48, 5] nsswitch/winbindd_async.c:lookupname_recv(641)
  lookup_name returned an error
[2008/01/09 14:12:48, 5]
nsswitch/winbindd_user.c:getpwnam_name2sid_recv(377)
  Could not lookup name for user domain-user.name-ext

Here is my conf


[global]
workgroup = DOMAIN
realm = domain.biz
server string = Samba Server
printcap name = /etc/printcap
load printers = yes
printing = cups
cups options = raw
log file = /var/log/samba/smbd.log
max log size = 0
security = ads
password server = home.domain.biz
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
idmap uid = 10000-20000
idmap gid = 10000-20000
template shell = /bin/bash
winbind separator = -
winbind use default domain = no
netbios name = linux20
winbind enum users = yes
winbind enum groups = yes
winbind cache time = 15
   
I had the same configuration on FC4 with samba-3.0.23a and it worked

Any ideas?

Thanks



More information about the samba mailing list