From: Volker Lendecke on 9 Nov 2009 16:40 On Mon, Nov 09, 2009 at 03:26:12PM -0600, Paras pradhan wrote: > ./configure.developer stucks at building iconv. > > here is the o/p: > lib/iconv.c: In function `iconv_swab': > lib/iconv.c:498: implicit declaration of function `swab' > The following command failed: > gcc -I/opt/local/include -O2 -g -g -Wall -Wshadow -Wpointer-arith > -Wcast-align -Wwrite-strings -DDEBUG_PASSWORD -DDEVELOPER > -Werror-implicit-function-declaration -I. > -I/usr/local/samba-3.4.3/source3 > -I/usr/local/samba-3.4.3/source3/iniparser/src -Iinclude -I./include > -I. -I. -I./../lib/replace -I./../lib/talloc -I./../lib/tevent > -I./../lib/tdb/include -I./libaddns -I./librpc -I./.. -DHAVE_CONFIG_H > -I/opt/local/include -I/opt/local/include -D_LARGEFILE_SOURCE > -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DLDAP_DEPRECATED -DSUNOS5 > -I/usr/local/samba-3.4.3/source3/lib -I.. -I../source4 > -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 -fPIC -c lib/iconv.c -o > lib/iconv.o > make: *** [lib/iconv.o] Error 1 > -- > > But if i use ./configure it is working. Then try "CFLAGS=-g ./configure" Volker
From: Paras pradhan on 10 Nov 2009 17:50 It seems like compiling with -g option takes gigabytes of space in source directory which I can not afford at this time. I managed to install gdb and here is what gdb has to say: -- root(a)web # gdb ./net core GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "sparc-sun-solaris2.9"... warning: Can't read pathname for load map: I/O error. Reading symbols from /usr/lib/libthread.so.1...done. Loaded symbols for /lib/libthread.so.1 Reading symbols from /usr/lib/libsendfile.so.1...done. Loaded symbols for /lib/libsendfile.so.1 Reading symbols from /usr/lib/libresolv.so.2...done. Loaded symbols for /lib/libresolv.so.2 Reading symbols from /usr/lib/librt.so.1...done. Loaded symbols for /lib/librt.so.1 Reading symbols from /usr/lib/libdl.so.1...done. Loaded symbols for /lib/libdl.so.1 Reading symbols from /usr/lib/libnsl.so.1...done. Loaded symbols for /lib/libnsl.so.1 Reading symbols from /usr/lib/libsocket.so.1...done. Loaded symbols for /lib/libsocket.so.1 Reading symbols from /opt/local/lib/libiconv.so.2...done. Loaded symbols for /opt/local/lib/libiconv.so.2 Reading symbols from /opt/local/lib/libgssapi_krb5.so.2...done. Loaded symbols for /opt/local/lib/libgssapi_krb5.so.2 Reading symbols from /opt/local/lib/libkrb5.so.3...done. Loaded symbols for /opt/local/lib/libkrb5.so.3 Reading symbols from /opt/local/lib/libk5crypto.so.3...done. Loaded symbols for /opt/local/lib/libk5crypto.so.3 Reading symbols from /opt/local/lib/libcom_err.so.3...done. Loaded symbols for /opt/local/lib/libcom_err.so.3 Reading symbols from /opt/local/lib/libldap-2.4.so.2...done. Loaded symbols for /opt/local/lib/libldap-2.4.so.2 Reading symbols from /opt/local/lib/liblber-2.4.so.2...done. Loaded symbols for /opt/local/lib/liblber-2.4.so.2 Reading symbols from /opt/local/samba/lib/libtalloc.so...done. Loaded symbols for /opt/local/samba/lib/libtalloc.so Reading symbols from /opt/local/samba/lib/libtdb.so...done. Loaded symbols for /opt/local/samba/lib/libtdb.so Reading symbols from /opt/local/samba/lib/libwbclient.so...done. Loaded symbols for /opt/local/samba/lib/libwbclient.so Reading symbols from /usr/lib/libz.so.1...done. Loaded symbols for /lib/libz.so.1 Reading symbols from /usr/lib/libc.so.1...done. Loaded symbols for /lib/libc.so.1 Reading symbols from /usr/lib/libaio.so.1...done. Loaded symbols for /lib/libaio.so.1 Reading symbols from /usr/lib/libmd5.so.1...done. Loaded symbols for /lib/libmd5.so.1 Reading symbols from /usr/lib/libmp.so.2...done. Loaded symbols for /lib/libmp.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 /opt/local/lib/libkrb5support.so.0...done. Loaded symbols for /opt/local/lib/libkrb5support.so.0 Reading symbols from /usr/lib/libgen.so.1...done. Loaded symbols for /lib/libgen.so.1 Reading symbols from /usr/platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1...done. Loaded symbols for /usr/platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1 warning: Can't read pathname for load map: I/O error. warning: Can't read pathname for load map: I/O error. Core was generated by `./net ads user'. Program terminated with signal 10, Bus error. [New process 80487 ] #0 0xfed47cac in _free_unlocked () from /lib/libc.so.1 (gdb) ------ Actual command was: ../net ads join -U samba Thanks! Paras. On Mon, Nov 9, 2009 at 3:33 PM, Volker Lendecke <Volker.Lendecke(a)sernet.de> wrote: > On Mon, Nov 09, 2009 at 03:26:12PM -0600, Paras pradhan wrote: >> ./configure.developer stucks at building iconv. >> >> here is the o/p: >> lib/iconv.c: In function `iconv_swab': >> lib/iconv.c:498: implicit declaration of function `swab' >> The following command failed: >> gcc -I/opt/local/include -O2 -g -g -Wall -Wshadow -Wpointer-arith >> -Wcast-align -Wwrite-strings -DDEBUG_PASSWORD -DDEVELOPER >> -Werror-implicit-function-declaration -I. >> -I/usr/local/samba-3.4.3/source3 >> -I/usr/local/samba-3.4.3/source3/iniparser/src -Iinclude -I./include >> -I. -I. -I./../lib/replace -I./../lib/talloc -I./../lib/tevent >> -I./../lib/tdb/include -I./libaddns -I./librpc -I./.. -DHAVE_CONFIG_H >> -I/opt/local/include -I/opt/local/include -D_LARGEFILE_SOURCE >> -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DLDAP_DEPRECATED -DSUNOS5 >> -I/usr/local/samba-3.4.3/source3/lib -I.. -I../source4 >> -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 -fPIC -c lib/iconv.c -o >> lib/iconv.o >> make: *** [lib/iconv.o] Error 1 >> -- >> >> But if i use ./configure it is working. > > Then try "CFLAGS=-g ./configure" > > Volker > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
From: Volker Lendecke on 11 Nov 2009 04:40 On Tue, Nov 10, 2009 at 04:48:04PM -0600, Paras pradhan wrote: > It seems like compiling with -g option takes gigabytes of space in > source directory which I can not afford at this time. > > I managed to install gdb and here is what gdb has to say: > > -- > root(a)web # gdb ./net core > GNU gdb 6.8 > Copyright (C) 2008 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. Type "show copying" > and "show warranty" for details. > This GDB was configured as "sparc-sun-solaris2.9"... > > warning: Can't read pathname for load map: I/O error. > Reading symbols from /usr/lib/libthread.so.1...done. > Loaded symbols for /lib/libthread.so.1 > Reading symbols from /usr/lib/libsendfile.so.1...done. > Loaded symbols for /lib/libsendfile.so.1 > Reading symbols from /usr/lib/libresolv.so.2...done. > Loaded symbols for /lib/libresolv.so.2 > Reading symbols from /usr/lib/librt.so.1...done. > Loaded symbols for /lib/librt.so.1 > Reading symbols from /usr/lib/libdl.so.1...done. > Loaded symbols for /lib/libdl.so.1 > Reading symbols from /usr/lib/libnsl.so.1...done. > Loaded symbols for /lib/libnsl.so.1 > Reading symbols from /usr/lib/libsocket.so.1...done. > Loaded symbols for /lib/libsocket.so.1 > Reading symbols from /opt/local/lib/libiconv.so.2...done. > Loaded symbols for /opt/local/lib/libiconv.so.2 > Reading symbols from /opt/local/lib/libgssapi_krb5.so.2...done. > Loaded symbols for /opt/local/lib/libgssapi_krb5.so.2 > Reading symbols from /opt/local/lib/libkrb5.so.3...done. > Loaded symbols for /opt/local/lib/libkrb5.so.3 > Reading symbols from /opt/local/lib/libk5crypto.so.3...done. > Loaded symbols for /opt/local/lib/libk5crypto.so.3 > Reading symbols from /opt/local/lib/libcom_err.so.3...done. > Loaded symbols for /opt/local/lib/libcom_err.so.3 > Reading symbols from /opt/local/lib/libldap-2.4.so.2...done. > Loaded symbols for /opt/local/lib/libldap-2.4.so.2 > Reading symbols from /opt/local/lib/liblber-2.4.so.2...done. > Loaded symbols for /opt/local/lib/liblber-2.4.so.2 > Reading symbols from /opt/local/samba/lib/libtalloc.so...done. > Loaded symbols for /opt/local/samba/lib/libtalloc.so > Reading symbols from /opt/local/samba/lib/libtdb.so...done. > Loaded symbols for /opt/local/samba/lib/libtdb.so > Reading symbols from /opt/local/samba/lib/libwbclient.so...done. > Loaded symbols for /opt/local/samba/lib/libwbclient.so > Reading symbols from /usr/lib/libz.so.1...done. > Loaded symbols for /lib/libz.so.1 > Reading symbols from /usr/lib/libc.so.1...done. > Loaded symbols for /lib/libc.so.1 > Reading symbols from /usr/lib/libaio.so.1...done. > Loaded symbols for /lib/libaio.so.1 > Reading symbols from /usr/lib/libmd5.so.1...done. > Loaded symbols for /lib/libmd5.so.1 > Reading symbols from /usr/lib/libmp.so.2...done. > Loaded symbols for /lib/libmp.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 /opt/local/lib/libkrb5support.so.0...done. > Loaded symbols for /opt/local/lib/libkrb5support.so.0 > Reading symbols from /usr/lib/libgen.so.1...done. > Loaded symbols for /lib/libgen.so.1 > Reading symbols from /usr/platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1...done. > Loaded symbols for /usr/platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1 > > warning: Can't read pathname for load map: I/O error. > > warning: Can't read pathname for load map: I/O error. > Core was generated by `./net ads user'. > Program terminated with signal 10, Bus error. > [New process 80487 ] > #0 0xfed47cac in _free_unlocked () from /lib/libc.so.1 > (gdb) > ------ Can you issue a "bt full"? Thanks, Volker
From: Paras pradhan on 11 Nov 2009 10:40 Here is the output of bt full. But as samba is not compiled with -g option, I think the output will be useful . (gdb) bt full #0 0xfed47cac in _free_unlocked () from /lib/libc.so.1 No symbol table info available. #1 0xfed47c64 in free () from /lib/libc.so.1 No symbol table info available. #2 0xfeef66a8 in ber_memvfree_x (vec=0x612628, ctx=0x0) at memory.c:180 i = 3 #3 0x004286ec in ads_sasl_bind () No symbol table info available. #4 0x0041f128 in ads_connect () No symbol table info available. #5 0x00070520 in ads_startup_int () No symbol table info available. #6 0x0007079c in ads_startup () No symbol table info available. #7 0x00071474 in net_ads_user () No symbol table info available. #8 0x0009b640 in net_run_function () No symbol table info available. #9 0x00074618 in net_ads () No symbol table info available. #10 0x0009b640 in net_run_function () No symbol table info available. #11 0x0006fac4 in main () No symbol table info available. (gdb) Thanks Paras. On Wed, Nov 11, 2009 at 3:31 AM, Volker Lendecke <Volker.Lendecke(a)sernet.de> wrote: > On Tue, Nov 10, 2009 at 04:48:04PM -0600, Paras pradhan wrote: >> It seems like compiling with -g option takes gigabytes of space in >> source directory which I can not afford at this time. >> >> I managed to install gdb and here is what gdb has to say: >> >> -- >> root(a)web # gdb ./net core >> GNU gdb 6.8 >> Copyright (C) 2008 Free Software Foundation, Inc. >> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >> This is free software: you are free to change and redistribute it. >> There is NO WARRANTY, to the extent permitted by law. Type "show copying" >> and "show warranty" for details. >> This GDB was configured as "sparc-sun-solaris2.9"... >> >> warning: Can't read pathname for load map: I/O error. >> Reading symbols from /usr/lib/libthread.so.1...done. >> Loaded symbols for /lib/libthread.so.1 >> Reading symbols from /usr/lib/libsendfile.so.1...done. >> Loaded symbols for /lib/libsendfile.so.1 >> Reading symbols from /usr/lib/libresolv.so.2...done. >> Loaded symbols for /lib/libresolv.so.2 >> Reading symbols from /usr/lib/librt.so.1...done. >> Loaded symbols for /lib/librt.so.1 >> Reading symbols from /usr/lib/libdl.so.1...done. >> Loaded symbols for /lib/libdl.so.1 >> Reading symbols from /usr/lib/libnsl.so.1...done. >> Loaded symbols for /lib/libnsl.so.1 >> Reading symbols from /usr/lib/libsocket.so.1...done. >> Loaded symbols for /lib/libsocket.so.1 >> Reading symbols from /opt/local/lib/libiconv.so.2...done. >> Loaded symbols for /opt/local/lib/libiconv.so.2 >> Reading symbols from /opt/local/lib/libgssapi_krb5.so.2...done. >> Loaded symbols for /opt/local/lib/libgssapi_krb5.so.2 >> Reading symbols from /opt/local/lib/libkrb5.so.3...done. >> Loaded symbols for /opt/local/lib/libkrb5.so.3 >> Reading symbols from /opt/local/lib/libk5crypto.so.3...done. >> Loaded symbols for /opt/local/lib/libk5crypto.so.3 >> Reading symbols from /opt/local/lib/libcom_err.so.3...done. >> Loaded symbols for /opt/local/lib/libcom_err.so.3 >> Reading symbols from /opt/local/lib/libldap-2.4.so.2...done. >> Loaded symbols for /opt/local/lib/libldap-2.4.so.2 >> Reading symbols from /opt/local/lib/liblber-2.4.so.2...done. >> Loaded symbols for /opt/local/lib/liblber-2.4.so.2 >> Reading symbols from /opt/local/samba/lib/libtalloc.so...done. >> Loaded symbols for /opt/local/samba/lib/libtalloc.so >> Reading symbols from /opt/local/samba/lib/libtdb.so...done. >> Loaded symbols for /opt/local/samba/lib/libtdb.so >> Reading symbols from /opt/local/samba/lib/libwbclient.so...done. >> Loaded symbols for /opt/local/samba/lib/libwbclient.so >> Reading symbols from /usr/lib/libz.so.1...done. >> Loaded symbols for /lib/libz.so.1 >> Reading symbols from /usr/lib/libc.so.1...done. >> Loaded symbols for /lib/libc.so.1 >> Reading symbols from /usr/lib/libaio.so.1...done. >> Loaded symbols for /lib/libaio.so.1 >> Reading symbols from /usr/lib/libmd5.so.1...done. >> Loaded symbols for /lib/libmd5.so.1 >> Reading symbols from /usr/lib/libmp.so.2...done. >> Loaded symbols for /lib/libmp.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 /opt/local/lib/libkrb5support.so.0...done. >> Loaded symbols for /opt/local/lib/libkrb5support.so.0 >> Reading symbols from /usr/lib/libgen.so.1...done. >> Loaded symbols for /lib/libgen.so.1 >> Reading symbols from /usr/platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1....done. >> Loaded symbols for /usr/platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1 >> >> warning: Can't read pathname for load map: I/O error. >> >> warning: Can't read pathname for load map: I/O error. >> Core was generated by `./net ads user'. >> Program terminated with signal 10, Bus error. >> [New process 80487 ] >> #0 0xfed47cac in _free_unlocked () from /lib/libc.so.1 >> (gdb) >> ------ > > Can you issue a "bt full"? > > Thanks, > > Volker > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > > iEYEARECAAYFAkr6hHkACgkQbZMKAi3WUklwUgCfbgaWnXjqpV8jiXnRcKceKDpu > 7kcAoJoUmsDyuZvim4+bygs8YQyhVwld > =6xLV > -----END PGP SIGNATURE----- > > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
From: Paras pradhan on 11 Nov 2009 15:50 Volker, Finally I managed to compile samba with -g. here is the full list including bt full o/p -------------------------------------------- root(a)web # gdb ./net core GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "sparc-sun-solaris2.9"... warning: Can't read pathname for load map: I/O error. Reading symbols from /usr/lib/libthread.so.1...done. Loaded symbols for /lib/libthread.so.1 Reading symbols from /usr/lib/libsendfile.so.1...done. Loaded symbols for /lib/libsendfile.so.1 Reading symbols from /usr/lib/libresolv.so.2...done. Loaded symbols for /lib/libresolv.so.2 Reading symbols from /usr/lib/librt.so.1...done. Loaded symbols for /lib/librt.so.1 Reading symbols from /usr/lib/libdl.so.1...done. Loaded symbols for /lib/libdl.so.1 Reading symbols from /usr/lib/libnsl.so.1...done. Loaded symbols for /lib/libnsl.so.1 Reading symbols from /usr/lib/libsocket.so.1...done. Loaded symbols for /lib/libsocket.so.1 Reading symbols from /export/home/opt/local/lib/libiconv.so.2...done. Loaded symbols for /export/home/opt/local//lib/libiconv.so.2 Reading symbols from /export/home/opt/local/lib/libgssapi_krb5.so.2...done. Loaded symbols for /export/home/opt/local//lib/libgssapi_krb5.so.2 Reading symbols from /export/home/opt/local/lib/libkrb5.so.3...done. Loaded symbols for /export/home/opt/local//lib/libkrb5.so.3 Reading symbols from /export/home/opt/local/lib/libk5crypto.so.3...done. Loaded symbols for /export/home/opt/local//lib/libk5crypto.so.3 Reading symbols from /export/home/opt/local/lib/libcom_err.so.3...done. Loaded symbols for /export/home/opt/local//lib/libcom_err.so.3 Reading symbols from /export/home/opt/local/lib/libldap-2.4.so.2...done. Loaded symbols for /export/home/opt/local//lib/libldap-2.4.so.2 Reading symbols from /export/home/opt/local/lib/liblber-2.4.so.2...done. Loaded symbols for /export/home/opt/local//lib/liblber-2.4.so.2 Reading symbols from /export/home/opt/local/samba/lib/libtalloc.so...done. Loaded symbols for /export/home/opt/local/samba/lib//libtalloc.so Reading symbols from /export/home/opt/local/samba/lib/libtdb.so...done. Loaded symbols for /export/home/opt/local/samba/lib//libtdb.so Reading symbols from /export/home/opt/local/samba/lib/libwbclient.so...done. Loaded symbols for /export/home/opt/local/samba/lib//libwbclient.so Reading symbols from /usr/lib/libz.so.1...done. Loaded symbols for /lib/libz.so.1 Reading symbols from /usr/lib/libc.so.1...done. Loaded symbols for /lib/libc.so.1 Reading symbols from /usr/lib/libaio.so.1...done. Loaded symbols for /lib/libaio.so.1 Reading symbols from /usr/lib/libmd5.so.1...done. Loaded symbols for /lib/libmd5.so.1 Reading symbols from /usr/lib/libmp.so.2...done. Loaded symbols for /lib/libmp.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 /export/home/opt/local/lib/libkrb5support.so.0...done. Loaded symbols for /export/home/opt/local//lib/libkrb5support.so.0 Reading symbols from /usr/lib/libgen.so.1...done. Loaded symbols for /lib/libgen.so.1 Reading symbols from /usr/platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1...done. Loaded symbols for /usr/platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1 warning: Can't read pathname for load map: I/O error. warning: Can't read pathname for load map: I/O error. Core was generated by `./net ads join -U samba'. Program terminated with signal 10, Bus error. [New process 84922 ] #0 0xfed47cac in _free_unlocked () from /lib/libc.so.1 (gdb) ---------------------------------------- (gdb) bt full #0 0xfed47cac in _free_unlocked () from /lib/libc.so.1 No symbol table info available. #1 0xfed47c64 in free () from /lib/libc.so.1 No symbol table info available. #2 0xfeef66a8 in ber_memvfree_x (vec=0x9967e8, ctx=0x0) at memory.c:180 i = 3 #3 0x00738394 in ads_sasl_bind (ads=0x99dac0) at libads/sasl.c:1114 attrs = {0x9322b8 "supportedSASLMechanisms", 0x0} values = (char **) 0x9967e8 status = {error_type = ENUM_ADS_ERROR_LDAP, err = {rc = 0, nt_status = {v = 0}}, minor_status = 0} i = 0 j = 1 res = (LDAPMessage *) 0x9976c0 #4 0x00728230 in ads_connect (ads=0x99dac0) at libads/ldap.c:711 version = 3 status = {error_type = ENUM_ADS_ERROR_LDAP, err = {rc = 0, nt_status = {v = 0}}, minor_status = 0} ntstatus = {v = 0} addr = "130.184.16.50\000] \000\231?\000\000\231??\000\000\001?\000\000\000\003\000\000\000#\000\000\000\000\000\000\000\001\000" #5 0x00728454 in ads_connect_user_creds (ads=0x99dac0) at libads/ldap.c:734 No locals. #6 0x007b1e68 in libnet_connect_ads (dns_domain_name=0x99e6e8 "domain.edu", netbios_domain_name=0x99e600 "GACL", dc_name=0x99ccb8 "Virgo.domain.edu", user_name=0x995ae0 "samba", password=0xfedc2f6c "W1nd0AD", ads=0x99ac8c) at libnet/libnet_join.c:121 status = {error_type = ENUM_ADS_ERROR_KRB5, err = {rc = 0, nt_status = {v = 0}}, minor_status = -4198104} my_ads = (ADS_STRUCT *) 0x99dac0 #7 0x007b1f8c in libnet_join_connect_ads (mem_ctx=0x999e80, r=0x99ac58) at libnet/libnet_join.c:139 status = {error_type = 4290769320, err = {rc = 10072504, nt_status = {v = 10072504}}, minor_status = 10053512} #8 0x007b39bc in libnet_join_post_processing_ads (mem_ctx=0x999e80, r=0x99ac58) at libnet/libnet_join.c:574 status = {error_type = ENUM_ADS_ERROR_GSS, err = {rc = -4197887, nt_status = {v = 4290769409}}, minor_status = 1257975501} #9 0x007b68ac in libnet_join_post_processing (mem_ctx=0x999e80, r=0x99ac58) at libnet/libnet_join.c:1530 ads_status = {error_type = 10071128, err = {rc = 9837720, nt_status = {v = 9837720}}, minor_status = 10071440} werr = {v = 0} #10 0x007b7a48 in libnet_Join (mem_ctx=0x999e80, r=0x99ac58) at libnet/libnet_join.c:1887 werr = {v = 0} #11 0x000749d8 in net_ads_join (c=0x995868, argc=0, argv=0x9966f4) at utils/net_ads.c:1285 ctx = (TALLOC_CTX *) 0x999e80 r = (struct libnet_JoinCtx *) 0x99ac58 domain = 0x999df0 "DOMAIN.EDU" werr = {v = 0} createupn = false machineupn = 0x0 create_in_ou = 0x0 i = 0 ---Type <return> to continue, or q <return> to quit--- os_name = 0x0 os_version = 0x0 modify_config = false #12 0x000b41f4 in net_run_function (c=0x995868, argc=1, argv=0x9966f0, whoami=0x82fbb8 "net ads", table=0xffbff4e0) at utils/net_util.c:573 i = 1 #13 0x000779e8 in net_ads (c=0x995868, argc=1, argv=0x9966f0) at utils/net_ads.c:2567 func = {{funcname = 0x82d358 "info", fn = 0x70f1c <net_ads_info>, valid_transports = 8, description = 0x82f508 "Display details on remote ADS server", usage = 0x82f530 "net ads info\n Display details on remote ADS server"}, { funcname = 0x82f568 "join", fn = 0x74458 <net_ads_join>, valid_transports = 8, description = 0x82f570 "Join the local machine to ADS realm", usage = 0x82f598 "net ads join\n Join the local machine to ADS realm"}, {funcname = 0x82f5d0 "testjoin", fn = 0x740ac <net_ads_testjoin>, valid_transports = 8, description = 0x82f5e0 "Validate machine account", usage = 0x82f600 "net ads testjoin\n Validate machine account"}, { funcname = 0x82f630 "leave", fn = 0x73b1c <net_ads_leave>, valid_transports = 8, description = 0x82f638 "Remove the local machine from ADS", usage = 0x82f660 "net ads leave\n Remove the local machine from ADS"}, {funcname = 0x82f698 "status", fn = 0x738b8 <net_ads_status>, valid_transports = 8, description = 0x82f6a0 "Display machine account details", usage = 0x82f6c0 "net ads status\n Display machine account details"}, {funcname = 0x82f6f8 "user", fn = 0x72bd0 <net_ads_user>, valid_transports = 8, description = 0x82f700 "List/modify users", usage = 0x82f718 "net ads user\n List/modify users"}, { funcname = 0x82f740 "group", fn = 0x735c8 <net_ads_group>, valid_transports = 8, description = 0x82f748 "List/modify groups", usage = 0x82f760 "net ads group\n List/modify groups"}, {funcname = 0x82f788 "dns", fn = 0x74c54 <net_ads_dns>, valid_transports = 8, description = 0x82f790 "Issue dynamic DNS update", usage = 0x82f7b0 "net ads dns\n Issue dynamic DNS update"}, { funcname = 0x82f7e0 "password", fn = 0x75ebc <net_ads_password>, valid_transports = 8, description = 0x82f7f0 "Change user passwords", usage = 0x82f808 "net ads password\n Change user passwords"}, {funcname = 0x82f838 "changetrustpw", fn = 0x762d4 <net_ads_changetrustpw>, valid_transports = 8, description = 0x82f848 "Change trust account password", usage = 0x82f868 "net ads changetrustpw\n Change trust account password"}, {funcname = 0x82f8a0 "printer", fn = 0x75e40 <net_ads_printer>, valid_transports = 8, description = 0x82f8a8 "List/modify printer entries", usage = 0x82f8c8 "net ads printer\n List/modify printer entries"}, {funcname = 0x82e6f0 "search", fn = 0x76764 <net_ads_search>, valid_transports = 8, description = 0x82f8f8 "Issue LDAP search using filter", usage = 0x82f918 "net ads search\n Issue LDAP search using filter"}, {funcname = 0x82f950 "dn", fn = 0x76a2c <net_ads_dn>, valid_transports = 8, description = 0x82f958 "Issue LDAP search by DN", usage = 0x82f970 "net ads dn\n Issue LDAP search by DN"}, { funcname = 0x82f998 "sid", fn = 0x76cf8 <net_ads_sid>, valid_transports = 8, description = 0x82f9a0 "Issue LDAP search by SID", usage = 0x82f9c0 "net ads sid\n Issue LDAP search by SID"}, {funcname = 0x82f9f0 "workgroup", fn = 0x71aa4 <net_ads_workgroup>, valid_transports = 8, description = 0x82fa00 "Display workgroup name", usage = 0x82fa18 "net ads workgroup\n Display the workgroup name"}, { funcname = 0x82fa50 "lookup", fn = 0x70d80 <net_ads_lookup>, valid_transports = 8, description = 0x82fa58 "Perfom CLDAP query on DC", usage = 0x82fa78 "net ads lookup\n Find the ADS DC using CLDAP lookups"}, {funcname = 0x82fab0 "keytab", fn = 0x77464 <net_ads_keytab>, valid_transports = 8, description = 0x82fab8 "Manage local keytab file", usage = 0x82fad8 "net ads keytab\n Manage local keytab file"}, { funcname = 0x82fb08 "gpo", fn = 0xb7fc4 <net_ads_gpo>, valid_transports = 8, description = 0x82fb10 "Manage group policy objects", usage = 0x82fb30 "net ads gpo\n Manage group policy objects"}, {funcname = 0x82fb60 "kerberos", fn = 0x77900 <net_ads_kerberos>, valid_transports = 8, description = 0x82fb70 "Manage kerberos keytab", usage = 0x82fb88 "net ads kerberos\n Manage kerberos keytab"}, { funcname = 0x0, fn = 0, valid_transports = 0, description = 0x0, usage = 0x0}} #14 0x000b41f4 in net_run_function (c=0x995868, argc=2, argv=0x9966ec, whoami=0x82cad0 "net", table=0x988c18) at utils/net_util.c:573 i = 2 #15 0x00070614 in main (argc=5, argv=0xffbffc2c) at utils/net.c:777 opt = -1 ---Type <return> to continue, or q <return> to quit--- i = 3 p = 0x0 rc = 0 argc_new = 3 argv_new = (const char **) 0x9966e8 pc = (poptContext) 0x996548 frame = (TALLOC_CTX *) 0x995830 c = (struct net_context *) 0x995868 long_options = {{longName = 0x82c840 "help", shortName = 104 'h', argInfo = 0, arg = 0x0, val = 104, descrip = 0x0, argDescrip = 0x0}, { longName = 0x82c8c0 "workgroup", shortName = 119 'w', argInfo = 1, arg = 0x9958b0, val = 0, descrip = 0x0, argDescrip = 0x0}, { longName = 0x82baf8 "user", shortName = 85 'U', argInfo = 1, arg = 0x995874, val = 85, descrip = 0x0, argDescrip = 0x0}, { longName = 0x82c8d0 "ipaddress", shortName = 73 'I', argInfo = 1, arg = 0x0, val = 73, descrip = 0x0, argDescrip = 0x0}, { longName = 0x82c8e0 "port", shortName = 112 'p', argInfo = 2, arg = 0x995890, val = 0, descrip = 0x0, argDescrip = 0x0}, { longName = 0x82c8e8 "myname", shortName = 110 'n', argInfo = 1, arg = 0x995868, val = 0, descrip = 0x0, argDescrip = 0x0}, { longName = 0x82b990 "server", shortName = 83 'S', argInfo = 1, arg = 0x99586c, val = 0, descrip = 0x0, argDescrip = 0x0}, { longName = 0x82c8f0 "encrypt", shortName = 101 'e', argInfo = 0, arg = 0x0, val = 101, descrip = 0x82c8f8 "Encrypt SMB transport (UNIX extended servers only)", argDescrip = 0x0}, {longName = 0x82c930 "container", shortName = 99 'c', argInfo = 1, arg = 0x9958a0, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x82c940 "comment", shortName = 67 'C', argInfo = 1, arg = 0x99589c, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x82c948 "maxusers", shortName = 77 'M', argInfo = 2, arg = 0x995898, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x82c958 "flags", shortName = 70 'F', argInfo = 2, arg = 0x9958a4, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x82c960 "long", shortName = 108 'l', argInfo = 0, arg = 0x995880, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x82c968 "reboot", shortName = 114 'r', argInfo = 0, arg = 0x995884, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x82c970 "force", shortName = 102 'f', argInfo = 0, arg = 0x995888, val = 0, descrip = 0x0, argDescrip = 0x0}, { longName = 0x82c978 "stdin", shortName = 105 'i', argInfo = 0, arg = 0x99588c, val = 0, descrip = 0x0, argDescrip = 0x0}, { longName = 0x82c980 "timeout", shortName = 116 't', argInfo = 2, arg = 0x9958a8, val = 0, descrip = 0x0, argDescrip = 0x0}, { longName = 0x82c988 "request-timeout", shortName = 0 '\0', argInfo = 2, arg = 0x9958ac, val = 0, descrip = 0x0, argDescrip = 0x0}, { longName = 0x82c998 "machine-pass", shortName = 80 'P', argInfo = 0, arg = 0x9958b4, val = 0, descrip = 0x0, argDescrip = 0x0}, { longName = 0x82c9a8 "kerberos", shortName = 107 'k', argInfo = 0, arg = 0x9958e4, val = 0, descrip = 0x0, argDescrip = 0x0}, { longName = 0x82c9b8 "myworkgroup", shortName = 87 'W', argInfo = 1, arg = 0x99587c, val = 0, descrip = 0x0, argDescrip = 0x0}, { longName = 0x82c9c8 "verbose", shortName = 118 'v', argInfo = 0, arg = 0x995894, val = 0, descrip = 0x0, argDescrip = 0x0}, { longName = 0x82c9d0 "test", shortName = 84 'T', argInfo = 0, arg = 0x9958e0, val = 0, descrip = 0x0, argDescrip = 0x0}, { longName = 0x82c9d8 "local", shortName = 76 'L', argInfo = 0, arg = 0x9958b8, val = 0, descrip = 0x0, argDescrip = 0x0}, { longName = 0x82ba08 "domain", shortName = 68 'D', argInfo = 0, arg = 0x9958bc, val = 0, descrip = 0x0, argDescrip = 0x0}, { longName = 0x82c9e0 "ntname", shortName = 78 'N', argInfo = 1, arg = 0x9958c4, val = 0, descrip = 0x0, argDescrip = 0x0}, { longName = 0x82c9e8 "rid", shortName = 82 'R', argInfo = 2, arg = 0x9958c8, val = 0, descrip = 0x0, argDescrip = 0x0}, { longName = 0x82c9f0 "acls", shortName = 0 '\0', argInfo = 0, arg = 0x9958cc, val = 0, descrip = 0x0, argDescrip = 0x0}, { longName = 0x82c9f8 "attrs", shortName = 0 '\0', argInfo = 0, arg = 0x9958d0, val = 0, descrip = 0x0, argDescrip = 0x0}, { longName = 0x82ca00 "timestamps", shortName = 0 '\0', argInfo = 0, arg = 0x9958d4, val = 0, descrip = 0x0, argDescrip = 0x0}, { longName = 0x82ca10 "exclude", shortName = 88 'X', argInfo = 1, arg = 0x9958d8, val = 0, descrip = 0x0, argDescrip = 0x0}, { longName = 0x82ca18 "destination", shortName = 0 '\0', argInfo = 1, arg = 0x9958dc, val = 0, descrip = 0x0, argDescrip = 0x0}, { longName = 0x82ca28 "tallocreport", shortName = 0 '\0', argInfo = 0, arg = 0x9958c0, val = 0, descrip = 0x0, argDescrip = 0x0}, { longName = 0x82ca38 "force-full-repl", shortName = 0 '\0', argInfo = 0, arg = 0x9958e8, val = 0, descrip = 0x0, argDescrip = 0x0}, { ---Type <return> to continue, or q <return> to quit--- longName = 0x82ca48 "single-obj-repl", shortName = 0 '\0', argInfo = 0, arg = 0x9958ec, val = 0, descrip = 0x0, argDescrip = 0x0}, { longName = 0x82ca58 "clean-old-entries", shortName = 0 '\0', argInfo = 0, arg = 0x9958f0, val = 0, descrip = 0x0, argDescrip = 0x0}, { longName = 0x0, shortName = 0 '\0', argInfo = 4, arg = 0x988064, val = 0, descrip = 0x82ca70 "Common samba options:", argDescrip = 0x0}, { longName = 0x0, shortName = 0 '\0', argInfo = 0, arg = 0x0, val = 0, descrip = 0x0, argDescrip = 0x0}} (gdb) (gdb) ------------ Thanks ! Paras. On Wed, Nov 11, 2009 at 9:30 AM, Paras pradhan <pradhanparas(a)gmail.com> wrote: > Here is the output of bt full. But as samba is not compiled with -g > option, I think the output will be useful . > > (gdb) bt full > #0 0xfed47cac in _free_unlocked () from /lib/libc.so.1 > No symbol table info available. > #1 0xfed47c64 in free () from /lib/libc.so.1 > No symbol table info available. > #2 0xfeef66a8 in ber_memvfree_x (vec=0x612628, ctx=0x0) at memory.c:180 > i = 3 > #3 0x004286ec in ads_sasl_bind () > No symbol table info available. > #4 0x0041f128 in ads_connect () > No symbol table info available. > #5 0x00070520 in ads_startup_int () > No symbol table info available. > #6 0x0007079c in ads_startup () > No symbol table info available. > #7 0x00071474 in net_ads_user () > No symbol table info available. > #8 0x0009b640 in net_run_function () > No symbol table info available. > #9 0x00074618 in net_ads () > No symbol table info available. > #10 0x0009b640 in net_run_function () > No symbol table info available. > #11 0x0006fac4 in main () > No symbol table info available. > (gdb) > > > Thanks > Paras. > > On Wed, Nov 11, 2009 at 3:31 AM, Volker Lendecke > <Volker.Lendecke(a)sernet.de> wrote: >> On Tue, Nov 10, 2009 at 04:48:04PM -0600, Paras pradhan wrote: >>> It seems like compiling with -g option takes gigabytes of space in >>> source directory which I can not afford at this time. >>> >>> I managed to install gdb and here is what gdb has to say: >>> >>> -- >>> root(a)web # gdb ./net core >>> GNU gdb 6.8 >>> Copyright (C) 2008 Free Software Foundation, Inc. >>> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl..html> >>> This is free software: you are free to change and redistribute it. >>> There is NO WARRANTY, to the extent permitted by law. Type "show copying" >>> and "show warranty" for details. >>> This GDB was configured as "sparc-sun-solaris2.9"... >>> >>> warning: Can't read pathname for load map: I/O error. >>> Reading symbols from /usr/lib/libthread.so.1...done. >>> Loaded symbols for /lib/libthread.so.1 >>> Reading symbols from /usr/lib/libsendfile.so.1...done. >>> Loaded symbols for /lib/libsendfile.so.1 >>> Reading symbols from /usr/lib/libresolv.so.2...done. >>> Loaded symbols for /lib/libresolv.so.2 >>> Reading symbols from /usr/lib/librt.so.1...done. >>> Loaded symbols for /lib/librt.so.1 >>> Reading symbols from /usr/lib/libdl.so.1...done. >>> Loaded symbols for /lib/libdl.so.1 >>> Reading symbols from /usr/lib/libnsl.so.1...done. >>> Loaded symbols for /lib/libnsl.so.1 >>> Reading symbols from /usr/lib/libsocket.so.1...done. >>> Loaded symbols for /lib/libsocket.so.1 >>> Reading symbols from /opt/local/lib/libiconv.so.2...done. >>> Loaded symbols for /opt/local/lib/libiconv.so.2 >>> Reading symbols from /opt/local/lib/libgssapi_krb5.so.2...done. >>> Loaded symbols for /opt/local/lib/libgssapi_krb5.so.2 >>> Reading symbols from /opt/local/lib/libkrb5.so.3...done. >>> Loaded symbols for /opt/local/lib/libkrb5.so.3 >>> Reading symbols from /opt/local/lib/libk5crypto.so.3...done. >>> Loaded symbols for /opt/local/lib/libk5crypto.so.3 >>> Reading symbols from /opt/local/lib/libcom_err.so.3...done. >>> Loaded symbols for /opt/local/lib/libcom_err.so.3 >>> Reading symbols from /opt/local/lib/libldap-2.4.so.2...done. >>> Loaded symbols for /opt/local/lib/libldap-2.4.so.2 >>> Reading symbols from /opt/local/lib/liblber-2.4.so.2...done. >>> Loaded symbols for /opt/local/lib/liblber-2.4.so.2 >>> Reading symbols from /opt/local/samba/lib/libtalloc.so...done. >>> Loaded symbols for /opt/local/samba/lib/libtalloc.so >>> Reading symbols from /opt/local/samba/lib/libtdb.so...done. >>> Loaded symbols for /opt/local/samba/lib/libtdb.so >>> Reading symbols from /opt/local/samba/lib/libwbclient.so...done. >>> Loaded symbols for /opt/local/samba/lib/libwbclient.so >>> Reading symbols from /usr/lib/libz.so.1...done. >>> Loaded symbols for /lib/libz.so.1 >>> Reading symbols from /usr/lib/libc.so.1...done. >>> Loaded symbols for /lib/libc.so.1 >>> Reading symbols from /usr/lib/libaio.so.1...done. >>> Loaded symbols for /lib/libaio.so.1 >>> Reading symbols from /usr/lib/libmd5.so.1...done. >>> Loaded symbols for /lib/libmd5.so.1 >>> Reading symbols from /usr/lib/libmp.so.2...done. >>> Loaded symbols for /lib/libmp.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 /opt/local/lib/libkrb5support.so.0...done. >>> Loaded symbols for /opt/local/lib/libkrb5support.so.0 >>> Reading symbols from /usr/lib/libgen.so.1...done. >>> Loaded symbols for /lib/libgen.so.1 >>> Reading symbols from /usr/platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1....done. >>> Loaded symbols for /usr/platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1 >>> >>> warning: Can't read pathname for load map: I/O error. >>> >>> warning: Can't read pathname for load map: I/O error. >>> Core was generated by `./net ads user'. >>> Program terminated with signal 10, Bus error. >>> [New process 80487 ] >>> #0 0xfed47cac in _free_unlocked () from /lib/libc.so.1 >>> (gdb) >>> ------ >> >> Can you issue a "bt full"? >> >> Thanks, >> >> Volker >> >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.4.9 (GNU/Linux) >> >> iEYEARECAAYFAkr6hHkACgkQbZMKAi3WUklwUgCfbgaWnXjqpV8jiXnRcKceKDpu >> 7kcAoJoUmsDyuZvim4+bygs8YQyhVwld >> =6xLV >> -----END PGP SIGNATURE----- >> >> > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 Prev: [Samba] bus error Next: [Samba] Samba + LDAP error in windows xp while ACL |