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
Do you have other users who CAN log in via Samba ? Have you set up their Samba password (smbpasswd) and have you included their IP in Hosts files. Mike ----- Original Message ----- From: "Jorge Videgain Marquez" <jvidegain@caeslan.com> To: <samba@lists.samba.org> Sent: Friday, February 07, 2003 12:05 PM Subject: [Samba] Rejecting User 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 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba --- Outgoing mail is certified Virus Free. Scanned with Grisoft AVG 6.0. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.449 / Virus Database: 251 - Release Date: 27/01/2003
None user can log via samba. I have never used smbpasswd because i use security = USER an it use local user configured at linux. Should i use smbpasswd now? El Vie 07 Feb 2003 14:39, Mike Stewart escribi?:> Do you have other users who CAN log in via Samba ? Have you set up their > Samba password (smbpasswd) and have you included their IP in Hosts files. > > Mike > ----- Original Message ----- > From: "Jorge Videgain Marquez" <jvidegain@caeslan.com> > To: <samba@lists.samba.org> > Sent: Friday, February 07, 2003 12:05 PM > Subject: [Samba] Rejecting User > > > > 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
I do not know if you need to use smbpasswd when you have "security=USER" (I have security=SHARE) We will have to wait for a more experienced person to answer this. Mike ----- Original Message ----- From: "Jorge Videgain Marquez" <jvidegain@caeslan.com> To: "Mike Stewart" <mike@powys-training.co.uk>; <samba@lists.samba.org> Sent: Friday, February 07, 2003 2:46 PM Subject: Re: [Samba] Rejecting User None user can log via samba. I have never used smbpasswd because i use security = USER an it use local user configured at linux. Should i use smbpasswd now? El Vie 07 Feb 2003 14:39, Mike Stewart escribi?:> Do you have other users who CAN log in via Samba ? Have you set up their > Samba password (smbpasswd) and have you included their IP in Hosts files. > > Mike > ----- Original Message ----- > From: "Jorge Videgain Marquez" <jvidegain@caeslan.com> > To: <samba@lists.samba.org> > Sent: Friday, February 07, 2003 12:05 PM > Subject: [Samba] Rejecting User > > > > 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--- Outgoing mail is certified Virus Free. Scanned with Grisoft AVG 6.0. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.449 / Virus Database: 251 - Release Date: 27/01/2003
On Fri, 2003-02-07 at 09:46, Jorge Videgain Marquez wrote:> None user can log via samba. > > I have never used smbpasswd because i use security = USER an it use local user > configured at linux. Should i use smbpasswd now?yes you must use smbpasswd (unless you want to use plain text password - really- really not recommended) users must exist in both the unix password database and smbpasswd in this situation brad -- Bradley W. Langhorst <brad@langhorst.com>
On Fri, 7 Feb 2003, Mike Stewart wrote:> I do not know if you need to use smbpasswd when you have "security=USER" (I > have security=SHARE)If your MS Windows client does not support plain text passwords then you need MS encrypted passwords at the samba end. Your choices are: 1) Use smbpasswd to add the MS encrypted passwords to your smbpasswd database 2) Apply the registry hack to all your MS Windows machines to re-enable plain text password support. BEWARE: Microsoft have NOT maintained plain text password support too well. After a while (5-15 minutes of non use) the MS Windows client may dropt the connection. When you try to use the resource it will try to reconnect - but MS Windows caches only the MS encrypted hash, so that is what it uses to reconnect. This of course fails! So what this means is that plain text password useage is NOT a good idea. - John T.> > We will have to wait for a more experienced person to answer this. > > Mike > > ----- Original Message ----- > From: "Jorge Videgain Marquez" <jvidegain@caeslan.com> > To: "Mike Stewart" <mike@powys-training.co.uk>; <samba@lists.samba.org> > Sent: Friday, February 07, 2003 2:46 PM > Subject: Re: [Samba] Rejecting User > > > > None user can log via samba. > > I have never used smbpasswd because i use security = USER an it use local > user > configured at linux. Should i use smbpasswd now? > > El Vie 07 Feb 2003 14:39, Mike Stewart escribi?: > > Do you have other users who CAN log in via Samba ? Have you set up their > > Samba password (smbpasswd) and have you included their IP in Hosts files. > > > > Mike > > ----- Original Message ----- > > From: "Jorge Videgain Marquez" <jvidegain@caeslan.com> > > To: <samba@lists.samba.org> > > Sent: Friday, February 07, 2003 12:05 PM > > Subject: [Samba] Rejecting User > > > > > > > > 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 > > > > > --- > Outgoing mail is certified Virus Free. Scanned with Grisoft AVG 6.0. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.449 / Virus Database: 251 - Release Date: 27/01/2003 > > > >-- John H Terpstra Email: jht@samba.org