- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Samba4: no way?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2014 12:41 PM
12-27-2014 12:41 PM
Re: Samba4: no way?
I check the .sl file of samba4(is called with another name but is the same as libwinbind_nss.so)
and there is no problem with unresolved symbols,the problem is samba4 won't compile with krb5
and if compiled with internal heimdal cannot join the samba4 dc server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2014 03:20 PM - edited 12-27-2014 04:30 PM
12-27-2014 03:20 PM - edited 12-27-2014 04:30 PM
Re: Samba4: no way?
"_nss_winbind_initgroups_dyn"
Is possible to remove this call?
Is on linux and solaris header and .c files,but not on hpux header.
I don't understand why is ok on samba4 but not on samba3
is also defined on hp cifs server(wich doesn't work with samba4 ad)
grep nss_winbind_initgroups * -ir Il file binario libnss_winbind.so corrisponde winbind_nss_linux.c:NSS_STATUS _nss_winbind_initgroups_dyn(char *user, gid_t group, long int *start, winbind_nss_linux.c:_nss_winbind_initgroups_dyn(char *user, gid_t group, long int *start, winbind_nss_netbsd.c:NSS_STATUS _nss_winbind_initgroups_dyn(char *user, gid_t group, long int *start, winbind_nss_solaris.c: _nss_winbind_initgroups_dyn(gmem->username, winbind_nss_solaris.h:NSS_STATUS _nss_winbind_initgroups_dyn(char *user, gid_t group, long int *start, Il file binario winbind_nss_solaris.o corrisponde
The libnss_winbind.so is the "broken" file,if i launch winbind with it linked to /usr/lib/hpux32/libnss_winbind.so.1
give the error
/usr/lib/hpux32/dld.so: Unsatisfied code symbol '_nss_winbind_initgroups_dyn' in load module '/usr/lib/hpux32/libnss_winbind.so.1'. Killed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2014 04:31 PM
12-27-2014 04:31 PM
Re: Samba4: no way?
Can be a samba bug?Or a linker bug?
I use gnu gcc from http://hpux.connect.org.uk/
i have tried also the aCC compiler,same result.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2014 10:38 PM
12-27-2014 10:38 PM
Re: Samba4: no way?
>Can be a samba bug? Or a linker bug?
Most likely a samba configuration bug.
If a linker or dld error, you should be able to manually find the shlib that contains that symbol.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2014 08:52 AM
12-28-2014 08:52 AM
Re: Samba4: no way?
Is for sure a samba bug
because samba4 link this symbol fine.
The only problem is samba4 won't compile with mit krb5 so is useless
for my environement.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2014 01:57 PM
12-28-2014 01:57 PM
Re: Samba4: no way?
i found the library with undefined symbol
[27] | 0| 0|FUNC |GLOB |0| UNDEF|./winbind_nss_solaris.o:_nss_winbind_initgroups_dyn [185] | 0| 0|FUNC |GLOB |0| UNDEF|./libnss_winbind.so:_nss_winbind_initgroups_dyn
I don't understand why link a solaris call
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2014 02:47 PM
12-28-2014 02:47 PM
Re: Samba4: no way?
I have removed from configure the line
WINBIND_NSS_EXTRA_OBJS="../nsswitch/winbind_nss_solaris.o"
Compile OK
winbindd -D OK
wbinfo -g ,-u -i OK
wbinfo -i userofsamba OK
id userofsamba...NO :(
Of course i have set nsswitch for winbind
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2014 02:50 PM
12-28-2014 02:50 PM
Re: Samba4: no way?
>I found the library with undefined symbol
These are references not definitions. But winbind_nss_solaris.c is the file with the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2014 03:26 PM
12-28-2014 03:26 PM
Re: Samba4: no way?
Found a solution for missed link
nm -n /usr/lib/hpux32/libnss_winbind.so.1*|grep _nss_winbind_initgroups_dyn [217] | 67179808| 752|FUNC |GLOB |0| .text|_nss_winbind_initgroups_dyn
On configure script of samba i have put the same line of solaris
*solaris*) # Solaris winbind client is implemented as a wrapper around # the Linux version. NSSSONAMEVERSIONSUFFIX=".1" WINBIND_NSS_EXTRA_OBJS="../nsswitch/winbind_nss_solaris.o \ ../nsswitch/winbind_nss_linux.o" ;; *hpux11*) NSSSONAMEVERSIONSUFFIX=".1" WINBIND_NSS_EXTRA_OBJS="../nsswitch/winbind_nss_solaris.o \ ../nsswitch/winbind_nss_linux.o"
But nsswitch still doesn't see the winbind users,lsof report library is loaded
lsof |grep libnss_winbind smbd 29677 root mem REG 128,0x5 148984 82433 /opt/samba3/lib/libnss_winbind.so smbd 29678 root mem REG 128,0x5 148984 82433 /opt/samba3/lib/libnss_winbind.so winbindd 29822 root mem REG 128,0x7 148984 43195 /usr/lib/hpux32/libnss_winbind.so.1 winbindd 29823 root mem REG 128,0x7 148984 43195 /usr/lib/hpux32/libnss_winbind.so.1
passwd: files winbind ldap group: files winbind ldap hosts: dns files wins networks: files ldap protocols: files ldap rpc: files ldap publickey: ldap [NOTFOUND=return] files netgroup: files ldap automount: files ldap aliases: files services: files ldap [root@hpux2 /]# /opt/samba3/bin/wbinfo -i giuseppe giuseppe:*:10000:10000:giuseppe:/home/giuseppe:/usr/local/bin/bash [root@hpux2 /]# id giuseppe Impossibile trovare l'utente giuseppe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2014 02:05 PM - edited 01-01-2015 01:08 PM
12-31-2014 02:05 PM - edited 01-01-2015 01:08 PM
SolutionFinally i found the "true" solution
I try hp cifs server in a clean 11.23(the other was 11.31)
machine..and work perfect.
Id,wbinfo,all without recompiling nothing
On 11.31 only old cifs-server A.03.02.00
works with samba4 server ad