| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
With big thanks to tpot for the ethereal disector, and for the base code
behind this, we now fully support NTLMv2 as a client.
In particular, we support it with direct domain logons (tested with ntlm_auth
--diagnostics), with 'old style' session setups, and with NTLMSSP.
In fact, for NTLMSSP we recycle one of the parts of the server's reply directly...
(we might need to parse for unicode issues later).
In particular, a Win2k domain controller now supplies us with a session key
for this password, which means that doman joins, and non-spnego SMB signing
are now supported with NTLMv2!
Andrew Bartlett
|
|
|
|
| |
users and groups.
|
| |
|
|
|
|
|
|
| |
LMv2 response less than 24 bytes is just silly.
Andrew Bartlett
|
|
|
|
|
|
| |
same here.
Andrew Bartlett
|
|
|
|
|
|
| |
one element longer than the domain sid.
Andrew Bartlett
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- auth with ntlmv2 and lmv2 but deliberately break the ntlmv2 hash
- auth with ntlmv2 and lmv2 but deliberately break the lmv2 hash
- auth with ntlm and lm but deliberately break the ntlm hash
- auth with ntlm and lm but deliberately break the lm hash
My theory is that the NTLM or NTLMv2 field must be correct and if it is,
it doesn't matter what the value of the LM or LMv2 field is.
Fixed cosmetic test name display bug.
|
|
|
|
| |
Now the build farm will no doubt find more.
|
|
|
|
|
|
|
| |
then we weren't always correctly detecting that it had a valid stat struct
and so might now return a 'file existed'. Finally realized this when installing
the W2K resource kit as a test case.
Jeremy.
|
| |
|
| |
|
|
|
|
| |
to link during configure checks.
|
|
|
|
| |
Volker
|
|
|
|
|
|
|
|
|
| |
important once we start doing schannel, as there would be a lot more
roundtrips for the second PIPE open and bind. With this patch logging
in to a member server is a matter of two (three if you count the
ack...) packets between us and the DC.
Volker
|
|
|
|
|
|
|
|
| |
the other infrastructure with name owners etc in place. If anybody is
really going to tackle winsrepld, it will probably not be hard to put
the additional info back.
Volker
|
| |
|
|
|
|
| |
Andrew Bartlett
|
|
|
|
|
|
|
|
| |
this world than 'status more entires'...
Also move all the cases to 'NT_STATUS_EQUAL()' to test it.
Andrew Bartlett
|
|
|
|
|
| |
are identical - noticed by "Dr. Tilo Levante" <tilo@levante.de>.
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(well, under certain conditions :-)
There is no length limit on the size of the authentication response added
into the MD5 hash. (We had previously limited this to lengths like 40, 44 or
64 in attempts to make sense of what the SNIA spec tells us).
Instead, the entire authentication response is added in.
Currently, this only works on a Win2k domain members with a Samba PDC,
becouse our NTLMv2 code currently fails against an Win2k PDC.
However, this splits the problem in half - particularly as the NTLMv2 format
is known, and even has an ethereal disector! (thanks tpot).
Andrew Bartlett
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
lp_workgroup(), for all other server this is global_myname().
This is the name of the domain for accounts on *this* system, and getting
this wrong caused interesting bugs with 'take ownership' on member servers
and standalone servers at Snap.
(They lookup the username that they got, then convert that to a SID - but
becouse the domain out of the smbpasswd entry was wrong, we would fail the
lookup).
Andrew Bartlett
|
| |
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
|
|
| |
servers don't answer that name. However we *know* they
have the name workgroup#1b (as we just looked it up).
So do the node status request on this name instead.
Found at LBL labs.
Jeremy.
|
|\ |
|
| |
| |
| |
| | |
split out privileges from rpc_lsa.h
|
| | |
|
| | |
|
| |
| |
| |
| | |
Rafal
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
directly - fixed problem where the last line of the link command was
'\ @LDAP_LIBS@'. If @LDAP_LIBS@ is zero then the backslash
incorrectly includes the next line of the Makefile in the current
target.
This should fix a bucketload of build farm failures.
|
| | |
|
| |
| |
| |
| |
| | |
Also merged a little bit of abartlet's recent configure.in change of
duplicated IRIX stuff.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
initialisation code in winbindd_init_common() after the fork when
running in dual daemon mode.
The only tricky bit is we have to run a tdb_reopen_all() somewhere in
the child to avoid tdb corruption.
Fixed bug #60.
|
| | |
|
| | |
|
| |
| |
| |
| | |
Andrew Bartlett
|
| |
| |
| |
| |
| |
| |
| | |
debug msg while establishing trust and listing relations of Samba PDC.
Rafal
|
| | |
|
| |
| |
| |
| |
| | |
run the pythoncheck.py test. At the moment this just checks every
python extension can be imported sucessfully.
|
| |
| |
| |
| |
| | |
flags in the $LIBS make variable. Separate the two so the python
extensions can build.
|
| |
| |
| |
| |
| |
| |
| |
| | |
key, so we can test it in ntlm_auth.
I suspect the 'lm' version doesn't exist, but it's easy to change back.
Andrew Bartlett
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Our NTLMv2 client code needs work, becouse we don't get the session key for
any of the NTLMv2 stuff...
Also test some of the more 'odd' auth cases - like putting the NT password
into the LM feild.
Clean up some static globals into static locals.
Andrew Bartlett
|
| | |
|