samba - guest ok doesn't work
I want Windows users on my network to be able to print to my printer without a password. I have guest ok = yes in the printers share. I also have security = user in the global section. Shouldn't this allow printing without a password? Currently it does not. Printing does work fine with a correct username and password from the Windows machines though. But, it always prompts for a password, and if the password is incorrect or blank, it fails. Does guest ok only work when security = share? Any ideas what might be wrong? In my smb.conf file I have (this is not complete though): [global] printing = bsd printcap name = /etc/printcap load printers = yes guest account = nobody invalid users = root security = user encrypt passwords = yes [printers] comment = All Printers browseable = yes path = /tmp printable = yes ; public = yes guest ok = yes writable = no create mode = 0700 Thanks, Gerry
Re: samba - guest ok doesn't work
[EMAIL PROTECTED] wrote: I want Windows users on my network to be able to print to my printer without a password. I have guest ok = yes in the printers share. I also have security = user in the global section. Shouldn't this allow printing without a password? Currently it does not. Printing does work fine with a correct username and password from the Windows machines though. But, it always prompts for a password, and if the password is incorrect or blank, it fails. Does guest ok only work when security = share? Any ideas what might be wrong? In my smb.conf file I have (this is not complete though): [global] printing = bsd printcap name = /etc/printcap load printers = yes guest account = nobody invalid users = root security = user encrypt passwords = yes [printers] comment = All Printers browseable = yes path = /tmp printable = yes ; public = yes guest ok = yes writable = no create mode = 0700 Thanks, All this is OK, but if your windows machines ask for a password and you press cancel, then you don't have network, so you must disable login in your windows machines. But I not sure, if it's not the problen tell me and tomorrow I will send you my samba config file for that, the problem it that the file is at office. Angel Gerry -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: samba - guest ok doesn't work
On Wed, Dec 20, 2000 at 04:14:34PM -0700, [EMAIL PROTECTED] wrote: I want Windows users on my network to be able to print to my printer without a password. I have guest ok = yes in the printers share. I also have security = user in the global section. Shouldn't this allow printing without a password? Currently it does not. Printing does work fine with a correct username and password from the Windows machines though. But, it always prompts for a password, and if the password is incorrect or blank, it fails. Does guest ok only work when security = share? Any ideas what might be wrong? There's an option that controls how unknown users / passwords are mapped to the guest account (man smb.conf) which I had to tweak to get guest access to shares without a password. HTH, P.
Re: samba - guest ok doesn't work
In looking around some more, it looks like this is indeed the correct behavior for security = user unless I add the following: map to guest = Bad Password or map to guest = Bad User Otherwise I need to switch to security = share Thanks, Gerry On Thu, 21 Dec 2000, Peter Horton wrote: On Wed, Dec 20, 2000 at 04:14:34PM -0700, [EMAIL PROTECTED] wrote: I want Windows users on my network to be able to print to my printer without a password. I have guest ok = yes in the printers share. I also have security = user in the global section. Shouldn't this allow printing without a password? Currently it does not. Printing does work fine with a correct username and password from the Windows machines though. But, it always prompts for a password, and if the password is incorrect or blank, it fails. Does guest ok only work when security = share? Any ideas what might be wrong? There's an option that controls how unknown users / passwords are mapped to the guest account (man smb.conf) which I had to tweak to get guest access to shares without a password. HTH, P. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]