# gdb `which net` ./core.3541 ... Core was generated by `net -d10 ads join -U administrator%root'. Program terminated with signal 11, Segmentation fault. #0 0x00002b6b3fbd2e4d in strupper_m () (gdb) bt #0 0x00002b6b3fbd2e4d in strupper_m () #1 0x00002b6b3fba7203 in create_local_private_krb5_conf_for_domain () #2 0x00002b6b3fdfd969 in ?? () #3 0x00002b6b3fdff37b in libnet_Join () #4 0x00002b6b3f9a43b8 in net_ads_join () #5 0x00002b6b3f9a2a00 in net_ads () #6 0x00002b6b3f9a1a72 in main () If no realm is specified we segfault. We should gracefully fail and print and error.
Created attachment 9117 [details] v3-6-test and v4-x-test patch
Comment on attachment 9117 [details] v3-6-test and v4-x-test patch Looks good to me.
Karolin, could you please add the patch to 3.6, 4.0 and 4.1? Thanks!
(In reply to comment #3) > Karolin, could you please add the patch to 3.6, 4.0 and 4.1? Thanks! Pushed to autobuild-v4-1-test and autobuild-v4-0-test. Needs to be pushed to v3-6-test after the release of Samba 3.6.18.
Pushed to v4-1-test, v4-0-test and v3-6-test. Closing out bug report. Thanks!
*** Bug 10102 has been marked as a duplicate of this bug. ***
This bug showed me, when I was trying to join classical domain with command for joining the AD (which could be printed along).