~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/auth_pam/auth_pam.cc

  • Committer: Eric Day
  • Date: 2010-03-19 23:00:15 UTC
  • mto: This revision was merged to the branch mainline in revision 1409.
  • Revision ID: eday@oddments.org-20100319230015-61q1t2upb4qb5i70
Changed auth_pam service name to 'drizzle', see bug #484069.

Show diffs side-by-side

added added

removed removed

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