[Samba] problems with pam_winbind, that is linux box to samba remote server

Mindaugas Janušaitis mindeh at xxx.lt
Fri Apr 4 10:11:41 GMT 2003


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

here are the configs:
    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 =
    name resolve order= wins host  bcast
    invalid users = root
    socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=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/

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


More information about the samba mailing list