I am trying to get some printer shares to be anonymous access. I have set guest ok = yes but from the log file, it looks like if a username is passed, and a failed lookup, it wont just default to annonymous. Is there another setting or configuration that I need to add to get it to work? LOG FILE: [2003/05/12 16:13:52, 0] passdb/pdb_ldap.c:pdb_getsampwnam(939) LDAP search "(&(uid=emundy)(objectclass=sambaAccount))" returned 0 entries. SHARE: [konica-jtm] printer = konica_jtm printing = cups comment = Konica 7045 - 1201 JTM Room path = /var/spool/samba browseable = yes # Set public = yes to allow user 'guest account' to print guest ok = yes writable = no printable = yes print command = lpr.cups -P %p -o raw %s lpq command = lpstat.cups -o %p lprm command = cancel.cups %p-%j
Have you defined a guest account on your server? Joel On Mon, May 12, 2003 at 06:11:32PM -0500, Chris McKeever wrote:> I am trying to get some printer shares to be anonymous access. > I have set guest ok = yes > but from the log file, it looks like if a username is passed, and a failed > lookup, it wont just default to annonymous. Is there another setting or > configuration that I need to add to get it to work? > > LOG FILE: > [2003/05/12 16:13:52, 0] passdb/pdb_ldap.c:pdb_getsampwnam(939) > LDAP search "(&(uid=emundy)(objectclass=sambaAccount))" returned 0 > entries. > > SHARE: > > [konica-jtm] > printer = konica_jtm > printing = cups > comment = Konica 7045 - 1201 JTM Room > path = /var/spool/samba > browseable = yes > # Set public = yes to allow user 'guest account' to print > guest ok = yes > writable = no > printable = yes > print command = lpr.cups -P %p -o raw %s > lpq command = lpstat.cups -o %p > lprm command = cancel.cups %p-%j > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba
Joel..thanks for the repsonse, it turned out to be map guest to = bad user I kept overlooking that.> -----Original Message----- > From: Joel Hammer [mailto:Joel@HammersHome.com] > Sent: Monday, May 12, 2003 7:45 PM > To: Chris McKeever; samba@lists.samba.org > Subject: Re: [Samba] Annonymous access guest ok = yes > > > Have you defined a guest account on your server? > Joel > On Mon, May 12, 2003 at 06:11:32PM -0500, Chris McKeever wrote: > > I am trying to get some printer shares to be anonymous access. > > I have set guest ok = yes > > but from the log file, it looks like if a username is > passed, and a failed > > lookup, it wont just default to annonymous. Is there > another setting or > > configuration that I need to add to get it to work? > > > > LOG FILE: > > [2003/05/12 16:13:52, 0] passdb/pdb_ldap.c:pdb_getsampwnam(939) > > LDAP search "(&(uid=emundy)(objectclass=sambaAccount))" returned 0 > > entries. > > > > SHARE: > > > > [konica-jtm] > > printer = konica_jtm > > printing = cups > > comment = Konica 7045 - 1201 JTM Room > > path = /var/spool/samba > > browseable = yes > > # Set public = yes to allow user 'guest account' to print > > guest ok = yes > > writable = no > > printable = yes > > print command = lpr.cups -P %p -o raw %s > > lpq command = lpstat.cups -o %p > > lprm command = cancel.cups %p-%j > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: http://lists.samba.org/mailman/listinfo/samba >