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)
commit9d8431b04f41dceffe4c45cc969472ee59f7282f
treeebb954a36f2bc281d34d942a1f8b736ad30efab2
parent302dad4990ba5194f072e435465d9adaa089ae06
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
source/lib/sysacls.c
source/lib/system.c
source/lib/util.c
source/rpc_server/srv_samr_nt.c
source/utils/smbpasswd.c
source/utils/status.c