CVS update: samba/source/lib

idra at samba.org idra at samba.org
Mon Mar 1 16:10:26 GMT 2004


Date:	Mon Mar  1 16:10:26 2004
Author:	idra

Update of /data/cvs/samba/source/lib
In directory dp.samba.org:/tmp/cvs-serv16817/lib

Modified Files:
	privileges.c 
Log Message:


Ok here it is my latest work on privileges

This patch add privilege support for samba
Currently it is implemented only for tdbsam backend but estending it to
other sam backends is straightforward.

I must make a big thank to JFM for his teachings on the matter and the
functions at the base of this work.

At thye moment only samr_create_user honours SeAddUsersPrivilege and
SeMachineAccountPrivilege to permit any user to add machines and/or users to
the server.

The command "net priv" has been provided to manipulate the privileges
database.

There are still many things to do (like support in "net rpc vampire") but
the working core is here.

Feel free to comment/extend on this work.

Of course I will deny that any bug may affect this code :-)
Simo.


This patch adds also my patch about add share command enhancements.



Revisions:
privileges.c		1.3 => 1.4
	http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/privileges.c.diff?r1=1.3&r2=1.4


More information about the samba-cvs mailing list