~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/auth_pam/auth_pam.cc

Merge in security refactor.

Show diffs side-by-side

added added

removed removed

Lines of Context:
111
111
    struct pam_conv conv_info= { &auth_pam_talker, (void*)&userinfo };
112
112
    pam_handle_t *pamh= NULL;
113
113
 
114
 
    userinfo.name= session->security_ctx.user.c_str();
 
114
    userinfo.name= session->getSecurityContext().getUser().c_str();
115
115
    userinfo.password= password;
116
116
 
117
117
    retval= pam_start("check_user", userinfo.name, &conv_info, &pamh);