[Bug 50385] Re: samba does not support private dir option (qemu related)
hamish
50385 at bugs.launchpad.net
Fri Mar 25 09:34:25 UTC 2011
Hi,
work-around for user accounts you trust as administrators, if you don't
want to run everything as root, but are not so insane as to use `chmod
a+rw`:
essentially just give the user permission to the files in the
/var/lib/samba dir as noted by others earlier.
(as root)
# disable samba startup at boot: (so only qemu's one will be running)
update-rc.d -f samba remove
adduser $YOU adm
chgrp adm /var/lib/samba/*.tdb
chmod g+rw /var/lib/samba/*.tdb
I also applied that to /var/lib/samba/perfmon and the parent dir but I
don't know if that is really necessary.
note that
cd /tmp/qemu-smb.1234-0
/usr/sbin/smbd -i -s smb.conf
ends with:
"""
...
Failed to open group mapping ldb '/var/lib/samba/group_mapping.ldb' - '(null)'
...
Abnormal server exit: open_sockets_smbd() failed
BACKTRACE: ...
...
"""
but
C:\> net use e: \\10.0.2.4\qemu
in the WinXP guest works. shrug.
tested in Debian/squeeze + samba 2:3.5.6~dfsg-3squeeze2
:-/
Hamish
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/50385
Title:
samba does not support private dir option (qemu related)
More information about the Ubuntu-server-bugs
mailing list