[patch] nt_printing.c
Gerald (Jerry) Carter
jerry at samba.org
Thu Oct 16 12:54:29 GMT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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.
Yeah, but map to gues doesn't really mean
anything for security = share. Do this:
[global]
username map = smbusers.map
security = user
map to guest = bad user
....
# smbuses.map
root = root Administrator
badusername = *
cheers, jerry
~ ----------------------------------------------------------------------
~ Hewlett-Packard ------------------------- http://www.hp.com
~ SAMBA Team ---------------------- http://www.samba.org
~ GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc
~ "You can never go home again, Oatman, but I guess you can shop there."
~ --John Cusack - "Grosse Point Blank" (1997)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/jpUFIR7qMdg1EfYRArjKAKDlARWgQ5a0JKHuHaeeNp2wmZFq4wCgy0yA
EfNcq74iBHOYd5snQuZ39M8=
=ewQ2
-----END PGP SIGNATURE-----
More information about the samba-technical
mailing list