aboutsummaryrefslogtreecommitdiffstats
path: root/net/samba3/files/patch-nsswitch_pam_winbind.c
blob: 039643a83d1d655c058ef5e9fa9ae846b710ab8b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- nsswitch/pam_winbind.c.orig Sun May 28 02:21:10 2006
+++ nsswitch/pam_winbind.c  Sun May 28 02:22:16 2006
@@ -997,7 +997,7 @@
        }
        return PAM_USER_UNKNOWN;
    case 0:
-       pam_get_data( pamh, PAM_WINBIND_NEW_AUTHTOK_REQD, (const void **)&tmp);
+       pam_get_data( pamh, PAM_WINBIND_NEW_AUTHTOK_REQD, (void **)&tmp);
        if (tmp != NULL) {
            retval = atoi(tmp);
            switch (retval) {
@@ -1300,7 +1300,7 @@
         * By reaching here we have approved the passwords and must now
         * rebuild the password database file.
         */
-       pam_get_data( pamh, PAM_WINBIND_PWD_LAST_SET, (const void **)&pwdlastset_update);
+       pam_get_data( pamh, PAM_WINBIND_PWD_LAST_SET, (void **)&pwdlastset_update);
 
        retval = winbind_chauthtok_request(pamh, ctrl, user, pass_old, pass_new, pwdlastset_update);
        if (retval) {