From 418e92d06da0638d92c48ffd310a409c89e2fa48 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 14 Sep 2005 23:58:14 +0000 Subject: 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. (This used to be commit 67be4ee41cd244bcc0445cac7c9e1e2d40e93c9b) --- source3/lib/smbrun.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/lib') diff --git a/source3/lib/smbrun.c b/source3/lib/smbrun.c index 43cb209174..13e330dd97 100644 --- a/source3/lib/smbrun.c +++ b/source3/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; -- cgit