search for: t_arg

Displaying 5 results from an estimated 5 matches for "t_arg".

Did you mean: t_args
2014 Dec 12
0
PATCH - add username_format to the PAM auth module
...+ module->username_format = "%u"; + module->pam_allow_transform = 1; /* we're caching the password by using directly the plaintext password given by the auth mechanism */ module->module.default_pass_scheme = "PLAIN"; @@ -370,6 +398,12 @@ } } else if (t_args[i+1] == NULL) { module->service_name = p_strdup(pool, t_args[i]); + } else if (strncmp(t_args[i], "username_format=", 16) == 0) { + module->username_format = t_args[i] + 16; + } else if (strcmp(t_args[i], "allow_pam_transform=no") == 0 || + strcmp(t_args[i], &qu...
2014 Apr 24
0
Help implementing username_format in auth PAM driver
...onv, &pamh); if (status != PAM_SUCCESS) { auth_request_log_error(request, "pam", "pam_start() failed: %s", pam_strerror(pamh, status)); @@ -331,6 +344,7 @@ pam_preinit(pool_t pool, const char *args) { struct pam_passdb_module *module; const char *const *t_args; + const char *format = PASSDB_PAM_DEFAULT_USERNAME_FORMAT; int i; module = p_new(pool, struct pam_passdb_module, 1); @@ -367,9 +381,14 @@ pam_preinit(pool_t pool, const char *args) } } else if (t_args[i+1] == NULL) { module->service_name = p_strdup(pool, t_args[i]); + } else...
2009 Feb 19
2
auth-worker always opens PAM session
...the source code in passdb-pam.c: struct pam_passdb_module { struct passdb_module module; const char *service_name, *pam_cache_key; unsigned int pam_setcred:1; unsigned int pam_session:1; unsigned int failure_show_msg:1; }; And this: /* -session for backwards compatibility */ if (strcmp(t_args[i], "-session") == 0 || strcmp(t_args[i], "session=yes") == 0) module->pam_session = TRUE; It seams to me that the session is going to be opened anyway, since pam_session is always TRUE. Regards, Miguel -------------- next part -------------- A non-text attac...
2011 Oct 13
0
[LLVMdev] BasicBlock succ iterator
...ign 4 store i32 0, i32* %j, align 4 br label %loop-replace fun main loop-replace loop-replace: ; preds = %entry %5 = alloca [3 x i64] %j_arg = ptrtoint i32* %j to i64 %6 = getelementptr [3 x i64]* %5, i64 0, i64 0 store i64 %j_arg, i64* %6 %t_arg = ptrtoint i32* %t to i64 %7 = getelementptr [3 x i64]* %5, i64 0, i64 1 store i64 %t_arg, i64* %7 %a_arg = ptrtoint [2 x i32]* %a to i64 %8 = getelementptr [3 x i64]* %5, i64 0, i64 2 store i64 %a_arg, i64* %8 call void @sync_init() %9 = bitcast [3 x i64]* %5 to i64* call void @syn...
2011 Oct 13
6
[LLVMdev] BasicBlock succ iterator
Hi, All I want to implement DSWP Which is used for parallelization of loops. For this purpose, the loop was replaced with a new basic block in main function. And new functions were created and basic blocks of Loop assigned to them.I have checked blocks and branches for Succ and Pred relation and I have not found any problems. However I get the following error: * **opt: