~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/auth_pam/auth_pam.cc

  • Committer: Stewart Smith
  • Date: 2008-12-16 23:30:01 UTC
  • mfrom: (709 testable)
  • mto: This revision was merged to the branch mainline in revision 711.
  • Revision ID: stewart@flamingspork.com-20081216233001-o9z3jkwbcbxcin89
merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
  struct pam_conv conv_info= { &auth_pam_talker, (void*)&userinfo };
78
78
  pam_handle_t *pamh= NULL;
79
79
 
80
 
  userinfo.name= session->main_security_ctx.user;
 
80
  userinfo.name= session->security_ctx.user.c_str();
81
81
  userinfo.password= password;
82
82
 
83
83
  retval= pam_start("check_user", userinfo.name, &conv_info, &pamh);