CVS update: samba/source/rpc_server

abartlet at samba.org abartlet at samba.org
Wed May 22 22:44:45 EST 2002


Date:	Wed May 22 05:44:45 2002
Author:	abartlet

Update of /data/cvs/samba/source/rpc_server
In directory va:/tmp/cvs-serv22644/rpc_server

Modified Files:
	srv_samr_nt.c 
Log Message:
Add a bit more const, and kill of (finally!) sys_getpwnam and sys_getpwuid.

These might be reimplmented as simple pass-through functions, but all users
really should be doing 'getpwnam_alloc' or 'getpwuid_alloc' to ensure that
there are not shared static buffers.

I don't beleive we actually need a getpw*() cache inside samba - if we do
then I think we should look at our code design first.

(some of these changes are for platforms I don't have access to, but
they look sane)

Andrew Bartlett


Revisions:
srv_samr_nt.c		1.87 => 1.88
	http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_server/srv_samr_nt.c?r1=1.87&r2=1.88




More information about the samba-cvs mailing list