View previous topic :: View next topic |
Author |
Message |
snIP3r l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 21 May 2004 Posts: 853 Location: germany
|
Posted: Thu May 06, 2010 6:16 am Post subject: samba upgrade doc [solved] |
|
|
hi all!
yesterday portage offered me an upgrade for samba to version 3.4.6. after the successful installation and restart of the daemon i encountered that i could not access any of my shares. it seems that the auth method has changed. is there some doc available for migration from 3.0.x to 3.4.x? or do i have to use the official howto?
thx for help & greets
snIP3r _________________ Intel i3-4130T on ASUS P9D-X
Kernel 5.15.88-gentoo SMP
-----------------------------------------------
if your problem is fixed please add something like [solved] to the topic!
Last edited by snIP3r on Fri May 07, 2010 11:58 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gentoo_ram Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 25 Oct 2007 Posts: 513 Location: San Diego, California USA
|
Posted: Thu May 06, 2010 4:02 pm Post subject: |
|
|
I didn't really find this documented anywhere, but based on files in /var/lib/samba/private, it seems the location and format of the SMB password file changed. So you need to re-add all users to the password database again with 'smbpasswd -a'. After I re-added my account, it started working again. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Jacek n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 06 Jun 2007 Posts: 22 Location: Warsaw, Poland
|
Posted: Fri May 07, 2010 9:34 am Post subject: |
|
|
According to samba release notes:
Quote: | The default passdb backend has been changed to 'tdbsam'! That breaks existing
setups using the 'smbpasswd' backend without explicit declaration! Please use
'passdb backend = smbpasswd' if you would like to stick to the 'smbpasswd'
backend or convert your smbpasswd entries using e.g. 'pdbedit -i smbpasswd -e
tdbsam'.
The 'tdbsam' backend is much more flexible concerning per user settings
like 'profile path' or 'home directory' and there are some commands which do not
work with the 'smbpasswd' backend at all. |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
snIP3r l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 21 May 2004 Posts: 853 Location: germany
|
Posted: Fri May 07, 2010 11:58 am Post subject: |
|
|
hi all!
good news! 3.4.6 works with changing passdb backend to smbpasswd.
later i will check changing to new tdbsam passdb backend.
thx for help!
snIP3r _________________ Intel i3-4130T on ASUS P9D-X
Kernel 5.15.88-gentoo SMP
-----------------------------------------------
if your problem is fixed please add something like [solved] to the topic! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bfx81 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/1030002679462573a0042d2.png)
Joined: 25 Oct 2006 Posts: 21
|
Posted: Wed May 12, 2010 7:59 am Post subject: |
|
|
why not a "eselect news" or post install warning about that? samba is a quite important package, sometimes an essential service in some production environment... _________________ In a world without walls... who needs windows? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dog910 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 12 May 2010 Posts: 1
|
Posted: Wed May 12, 2010 1:35 pm Post subject: vscan-fs no longer included in samba 3.4.6? => no access |
|
|
Access to the samba shares no longer worked after upgrading from 3.0.37 to 3.4.6 (after redefining the users to avoid problems with new pw dB). The "oav" use flag is no longer supported and the vscan files in e.g. /usr/lib/samba/vfs have vanished. /var/log/samba/log:
Quote: |
[2010/05/12 14:33:40, 0] smbd/vfs.c:175(vfs_init_custom)
Can't find a vfs module [vscan-clamav]
[2010/05/12 14:33:40, 0] smbd/vfs.c:322(smbd_vfs_init)
smbd_vfs_init: vfs_init_custom failed for vscan-clamav
[2010/05/12 14:33:40, 0] smbd/service.c:846(make_connection_snum)
vfs_init failed for service IPC$[/list]
|
According to samba.org dazuko should be used but sys-fs/dazuko is no longer in gentoo? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
snIP3r l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 21 May 2004 Posts: 853 Location: germany
|
Posted: Wed May 12, 2010 8:15 pm Post subject: Re: vscan-fs no longer included in samba 3.4.6? => no acc |
|
|
dog910 wrote: | Access to the samba shares no longer worked after upgrading from 3.0.37 to 3.4.6 (after redefining the users to avoid problems with new pw dB). The "oav" use flag is no longer supported and the vscan files in e.g. /usr/lib/samba/vfs have vanished. /var/log/samba/log:
Quote: |
[2010/05/12 14:33:40, 0] smbd/vfs.c:175(vfs_init_custom)
Can't find a vfs module [vscan-clamav]
[2010/05/12 14:33:40, 0] smbd/vfs.c:322(smbd_vfs_init)
smbd_vfs_init: vfs_init_custom failed for vscan-clamav
[2010/05/12 14:33:40, 0] smbd/service.c:846(make_connection_snum)
vfs_init failed for service IPC$[/list]
|
According to samba.org dazuko should be used but sys-fs/dazuko is no longer in gentoo? |
hi!
according to the samba doc it looks like only suse linux supports samba-vscan for samba > 3.0.25
http://www.openantivirus.org/projects.php#samba-vscan
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/VFS.html#id2652728
i assume you have configured samba vscan as described here:
http://docs.huihoo.com/gentoo/resources/document-listing/quick-samba-howto.html
for the dazuko thing check here:
https://bugs.gentoo.org/show_bug.cgi?id=273204
perhaps this helps...
snIP3r _________________ Intel i3-4130T on ASUS P9D-X
Kernel 5.15.88-gentoo SMP
-----------------------------------------------
if your problem is fixed please add something like [solved] to the topic! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|