winbind exists (allmost) immediatly: winbind uid parameter missing

Andreas Schuldei andreas.schuldei at
Wed Oct 31 07:24:06 GMT 2001

I use the samba-2.2.2-2 debian package and try to set up
authentification via winbind. I have use this smb.conf:
egrep '^[^;]' /etc/samba/smb.conf
   printing = cups
   printcap name = /etc/printcap
   load printers = yes
   guest account = nobody
   invalid users = root
   security = domain
   workgroup = TRITECH
   server string = %h server (Samba %v)
   syslog only = no
   syslog = 0;
   encrypt passwords = yes
   wins support = no
   wins server =
   name resolve order = host wins bcast
   dns proxy = no
   preserve case = yes
   short preserve case = yes
   unix password sync = false
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
    message command = for u in $(who | cut -f1 -d\ | sort -u); do { echo 'WinPopup message from %f ...'; echo ''; cat %s;} | write "$u"; done; rm %s
   max log size = 1000
   winbind separator = \
   winbind uid = 10000-20000
   winbind gid = 10000-20000
   winbind cache time = 10                ;3600
   winbind enum users = yes
   winbind enum groups = yes
   template homedir = /home/%D/%U
   template shell = /bin/bash
   password server= *
   comment = Home Directories
   browseable = no
   read only = yes
   create mask = 0700
   directory mask = 0700
   comment = All Printers
   browseable = no
   path = /tmp
   printable = yes
   public = no
   writable = no
   create mode = 0700

and this pam settings:

egrep 'winbind|^[^#]' /etc/pam.d/login
auth       requisite
auth       requisite
auth       required debug
auth       sufficient debug
auth       required use_first_pass nullok debug
account    required debug
session    required skel=/etc/skel/ umask=002
session    required debug
session    optional
session    optional
session    optional standard noenv
password   required nullok obscure min=4 max=8 md5

... but I doubt these are of any importance, since when 
I start winbindd -d 4 -i I get:
added interface ip= bcast=
winbind uid parameter missing

and this happens in samba-2.2.2/source/nsswitch/winbindd_util.c, at
the very beginning, only smb.conf has been read till then.

I did straces and am now at my wisdoms end. How do I fix this? what is
the problem?

More information about the samba mailing list