projects
/
platform
/
upstream
/
krb5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 1.20.1
[platform/upstream/krb5.git]
/
src
/
plugins
/
kdb
/
ldap
/
ldap_util
/
kdb5_ldap_services.c
diff --git
a/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c
b/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c
index
1ed72af
..
e87688d
100644
(file)
--- a/
src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c
+++ b/
src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c
@@
-135,10
+135,6
@@
kdb5_ldap_stash_service_password(int argc, char **argv)
print_usage = TRUE;
goto cleanup;
}
print_usage = TRUE;
goto cleanup;
}
- if (file_name == NULL) {
- com_err(me, ENOMEM, _("while setting service object password"));
- goto cleanup;
- }
} else { /* argc == 2 */
service_object = strdup (argv[1]);
if (service_object == NULL) {
} else { /* argc == 2 */
service_object = strdup (argv[1]);
if (service_object == NULL) {
@@
-288,7
+284,7
@@
kdb5_ldap_stash_service_password(int argc, char **argv)
goto cleanup;
}
goto cleanup;
}
- /* TODO: file lock for the service pass
ow
rd file */
+ /* TODO: file lock for the service pass
wo
rd file */
fclose(pfile);
fclose(newfile);
fclose(pfile);
fclose(newfile);