gid numbers changed after upgrading from 4.1.14 to 4.2.1

Daniele Dario d.dario76 at gmail.com
Wed Apr 22 06:20:55 MDT 2015



On mer, 2015-04-22 at 12:34 +0100, Rowland Penny wrote:
> On 22/04/15 12:12, Daniele Dario wrote:
> >
> >
> > About the libnss_winbind links, kdc01 is a VM with ubuntu 10.04 32bit so
> > I have
> >
> > [root at kdc01:~]# ll /lib/i386-linux-gnu/libnss_winbind.so*
> > lrwxrwxrwx 1 root root 38 2014-12-11
> > 18:03 /lib/i386-linux-gnu/libnss_winbind.so
> > -> /usr/local/samba/lib/libnss_winbind.so*
> > lrwxrwxrwx 1 root root 40 2014-12-11
> > 18:03 /lib/i386-linux-gnu/libnss_winbind.so.2
> > -> /usr/local/samba/lib/libnss_winbind.so.2*
> 
> This is what I would expect on a DC where samba4 was self compiled, the 
> references to libnss_winbind in /lib/i386-linux-gnu are symbolic links 
> to the actual files in /usr/local/samba/lib
> 
> >
> > kdc03 is a real machine 64bit with ubuntu 12.04
> >
> > [root at kdc03:/usr/local/samba/private]#
> > ll /lib/x86_64-linux-gnu/libnss_winbind.so*
> > lrwxrwxrwx 1 root root 19 May 19
> > 2014 /lib/x86_64-linux-gnu/libnss_winbind.so -> libnss_winbind.so.2*
> > lrwxrwxrwx 1 root root 24 May 12
> > 2014 /lib/x86_64-linux-gnu/libnss_winbind.so.2
> > -> /lib64/libnss_winbind.so*
> >
> >
> 
> And here, the first one appears to be a symbolic link to the second, 
> which appears to be another symbolic link to a file that appears to have 
> nothing to do with the files you compiled in /usr/local/samba.
> 
> Could these be the remains of the previous samba install ?
> Try renaming them and then create the symbolic links as per the VM, see 
> here for more info:
> 
> https://wiki.samba.org/index.php/Setup_a_Samba_AD_Member_Server#Make_domain_users.2Fgroups_available_locally_through_Winbind
> 
> Rowland

No, I just created them before the wiki reported that on Debian like
distros, it was expected to have the links in /lib64, in /usr/lib and/or
in /usr/lib/x86_64-linux-gnu. I found that the application that was
failing was looking for the lib in /lib/x86... so instead of creating
the links to /usr/local/samba/lib/... that time I used as source the
link in /lib64 which was already a link to the correct lib. BTW now I
fixed the names but that didn't change anything.

I'm stuck now and really don't know how to go on.
A brutal force action like removing the group and creating it again
seems a way but that means to change the ACLs on the root of the shares
and it takes long so I really hope there's another solution.

Daniele.



More information about the samba-technical mailing list