summaryrefslogtreecommitdiffstats
path: root/ipa-server/ipa-kpasswd
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2007-08-09 17:10:41 -0400
committerSimo Sorce <ssorce@redhat.com>2007-08-09 17:10:41 -0400
commit34b439e838c972e36103e07abd424584fdd12090 (patch)
tree7bdf4e251f3073bb310e427029a14c414ef28463 /ipa-server/ipa-kpasswd
parent5a7c853ec7fcda71ef6002bc49cfc4aa6e829dec (diff)
downloadfreeipa-34b439e838c972e36103e07abd424584fdd12090.tar.gz
freeipa-34b439e838c972e36103e07abd424584fdd12090.tar.xz
freeipa-34b439e838c972e36103e07abd424584fdd12090.zip
Fix location of the binary
Add a comment on the ldap code for the future
Diffstat (limited to 'ipa-server/ipa-kpasswd')
-rw-r--r--ipa-server/ipa-kpasswd/Makefile2
-rw-r--r--ipa-server/ipa-kpasswd/ipa_kpasswd.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/ipa-server/ipa-kpasswd/Makefile b/ipa-server/ipa-kpasswd/Makefile
index efdaa16b8..4182b7705 100644
--- a/ipa-server/ipa-kpasswd/Makefile
+++ b/ipa-server/ipa-kpasswd/Makefile
@@ -2,4 +2,4 @@ all:
gcc ipa_kpasswd.c -I/usr/include -lkrb5 -llber -lldap -g -o ipa_kpasswd
install:
- cp -f ipa_kpasswd /usr/local/sbin/
+ cp -f ipa_kpasswd /usr/sbin/
diff --git a/ipa-server/ipa-kpasswd/ipa_kpasswd.c b/ipa-server/ipa-kpasswd/ipa_kpasswd.c
index 4e324e2a5..4f0c9665f 100644
--- a/ipa-server/ipa-kpasswd/ipa_kpasswd.c
+++ b/ipa-server/ipa-kpasswd/ipa_kpasswd.c
@@ -348,6 +348,7 @@ int ldap_pwd_change(char *client_name, char *realm_name, krb5_data pwd)
}
/* find base dn */
+ /* TODO: address the case where we have multiple naming contexts */
tv.tv_sec = 10;
tv.tv_usec = 0;