On 25/01/2013 3:51 AM, "Roger Lynn" <Roger@rilynn.me.uk> wrote:
>
> Hi,
>
> I am running the Debian package of Samba 2:3.6.6-4 on an up to date Wheezy
> server. I am getting a lot of errors logged similar to this:
>
> log.sophie-pc:[2013/01/24 08:38:38.848419, 0]
> param/loadparm.c:9114(process_usershare_file)
> log.sophie-pc: process_usershare_file: stat of
> /var/lib/samba/usershares/servic failed. Permission denied
> log.sophie-pc:[2013/01/24 08:38:38.849233, 0]
> param/loadparm.c:9114(process_usershare_file)
> log.sophie-pc: process_usershare_file: stat of
> /var/lib/samba/usershares/servic failed. No such file or directory
> log.sophie-pc:[2013/01/24 08:38:38.849679, 0]
> param/loadparm.c:9114(process_usershare_file)
> log.sophie-pc: process_usershare_file: stat of
> /var/lib/samba/usershares/servic failed. No such file or directory
>
> As far as I know usershares are disabled. The clients are running a variety
> of recent versions of Windows. It most often seems to happen with PDF files,
> but there are others too.
>
> My smb.conf file looks like this. Several similar share definitions have
> been omitted for brevity.
>
> [global]
> workgroup = FUNDAMENTALS
> server string = %h server
> interfaces = 127.0.0.0/8, bond0
> bind interfaces _only_ = Yes
> obey pam restrictions = Yes
> pam password change = Yes
> unix password sync = Yes
> syslog = 0
> log file = /var/log/samba/log.%m
> max log size = 1000
> load printers = No
> os level = 65
> preferred master = Yes
> domain master = Yes
> dns proxy = No
> wins support = Yes
> panic action = "" %d
> idmap config * : backend = tdb
> invalid users = root
> [Service]
> comment = Service files
> path = /srv/smb/service
> read _only_ = No
> create mask = 0775
> force create mode = 0664
> directory mask = 0770
> force directory mode = 0770
> [Sophie]
> comment = Home Directories
> path = /home/sophie/share
> invalid users = root, manfred
> read _only_ = No
> create mask = 0775
> force create mode = 0444
> directory mask = 0775
> force directory mode = 0555
>
> What might be causing the above errors?
>
> I am also getting lots of cups errors like this:
> [2013/01/24 15:29:32.978276, 0] printing/print_cups.c:110(cups_connect)
> Unable to connect to CUPS server localhost:631 - Connection refused
> [2013/01/24 15:29:32.978505, 0] printing/print_cups.c:487(cups_async_callback)
> failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
>
> I presume this is because cups is not installed. Is there any way to stop
> Samba from continuously trying access it?
>
Remove printer section from config.
> Thank you,
>
> Roger
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] 51015E3C.7050208@rilynn.me.uk">http://lists.debian.org/[🔎] 51015E3C.7050208@rilynn.me.uk
>