Hello, we are using samba 3.0.9 compiled on debian Woody (up to date): We are trying to join a domain, the net utility just segfaults. The same problem exists in samba 3.0.8. Joining an domain worked in all versions up to samba 3.0.8. I will attatch our smb.conf and the output of "net ads join" with debuglevel 10.
Created attachment 802 [details] output of net ads join
Created attachment 803 [details] our smb.conf
Please provide a backtrace here. The Samba debug output is useful, but we'll also need the backtrace. Also, please see bug #2036, which reported a net ads join segfault, and a fix was checked in. I can't tell without the backtrace if it's the same bug, but just in case, please try the latest SVN.
Jim, There was anotherpatch already checked in for 3.0.10 that fixed a segfault when the something fails with the krb5 libs. In this case, the preauth fails (entering the wrong password) so we end up freeing static memory IIRC. Try this patch: `svn diff -r3794:3796 svnL//svnanon.samba.org/samba/branches/SAMBA_3_0`
(In reply to comment #3) Hello, please can you tell me how to make this backtrace. I just dont know what this is!
Michael, please look at Jerry's comment (#4) about the patch that was already checked in. Please try it out (or get the latest SAMBA_3_0) and close the bug if this fixes it. We'll worry about the backtrace if it doesn't.
(In reply to comment #6) Thank you for the patch! After patching samba3.0.9 "net ads join" did work again.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.