[patch] nt_printing.c

Jeff Chua jeff99 at silk.corp.fedex.com
Thu Oct 16 03:07:47 GMT 2003


On Wed, 15 Oct 2003, Richard Sharpe wrote:

> On Thu, 16 Oct 2003, Jeff Chua wrote:
>
> >
> > 'security = share' ... used for printers, and public folders ... so that
> > anyone can access without a username/password. We have many samba servers,
> > and the major complaint with 'security = user' is the prompt for
> > username/password even for printers and public folders ... it can
> > annoying. Am I missing something here?
>
> Have you looked at "map to guest = bad user" for those shares?

Done that.

my smb.conf ...

[global]
        security = share
        encrypt passwords = yes
        null passwords = yes
        password level = 0
        map to guest = bad user
	...

[Printers]
        comment = All Printers
        create mode = 0700
        path = /var/local/samba/tmp
        printable = yes
        public = yes
        writeable = no

[jet4050n]
        comment = HP LaserJet 4050 Series PS
        browseable = yes
        printable = yes
        public = yes
        create mode = 0700
        path = /var/local/samba/tmp






More information about the samba-technical mailing list