Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Samba usershare errors

100 views
Skip to first unread message

Roger Lynn

unread,
Jan 24, 2013, 12:00:02 PM1/24/13
to
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 = /usr/share/samba/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?

Thank you,

Roger


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/51015E3C...@rilynn.me.uk

Igor Cicimov

unread,
Jan 24, 2013, 4:50:02 PM1/24/13
to

Remove printer section from config.

Roger Lynn

unread,
Jan 26, 2013, 11:30:01 AM1/26/13
to
On 24/01/13 21:50, Igor Cicimov wrote:
> On 25/01/2013 3:51 AM, "Roger Lynn" <Ro...@rilynn.me.uk
> <mailto:Ro...@rilynn.me.uk>> wrote:
>> 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 <http://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 = /usr/share/samba/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

>> 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.

I haven't got a printer section. The only print related command I know of is
"load printers = No".

Thanks,

Roger


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/0a8dt9-...@silverstone.rilynn.me.uk
0 new messages