[Samba] Annonymous access guest ok = yes

Chris McKeever tech-mail at prupref.com
Mon May 12 23:11:32 GMT 2003


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


More information about the samba mailing list