summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-07-06 22:08:55 +0000
committerLuke Leighton <lkcl@samba.org>1999-07-06 22:08:55 +0000
commita0b0fa7bb1eb83ff26931831fa1006000d29e861 (patch)
tree280d672fe08af37d41d4ec3766bd935f321fdd58 /source3/include
parent7be65db6400304a9ff94ebaa19d312a3d8481834 (diff)
downloadsamba-a0b0fa7bb1eb83ff26931831fa1006000d29e861.tar.gz
samba-a0b0fa7bb1eb83ff26931831fa1006000d29e861.tar.bz2
samba-a0b0fa7bb1eb83ff26931831fa1006000d29e861.zip
using jeremy's sys_getpwnam() call in the more critical area: Get_Pwnam().
made sure that hashed_getpwnam() has the copy-passwd-struct-wrapper around it, too. TODO: replace all calls of getpwnam() with sys_getpwnam(). (This used to be commit 436a89145524d3539b3a247f98c1e71f0616dd70)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 9fd3694818..59fdb28672 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -346,6 +346,9 @@ BOOL set_inherited_process_capability( uint32 cap_flag, BOOL enable );
long sys_random(void);
void sys_srandom(unsigned int seed);
int sys_getgroups(int setlen, gid_t *gidset);
+struct passwd *copy_passwd_struct(struct passwd *pass);
+struct passwd *sys_getpwnam(const char *name);
+struct passwd *sys_getpwuid(uid_t uid);
/*The following definitions come from lib/time.c */