| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
|
| |
| |
| |
| | |
- don't attempt to build winbindd if we can't do shared libs
|
| |
| |
| |
| | |
but a plain old uint32.
|
| |
| |
| |
| | |
(invalid handle) though. )-:
|
| | |
|
| |
| |
| |
| | |
defined. This is done with --enable-developer mode.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
values returned from cli functions. They are converted to NTSTATUS codes
using the error map functions.
Do buffer size loop checks by setting offered = 0 and using the return
value of needed in the next call.
|
| |
| |
| |
| | |
Make the offered and needed buffer size into parameters.
|
| |
| |
| |
| | |
Patch from Alexander Bokovoy <a.bokovoy@sam-solutions.net>
|
| |
| |
| |
| |
| | |
- converted OpenPrinterEx and ClosePrinter to WERROR instead of NT_STATUS
- doc
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
One day I'll get around to refactoring the DOS error handling so it mirrors
the NT error handling code.
|
| | |
|
| |
| |
| |
| | |
to NT_STATUS_UNSUCCESSFUL according to AB's funky new error map.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Apparently (and I will doublecheck) its legal to do an annoymous session setup
when we negoitiated SPNEGO, but we can't do an authenticated one becouse we
didn't give a challange.
Andrew Bartlett
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The auth_authsupplied_info typedef is now just a plain struct - auth_context,
but it has been modified to contain the function pointers to the rest
of the auth subsystem's components.
(Who needs non-static functions anyway?)
In working all this mess out, I fixed a number of memory leaks and moved the
entire auth subsystem over to talloc().
Note that the TALLOC_CTX attached to the auth_context can be rather long-lived,
it is provided for things that are intended to live as long. (The
global_negprot_auth_context lasts the whole life of the smbd).
I've also adjusted a few things in auth_domain.c, mainly passing the domain as
a paramater to a few functions instead of looking up lp_workgroup(). I'm
hopign to make this entire thing a bit more trusted domains (as PDC) freindly
in the near future.
Other than that, I moved a bit of the code around, hence the rather messy diff.
Andrew Bartlett
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Also change the structure so it has its own (optional) 'free' pointer - so we
don't free() a talloc'ed version.
also split out the data_blob_clear() functionaility.
Andrew Bartlett
|
| |
| |
| |
| |
| | |
This applies only to the NT->Dos map, I'm still trying to come up with a way to
do the reverse.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
This just turns of SPNGO becouse Win2k breaks if you attempt this and DOS
errors at the same time.
Andrew Bartlett
|
| |
| |
| |
| | |
Jeremy.
|
| | |
|
| | |
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| |
| |
| |
| | |
bug (renaming name -> name was failing, on W2K it succeeds). Simplified
the common case, did a lot of work to ensure NT error codes are correctly
reported back to client.
Jeremy.
|
| | |
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| | |
using.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This new table is rather different to the old one (see diff posted to the
list for a sorted list of differences) and needs a *lot* of testing.
It does however seem to line up much better with what NT is using, as
exampled by the change to the OBJECT_NAME_COLLISION DOS error, it now matches
win2k where it didn't before.
I can't see any critical errors we now get wrong, and I know that the auth
errors are correct as per my on-the-wire observations.
This table was produced (and I hope to comment this better later) by
using the ERRMAPEXTRACT smbtorture tool, a Win2k domain member and the
'name_to_ntstatus' auth module on the HEAD PDC. This module returned
the username as the error, and the NT box was forced to give me a dos
error becouse thats all I negotiated on that connection. Hence the map.
Andrew Bartlett
|
| | |
|
| | |
|
| |
| |
| |
| | |
'squashed' or the session setup succeeded. (How the latter occurs I don't know).
|
| |
| |
| |
| |
| | |
Win2k kills off connections that have issued a negprot but havn't yet issued
a session setup when a second connection appears from the same host.
|
| | |
|
| | |
|