Date: Mon Mar 1 16:10:27 2004 Author: idra Update of /data/cvs/samba/source/rpc_server In directory dp.samba.org:/tmp/cvs-serv16817/rpc_server
Modified Files: srv_lsa_nt.c srv_pipe_hnd.c srv_samr_nt.c srv_srvsvc_nt.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: srv_lsa_nt.c 1.82 => 1.83 http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_server/srv_lsa_nt.c.diff?r1=1.82&r2=1.83 srv_pipe_hnd.c 1.90 => 1.91 http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_server/srv_pipe_hnd.c.diff?r1=1.90&r2=1.91 srv_samr_nt.c 1.177 => 1.178 http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_server/srv_samr_nt.c.diff?r1=1.177&r2=1.178 srv_srvsvc_nt.c 1.93 => 1.94 http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_server/srv_srvsvc_nt.c.diff?r1=1.93&r2=1.94