]> git.sur5r.net Git - openldap/commitdiff
ITS#7082 Fix smbk5pwd:olcSmbK5PwdEnable
authorDavid Adam <zanchey@ucc.gu.uwa.edu.au>
Sun, 6 Nov 2011 16:12:19 +0000 (00:12 +0800)
committerHallvard Furuseth <hallvard@openldap.org>
Mon, 7 Nov 2011 21:30:00 +0000 (22:30 +0100)
contrib/slapd-modules/smbk5pwd/smbk5pwd.c

index 14b3c7ce5567a9800ead44d6cd07e71c2317f283..c582daa70b2c3346ac2392a669e31dc8d21f85be 100644 (file)
@@ -869,7 +869,7 @@ smbk5pwd_cf_func( ConfigArgs *c )
                 break;
 
        case PC_SMB_ENABLE: {
-               slap_mask_t     mode = pi->mode, m;
+               slap_mask_t     mode = pi->mode, m = 0;
 
                rc = verbs_to_mask( c->argc, c->argv, smbk5pwd_modules, &m );
                if ( rc > 0 ) {