summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2012-09-04 11:48:06 +0200
committerStef Walter <stefw@gnome.org>2012-09-04 11:53:12 +0200
commit7e0f823019c004f5849e0dffb42db96dbdafc8d4 (patch)
treed7f2ec895d9d61931e32d362eaea3dd036abfd14
parent3779c40fc7e9c0fb23f2058ac32421ce65841b56 (diff)
Release version 0.20.2
* And fix some build warnings
-rw-r--r--NEWS9
-rw-r--r--configure.ac2
-rw-r--r--library/adconn.c2
-rw-r--r--tools/adcli.c2
4 files changed, 12 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index 372c252..01a728e 100644
--- a/NEWS
+++ b/NEWS
@@ -1,2 +1,11 @@
+0.2
+ - Return the correct exit codes
+ - Implement the --show-details join option
+ - Add --one-time-password to the 'preset' command
+ - Add specific ways to read passwords
+ - Specify domain in --domain parameter
+ - Clean up option parsing
+ - Fix bugs
+
0.1
- Initial unstable release
diff --git a/configure.ac b/configure.ac
index e85c6b2..e6ced5c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,7 +1,7 @@
AC_PREREQ(2.61)
AC_INIT([adcli],
- [0.1],
+ [0.2],
[https://bugs.freedesktop.org/enter_bug.cgi?product=realmd],
[adcli],
[http://example.com/website.html])
diff --git a/library/adconn.c b/library/adconn.c
index e2ffbcb..080467a 100644
--- a/library/adconn.c
+++ b/library/adconn.c
@@ -538,7 +538,7 @@ _adcli_kinit_computer_creds (adcli_conn *conn,
password = new_password;
}
- code = krb5_get_init_creds_password (k5, creds, principal, password, NULL, 0,
+ code = krb5_get_init_creds_password (k5, creds, principal, (char *)password, NULL, 0,
0, (char *)in_tkt_service, opt);
if (code == 0 && new_password) {
diff --git a/tools/adcli.c b/tools/adcli.c
index c5016c6..f6cbe08 100644
--- a/tools/adcli.c
+++ b/tools/adcli.c
@@ -294,7 +294,7 @@ build_short_options (const struct option *longopts)
char *options;
char *p;
char opt;
- int count;
+ int count = 0;
int i;
/* Number of characters */