search for: tsocket_guid

Displaying 2 results from an estimated 2 matches for "tsocket_guid".

Did you mean: tsocket_guide
2015 Nov 27
0
nitwit's attempt to edit samba source
...ds attemp log lines? > > MJ > My C skills are very basic, and I never even looked at the Samba code till just now. Unlike the other two methods/properties, remote_host seems to return a structure of the type tsocket_address (https://github.com/Memeo/samba-unovero/blob/master/lib/tsocket/tsocket_guide.txt) and might need to be typecasted/converted first. Skimming through some of the source code, try to use the following line instead: state->user_info->remote_host->addr. Really, I'm just guessing. Someone else will hopefully give a more appropriate answer. As a less elegant alt...
2015 Nov 26
2
nitwit's attempt to edit samba source
Hi, Since I really would like some more info (specifically: remote ip address) to be logged with failed password attempts, I have tried to edit the samba source code. :-) Anyway, I changed in source4/auth/ntlm/auth.c > if (tevent_req_is_nterror(req, &status)) { > DEBUG(2,("auth_check_password_recv: " > "%s authentication for user [%s\\%s] " >