[Samba] Annonymous access guest ok = yes

Joel Hammer Joel at HammersHome.com
Tue May 13 00:45:15 GMT 2003


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


More information about the samba mailing list