[Samba] Rejecting User

Jorge Videgain Marquez jvidegain at caeslan.com
Fri Feb 7 12:05:59 GMT 2003


Hello

I get the followin message when i try to conect to a samba server with 
security set to USER.

The user is well defined into the linux server and can login at console 
without problem but is rejected when he try to conect throught samba.

Message into log is:

[2003/02/07 13:52:27, 0] passdb/pampass.c:smb_pam_passcheck(827)
  smb_pam_passcheck: PAM: smb_pam_auth failed - Rejecting User jorge !

What can be wrong?

SMB file is:


---- smb.conf -----------

[global]
        workgroup = OTO_RED1
        netbios name = OTO2
        netbios aliases = V2
        update encrypted = Yes
        map to guest = Bad User
        passwd chat = *nuevo*password* %n\n *nuevo*password* %n\n *cambiado*
        log file = /etc/samba/log.%m
        time server = Yes
        keepalive = 30
        lm announce = False
        domain master = False

[pmedusa]
        comment = Directorio Oto
        path = /hd_datos/poto
        guest account =
        valid users = @oto
        write list = @oto
        force user = interno_smb
        force group = general
        read only = No
        create mask = 0770
        force create mode = 0770
        directory mask = 0770
        force directory mode = 0770

[printers]
        comment = All Printers
        path = /tmp
        create mask = 0700
        guest ok = Yes
        printable = Yes
        browseable = No



More information about the samba mailing list