[Samba] 3.4.6 to 3.5.2 difficulties

Julien Savoie julien.savoie at usainteanne.ca
Tue Apr 20 15:49:45 MDT 2010


Did an upgrade from samba 3.4.6 to 3.5.2  Left the smb.conf completely
unchanged.  As background I'm using samba on gentoo amd64 with a ldapsam
backend on openldap.  Upgrade went well, I thought.  Users could login
and access their home directories.  Service reloaded without issue.

Here was the issue though, windows 2003 servers couldn't login users
into the domain.  These servers were joined as domain members.  Logs as
follows:

> The browser service was unable to retrieve a list of servers from the
> browser master \\LDAP on the network
> \Device\NetBT_Tcpip_{87C2EC8F-2437-40F6-A637-4B7B3A70F5D5}.
>  
>  Browser master: \\LDAP
>  Network: \Device\NetBT_Tcpip_{87C2EC8F-2437-40F6-A637-4B7B3A70F5D5}
and also as a result this:

> This computer was not able to set up a secure session with a domain
> controller in domain USAINTEANNE due to the following:
> The RPC server is unavailable.  
> This may lead to authentication problems. Make sure that this computer
> is connected to the network. If the problem persists, please contact
> your domain administrator.  
It's almost as if "browse list" had been defaulted to no.  Obviously
this was a production issue and i didn't have time to fully
investigate.  Anyone have any ideas?

The remedy was to downgrade in portage back to samba 3.4.6.  Everything
worked as before, no issues.  From my initial investigation of the
portage tree under gentoo it appears no customization has been applied
to 3.5.2 ebuild that wasn't in the 3.4.6 ebuild.  I'll include the
diffs, but nothing note worthy.

diff -U 0 samba-3.4.6.ebuild samba-3.5.2.ebuild
--- samba-3.4.6.ebuild  2010-02-26 16:11:21.000000000 -0400
+++ samba-3.5.2.ebuild  2010-04-08 07:07:11.000000000 -0300
@@ -3 +3 @@
-# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-3.4.6.ebuild,v
1.1 2010/02/26 20:11:21 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-3.5.2.ebuild,v
1.2 2010/04/08 10:05:23 patrick Exp $
@@ -60 +60 @@
-       use ads && use winbind && SBIN_PROGS="${SBINPROGS}
bin/winbind_krb5_locator"
+       use ads && use winbind && SBINPROGS="${SBINPROGS}
bin/winbind_krb5_locator"
@@ -150,0 +151 @@
+               $(use_with client cifsumount) \

diff -U 0 3.4/lmhosts 3.5/lmhosts
--- 3.4/lmhosts 2010-02-26 16:11:18.000000000 -0400
+++ 3.5/lmhosts 2010-03-01 12:19:54.000000000 -0400
@@ -1 +1 @@
-# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/files/3.4/lmhosts,v 1.1
2010/02/26 20:11:18 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/files/3.5/lmhosts,v 1.1
2010/03/01 16:19:54 patrick Exp $
diff -U 0 3.4/nsswitch.conf-winbind 3.5/nsswitch.conf-winbind
--- 3.4/nsswitch.conf-winbind   2010-02-26 16:11:18.000000000 -0400
+++ 3.5/nsswitch.conf-winbind   2010-03-01 12:19:54.000000000 -0400
@@ -1 +1 @@
-# $Header:
/var/cvsroot/gentoo-x86/net-fs/samba/files/3.4/nsswitch.conf-winbind,v
1.1 2010/02/26 20:11:18 patrick Exp $
+# $Header:
/var/cvsroot/gentoo-x86/net-fs/samba/files/3.5/nsswitch.conf-winbind,v
1.1 2010/03/01 16:19:54 patrick Exp $
diff -U 0 3.4/nsswitch.conf-wins 3.5/nsswitch.conf-wins
--- 3.4/nsswitch.conf-wins      2010-02-26 16:11:18.000000000 -0400
+++ 3.5/nsswitch.conf-wins      2010-03-01 12:19:54.000000000 -0400
@@ -1 +1 @@
-# $Header:
/var/cvsroot/gentoo-x86/net-fs/samba/files/3.4/nsswitch.conf-wins,v 1.1
2010/02/26 20:11:18 patrick Exp $
+# $Header:
/var/cvsroot/gentoo-x86/net-fs/samba/files/3.5/nsswitch.conf-wins,v 1.1
2010/03/01 16:19:54 patrick Exp $
diff -U 0 3.4/samba.initd 3.5/samba.initd
--- 3.4/samba.initd     2010-02-26 16:11:18.000000000 -0400
+++ 3.5/samba.initd     2010-03-01 12:19:54.000000000 -0400
@@ -4 +4 @@
-# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/files/3.4/samba.initd,v
1.1 2010/02/26 20:11:18 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/files/3.5/samba.initd,v
1.1 2010/03/01 16:19:54 patrick Exp $
diff -U 0 3.4/smbusers 3.5/smbusers
--- 3.4/smbusers        2010-02-26 16:11:18.000000000 -0400
+++ 3.5/smbusers        2010-03-01 12:19:54.000000000 -0400
@@ -1 +1 @@
-# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/files/3.4/smbusers,v
1.1 2010/02/26 20:11:18 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/files/3.5/smbusers,v
1.1 2010/03/01 16:19:54 patrick Exp $
diff -U 0 3.4/swat.xinetd 3.5/swat.xinetd
--- 3.4/swat.xinetd     2010-02-26 16:11:18.000000000 -0400
+++ 3.5/swat.xinetd     2010-03-01 12:19:54.000000000 -0400
@@ -5 +5 @@
-# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/files/3.4/swat.xinetd,v
1.1 2010/02/26 20:11:18 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/files/3.5/swat.xinetd,v
1.1 2010/03/01 16:19:54 patrick Exp $
diff -U 0 3.4/system-auth-winbind.pam 3.5/system-auth-winbind.pam
--- 3.4/system-auth-winbind.pam 2010-02-26 16:11:18.000000000 -0400
+++ 3.5/system-auth-winbind.pam 2010-03-01 12:19:54.000000000 -0400
@@ -2 +2 @@
-# $Header:
/var/cvsroot/gentoo-x86/net-fs/samba/files/3.4/system-auth-winbind.pam,v
1.1 2010/02/26 20:11:18 patrick Exp $
+# $Header:
/var/cvsroot/gentoo-x86/net-fs/samba/files/3.5/system-auth-winbind.pam,v
1.1 2010/03/01 16:19:54 patrick Exp $



More information about the samba mailing list