Commit graph

8 commits

Author SHA1 Message Date
cinap_lenrek
58aba2a67f cifsd: fix ntlmv2 authentication
in ntlmv2, the client will retry the challenge response trying a bunch
of different domain names assuming the same server challenge. so we have
to make retries work with factotum and the auth server.

also, windows 7 with compatlevel=4 sends all zeros LM response.
2018-05-19 16:40:01 +02:00
cinap_lenrek
036ae2e397 cifsd: smbrename is still ok when file is readonly (fixed git) 2015-06-10 17:18:31 +02:00
cinap_lenrek
c940e98630 experimental ntlmv2 server authenticaion support for cifsd
extending factotums and the auth servers mschap implementation
to handle variable length NT response for NTLMv2.

fix some minor bugs.

only tested with cifs so far.
2013-12-08 02:22:12 +01:00
cinap_lenrek
5cddd21627 cifsd: fix 64bit fileoffset bug
the low 32bit word got *sign-extended* on vlong conversion. m(
2012-10-11 21:38:54 +02:00
cinap_lenrek
b15accceac cifsd: send SMB_COM_NEGOTIATE response like NT 2012-01-15 22:24:50 +01:00
cinap_lenrek
c11bed9f41 cifsd: handle bogus MaxCount in read, wstat archive attribute 2012-01-15 14:31:27 +01:00
cinap_lenrek
260fcc61c0 fix wrong use of qid.type == QTDIR comparsion 2012-01-12 15:15:25 +01:00
cinap_lenrek
4b550911d9 add cifsd 2011-05-09 10:42:20 +00:00