Fix minor bug in r21269 - wrong field name
authorKen Raeburn <raeburn@mit.edu>
Sat, 30 May 2009 05:36:52 +0000 (05:36 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sat, 30 May 2009 05:36:52 +0000 (05:36 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22395 dc483132-0cff-0310-8789-dd5450dbe970

src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c

index 9f7caa07e567c3596ff10e00e824751445ea7cca..273400c1852fdadc2a930b71f773e21a99df6b85 100644 (file)
@@ -1725,7 +1725,7 @@ kdb5_ldap_set_service_password(argc, argv)
            free(hex.data);
            goto cleanup;
        }
-       encrypted_passwd.data = (unsigned char *)str;
+       encrypted_passwd.value = (unsigned char *)str;
        encrypted_passwd.len = strlen(str);
        memset(hex.data, 0, hex.length);
        free(hex.data);