search for: prompt1

Displaying 7 results from an estimated 7 matches for "prompt1".

Did you mean: prompt
2004 Jul 22
1
[PATCH] add LOGIN authentication mechanism
...+ + return TRUE; +} + +static int +mech_login_auth_initial(struct auth_request *auth_request, + struct auth_client_request_new *request, + const unsigned char *data __attr_unused__, + mech_callback_t *callback) +{ + struct auth_client_request_reply reply; + static const char prompt1[] = "Username:"; + + mech_init_auth_client_reply(&reply); + reply.id = request->id; + reply.result = AUTH_CLIENT_RESULT_CONTINUE; + + reply.reply_idx = 0; + reply.data_size = strlen(prompt1); + callback(&reply, prompt1, auth_request->conn); + + return TRUE; +} + +static void...
2002 Nov 25
0
Linux and Samba Code
...* */ #include <fcntl.h> #include <sys/ioctl.h> #include <pwd.h> #include <errno.h> #include <stdio.h> #include <unistd.h> #include <string.h> #define PASSWD "/usr/bin/passwd_old" #define SMBPASSWD "/usr/bin/smbpasswd_old" #define PROMPT1 "Type a new password: " #define PROMPT2 "Type the same password again: " #define MINPWLEN 6 #define STRLEN 1024 int change(char *program, char *user, char *pwd, FILE *mystderr); int main ( int argc, char **argv) { int fd; struct passw...
2003 Jan 10
0
Samba-2.2.7a Compile error --with-pam
...known nsswitch/pam_winbind.c:295: `comment' undeclared (first use in this function) nsswitch/pam_winbind.c:297: `PAM_TEXT_INFO' undeclared (first use in this function) nsswitch/pam_winbind.c:305: `PAM_PROMPT_ECHO_OFF' undeclared (first use in this function) nsswitch/pam_winbind.c:306: `prompt1' undeclared (first use in this function) nsswitch/pam_winbind.c:309: `prompt2' undeclared (first use in this function) nsswitch/pam_winbind.c:325: arithmetic on pointer to an incomplete type nsswitch/pam_winbind.c:325: dereferencing pointer to incomplete type nsswitch/pam_winbind.c:325: ari...
2002 Jun 28
2
Error when configuring pam on samba (MANDRAKE 8.2 and before)
...known nsswitch/pam_winbind.c:295: `comment' undeclared (first use in this function) nsswitch/pam_winbind.c:297: `PAM_TEXT_INFO' undeclared (first use in this functi on) nsswitch/pam_winbind.c:305: `PAM_PROMPT_ECHO_OFF' undeclared (first use in this function) nsswitch/pam_winbind.c:306: `prompt1' undeclared (first use in this function) nsswitch/pam_winbind.c:309: `prompt2' undeclared (first use in this function) nsswitch/pam_winbind.c:325: arithmetic on pointer to an incomplete type nsswitch/pam_winbind.c:325: dereferencing pointer to incomplete type nsswitch/pam_winbind.c:325: ari...
2003 Jan 28
1
[nsswitch/pam_winbind.po] Error 1 With Compiling 3.0
...known nsswitch/pam_winbind.c:326: `comment' undeclared (first use in this function) nsswitch/pam_winbind.c:328: `PAM_TEXT_INFO' undeclared (first use in this function) nsswitch/pam_winbind.c:336: `PAM_PROMPT_ECHO_OFF' undeclared (first use in this function) nsswitch/pam_winbind.c:337: `prompt1' undeclared (first use in this function) nsswitch/pam_winbind.c:340: `prompt2' undeclared (first use in this function) nsswitch/pam_winbind.c:356: arithmetic on pointer to an incomplete type nsswitch/pam_winbind.c:356: dereferencing pointer to incomplete type nsswitch/pam_winbind.c:356: ari...
2006 Feb 13
1
Asterisk: Agent logs into queue, and there are calls in the queue, but calls don't go to agent
Here is some dialog from the Console: -- Starting simple switch on 'Zap/13-1' Feb 10 07:22:36 NOTICE[21105]: chan_zap.c:6063 ss_thread: Got event 18 (Ring Begin)... -- Executing Goto("Zap/13-1", "mainmenu|s|1") in new stack -- Goto (mainmenu,s,1) -- Executing BackGround("Zap/13-1", "thank-you-for-calling-poker -support") in new stack
2002 Jul 01
5
./configure --with-pam
Hi all, I still have problems with my nt authentication on linux. My problems start when compiling --with-pam This is the output, i can't figure out why i get the error. [root@squid source]# ./configure --with-pam loading cache ./config.cache checking for gcc... (cached) gcc checking whether the C compiler (gcc -O ) works... yes checking whether the C compiler (gcc -O ) is a