FC4 Samba and ADS problems
I have duplicated this error several times on multiple computers. I am using FC4 and trying to get Samba going using ADS security. I have successfuly done this several times using FC1 and FC2...untill Windows Server 2003 SP1! Thanks Microsoft. I have modified all the appropriate files previously done in FC1 and FC2. When I type the command "net ads join -U administrator" I get the following error message...
Using short domain name -- workgroup Joined 'FEDORA4' to realm 'DOMAIN.COM' *** glibc detected *** net: free(): invalid pointer: 0x001c8db0 *** ======= Backtrace: ========= /lib/libc.so.6[0x2a8424] /lib/libc.so.6(__libc_free+0x77)[0x2a895f] /lib/libcom_err.so.2(remove_error_table+0x4b)[0x1c9abb] /usr/lib/libkrb5.so.3[0x1668c4] /usr/lib/libkrb5.so.3[0x1665c7] /usr/lib/libkrb5.so.3[0x1b79da] /lib/ld-linux.so.2[0xb29058] /lib/libc.so.6(exit+0xc5)[0x26fc69] /lib/libc.so.6(__libc_start_main+0xce)[0x259dee] net[0x4b7ca1] ======= Memory map: ======== 00111000-00116000 r-xp 00000000 fd:00 590922 /lib/libcrypt-2.3.5.so 00116000-00117000 r-xp 00004000 fd:00 590922 /lib/libcrypt-2.3.5.so 00117000-00118000 rwxp 00005000 fd:00 590922 /lib/libcrypt-2.3.5.so 00118000-0013f000 rwxp 00118000 00:00 0 0013f000-00156000 r-xp 00000000 fd:00 7809706 /usr/lib/libgssapi_krb5.so.2.2 00156000-00157000 rwxp 00017000 fd:00 7809706 /usr/lib/libgssapi_krb5.so.2.2 00157000-001c6000 r-xp 00000000 fd:00 7809705 /usr/lib/libkrb5.so.3.2 001c6000-001c9000 rwxp 0006e000 fd:00 7809705 /usr/lib/libkrb5.so.3.2 001c9000-001cb000 r-xp 00000000 fd:00 590918 /lib/libcom_err.so.2.1 001cb000-001cc000 rwxp 00001000 fd:00 590918 /lib/libcom_err.so.2.1 001cc000-00200000 r-xp 00000000 fd:00 7810827 /usr/lib/libldap-2.2.so.7.0.16 00200000-00202000 rwxp 00033000 fd:00 7810827 /usr/lib/libldap-2.2.so.7.0.16 00202000-0020f000 r-xp 00000000 fd:00 14254945 /usr/lib/liblber-2.2.so.7.0.16 0020f000-00210000 rwxp 0000c000 fd:00 14254945 /usr/lib/liblber-2.2.so.7.0.16 00210000-00222000 r-xp 00000000 fd:00 7807756 /usr/lib/libz.so.1.2.2.2 00222000-00223000 rwxp 00011000 fd:00 7807756 /usr/lib/libz.so.1.2.2.2 00223000-00225000 r-xp 00000000 fd:00 7864595 /usr/lib/gconv/UTF-16.so 00225000-00227000 rwxp 00001000 fd:00 7864595 /usr/lib/gconv/UTF-16.so 00227000-00229000 r-xp 00000000 fd:00 7864502 /usr/lib/gconv/IBM850.so 00229000-0022b000 rwxp 00001000 fd:00 7864502 /usr/lib/gconv/IBM850.so 00232000-00241000 r-xp 00000000 fd:00 590915 /lib/libresolv-2.3.5.so 00241000-00242000 r-xp 0000e000 fd:00 590915 /lib/libresolv-2.3.5.so 00242000-00243000 rwxp 0000f000 fd:00 590915 /lib/libresolv-2.3.5.so 00243000-00245000 rwxp 00243000 00:00 0 00245000-00369000 r-xp 00000000 fd:00 590910 /lib/libc-2.3.5.so 00369000-0036b000 r-xp 00124000 fd:00 590910 /lib/libc-2.3.5.so 0036b000-0036d000 rwxp 00126000 fd:00 590910 /lib/libc-2.3.5.so 0036d000-0036f000 rwxp 0036d000 00:00 0 0036f000-003a4000 r-xp 00000000 fd:00 589953 /lib/libssl.so.0.9.7f 003a4000-003a7000 rwxp 00035000 fd:00 589953 /lib/libssl.so.0.9.7f 003a7000-003b0000 r-xp 00000000 fd:00 589918 /lib/libgcc_s-4.0.1-20050727.so.1 003b0000-003b1000 rwxp 00009000 fd:00 589918 /lib/libgcc_s-4.0.1-20050727.so.1 003f1000-00406000 r-xp 00000000 fd:00 14254946 /usr/lib/libsasl2.so.2.0.20 00406000-00407000 rwxp 00015000 fd:00 14254946 /usr/lib/libsasl2.so.2.0.20 0042a000-0043c000 r-xp 00000000 fd:00 590921 /lib/libnsl-2.3.5.so 0043c000-0043d000 r-xp 00011000 fd:00 590921 /lib/libnsl-2.3.5.so 0043d000-0043e000 rwxp 00012000 fd:00 590921 /lib/libnsl-2.3.5.so 0043e000-00440000 rwxp 0043e000 00:00 0 00488000-00672000 r-xp 00000000 fd:00 7803393 /usr/bin/net 00672000-00683000 rwxp 001ea000 fd:00 7803393 /usr/bin/net 00683000-00693000 rwxp 00683000 00:00 0 00745000-00747000 r-xp 00000000 fd:00 590912 /lib/libdl-2.3.5.so 00747000-00748000 r-xp 00001000 fd:00 590912 /lib/libdl-2.3.5.so 00748000-00749000 rwxp 00002000 fd:00 590912 /lib/libdl-2.3.5.so 007ab000-007af000 r-xp 00000000 fd:00 589874 /lib/libnss_dns-2.3.5.so 007af000-007b0000 r-xp 00003000 fd:00 589874 /lib/libnss_dns-2.3.5.so 007b0000-007b1000 rwxp 00004000 fd:00 589874 /lib/libnss_dns-2.3.5.so 009e1000-009e8000 r-xp 00000000 fd:00 7810431 /usr/lib/libpopt.so.0.0.0 009e8000-009e9000 rwxp 00006000 fd:00 7810431 /usr/lib/libpopt.so.0.0.0 00b1b000-00b35000 r-xp 00000000 fd:00 590850 /lib/ld-2.3.5.so 00b35000-00b36000 r-Aborted I also get the same errot when I upgrade Samba to 3.0.20rc2. On a side note, it also appears that SWAT does not start correctly in FC4 Thanks for any help provided. :confused: Sam |
Have you figured this out? I've run into the exact same problem and am unable to progress any further. I've googled, and tried everything, I even updated samba to the next release candidate 3.20, and it still does the same thing. Here's my dump, in case it might help:
Code:
[root@hostname ~]# net ads join -U [USERNAME] |
I have not tried the Samba team yet. I was hoping to get some results here. There are a couple other treads that dance around this issue. Gut I guess no one has any ideas. I have also search Samba's site and found nothing realated.
Please post some info here if you run accross anything. Thanks, Sam |
I've posted to redhats bugzilla. Search Samba's bugzilla for glibc, or net ads join etc... And you'll see they suggest that this looks like a problem with krb5-libs. I'll be watching the bug and I'll let you know if anything comes up.
|
here's the bug report on redhat's bugzilla: https://bugzilla.redhat.com/bugzilla....cgi?id=164353
|
k, another update, found somebody who fixed it:
http://www.linuxforums.org/forum/top...tml&highlight= I haven't tried yet, but this looks promising. My plan is to update everything envolved using source (except maybe samba, I'm confident it isn't a samba bug). |
Work around...
For libgcc < 4.0: export MALLOC_CHECK=0 For libgcc > 4.0: export MALLOC_CHECK_=0 Hope that helps, Garth |
can you explain what that is doing? Thanks for the info!
|
It would appear that the way in which new versions of glibc handle invalid 'free()' calls has changed. As evidenced by:
*** glibc detected *** net: free(): invalid pointer: 0x00217db0 *** Setting MALLOC_CHECK_=0 essentially silences the error reporting mechanism that returns the error. You could also set MALLOC_CHECK_=1 which would indicate that errors should still be generated, but ignored. This error would seem to stem from a bit of code that doesn't adhere to the new glibc standard but where the actual bug exists remains a mystery (at least to me). Take care, Garth |
Waaahoo!! Just loaded all the recent updates to FC4, reconfigured everthing again, and now it works. Looks like one of the updates has corrected the problem with the scripting errors while joining the Domain. I still had some minor problems with SAMBA and AD but was resolved when I installed SAMBA 3.0.20. You can download the FC4 RPM's from samba.org. I have duplicated my success on another computer just to make sure it was not something querky.
Good Luck! Sam |
All times are GMT -5. The time now is 09:20 AM. |