[Samba] 3 simple questions
Gerald (Jerry) Carter
jerry at samba.org
Mon Feb 20 14:52:18 GMT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Peter wrote:
> Hi. I am running 3.0.20.
>
> 1. I would like to have an include statement pointing to user
> configurations. For a user, say 'mike', the following works:
>
> include = /home/mike/smb.conf
>
> But this does not:
>
> include = /home/%u/smb.conf
This is a really bad idea btw. You are allowing your users
to easily gain root access to teh server. But if you really
want don't mind this, try:
include = /home/%U/smb.conf
> 2. I have disabled printing using:
>
> disable spoolss = yes
>
> My logs are filling up with messages (every 30 minutes):
>
> printing/print_cups.c:cups_cache_reload(85)
> Unable to connect to CUPS server localhost - Connection refused
[global]
printing = bsd
printcap name = /dev/null
> 3. Is there any way to have a truly anonymous connection?
- ------- smb.conf ----------------------
[global]
security = user
map to guest = bad user
username map = /etc/samba/smbusers
guest ok = yes
guest account = nobody
- ------- smbusers file ---
!foo = *
cheers, jerry
=====================================================================
I live in a Reply-to-All world -----------------------
Samba ------- http://www.samba.org
Centeris ----------- http://www.centeris.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFD+dehIR7qMdg1EfYRAtLUAKCxry6gojrjKu3jOy7V9+RJMp7QagCgmJS7
RVP74EV+b313nvwpQEAYHiU=
=XLZh
-----END PGP SIGNATURE-----
More information about the samba
mailing list