I can still not get net ads working with Solaris 8. With the new CVS code and the mod to timegm in ldap.c The ned ads command now fails with Clock Skew, Preauthentication failed, invalid credentials even though the Machines are sync'd in time. Previous failure message when mktime was substituted for timegm was Preauthentication failed, invalid credentials. Any help on this would be appreciated.
Thanks in advance Clive --------------------------------------------------------------------- Clive Elsum BAppSc, RHCE Systems Engineer - Information Technology Group CSIRO Atmospheric Research PMB 1, Aspendale, Victoria, Australia 3195 Phone : (+61 3) 9239 4509 Fax: (+61 3) 9239 4444 E-mail [EMAIL PROTECTED] --------------------------------------------------------------------- -----Original Message----- From: [EMAIL PROTECTED] [mailto:Clive.Elsum@;csiro.au] Sent: Wednesday, 13 November 2002 3:53 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: Trying to join a Solaris 8 box to Windows 2000 AD. Andrew, I got the latest CVS code. Had to copy the alpha20 versions of configure.* to get this version to configure. I had to remove the AUTHLIBS=@AUTHLIBS@ statement from the Makefile. The timegm problem has gone away. The latest gdb output. GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "sparc-sun-solaris2.8"... /usr/local/samba/lib/19461: No such file or directory. Attaching to program `/proc/19461/object/a.out', process 19461 Reading symbols from /usr/lib/libsec.so.1...done. Loaded symbols for /usr/lib/libsec.so.1 Reading symbols from /usr/lib/libgen.so.1...done. Loaded symbols for /usr/lib/libgen.so.1 Reading symbols from /usr/lib/libresolv.so.2...done. Loaded symbols for /usr/lib/libresolv.so.2 Reading symbols from /usr/lib/libsocket.so.1...done. Loaded symbols for /usr/lib/libsocket.so.1 Reading symbols from /usr/lib/libnsl.so.1...done. Loaded symbols for /usr/lib/libnsl.so.1 Reading symbols from /usr/lib/libdl.so.1...done. Loaded symbols for /usr/lib/libdl.so.1 Reading symbols from /usr/local/krb5/lib/libkrb5.so.3...done. Loaded symbols for /usr/local/krb5/lib/libkrb5.so.3 Reading symbols from /usr/local/krb5/lib/libcom_err.so.3...done. Loaded symbols for /usr/local/krb5/lib/libcom_err.so.3 Reading symbols from /usr/local/krb5/lib/libk5crypto.so.3...done. Loaded symbols for /usr/local/krb5/lib/libk5crypto.so.3 Reading symbols from /usr/local/krb5/lib/libgssapi_krb5.so.2 Reading symbols from /usr/local/lib/libgcc_s.so.1...done. Loaded symbols for /usr/local/lib/libgcc_s.so.1 Reading symbols from /usr/local/ssl/lib/libssl.so.0.9.6...done. Loaded symbols for /usr/local/ssl/lib/libssl.so.0.9.6 Reading symbols from /usr/local/ssl/lib/libcrypto.so.0.9.6...done. Loaded symbols for /usr/local/ssl/lib/libcrypto.so.0.9.6 Reading symbols from /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1...done. Loaded symbols for /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1 Retry #1: Retry #2: Retry #3: Retry #4: [New LWP 1] Symbols already loaded for /usr/lib/libsec.so.1 Symbols already loaded for /usr/lib/libgen.so.1 Symbols already loaded for /usr/lib/libresolv.so.2 Symbols already loaded for /usr/lib/libsocket.so.1 Symbols already loaded for /usr/lib/libnsl.so.1 Symbols already loaded for /usr/lib/libdl.so.1 Symbols already loaded for /usr/local/krb5/lib/libkrb5.so.3 Symbols already loaded for /usr/local/krb5/lib/libcom_err.so.3 Symbols already loaded for /usr/local/krb5/lib/libk5crypto.so.3 Symbols already loaded for /usr/local/krb5/lib/libgssapi_krb5.so.2 Symbols already loaded for /usr/local/ldap/lib/liblber.so.2 Symbols already loaded for /usr/local/ldap/lib/libldap.so.2 Symbols already loaded for /usr/lib/libpam.so.1 Symbols already loaded for /usr/lib/libc.so.1 Symbols already loaded for /usr/lib/libmp.so.2 Symbols already loaded for /usr/local/lib/libgcc_s.so.1 Symbols already loaded for /usr/local/ssl/lib/libssl.so.0.9.6 Symbols already loaded for /usr/local/ssl/lib/libcrypto.so.0.9.6 Symbols already loaded for /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1 0xff01b844 in _waitid () from /usr/lib/libc.so.1 #0 0xff01b844 in _waitid () from /usr/lib/libc.so.1 No symbol table info available. #1 0xfefd5d00 in _waitpid () from /usr/lib/libc.so.1 No symbol table info available. #2 0xff01113c in system () from /usr/lib/libc.so.1 No symbol table info available. #3 0x61268 in smb_panic (why=0xf31a8 "internal error") at lib/util.c:1344 cmd = 0x193c00 "/usr/openwin/bin/xterm -display :0.0 -e gdb -x /usr/local/gdbcmds /proc/19461/object/a.out 19461 || gdb -x /usr/local/gdbcmds /proc/19461/object/a.out 19461 | mail root" result = 1653760 #4 0x4f4ac in fault_report (sig=11) at lib/fault.c:41 counter = 1 #5 0x4f504 in sig_fault (sig=11) at lib/fault.c:61 No locals. #6 <signal handler called> No symbol table info available. #7 0xff0506bc in exit () from /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1 No symbol table info available. #8 0xff235554 in process_gethost () from /usr/lib/libnsl.so.1 No symbol table info available. #9 0xff235388 in _door_gethostbyname_r () from /usr/lib/libnsl.so.1 No symbol table info available. #10 0xff21af10 in _get_hostserv_inetnetdir_byname () from /usr/lib/libnsl.so.1 No symbol table info available. #11 0xff2348d0 in gethostbyname_r () from /usr/lib/libnsl.so.1 No symbol table info available. #12 0x517fc in sys_gethostbyname (name=0x194ee8 "") at lib/system.c:513 No locals. #13 0x60e18 in interpret_addr (str=0xffbeeb98 "nxact1-bm.nexus.csiro.au") at lib/util.c:1040 hp = (struct hostent *) 0xf5609 res = 2423128848 #14 0x60f40 in interpret_addr2 ( str=0xffffffff <Address 0xffffffff out of bounds>) at lib/util.c:1065 ret = {S_un = {S_un_b = {s_b1 = 144 '\220', s_b2 = 110 'n', s_b3 = 3 '\003', s_b4 = 16 '\020'}, S_un_w = {s_w1 = 36974, s_w2 = 784}, S_addr = 2423128848}} a = 4294967295 #15 0xe267c in ads_try_dns (ads=0x194790) at libads/ldap.c:154 port = 389 c_realm = 0x185 <Address 0x185 out of bounds> ptr = 0x194d49 "nxact1-gu.nexus.csiro.au:389 nxvic1-fa.nexus.csiro.au:389 worf.nexus.csiro.au:389 nxact1-bt.nexus.csiro.au:389 nxnsw1-mv.nexus.csiro.au:389 nxqld1-nd.nexus.csiro.au:389 nxact1-yf.nexus.csiro.au:389 nx"... realm = 0x130 <Address 0x130 out of bounds> list = 0x1948e8 "nxtst1-tt.nexus.csiro.au:389 nxwa1-wf.nexus.csiro.au:389 147141-be.nexus.csiro.au:389 nxnsw1-ri.nexus.csiro.au:389 nxqld1-rh.nexus.csiro.au:389 nxnsw1-cj.nexus.csiro.au:389 nxvic1-fy.nexus.csiro.au:38"... tok = "nxact1-bm.nexus.csiro.au\000389\000�������\000\aDP��,�", '\000' <repeats 15 times>, "\027", '\000' <repeats 29 times>, "\023�H\000\000\000\001\000\000\000\027\000\023�\220\000\000\000\000\000\000 \000\000���@\000\005\203L\000\000\000\t\000\000\000\003\000\000'\020����\000 \000\000\001\000\031X\200\000\000\000\224\000\000\000\000\005\000\002\003\02 0\000\000\000\000�\000\000\000\000\000\002", '\000' <repeats 33 times>, "\023�\220\000\0170h���p\000\000\000S\000\000\000\021��\"P���\000\004��", '\000' <repeats 11 times>, "\002���"... ip_list = (struct ldap_ip *) 0x193190 count = 389 i = 38 #16 0xe2a18 in ads_connect (ads=0x194790) at libads/ldap.c:254 version = 3 status = {error_type = 4278334252, err = {rc = 1037162097, nt_status = {v = 1037162097}}, minor_status = 967592} #17 0x3df5c in ads_cached_connection (domain=0x192560) at nsswitch/winbindd_ads.c:68 ads = (ADS_STRUCT *) 0x194790 status = {error_type = 1243136, err = {rc = 0, nt_status = {v = 0}}, minor_status = 0} #18 0x3fcb8 in domain_sid (domain=0x192560, sid=0x192760) at nsswitch/winbindd_ads.c:628 ads = (ADS_STRUCT *) 0x0 rc = {error_type = 1651088, err = {rc = 0, nt_status = {v = 0}}, minor_status = 0} #19 0x37ef4 in domain_sid (domain=0x192560, sid=0x192760) at nsswitch/winbindd_cache.c:962 cache = (struct winbind_cache *) 0x192560 #20 0x35794 in init_domain_list () at nsswitch/winbindd_util.c:215 result = {v = 1219744} domain = (struct winbindd_domain *) 0x192560 #21 0x2fb10 in winbind_setup_common () at nsswitch/winbindd.c:694 No locals. #22 0x2ff48 in main (argc=1, argv=0xffbef8ac) at nsswitch/winbindd.c:845 logfile = "/usr/local/samba/var/log.winbindd\000\\L", '\000' <repeats 24 times>, "��?���bp", '\000' <repeats 20 times>, "��������\000\000\000\000\000\000\000\000�����3�\f��\212\230\000\000\000\000 \000\000\000\001\000\000\000\002\000\000\000\002���x", '\000' <repeats 44 times>, "�,\030\030�,\030\224\000\000\000\001\000\001ux\000\000\000\000���(�<�h", '\000' <repeats 13 times>, " \002\000\000\000\000\000 \000\000\000\000\000\000\001\000\000\000\001�+\b\004�+\b\000\000\000\000\000 �����>\e\224", '\000' <repeats 12 times>... interactive = 0 opt = 962040 Thanks in advance, Clive --------------------------------------------------------------------- Clive Elsum BAppSc, RHCE Systems Engineer - Information Technology Group CSIRO Atmospheric Research PMB 1, Aspendale, Victoria, Australia 3195 Phone : (+61 3) 9239 4509 Fax: (+61 3) 9239 4444 E-mail [EMAIL PROTECTED] --------------------------------------------------------------------- -----Original Message----- From: Andrew Bartlett [mailto:abartlet@;samba.org] Sent: Wednesday, 13 November 2002 11:25 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Trying to join a Solaris 8 box to Windows 2000 AD. On Wed, 2002-11-13 at 11:11, [EMAIL PROTECTED] wrote: > One other thing I keep meaning to mention Andrew, I had to replace timegm > with mktime in libads/ldap.c as Solaris does not recognize timegm OK. Can we take a step back then and move to current HEAD? That bug is fixed, and perhaps your issue is fixed too. Andrew Bartlett -- Andrew Bartlett [EMAIL PROTECTED] Manager, Authentication Subsystems, Samba Team [EMAIL PROTECTED] Student Network Administrator, Hawker College [EMAIL PROTECTED] http://samba.org http://build.samba.org http://hawkerc.net
