1752586 Members
3882 Online
108788 Solutions
New Discussion

Re: Samba4: no way?

 
SOLVED
Go to solution
Dennis Handly
Acclaimed Contributor

Re: Samba4: no way? Unsatisfied code symbol _nss_winbind_initgroups_dyn

Well, where is this symbol _nss_winbind_initgroups_dyn defined?

uxbeginner22
Trusted Contributor

Re: Samba4: no way? Unsatisfied code symbol _nss_winbind_initgroups_dyn

Honestly i don't know.

Probably missing libraries?

 

uxbeginner22
Trusted Contributor

Re: Samba4: no way? Unsatisfied code symbol _nss_winbind_initgroups_dyn

I have recompile,still error,i see this call in

 

nsswitch/winbind_nss_solaris.h:NSS_STATUS _nss_winbind_initgroups_dyn(char *user, gid_t group, long int *start,
nsswitch/winbind_nss_netbsd.c:NSS_STATUS _nss_winbind_initgroups_dyn(char *user, gid_t group, long int *start,
nsswitch/winbind_nss_solaris.c:    _nss_winbind_initgroups_dyn(gmem->username,
nsswitch/winbind_nss_linux.c:NSS_STATUS _nss_winbind_initgroups_dyn(char *user, gid_t group, long int *start,
nsswitch/winbind_nss_linux.c:_nss_winbind_initgroups_dyn(char *user, gid_t group, long int *start,

 

uxbeginner22
Trusted Contributor

Re: Samba4: no way?

Using nm i see

 

nm -n /usr/lib/hpux32/libnss_winbind.so.1.old|grep _nss_winbind_initgroups_dyn
[142]    |     67178688|    2080|FUNC |GLOB |0|   .text|_nss_winbind_initgroups_dyn
nm -n /usr/lib/hpux32/libnss_winbind.so.1|grep _nss_winbind_initgroups_dyn
[185]    |            0|       0|FUNC |GLOB |0|   UNDEF|_nss_winbind_initgroups_dyn

 

Dennis Handly
Acclaimed Contributor

Re: Samba4: no way?

This shlib has a definition:

/usr/lib/hpux32/libnss_winbind.so.1.old

[142] | 67178688| 2080|FUNC |GLOB |0| .text|_nss_winbind_initgroups_dyn

 

If there are pairs of shlibs, did they move _nss_winbind_initgroups_dyn to another shlib?

uxbeginner22
Trusted Contributor

Re: Samba4: no way?

Mmmm.. i don't know.

How to check?

I did nm on both modules(old and new)

nm -n libnss_winbind.so.1*|grep _nss_winbind_initgroups_dyn

[185]    |            0|       0|FUNC |GLOB |0|   UNDEF|_nss_winbind_initgroups_dyn
[142]    |     67178688|    2080|FUNC |GLOB |0|   .text|_nss_winbind_initgroups_dyn

 

 

I use this configure,and for install modules,simply copy them and linked in hpux32

 

 

./configure --prefix=/opt/samba3 --with-lockdir=/var/opt/samba3/locks --with-privatedir=/var/opt/samba3/private --with-configdir=/etc/opt/samba3 --localstatedir=/var/opt/samba3 --with-krb5=/opt/krb5 --enable-nss-wrapper --enable-socket-wrapper --enable-static --enable-pthreadpool --with-libaddns --with-automount --with-quotas  --with-aio-support  --with-libiconv==/usr/local \
--with-pam \
--with-winbind \
--with-readline \
--with-lockdir=/var/opt/samba3/locks \
--with-statedir=/var/opt/samba3/locks \
--with-cachedir=/var/opt/samba3/cache \
--with-piddir=/var/opt/samba3/locks \
--with-logfilebase=/var/opt/samba3/log \
ac_cv_lib_rt_fdatasync=no \
ac_cv_have_fdatasync_decl=no \
ac_cv_lib_ext_rt_fdatasync=no \
CPPFLAGS='-I/opt/krb5/include' LDFLAGS='-L/opt/krb5/lib -Wl,+b,/opt/krb5/lib -lkrb5 -lk5crypto -lcom_err'

 

I forgot: i use gcc gnu for compile(aCC HP and free CC hp fail both)

and hpux standard make for make(i used also gmake,nothing change)

Thanks for help

Dennis Handly
Acclaimed Contributor

Re: Samba4: no way?

Is there conditional compilation that causes _nss_winbind_initgroups_dyn to not be defined in nsswitch/winbind_nss_linux.c?

Your search above shows it's on two lines.

uxbeginner22
Trusted Contributor

Re: Samba4: no way?

I don't know,

i try to recompile with different options.

 

uxbeginner22
Trusted Contributor

Re: Samba4: no way?

Nothing to do

 

nm -n libnss_winbind.so*|grep _nss_winbind_initgroups_dyn
[185]    |            0|       0|FUNC |GLOB |0|   UNDEF|_nss_winbind_initgroups_dyn

 

Dennis Handly
Acclaimed Contributor

Re: Samba4: no way?

>I try to recompile with different options.

 

Look at the source around those two declarations.   Also look around the call sites.