svn commit: samba r4724 - in branches/SAMBA_3_0/source: . auth
groupdb include lib passdb rpc_client rpc_parse rpc_server
jerry at samba.org
jerry at samba.org
Thu Jan 13 18:20:39 GMT 2005
Author: jerry
Date: 2005-01-13 18:20:37 +0000 (Thu, 13 Jan 2005)
New Revision: 4724
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4724
Log:
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.
Removed:
branches/SAMBA_3_0/source/passdb/privileges.c
Modified:
branches/SAMBA_3_0/source/Makefile.in
branches/SAMBA_3_0/source/auth/auth_util.c
branches/SAMBA_3_0/source/groupdb/mapping.c
branches/SAMBA_3_0/source/include/includes.h
branches/SAMBA_3_0/source/include/privileges.h
branches/SAMBA_3_0/source/include/rpc_lsa.h
branches/SAMBA_3_0/source/include/smb.h
branches/SAMBA_3_0/source/lib/account_pol.c
branches/SAMBA_3_0/source/lib/privileges.c
branches/SAMBA_3_0/source/lib/util_sid.c
branches/SAMBA_3_0/source/passdb/pdb_tdb.c
branches/SAMBA_3_0/source/passdb/util_sam_sid.c
branches/SAMBA_3_0/source/rpc_client/cli_lsarpc.c
branches/SAMBA_3_0/source/rpc_parse/parse_lsa.c
branches/SAMBA_3_0/source/rpc_server/srv_lsa.c
branches/SAMBA_3_0/source/rpc_server/srv_lsa_nt.c
branches/SAMBA_3_0/source/rpc_server/srv_samr_nt.c
Changeset:
Sorry, the patch is too large (2535 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4724
More information about the samba-cvs
mailing list