Package: nautilus-share
Version: 0.7.3-1+b1
Severity: normal

Dear Maintainer,

Let's say I want to share a folder, in "private" mode, i.e. without checking 
the "Allow others ..." or "Guest access".

Then, trying to access it gives : 
$  smbclient '//INF-8660/smb-share'
Enter olivier's password: 
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.18]
tree connect failed: NT_STATUS_ACCESS_DENIED

But I notice the following in the logs :
[2013/09/19 18:06:54.634703,  0] param/loadparm.c:9114(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/smb-share failed. 
Permission denied

# ls -ld /var/lib/samba/usershares/
drwxrwx--T 2 root sambashare 4096 Sep 19 18:03 /var/lib/samba/usershares/

However after a :
# chmod 01771 /var/lib/samba/usershares

There's no more any report in the logs. I'm not sure under which user samba 
tries to access it though... but certainly not root.

Still, access doesn't work: still having :
$ smbclient '//INF-8660/smb-share'
Enter olivier's password: 
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.18]
tree connect failed: NT_STATUS_ACCESS_DENIED

I'm a bit dubious whether there is currently any setting that allows 
authenticating to the server without messing with samba users... which would 
mean that only option is to allow anyone to access the share unconditionally ?

So, should the permissions be changed on the /var/lib/samba/usershares/ dir ?

Thanks in advance for your help.

Best regards,
-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.10-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages nautilus-share depends on:
ii  gnome-session-bin        3.4.2.1-4
ii  libc6                    2.17-92+b1
ii  libglib2.0-0             2.36.4-1
ii  libgtk-3-0               3.8.4-1
ii  libnautilus-extension1a  3.4.2-2
ii  nautilus                 3.4.2-2
ii  samba-common             2:3.6.18-1
ii  samba-common-bin         2:3.6.18-1

nautilus-share recommends no packages.

Versions of packages nautilus-share suggests:
ii  samba  2:3.6.18-1

-- debconf-show failed


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to