Larry Engleman
2002-Jul-26 12:03 UTC
[Samba] If in [global] <guest ok = yes> why do I get an authe ntication sc reen when accessing from NT box?
To force guest access to a share, you need both guest ok = yes guest only = yes Otherwise it will try and authenticate you first before dropping you to guest. If this doesn't work, possibly you don't have a valid guest account set. If no account is set as the guest account (on the linux machine) it will use the user "nobody".> -Larry Engleman > The Burgiss Group > 201-795-5144-----Original Message----- From: Clay, John [mailto:John.Clay@lfr.com] Sent: Friday, July 26, 2002 2:41 PM To: Samba. Org (E-mail) Subject: [Samba] If in [global] <guest ok = yes> why do I get an authentication sc reen when accessing from NT box?> My simple samba file is: > > [global} > workgroup = LFRG-TLH > netbios name = HUMPHRY > guest ok = yes > > [test] > path = palmdata > read only = no > guest ok = yes > > When I try to access HUMPHRY from my NT-SP6a box I am confronted with a > login dialog requesting username and password. I'm sure this isn't > supposed to happen - I should get access without any credentials. > > If, again from my NT-SP6a box, I then enter a root level username and > password then I get access. That's doesn't seem right either 'cause I have > commented out the encrypt password = yes line. > > If I do the same from a different NT-SP6a box I get rejected. Seems to me > that that's the only correct operation so far except that if I add the > encrypt password = yes line I still get rejected. > > Can anyone shed some light this?? I'm baffled. > > Puzzled Pengin in the Panhandle > > John Clay > Tallahassee, FL > >-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Andrew Bartlett
2002-Jul-26 20:15 UTC
[Samba] If in [global] <guest ok = yes> why do I get an authentication sc reen when accessing from NT box?
Larry Engleman wrote:> > To force guest access to a share, you need both > > guest ok = yes > guest only = yes > > Otherwise it will try and authenticate you first before > dropping you to guest. If this doesn't work, possibly > you don't have a valid guest account set. If no account > is set as the guest account (on the linux machine) it will > use the user "nobody".However, it still needs to 'log in' to the server. This is what causes the dialog box. This can be avoided by setting 'security=share', which removes the while concept of users and logins. NT will try and access the share without a password (or with any password, it doesn't matter) and becouse we now know what share we are using, we can let the user in. Andrew Bartlett> > -Larry Engleman > > The Burgiss Group > > 201-795-5144 > > -----Original Message----- > From: Clay, John [mailto:John.Clay@lfr.com] > Sent: Friday, July 26, 2002 2:41 PM > To: Samba. Org (E-mail) > Subject: [Samba] If in [global] <guest ok = yes> why do I get an > authentication sc reen when accessing from NT box? > > > My simple samba file is: > > > > [global} > > workgroup = LFRG-TLH > > netbios name = HUMPHRY > > guest ok = yes > > > > [test] > > path = palmdata > > read only = no > > guest ok = yes > > > > When I try to access HUMPHRY from my NT-SP6a box I am confronted with a > > login dialog requesting username and password. I'm sure this isn't > > supposed to happen - I should get access without any credentials. > > > > If, again from my NT-SP6a box, I then enter a root level username and > > password then I get access. That's doesn't seem right either 'cause I have > > commented out the encrypt password = yes line. > > > > If I do the same from a different NT-SP6a box I get rejected. Seems to me > > that that's the only correct operation so far except that if I add the > > encrypt password = yes line I still get rejected. > > > > Can anyone shed some light this?? I'm baffled. > > > > Puzzled Pengin in the Panhandle > > > > John Clay > > Tallahassee, FL > > > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba-- Andrew Bartlett abartlet@pcug.org.au Manager, Authentication Subsystems, Samba Team abartlet@samba.org Student Network Administrator, Hawker College abartlet@hawkerc.net http://samba.org http://build.samba.org http://hawkerc.net
Eddie Lania
2002-Jul-29 00:17 UTC
[Samba] If in [global] <guest ok = yes> why do I get an authentication sc reen when accessing from NT box?
Hello Larry, I have a question about this. What if the share we are talking about here has "guest ok = yes" only, and we have defined "guest account = guest". And we also have created an user "guest" with no password and have added the line "null passwords = yes" to the smb.conf? Will this also work? Eddie. ----- Original Message ----- From: "Larry Engleman" <larry@burgiss.com> To: "Samba. Org (E-mail)" <samba@lists.samba.org> Sent: Friday, July 26, 2002 8:58 PM Subject: RE: [Samba] If in [global] <guest ok = yes> why do I get an authentication sc reen when accessing from NT box?> To force guest access to a share, you need both > > guest ok = yes > guest only = yes > > Otherwise it will try and authenticate you first before > dropping you to guest. If this doesn't work, possibly > you don't have a valid guest account set. If no account > is set as the guest account (on the linux machine) it will > use the user "nobody". > > > -Larry Engleman > > The Burgiss Group > > 201-795-5144 > > > -----Original Message----- > From: Clay, John [mailto:John.Clay@lfr.com] > Sent: Friday, July 26, 2002 2:41 PM > To: Samba. Org (E-mail) > Subject: [Samba] If in [global] <guest ok = yes> why do I get an > authentication sc reen when accessing from NT box? > > > > > My simple samba file is: > > > > [global} > > workgroup = LFRG-TLH > > netbios name = HUMPHRY > > guest ok = yes > > > > [test] > > path = palmdata > > read only = no > > guest ok = yes > > > > When I try to access HUMPHRY from my NT-SP6a box I am confronted with a > > login dialog requesting username and password. I'm sure this isn't > > supposed to happen - I should get access without any credentials. > > > > If, again from my NT-SP6a box, I then enter a root level username and > > password then I get access. That's doesn't seem right either 'cause Ihave> > commented out the encrypt password = yes line. > > > > If I do the same from a different NT-SP6a box I get rejected. Seems tome> > that that's the only correct operation so far except that if I add the > > encrypt password = yes line I still get rejected. > > > > Can anyone shed some light this?? I'm baffled. > > > > Puzzled Pengin in the Panhandle > > > > John Clay > > Tallahassee, FL > > > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba