Displaying 4 results from an estimated 4 matches for "tevent_req_is_nterror".
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] "
> "FAILED with error %s\n",
> (state->method ? state->method->ops->name : "NO_METHOD"),
> state->user_info-&g...
2015 Nov 27
0
nitwit's attempt to edit samba source
...jan heupink wrote:
> 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] "
>> "FAILED with error %s\n",
>> (state->method ? state->method->ops->name : "...
2015 Nov 27
2
nitwit's attempt to edit samba source
Hi Viktor!
Thanks for your try at this, I am already doing what you suggest: the
iptables - timestaps. But that is rather troublesome, and I would very
much samba to log this vital info.
Anyway, I tried what you suggested, and now it stopped compiling. :-)
Does this error perhaps tell you something, or are you just as clueless
as I am now:
> [1955/4033] Compiling source4/auth/ntlm/auth.c
2018 Oct 05
2
Samba Panic when accessing share from OSX
...il/fault.c:83
#6 sig_fault (sig=<optimized out>) at ../lib/util/fault.c:94
#7 <signal handler called>
#8 0x00007f5af5e4d277 in __GI_raise (sig=sig at entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#9 0x00007f5af5e4e968 in __GI_abort () at abort.c:90
#10 0x00007f5af8b380b1 in tevent_req_is_nterror
(req=req at entry=0x55f77ed68ce0, status=status at entry=0x7fff8b143510) at
../lib/util/tevent_ntstatus.c:66
#11 0x00007f5af9503d84 in smbd_smb2_flush_recv (req=0x55f77ed68ce0) at
../source3/smbd/smb2_flush.c:211
#12 smbd_smb2_request_flush_done (subreq=0x55f77ed68ce0) at
../source3/smbd/smb2_flush...