1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/source3/auth
Gerald Carter d94d87472c r4724: Add support for Windows privileges in Samba 3.0
(based on Simo's code in trunk).  Rewritten with the
following changes:

* privilege set is based on a 32-bit mask instead of strings
  (plans are to extend this to a 64 or 128-bit mask before
   the next 3.0.11preX release).
* Remove the privilege code from the passdb API
  (replication to come later)
* Only support the minimum amount of privileges that make
  sense.
* Rewrite the domain join checks to use the SeMachineAccountPrivilege
  instead of the 'is a member of "Domain Admins"?' check that started
  all this.

Still todo:

* Utilize the SePrintOperatorPrivilege in addition to the 'printer admin'
  parameter
* Utilize the SeAddUserPrivilege for adding users and groups
* Fix some of the hard coded _lsa_*() calls
* Start work on enough of SAM replication to get privileges from one
  Samba DC to another.
* Come up with some management tool for manipultaing privileges
  instead of user manager since it is buggy when run on a 2k client
  (haven't tried xp).  Works ok on NT4.
(This used to be commit 77c10ff9aa)
2007-10-10 10:53:51 -05:00
..
auth_builtin.c Put strcasecmp/strncasecmp on the banned list (except for needed calls 2003-10-22 23:38:20 +00:00
auth_compat.c updated the 3.0 branch from the head branch - ready for alpha18 2002-07-15 10:35:28 +00:00
auth_domain.c r2086: fix bug with winbindd_getpwnam() caused by Microsoft DC's not filling in the username in the user_info3 2007-10-10 10:52:31 -05:00
auth_ntlmssp.c r4088: Get medieval on our ass about malloc.... :-). Take control of all our allocation 2007-10-10 10:53:32 -05:00
auth_rhosts.c More tuning from cachegrind. Change most trim_string() calls to trim_char(0, 2003-09-05 19:59:55 +00:00
auth_sam.c r1780: Remove the UTC comment as it isn't. 2007-10-10 10:52:20 -05:00
auth_server.c BUG 1165, 1126: Fix bug with secondary groups (security = ads) and winbind use default domain = yes 2004-03-16 16:41:54 +00:00
auth_unix.c BUG 1165, 1126: Fix bug with secondary groups (security = ads) and winbind use default domain = yes 2004-03-16 16:41:54 +00:00
auth_util.c r4724: Add support for Windows privileges in Samba 3.0 2007-10-10 10:53:51 -05:00
auth_winbind.c r3616: Merge for 3.0.8. 2007-10-10 10:53:10 -05:00
auth.c r4088: Get medieval on our ass about malloc.... :-). Take control of all our allocation 2007-10-10 10:53:32 -05:00
pampass.c r4236: More *alloc fixes. 2007-10-10 10:53:39 -05:00
pass_check.c r2899: Change some #if DEBUG_PASSWORD's to #ifdef DEBUG_PASSWORD. 2007-10-10 10:52:56 -05:00