- 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
02-24-2014 11:11 AM - last edited on 01-04-2015 05:21 PM by Maiko-I
02-24-2014 11:11 AM - last edited on 01-04-2015 05:21 PM by Maiko-I
i compile fine samba 4.0.5 and 4.1.5
on hpux 11v3
But when i try to join a domain give this error
ads_krb5_mk_req: krb5_cc_get_principal failed (No such file or directory)
Anyone got success on samba4 in hpux?
Thanks
P.S. This thread has been moved from General to HP-UX > languages. - Hp Forum Moderator
Solved! Go to Solution.
- Tags:
- samba
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2014 04:45 PM
02-24-2014 04:45 PM
Re: Samba4: no way?
What kerberos client version are you using?.
Take a look at:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2014 11:59 AM
03-13-2014 11:59 AM
Re: Samba4: no way?
Thanks,now another problem wont compile
./configure[13]: 8212 Errore del bus(coredump) gdb configure core HP gdb 6.3 for HP Itanium (32 or 64 bit) and target HP-UX 11iv2 and 11iv3. Copyright 1986 - 2011 Free Software Foundation, Inc. Hewlett-Packard Wildebeest 6.3 (based on GDB) is covered by the GNU General Public License. Type "show copying" to see the conditions to change it and/or distribute copies. Type "show warranty" for warranty/support. .."/usr/local/src/samba-4.1.6/configure": not in executable format: File format not recognized warning: Unknown symbols for 'core'; use the 'symbol-file' command. Core was generated by `python2.7'. Program terminated with signal 10, Bus error. BUS_ADRALN - Invalid address alignment. Please refer to the following link that helps in handling unaligned data: http://docs.hp.com/en/7730/newhelp0610/pragmas.htm#pragma-pack-ex3 #0 0x60000000c3073811 in <unknown_procedure> ()
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2014 10:12 PM
03-14-2014 10:12 PM
Re: Samba4: no way?
>gdb configure core
>Core was generated by 'python2.7'.
You need to find where python2.7 was installed and add that on the gdb command line:
gdb .../python2.7 core
>BUS_ADRALN - Invalid address alignment. Please refer to the following link that helps in handling unaligned data
This indicates an alignment trap. All data must be on their natural alignment.
Unless steps taken on that URL are used.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2014 07:04 AM
03-15-2014 07:04 AM
Re: Samba4: no way?
Is possible to solve?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2014 10:30 AM
03-15-2014 10:30 AM
Re: Samba4: no way?
>Is possible to solve?
Well, do you really want to debug python problems? If you want to pursue this, you need to invoke gdb correctly and get a better stack trace.
You may want to try another version?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-25-2014 12:38 PM
12-25-2014 12:38 PM
Re: Samba4: no way?
Solution found for python: now two problems
If i use samba4 compiled with hpux krb5-client official give me this error
Failed to join domain: failed to connect to AD: Cannot contact any KDC for requested realm
So i try to compile samba3 or 4 with mit kerberos
Samba4 give this error
Waf: Entering directory `/usr/local/src/samba-4.0.23/bin' Selected system MIT krb5 libraries, Heimdal use is disabled [ 8/2596] Generating VERSION [ 531/2596] Compiling source4/dsdb/samdb/cracknames.c In file included from ../source4/auth/kerberos/kerberos.h:29, from ../source4/dsdb/samdb/cracknames.c:30: ../lib/krb5_wrap/krb5_samba.h:64:1: warning: "AP_OPTS_USE_SUBKEY" redefined In file included from /opt/krb5/include/krb5.h:8, from ../lib/replace/system/kerberos.h:33, from ../source4/auth/kerberos/kerberos.h:26, from ../source4/dsdb/samdb/cracknames.c:30: /opt/krb5/include/krb5/krb5.h:1657:1: warning: this is the location of the previous definition In file included from ../source4/auth/kerberos/kerberos.h:29, from ../source4/dsdb/samdb/cracknames.c:30: ../lib/krb5_wrap/krb5_samba.h:73:2: error: #error UNKNOWN_KRB5_ADDRESS_TYPE Waf: Leaving directory `/usr/local/src/samba-4.0.23/bin' Build failed: -> task failed (err #1): {task: cc cracknames.c -> cracknames_1.o} Makefile:8: recipe for target 'all' failed gmake: *** [all] Error 1
and samba3 this other
"checking configure summary... configure: error: summary failure. Aborting config"
I use for all this line
./configure --prefix=/opt/samba3 --with-lockdir=/var/opt/samba3/locks --with-privatedir=/var/opt/samba3/private --sysconfdir=/etc/opt/samba3 --localstatedir=/var/opt/samba3 --with-krb5=/opt/krb5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-25-2014 02:30 PM
12-25-2014 02:30 PM
Re: Samba4: no way?
Solution found at least for samba3
a)Compile by yourself latest mit-krb5(i have installed it in /opt/krb5
b)configure samba(samba4 give error,samba3 is better)
use gcc from gnu and make from gnu
./configure --prefix=/opt/samba3 --with-lockdir=/var/opt/samba3/locks --with-privatedir=/var/opt/samba3/private --sysconfdir=/etc/opt/samba3 --localstatedir=/var/opt/samba3 --with-krb5=/opt/krb5 CPPFLAGS='-I/opt/krb5/include' LDFLAGS=' -L/opt/krb5/lib -Wl,+b,/opt/krb5/lib -lkrb5 -lk5crypto -lcom_err'
c)Install samba3 and configure as usual for AD
you have to edit krb5.conf and smb.conf like this
[libdefaults] default_realm = DOMINIO.COM dns_lookup_realm = true dns_lookup_kdc = true ticket_lifetime = 24h renew_lifetime = 7d forwardable = true allow_weak_crypto = true default_tgs_enctypes = rc4-hmac des-cbc-crc des-cbc-md5 default_tkt_enctypes = rc4-hmac des-cbc-crc des-cbc-md5 permitted_enctypes = rc4-hmac des-cbc-crc des-cbc-md5 [realms] =DOMINIO.COM { } [domain_realm] .dominio.com = DOMINIO.COM dominio.com = DOMINIO.COM
Then run smbd nmbd winbindd and join ad with net ads join,works fine.
Thanks all for help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-25-2014 04:42 PM
12-25-2014 04:42 PM
Re: Samba4: no way?
I need a last little help.
How to "show" to hpux my nss library?
I use
ln -s /opt/samba3/lib/libnss_winbind.so /usr/lib/libnss_winbind.so.1
but pwget and id don't show winbind users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-25-2014 04:46 PM
12-25-2014 04:46 PM
Re: Samba4: no way?
I make correct link but i have some problems
/usr/lib/hpux32/dld.so: Unsatisfied code symbol '_nss_winbind_initgroups_dyn' in load module '/usr/lib/hpux32/libnss_winbind.so.1'. Killed