gid numbers changed after upgrading from 4.1.14 to 4.2.1

Rowland Penny repenny241155 at gmail.com
Wed Apr 22 05:34:21 MDT 2015


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


More information about the samba-technical mailing list