diff options
author | Jeremy Allison <jra@samba.org> | 2005-09-14 23:58:14 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:03:38 -0500 |
commit | 67be4ee41cd244bcc0445cac7c9e1e2d40e93c9b (patch) | |
tree | 5a39d72cbb593ceb5ed867293fad6bfaf73265da /source/lib/smbrun.c | |
parent | 24901187962e24bfa5ba7722aba0aeb9397ac7b6 (diff) | |
download | samba-67be4ee41cd244bcc0445cac7c9e1e2d40e93c9b.tar.gz samba-67be4ee41cd244bcc0445cac7c9e1e2d40e93c9b.tar.xz samba-67be4ee41cd244bcc0445cac7c9e1e2d40e93c9b.zip |
r10234: Add new auth module "auth_script" to allow valid users to
be provisioned on demand - calls script with domain,
username, challenge and LM and NT responses - passing
the info through a pipe.
Jeremy.
Diffstat (limited to 'source/lib/smbrun.c')
-rw-r--r-- | source/lib/smbrun.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/lib/smbrun.c b/source/lib/smbrun.c index 43cb209174e..13e330dd97a 100644 --- a/source/lib/smbrun.c +++ b/source/lib/smbrun.c @@ -55,7 +55,7 @@ run a command being careful about uid/gid handling and putting the output in outfd (or discard it if outfd is NULL). ****************************************************************************/ -int smbrun(char *cmd, int *outfd) +int smbrun(const char *cmd, int *outfd) { pid_t pid; uid_t uid = current_user.uid; @@ -186,7 +186,7 @@ outfd (or discard it if outfd is NULL). sends the provided secret to the child stdin. ****************************************************************************/ -int smbrunsecret(char *cmd, char *secret) +int smbrunsecret(const char *cmd, const char *secret) { pid_t pid; uid_t uid = current_user.uid; |