./net ads join fail in Samba3.0.28a.

karthikeyan.chetty at wipro.com karthikeyan.chetty at wipro.com
Tue Apr 14 05:01:17 GMT 2009


Hi Team,

   Linux is not join to AD with Non admin User till samba3.0.28,

Fix is given in samba3.0.28a, I don't know the exact fix which is given
for Linux Join to AD with Non admin user,

I merge few files from samba3.0.28a to samba3.0.28, After compiling the
code I did ./net ads join.

It is throwing stack corruption error, Please find attached the error.

Could any one please tell me what is the reason for failure or exact fix
which is given in samba3.0.28a for Join Linux to AD with Non admin user?

 

Thanks in Advance,

N.S.Karthikeyan

 

 


Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

www.wipro.com
-------------- next part --------------
[root at Linuz bin]# ./net ads join -U karthi%wipro at 123
Failed to join domain: Improperly formed account name
*** glibc detected *** ./net: free(): invalid pointer: 0x0018b7f0 ***
======= Backtrace: =========
/lib/libc.so.6[0x59f424]
/lib/libc.so.6(__libc_free+0x77)[0x59f95f]
/lib/libcom_err.so.2(remove_error_table+0x4b)[0x1b3abb]
/usr/lib/libkrb5.so.3[0x129823]
/usr/lib/libkrb5.so.3[0x1295c7]
/usr/lib/libkrb5.so.3[0x17a3ba]
/lib/ld-linux.so.2[0xd5d058]
/lib/libc.so.6(exit+0xc5)[0x566c69]
/lib/libc.so.6(__libc_start_main+0xce)[0x550dee]
./net[0x91837d]
======= Memory map: ========
00111000-00112000 r-xp 00111000 00:00 0
00112000-00115000 r-xp 00000000 fd:00 5953340    /lib/libcap.so.1.10
00115000-00116000 rwxp 00002000 fd:00 5953340    /lib/libcap.so.1.10
00116000-00118000 r-xp 00000000 fd:00 5953320    /lib/libdl-2.3.5.so
00118000-00119000 r-xp 00001000 fd:00 5953320    /lib/libdl-2.3.5.so
00119000-0011a000 rwxp 00002000 fd:00 5953320    /lib/libdl-2.3.5.so
0011a000-00189000 r-xp 00000000 fd:00 612889     /usr/lib/libkrb5.so.3.2
00189000-0018c000 rwxp 0006e000 fd:00 612889     /usr/lib/libkrb5.so.3.2
0018c000-001af000 r-xp 00000000 fd:00 612888     /usr/lib/libk5crypto.so.3.0
001af000-001b0000 rwxp 00023000 fd:00 612888     /usr/lib/libk5crypto.so.3.0
001b0000-001b2000 r-xp 00000000 fd:00 602134     /usr/lib/libkrb5support.so.0.0
001b2000-001b3000 rwxp 00001000 fd:00 602134     /usr/lib/libkrb5support.so.0.0
001b3000-001b5000 r-xp 00000000 fd:00 5953326    /lib/libcom_err.so.2.1
001b5000-001b6000 rwxp 00001000 fd:00 5953326    /lib/libcom_err.so.2.1
001b6000-001c8000 r-xp 00000000 fd:00 612869     /usr/lib/libz.so.1.2.2.2
001c8000-001c9000 rwxp 00011000 fd:00 612869     /usr/lib/libz.so.1.2.2.2
001c9000-001cb000 r-xp 00000000 fd:00 654355     /usr/lib/gconv/UTF-16.so
001cb000-001cd000 rwxp 00001000 fd:00 654355     /usr/lib/gconv/UTF-16.so
001cd000-001cf000 r-xp 00000000 fd:00 654262     /usr/lib/gconv/IBM850.so
001cf000-001d1000 rwxp 00001000 fd:00 654262     /usr/lib/gconv/IBM850.so
001d1000-001da000 r-xp 00000000 fd:00 5952181    /lib/libnss_files-2.3.5.so
001da000-001db000 r-xp 00008000 fd:00 5952181    /lib/libnss_files-2.3.5.so
001db000-001dc000 rwxp 00009000 fd:00 5952181    /lib/libnss_files-2.3.5.so
001dc000-001e0000 r-xp 00000000 fd:00 5952178    /lib/libnss_dns-2.3.5.so
001e0000-001e1000 r-xp 00003000 fd:00 5952178    /lib/libnss_dns-2.3.5.so
001e1000-001e2000 rwxp 00004000 fd:00 5952178    /lib/libnss_dns-2.3.5.so
001e2000-001eb000 r-xp 00000000 fd:00 5953322    /lib/libgcc_s-4.0.0-20050520.so.1
001eb000-001ec000 rwxp 00009000 fd:00 5953322    /lib/libgcc_s-4.0.0-20050520.so.1
00285000-0028a000 r-xp 00000000 fd:00 5953330    /lib/libcrypt-2.3.5.so
0028a000-0028b000 r-xp 00004000 fd:00 5953330    /lib/libcrypt-2.3.5.so
0028b000-0028c000 rwxp 00005000 fd:00 5953330    /lib/libcrypt-2.3.5.so
0028c000-002b3000 rwxp 0028c000 00:00 0
00309000-00318000 r-xp 00000000 fd:00 5953323    /lib/libresolv-2.3.5.so
00318000-00319000 r-xp 0000e000 fd:00 5953323    /lib/libresolv-2.3.5.so
00319000-0031a000 rwxp 0000f000 fd:00 5953323    /lib/libresolv-2.3.5.so
0031a000-0031c000 rwxp 0031a000 00:00 0
003a2000-003e0000 r-xp 00000000 fd:00 595698     /usr/lib/libncurses.so.5.4
003e0000-003e9000 rwxp 0003d000 fd:00 595698     /usr/lib/libncurses.so.5.4
0049e000-004b0000 r-xp 00000000 fd:00 5953329    /lib/libnsl-2.3.5.so
004b0000-004b1000 r-xp 00011000 fd:00 5953329    /lib/libnsl-2.3.5.so
004b1000-004b2000 rwxp 00012000 fd:00 5953329    /lib/libnsl-2.3.5.so
004b2000-004b4000 rwxp 004b2000 00:00 0
00525000-0053b000 r-xp 00000000 fd:00 612890     /usr/lib/libgssapi_krb5.so.2.2
0053b000-0053c000 rwxp 00016000 fd:00 612890     /usr/lib/libgssapi_krb5.so.2.2
0053c000-00660000 r-xp 00000000 fd:00 5953318    /lib/libc-2.3.5.so
00660000-00662000 r-xp 00124000 fd:00 5953318    /lib/libc-2.3.5.so
00662000-00664000 rwxp 00126000 fd:00 5953318    /lib/libc-2.3.5.so
00664000-00666000 rwxp 00664000 00:00 0
006c5000-006f9000 r-xp 00000000 fd:00 612900     /usr/lib/libldap-2.2.so.7.0.16
006f9000-006fb000 rwxp 00033000 fd:00 612900     /usr/lib/libldap-2.2.so.7.0.16
00746000-0077b000 r-xp 00000000 fd:00 5953328    /lib/libssl.so.0.9.7f
0077b000-0077e000 rwxp 00035000 fd:00 5953328    /lib/libssl.so.0.9.7f
0077e000-00876000 r-xp 00000000 fd:00 5953327    /lib/libcrypto.so.0.9.7f
00876000-00888000 rwxp 000f8000 fd:00 5953327    /lib/libcrypto.so.0.9.7f
00888000-0088b000 rwxp 00888000 00:00 0
008d8000-00af2000 r-xp 00000000 fd:00 1776627    /usr/local/samba3.0.28/bin/net
00af2000-00b07000 rwxp 0021a000 fd:00 1776627    /usr/local/samba3.0.28/bin/net
00b07000-00b1a000 rwxp 00b07000 00:00 0
00c00000-00c15000 r-xp 00000000 fd:00 612899     /usr/lib/libsasl2.so.2.0.20
00c15000-00c16000 rwxp 00015000 fd:00 612899     /usr/lib/libsasl2.so.2.0.20
00c23000-00c2a000 r-xp 00000000 fd:00 600019     /usr/lib/libpopt.so.0.0.0
00c2a000-00c2b000 rwxp 00006000 fd:00 600019     /usr/lib/libpopt.so.0.0.0
00d4f000-00d69000 r-xp 00000000 fd:00 5953317    /lib/ld-2.3.5.so
00d69000-00d6a000 r-xp 00019000 fd:00 5953317    /lib/ld-2.3.5.so
00d6a000-00d6b000 rwxp 0001a000 fd:00 5953317    /lib/ld-2.3.5.so
00e7c000-00ea3000 r-xp 00000000 fd:00 612921     /usr/lib/libreadline.so.5.0
00ea3000-00ea7000 rwxp 00027000 fd:00 612921     /usr/lib/libreadline.so.5.0
00ea7000-00ea8000 rwxp 00ea7000 00:00 0
00f47000-00f54000 r-xp 00000000 fd:00 595396     /usr/lib/liblber-2.2.so.7.0.16
00f54000-00f55000 rwxp 0000c000 fd:00 595396     /usr/lib/liblber-2.2.so.7.0.16
09a25000-09a89000 rw-p 09a25000 00:00 0          [heap]
b7b00000-b7b21000 rw-p b7b00000 00:00 0
b7b21000-b7c00000 ---p b7b21000 00:00 0
b7cf7000-b7cf8000 rw-p b7cf7000 00:00 0
b7cf8000-b7cf9000 rw-s 00000000 fd:00 2751445    /usr/local/samba3.0.28/var/locks/gencache.tdb
b7cf9000-b7cfa000 rw-s 00000000 fd:00 2495383    /usr/local/samba3.0.28/tdbstore/secrets.tdb
b7cfa000-b7d0a000 r--s 00000000 fd:00 1677910    /usr/local/samba3.0.28/lib/valid.dat
b7d0a000-b7d10000 r--s 00000000 fd:00 654384     /usr/lib/gconv/gconv-modules.cache
b7d10000-b7f10000 r--p 00000000 fd:00 591721     /usr/lib/locale/locale-archive
b7f10000-b7f30000 r--s 00000000 fd:00 1677907    /usr/local/samba3.0.28/lib/lowcase.dat
b7f30000-b7f35000 rw-p b7f30000 00:00 0
b7f38000-b7f58000 r--s 00000000 fd:00 1677909    /usr/local/samba3.0.28/lib/upcase.dat
b7f58000-b7f59000 rw-p b7f58000 00:00 0
bfc43000-bfc59000 rw-p bfc43000 00:00 0          [stack]
Aborted


More information about the samba-technical mailing list