[Samba] disable guest print account

Jason Stewart jstewart at rtl.org
Wed May 15 07:39:03 GMT 2002


Try looking at the 'map to guest' directive in the smb.conf man page. My 
guess is that you are mapping a bad user login to the guest account.


Cheers,
Jason


At 04:24 PM 5/15/2002 +0100, Ronald Sipkema wrote:
>hi,
>
>I have a pretty basic samba server installed on my Debian system. I use
>samba 2.2.3a-7 for Debian. Everything seems to work just fine except
>printing; Everyone is able to print (w2k clients) even though "guest ok =
>no" is set. The print job is done by the guest user (nobody). How is this
>possible when guest ok is set to no?
>TIA
>
>Ronald
>
>smb.conf:
>
>[global]
>  netbios name = DARKCLOUD
>  workgroup = WATERHUIS
>  server string = %h (%v)
>  name resolve order = lmhosts bcast
>
>  hosts allow = 130.89.
>  security = share
>  guest account = nobody
>  encrypt passwords = yes
># username map = /etc/samba/users.map
>
>  log level = 2
>  log file = /var/log/samba/samba.log
>  max log size = 50
>
>  printcap name = /etc/printcap.cups
>  printing = cups
>  load printers = no
>
>  lm announce = no
>  lm interval = 0
>  local master = yes
>  os level = 75
>  preferred master = yes
>  domain master = no
>  wins support = no
>  dns proxy = no
>
># use client driver = yes
># disable spoolss = no
>
>[laserjet]
>  available = yes
>  writable = no
>  browsable = yes
>  public  = no
>  printable = yes
>  path = /tmp
>  create mask = 0700
>  print command = lpr -P %p -o raw %s -r
>  lpq command = lpstat -o %p
>  lprm command = cancel %p-%j
>  printer name = hpljet4
>
>[share]
>  writable = no
>  browsable = yes
>  public = no
>  path = /usr/local/samba/share
>  comment = U: %U, u: %u
>
>
>--
>To unsubscribe from this list go to the following URL and read the
>instructions:  http://lists.samba.org/mailman/listinfo/samba

Jason Stewart
Systems Administrator/Programmer
Right to Life of Michigan
Tel: (616)532-2300
Fax: (616)532-3461

To find out where Michigan Gubernatorial Candidate Jennifer Granholm really 
stands, please visit http://www.granholmgarble.com/





More information about the samba mailing list