Re: Security level problem with Samba Apsfilter print server

From: K Anderson (freebsduser_at_comcast.net)
Date: 08/30/05

  • Next message: Pratt, Benjamin E.: "Logo Contest Update?"
    To: "Graham North" <northg@shaw.ca>, "questions freebsd" <freebsd-questions@freebsd.org>
    Date: Mon, 29 Aug 2005 16:22:21 -0700
    
    

    ----- Original Message -----
    From: "Graham North" <northg@shaw.ca>
    To: "questions freebsd" <freebsd-questions@freebsd.org>
    Sent: Monday, August 29, 2005 3:56 PM
    Subject: Security level problem with Samba Apsfilter print server

    > Recently I tried using Samba to print from the WinXP box to a FreeBSD
    > webserver which has been using Samba 2.2.12 successfully to share
    > folders to WinXP.
    >
    > It works - sort of. Problem is Samba keeps applying user level security
    > to printer access. I thought that I could change security to "share"
    > in the [printers} definition but that does not seem to work. Probably a
    > doddle to fix for you pros..!
    >
    > I was able to connect printer to FBSD box, and install it as a printer
    > in WinXP, however if I shutdown WinXP then the next time I boot WinXP my
    > printer is inaccessible until I "login" to my FBSD file shares using a
    > user id. There are lots of settings which I have tried which are
    > currently commented out as they did not seem to be effective. Help with
    > this would be greatly appreciated as I do not want to have to "login" to
    > my webserver every time I need to print from Windows.
    My guess is that your XP user name and password are different from your
    FreeBSD user name and password. You can try a couple of things: On your XP
    computer create a user account that matchs your FreeBSD account and login
    information and see if it pesters for the password and name; the other is
    create an account on your FreeBSD computer to match your XP user name and
    password and see what happens.

    > Here is my smb.conf: (sorry the [printers] is at bottom)
    > #======================= Global Settings
    > =====================================
    > [global]
    > printing = BSD
    > workgroup = DELNORTE
    > encrypt passwords = yes
    > server string = soleado server
    > hosts allow = 127.0.0.1 192.168.0.100 192.168.0.101 192.168.0.102
    > 192.168.0.103
    > printcap = /etc/printcap
    > load printers = yes
    > log file = /var/log/log.%m
    >
    > max log size = 50
    > security = user
    > socket options = TCP_NODELAY
    >
    > wins support = no
    >
    > #============================ Share Definitions
    > ==============================
    > [gn]
    > comment = Soleado WebServer
    > path = /home/gn
    > browseable = yes
    > writeable = yes
    > read only = no
    >
    > [configs]
    > comment = Soleado Configs
    > path = /home/soleado_configs
    > browseable = yes
    > writeable = yes
    > read only = no
    >
    > [wqs]
    > comment = WQS WebServer
    > path = /home/wqs
    > browseable = yes
    > writeable = yes
    > read only = no
    >
    > # NOTE: If you have a BSD-style print system there is no need to
    > #20060826 Opened up printer section again.
    > [printers]
    > comment = All Printers
    > path = /var/spool/lpd
    > # print command = /usr/bin/lpr -P%p -r %s
    > public = yes
    > browseable = no
    > # security = share
    > # set client driver use to no
    > use client driver = yes
    > # Set public = yes to allow user 'guest account' to print
    > guest ok = yes
    > # guest account = nobody
    > # writeable = yes
    > printable = yes
    > printer = lp
    >
    >
    > --
    > Kindness can be infectious - try it.
    >
    > Graham North
    > Vancouver, BC
    > www.soleado.ca
    >
    >
    >

    --------------------------------------------------------------------------------

    No virus found in this outgoing message.
    Checked by AVG Anti-Virus.
    Version: 7.0.344 / Virus Database: 267.10.17/84 - Release Date: 8/29/2005

    --------------------------------------------------------------------------------

    > _______________________________________________
    > freebsd-questions@freebsd.org mailing list
    > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    > To unsubscribe, send any mail to
    > "freebsd-questions-unsubscribe@freebsd.org"

    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Pratt, Benjamin E.: "Logo Contest Update?"

    Relevant Pages

    • Re: home networking: easy way?
      ... >>It is absolutely unnecessary to setup a Samba server if you just want to ... >>only as a client. ... > How can I access WinXP shares from Linux? ... > Server " and I didn't give Windows any of that info. ...
      (Fedora)
    • Security level problem with Samba Apsfilter print server
      ... Recently I tried using Samba to print from the WinXP box to a FreeBSD ... Problem is Samba keeps applying user level security ... my webserver every time I need to print from Windows. ...
      (freebsd-questions)
    • Re: SAMBA deletes folders in my home folder
      ... I use SAMBA to share printers between my WinXP machines and it works fine. ... As you know, when you careate an account in SAMBA for each WinXP user, when SAMBA server appears in the Wokgroup computers in WinXP machines, you can click on SAMBA server and you will see all printers shared and also a folder which acts as home folder for each WinXP user. ...
      (Debian-User)
    • Re: SAMBA deletes folders in my home folder
      ... I use SAMBA to share printers between my WinXP ... SAMBA for each WinXP user, when SAMBA server appears in the Wokgroup ... see all printers shared and also a folder which acts as home folder for ...
      (Debian-User)
    • Re: [SLE] Duelling SAMBAs
      ... I have a central linux server that acts as a gateway to the internet ... home directories of each login. ... WinXP, Win98SE and Linux. ... I am unable to print to my HP printer that is connected to the WinXP machine. ...
      (SuSE)