summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-09-14 23:58:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:03:38 -0500
commit418e92d06da0638d92c48ffd310a409c89e2fa48 (patch)
tree26568c796d59b73daadaa19101c279da06f7a1b0 /source3/lib
parenta9b96c6b3d2fa111c2210b57fa816fcbc1946fc5 (diff)
downloadsamba-418e92d06da0638d92c48ffd310a409c89e2fa48.tar.gz
samba-418e92d06da0638d92c48ffd310a409c89e2fa48.tar.bz2
samba-418e92d06da0638d92c48ffd310a409c89e2fa48.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. (This used to be commit 67be4ee41cd244bcc0445cac7c9e1e2d40e93c9b)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/smbrun.c4
1 files changed, 2 insertions, 2 deletions
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;