1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source3/passdb
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
..
login_cache.c r4088: Get medieval on our ass about malloc.... :-). Take control of all our allocation 2007-10-10 10:53:32 -05:00
lookup_sid.c r4088: Get medieval on our ass about malloc.... :-). Take control of all our allocation 2007-10-10 10:53:32 -05:00
machine_sid.c r4088: Get medieval on our ass about malloc.... :-). Take control of all our allocation 2007-10-10 10:53:32 -05:00
passdb.c r4088: Get medieval on our ass about malloc.... :-). Take control of all our allocation 2007-10-10 10:53:32 -05:00
pdb_compat.c Merge passdb from HEAD -> 3.0 2002-11-02 03:47:48 +00:00
pdb_get_set.c r4088: Get medieval on our ass about malloc.... :-). Take control of all our allocation 2007-10-10 10:53:32 -05:00
pdb_guest.c * only install swat html files once 2003-11-07 23:04:06 +00:00
pdb_interface.c r4088: Get medieval on our ass about malloc.... :-). Take control of all our allocation 2007-10-10 10:53:32 -05:00
pdb_ldap.c r4088: Get medieval on our ass about malloc.... :-). Take control of all our allocation 2007-10-10 10:53:32 -05:00
pdb_mysql.c r3974: - Fix assignment of a couple of fields in pdb_{mysql,pgsql} 2007-10-10 10:53:26 -05:00
pdb_pgsql.c r3974: - Fix assignment of a couple of fields in pdb_{mysql,pgsql} 2007-10-10 10:53:26 -05:00
pdb_plugin.c More tuning from cachegrind. Change most trim_string() calls to trim_char(0, 2003-09-05 19:59:55 +00:00
pdb_smbpasswd.c r4088: Get medieval on our ass about malloc.... :-). Take control of all our allocation 2007-10-10 10:53:32 -05:00
pdb_sql.c r4088: Get medieval on our ass about malloc.... :-). Take control of all our allocation 2007-10-10 10:53:32 -05:00
pdb_tdb.c r4724: Add support for Windows privileges in Samba 3.0 2007-10-10 10:53:51 -05:00
pdb_xml.c r3974: - Fix assignment of a couple of fields in pdb_{mysql,pgsql} 2007-10-10 10:53:26 -05:00
secrets.c r4088: Get medieval on our ass about malloc.... :-). Take control of all our allocation 2007-10-10 10:53:32 -05:00
util_sam_sid.c r4724: Add support for Windows privileges in Samba 3.0 2007-10-10 10:53:51 -05:00