| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
This code is now useful in common, as the elements of the
auth_session_info structure have now been defined in common IDL.
Andrew Bartlett
|
|
|
|
|
|
|
|
| |
This is consistent with the test names used by selftest, should
make the names less confusing and easier to integrate with other tools.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
|
|
|
|
| |
security_user_level"
|
|
|
|
|
|
|
|
| |
The new waf-based build system now has all the same functionality, and
the old build system has been broken for quite some time.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
This should ensure we only have one copy of these core functions
in the tree.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
|
|
|
|
|
|
| |
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This will reduce the noise from merges of the rest of the
libcli/security code, without this commit changing what code
is actually used.
This includes (along with other security headers) dom_sid.h and
security_token.h
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104
|
|
|
|
|
|
|
|
| |
The merged I plan in this area require spliting security.h into
two header files, a common header and a session.h for the
remaining source4-specific code.
Andrew Bartlett
|
|
|
|
|
|
| |
The source4-specific session_info functions have been left in session.c
Andrew Bartlett
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Andrew Tridgell <tridge@samba.org>
|
|
|
|
|
|
|
|
|
| |
Now that privileges are no longer given luid values sequentially,
we need another way to look them up for enumeration.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
|
|
|
|
| |
Signed-off-by: Andrew Tridgell <tridge@samba.org>
|
|
|
|
|
|
|
|
|
|
|
| |
This allows us to set the enum sec_privilege constants to the LUID
values that are seen from windows, which we need to match, in order
to preserve the support for the NT Print Migrator tool after a merge
with the source3/ privileges code.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
|
|
|
|
| |
According to "librpc/gen_ndr/security.h" they need to be "uint32_t".
|
|
|
|
|
|
|
|
|
| |
struct dom_sid
This makes the structure much more like NT_USER_TOKEN in the source3/
code. (The remaining changes are that privilages still need to be merged)
Andrew Bartlett
|
|
|
|
| |
This makes the structure more like Samba3's NT_USER_TOKEN
|
|
|
|
|
|
|
|
| |
This will allow us to stop duplicating the user and primary group SID in the
struct security_token, and therefore make it more like the NT_USER_TOKEN
in Samba3.
Andrew Bartlett
|
|
|
|
|
|
| |
check more than the user_sid, and also check for the right rid value
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
|
|
|
|
| |
setUp methods are called, fix formatting.
|
|
|
|
|
|
|
|
|
|
|
| |
This is used for allowing operations by RODCs, and denying them
operations that should only be allowed for a full DC
This required a new domain_sid argument to
security_session_user_level()
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Pair-Programmed-With: Rusty Russell <rusty@samba.org>
|
| |
|
| |
|
|
|
|
| |
we won't be using the mk -> wscript generator again
|
|
|
|
| |
them
|
|
|
|
|
| |
Rewrote wafsamba using a new dependency handling system, and started
adding the waf test code
|
| |
|
|
|
|
| |
this should be much more portable
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Michael
|
|
|
|
| |
Signed-off-by: Stefan Metzmacher <metze@samba.org>
|
|
|
|
|
| |
DRS replication with w2k8-r2 fails with a schema mismatch error if we
set the revision to NT4
|
|
|
|
| |
Signed-off-by: Andrew Tridgell <tridge@samba.org>
|
|
|
|
|
|
| |
If an ace has the PRINCIPAL_SELF as trustee, this sid has to be replaced with
the onjectSid of the object being checked. PRINCIPAL_SELF is the way to grant rights
to an account over itself.
|
|
|
|
|
| |
- Reoder them
- Add some new ones (needed for the security descriptor in the provision script)
|
| |
|
|
|
|
|
|
|
|
| |
Fixed sd creation not working on LDAP modify.
Fixed incorrect replacement of CO and CG.
Fixed incorrect access check on modify for SD modification.
Fixed failing sec_descriptor test and enabled it.
Fixed failing sd add test in ldap.python
|
|
|
|
|
|
|
| |
At this point, support for checks on LDAP add, delete, rename and modify.
Old kludge_acl is still there to handle the searches.
This module is synchronous as the async version was impossible to debug,
will be converted to async after some user testing.
|
|
|
|
|
| |
Also, added some logging. It needs improvement, possibly ability to
turn in on and off via configuration file.
|
| |
|
|
|
|
| |
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Thanks for Nadya and Metze for this. The SDs were being created with
invalid fields (noticed by w2k8-r2 client when joining our domain)
|