Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
samba problems after upgrade to 3.4.6[SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
jserink
l33t
l33t


Joined: 30 Jan 2004
Posts: 654

PostPosted: Thu May 06, 2010 6:22 am    Post subject: samba problems after upgrade to 3.4.6[SOLVED] Reply with quote

Hi All:

Just did an emerge -uDp world and upgraded sambe.
After a restart my KVM windows XP session can no longer authenticate to my local shares. here is my smb.conf file:
jerinkturion jserink # cat /etc/samba/smb.conf

[global]
workgroup = TNS
wins support = yes
hosts allow = 10. 127.
socket options = TCP_NODELAY SO_RCVBUF=16384 SO_SNDBUF=16384 IPTOS_LOWDELAY
use sendfile = yes
log level = 0 passdb:0 auth:0
client signing = yes
#wide links = yes

[WINDOWSD]
path = /mnt/WindowsD/
valid users = jserink
read only = no
write list = jserink

[WINDOWSTIM]
path = /home/jserink/mnt/TIMtest/
valid users = jserink
read only = no
write list = jserink

[WINDOWSGPSNet]
path = /home/jserink/mnt/GPSNet/
valid users = jserink
read only = no
write list = jserink

[XEROXSCAN]
path = /mnt/WindowsD/xeroxscan/
valid users = xerox
write list = xerox
case sensitive = no
strict locking = no
guest ok = yes
read only = no
fstype = vfat

[WINDOWSF]
path = /mnt/WindowsF/
valid users = jserink
read only = no
write list = jserink

[WINDOWSE]
path = /mnt/WindowsE/
valid users = jserink
read only = no
write list = jserink

[HOME]
path = /home/jserink/
valid users = jserink
read only = no
write list = jserink
browsable = no


Any ideas?
this was working before the upgrade.

nmbd.log:
[2010/05/06 14:18:15, 0] nmbd/asyncdns.c:155(start_async_dns)
started asyncdns process 7919
[2010/05/06 14:18:21, 0] nmbd/asyncdns.c:222(run_dns_queue)
read from child failed: NT_STATUS_END_OF_FILE
[2010/05/06 14:18:21, 0] nmbd/nmbd.c:71(terminate)
Got SIGTERM: going down...
[2010/05/06 14:18:41, 0] nmbd/nmbd.c:854(main)
nmbd version 3.4.6 started.
Copyright Andrew Tridgell and the Samba Team 1992-2009
[2010/05/06 14:18:41, 0] nmbd/asyncdns.c:155(start_async_dns)
started asyncdns process 8130
[2010/05/06 14:19:03, 0] nmbd/nmbd_become_lmb.c:395(become_local_master_stage2)
*****

Samba name server JERINKTURION is now a local master browser for workgroup TNS on subnet 192.168.1.22

*****
[2010/05/06 14:19:03, 0] nmbd/nmbd_become_lmb.c:395(become_local_master_stage2)
*****

Samba name server JERINKTURION is now a local master browser for workgroup TNS on subnet 10.3.36.77

*****
[2010/05/06 14:19:03, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail)
find_domain_master_name_query_fail:
Unable to find the Domain Master Browser name TNS<1b> for the workgroup TNS.
Unable to sync browse lists in this workgroup.
[2010/05/06 14:19:03, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail)
find_domain_master_name_query_fail:
Unable to find the Domain Master Browser name TNS<1b> for the workgroup TNS.
Unable to sync browse lists in this workgroup.


smbd.log:
[2010/05/06 14:18:21, 0] smbd/server.c:1073(main)
smbd version 3.4.6 started.
Copyright Andrew Tridgell and the Samba Team 1992-2009
[2010/05/06 14:18:41, 0] smbd/server.c:1073(main)
smbd version 3.4.6 started.
Copyright Andrew Tridgell and the Samba Team 1992-2009

samba client functionality works fine, I can mount and access windows shares from my linux box, just not the other way around.
The authentication fails for some reason.

Cheers,
john


Last edited by jserink on Fri May 07, 2010 8:53 am; edited 1 time in total
Back to top
View user's profile Send private message
snIP3r
l33t
l33t


Joined: 21 May 2004
Posts: 784
Location: germany

PostPosted: Thu May 06, 2010 11:56 am    Post subject: Reply with quote

hi!

i think you have the same problem as me: http://forums.gentoo.org/viewtopic-t-826805.html
the problem is that standard auth method seems to have changed. but haven't already confirmed this yet.

HTH
snIP3r
_________________
Intel G3220 on ASUS P9D-X
Gentoo Base System 2.2
Kernel 3.12.20-gentoo SMP
-----------------------------------------------
if your problem is fixed please add something like [solved] to the topic!
Back to top
View user's profile Send private message
jserink
l33t
l33t


Joined: 30 Jan 2004
Posts: 654

PostPosted: Fri May 07, 2010 8:53 am    Post subject: Reply with quote

Hi All:

Fixed.

In samba 3.4.6 the default password backend has changed from smbpasswd to tdbsam.
So, to make your old configuration work, in the global section you need to add this:
passdb backend = smbpasswd

Then it all just works again.

See here for more info:
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/passdb.html

Cheers,
john
Back to top
View user's profile Send private message
Jacek
n00b
n00b


Joined: 06 Jun 2007
Posts: 22
Location: Warsaw, Poland

PostPosted: Fri May 07, 2010 9:33 am    Post subject: Reply with quote

My proposition is to quote original message from release notes (eventually changing it to own text):
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.

And below link to howto.

I think no one will read huge howto, so better give a user choice (both options) during an emerge.

Jack
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum