Hi, This was originally reported in launchpad: http://bugs.launchpad.net/bugs/407297 If you have any questions please let me know. Regards chuck
Please upload your smb.conf and an ls -la of your usershare directory. Volker
Hi I origianlly reported the bug at launchpad.bet $ ls -la /var/lib/samba/usershares/ total 20 drwxrwx--T 2 root sambashare 4096 2009-09-22 08:39 . drwxr-xr-x 5 root root 4096 2009-06-05 09:56 .. -rw-r--r-- 1 lezuo lezuo 76 2009-07-15 15:48 _svns -rw-r--r-- 1 lezuo lezuo 83 2009-09-22 08:39 us -rw-r--r-- 1 lezuo lezuo 82 2009-06-10 14:27 workspace The us share itself: $ ls -la Desktop/us/ total 14028 drwxrwxrwx 24 lezuo lezuo 4096 2009-09-02 13:50 . drwxr-xr-x 8 lezuo lezuo 4096 2009-08-28 10:44 .. -rw-r--r-- 1 lezuo lezuo 20607 2009-09-01 17:29 aclocal.m4 drwxr-xr-x 6 lezuo lezuo 4096 2009-09-07 13:10 appl and smb.conf: [global] workgroup = WORKGROUP server string = %h server (Samba, Ubuntu) dns proxy = no log level = 0 log file = /var/log/samba/log.%m max log size = 1000 syslog = 0 panic action = /usr/share/samba/panic-action %d encrypt passwords = true passdb backend = tdbsam obey pam restrictions = yes unix password sync = yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . pam password change = yes map to guest = bad user usershare allow guests = yes [homes] comment = Home Directories browseable = no read only = no [printers] comment = All Printers browseable = no path = /var/spool/samba printable = yes guest ok = no read only = yes create mask = 0700 [print$] comment = Printer Drivers path = /var/lib/samba/printers browseable = yes read only = yes guest ok = no
Usershares need to be enabled by setting "usershare max shares = x". I don't see this parameter in the smb.conf. Does 'net usershare add testshare /home/test Testshare' work (after creating /home/test with owner "test")?
And please retry after setting "allocation roundup size = 0" for the Visual Studio share.
Please upload a debug level 10 log of this crash. If possible, can you run smbd under valgrind please for a test (it slows down smbd a LOT) and upload the output here? Thanks, Volker
(In reply to comment #3) > Usershares need to be enabled by setting "usershare max shares = x". I don't > see this parameter in the smb.conf. Does 'net usershare add testshare > /home/test Testshare' work (after creating /home/test with owner "test")? > I resolve why it works at all: Unfortunatly ubuntu has an very misleading patch integrated which changes the default from usershare max shares = 0 to usershare max shares = 100 I will ask them to revoke this patch since it seems both dangerous and unneccesary to me. But nevertheless something very weird does happen here ...
No feedback in almost half a year. Closing. Volker