117
117
userinfo.name= sctx.getUser().c_str();
118
118
userinfo.password= password.c_str();
120
retval= pam_start("check_user", userinfo.name, &conv_info, &pamh);
120
retval= pam_start("drizzle", userinfo.name, &conv_info, &pamh);
122
122
if (retval == PAM_SUCCESS)
123
123
retval= pam_authenticate(pamh, PAM_DISALLOW_NULL_AUTHTOK);