Mindaugas JanuĊĦaitis
2003-Apr-04 10:11 UTC
[Samba] problems with pam_winbind, that is linux box to samba remote server
Greetings, Maybe someone tried to make linux box authorize with pam_winbind to remote samba server ? The problem is that when I log in my id is not resolved to username, whoami shows "whoami: cannot find username for UID 10280" but `getent passwd` generates the appropriate passwd file ? i.e. : getent passwd | grep 10280 janumind:x:10280:10003:Mindaugas Janusaitis,12b,,:/home/GIMNAZIJA/janumind/:/bin/bash here are the configs: smb.conf---- [global] workgroup = GIMNAZIJA netbios name = N1 server string = %h server load printers = no guest account = nobody encrypt passwords = Yes update encrypted = Yes os level = 0 preferred master = False local master = No domain master = False security = share debug level = 1 wins server = 193.219.160.35 name resolve order= wins host bcast invalid users = root socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096 max log size = 1000 dns proxy = yes unix password sync = false winbind uid = 10000-20000 winbind gid = 10000-20000 winbind enum users = yes winbind enum groups = yes winbind use default domain = yes winbind cache time = 10 template shell = /bin/bash template homedir = /home/%D/%U/ END---- /etc/pam.d/login--- auth required pam_securetty.so auth required pam_nologin.so auth sufficient pam_winbind.so auth required pam_unix.so use_first_pass account sufficient pam_winbind.so account required pam_unix.so use_first_pass password required pam_unix.so use_first_pass session required pam_unix.so use_first_pass session required pam_mkhomedir.so skel=/etc/skel/ umask=0022 session optional pam_lastlog.so session optional pam_motd.so session optional pam_mail.so standard noenv END---