r22402: Fix build warning.
authorGünther Deschner <gd@samba.org>
Fri, 20 Apr 2007 10:54:55 +0000 (10:54 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:19:32 +0000 (12:19 -0500)
Guenther
(This used to be commit bf9131fed30b3d6f80c41734c04450a1e6bcba5b)

source3/nsswitch/pam_winbind.c

index 56452bd0a343b68b6739066742b6ee5ec2c1b5e0..ec6361e52bea0a977f9577442d96696fab33d79a 100644 (file)
@@ -1517,7 +1517,7 @@ int pam_sm_authenticate(pam_handle_t *pamh, int flags,
        dictionary *d = NULL;
        char *username_ret = NULL;
        char *new_authtok_required = NULL;
-       const char *real_username = NULL;
+       char *real_username = NULL;
 
        /* parse arguments */
        int ctrl = _pam_parse(pamh, flags, argc, argv, &d);