| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
|
|
|
|
| |
The challenge here is that we are asked not to add the domain groups
again, but we need to search inside them for any aliases that we need
to add. So, we can't short-circuit the operation just because we found
the domain group.
Andrew Bartlett
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows us to control what groups should be added in what use
cases, and in particular to more carefully control the introduction of
the 'authenticated' group.
In particular, in the 'service_named_pipe' protocol, we do not have
control over the addition of the authenticated users group, so we key
of 'is this user the anonymous SID'.
This also takes more care to allocate the right length ptoken->sids
Andrew Bartlett
|
|
|
|
|
|
|
| |
If we don't use the winbind backend, we don't (for now) need a
messaging context- and we don't have one in LDB at the moment.
Andrew Bartlett
|
|
|
|
|
|
|
| |
We had to split up the auth module into a module loaded by main deamon
and a subsystem we manually init in the operational module.
Andrew Bartlett
|
|
|
|
|
|
|
|
| |
This creates a new interface to the auth subsystem, to allow an
auth_context to be created from the ldb, and then tokenGroups to be
calculated in the same way that the auth subsystem would.
Andrew Bartlett
|
|
|
|
|
|
|
|
| |
We also compare against SamLogon to try and validate the whole thing.
Note that we must represent NULL as "" when comparing between the PAC
and SamLogon, due to different marshalling of the structures.
Andrew Bartlett
|
|
|
|
|
|
|
|
| |
The group list in the PAC does not include 'enterprise DCs' and
BUILTIN groups, so we should generate it on each server, not in the
list we pass around in the PAC or SamLogon reply.
Andrew Bartlett
|
|
|
|
|
|
| |
I need to change the functions this calls
Andrew Bartlett
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Obviously this isn't needed and in general site names shouldn't be hardcoded
anymore (except there is a good reason).
|
|
|
|
| |
Signed-off-by: Stefan Metzmacher <metze@samba.org>
|
|
|
|
| |
Signed-off-by: Stefan Metzmacher <metze@samba.org>
|
|
|
|
| |
Signed-off-by: Stefan Metzmacher <metze@samba.org>
|
|
|
|
| |
Signed-off-by: Stefan Metzmacher <metze@samba.org>
|
|
|
|
| |
Signed-off-by: Stefan Metzmacher <metze@samba.org>
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
| |
|
|
|
|
| |
recompiled by waf.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
I would love for notify.idl to be shared between Samba4 and Samba3
some day, and this seems to be the point at which the structure is
initialised.
Andrew Bartlett
|
|
|
|
|
|
| |
This may help us return an accurate priv pipe dir later on.
Andrew Bartlett
|
|
|
|
|
|
|
|
| |
We perhaps need a more general API here, but for now extend the
credentials API to return the password last changed time that the
s3compat layer will need.
Andrew Bartlett
|
|
|
|
|
|
|
| |
The python glue code didn't even de-reference this element in the
structure.
Andrew Bartlett
|
|
|
|
|
|
|
| |
In other times, we might have used talloc_reference here, but this
isn't used as much these days.
Andrew Bartlett
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Sorry, I've copied this from the "ldap.py" test and thought it would work.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
This allows for the rare case where the caller knows the target
principal. The check for lp_client_use_spnego_principal() is moved to
the spengo code to make this work.
Andrew Bartlett
|
|
|
|
|
|
|
|
| |
By making the winbindd_request and winbindd_response structures
pointers, we can more easily integrate with the winbindd from
source3/winbindd
Andrew Bartlett
|
|
|
|
|
|
|
|
|
|
|
| |
multiple event contexts
It is NEVER valid to free an event context that anybody else may have
a reference to, and never normally valid to have two 'live' at once.
We must instead call tevent_re_initialise() to wipe clean an existing
pointer.
Andrew Bartlett
|
|
|
|
|
|
|
|
| |
This will fork off exactly one child to handle some task, ensuring
that if it dies or changes global state, that this does not change
everything.
Andrew Bartlett
|
|
|
|
|
|
|
| |
This allows us to tell the credentials code where we want the
credentials put.
Andrew Bartlett
|
|
|
|
|
|
|
|
| |
I would love for notify.idl to be shared between Samba4 and Samba3
some day, and this seems to be the point at which the structure is
initialised.
Andrew Bartlett
|
|
|
|
| |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
|
| |
|
|
|
|
|
|
|
| |
This reverts most of commit 1765732f82719a4bc925f21ef4999bd19a8d1f6c.
The s3compat build needs the SWAT location to be compatible with
Samba3.
|
|
|
|
| |
Guenther
|
|
|
|
|
|
| |
Some system includes need __APPLE__ defined.
metze
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
|
|
|
| |
LDB_ERR_UNWILLING_TO_PERFORM should be the right error code when the
"msDS-Behavior-Version" was already raised by the first change as it is on
Windows Server.
When s4 itself does implement this trigger then we don't need to do the
second write operation anymore (they're kept in sync).
|
|
|
|
|
|
| |
other host is just unreachable
Signed-off-by: Stefan Metzmacher <metze@samba.org>
|