Add a bit more const, and kill of (finally!) sys_getpwnam and sys_getpwuid.
authorAndrew Bartlett <abartlet@samba.org>
Wed, 22 May 2002 12:44:45 +0000 (12:44 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 22 May 2002 12:44:45 +0000 (12:44 +0000)
commitb87eee983612c0d21b0c6f1346ba15ace797fe9e
tree24e2b36dfad85d014754e1ed08cb3d3b74704f24
parentdaec6cbbeee8401ef1aa0a3424ee05a3148d7ec8
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
(This used to be commit 9d8431b04f41dceffe4c45cc969472ee59f7282f)
source3/lib/sysacls.c
source3/lib/system.c
source3/lib/util.c
source3/rpc_server/srv_samr_nt.c
source3/utils/smbpasswd.c
source3/utils/status.c