# Generate automatically. Do not edit.

commit 84676ef669be6a7182c0e0fa4f28a80ce573e952
Author: Stef Walter <stefw@gnome.org>
Date:   2012-11-12

    Release 0.4

 NEWS         | 6 ++++++
 configure.ac | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

commit cb546913fa993593fdf4e45edbbd6c43f78f5e84
Author: Stef Walter <stefw@gnome.org>
Date:   2012-11-12

    Use a private krb5.conf file
    
     * This helps us connect to the same server consistently.
     * Allows --domain-server argument to work properly.
    
    https://bugs.freedesktop.org/show_bug.cgi?id=55487

 library/adconn.c    | 115 ++++++++++++++++++++++++++++++++++++++++++++++++++--
 library/adconn.h    |   5 +++
 library/adprivate.h |   4 ++
 library/adutil.c    |  27 ++++++++++++
 tools/Makefile.am   |   1 +
 tools/adcli.c       | 113 +++++++++++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 261 insertions(+), 4 deletions(-)

commit 08bd7b69f0da02ee750fa527453c526e627d182d
Author: Stef Walter <stefw@gnome.org>
Date:   2012-11-09

    Rework how computer account is located and created
    
     * Always try to find the account first, using sAMAccountName.
     * If computer OU is specified enforce that the account is in
       the right place.
     * Use terminology 'computer-ou' instead of 'preferred-ou' where
       appropriate, since it's not just preferred anymore.
     * Don't allow explicitly setting the computer container, too
       complicated and not exposed anywhere.
    
    https://bugs.freedesktop.org/show_bug.cgi?id=56868

 library/adenroll.c  | 354 +++++++++++++++++++++++++++++-----------------------
 library/adenroll.h  |   7 +-
 library/adldap.c    |  94 ++++++++++++++
 library/adprivate.h |   5 +
 tools/adcli.c       |   4 +-
 5 files changed, 303 insertions(+), 161 deletions(-)

commit 72c1a9f7bd71d4bc8920b6998e749afb90fe8372
Author: Stef Walter <stefw@gnome.org>
Date:   2012-11-09

    Don't follow referalls when searching LDAP server
    
    https://bugs.freedesktop.org/show_bug.cgi?id=56868

 library/adconn.c | 3 +++
 1 file changed, 3 insertions(+)

commit 8b793abd22593e8b764a0c0da40794095718697f
Author: Stef Walter <stefw@gnome.org>
Date:   2012-11-09

    Ignore built files

 .gitignore | 5 +++++
 1 file changed, 5 insertions(+)

commit 2db1f46959d1c29394e7a4976ef0f9c895b7cd93
Author: Stef Walter <stefw@gnome.org>
Date:   2012-10-30

    Fix freeing of uninitialized memory

 library/adenroll.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit 24c6bedfe0862f8d61d5939ee10c9a5a749c9860
Author: Stef Walter <stefw@gnome.org>
Date:   2012-10-20

    Release version 0.3

 NEWS         | 6 ++++++
 configure.ac | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

commit e2c5f29cc7bc1cca7f3d7c8544d60f0aaacd07f2
Author: Stef Walter <stefw@gnome.org>
Date:   2012-10-20

    Don't use DNS to lookup the host name for enrollment
    
     * Use the computers own concept of what its host name is
     * The idea is that dynamic DNS is properly set after we join
       the domain (perhaps by sssd).

 library/adconn.c | 47 +++--------------------------------------------
 1 file changed, 3 insertions(+), 44 deletions(-)

commit 77a8f652493ec999953458b16d064bb62b450b52
Author: Stef Walter <stefw@gnome.org>
Date:   2012-10-20

    Don't try to update userAccountControl for precreated accounts
    
     * When auto-joining or using OTP, don't try to update userAccountControl
       attribute.
     * This attribute is not writable by the computer account itself.
    
    https://bugs.freedesktop.org/show_bug.cgi?id=56148

 library/adenroll.c | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

commit 590d44b3a00231a1ae2d3e498ad7c1faa96d1845
Author: Stef Walter <stefw@gnome.org>
Date:   2012-10-19

    Fix an assertion and handle errors correctly when setup fails

 library/adenroll.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

commit be76ec644c949ab14b2e3f3a6ef3f4f9778eb7bf
Author: Stef Walter <stefw@gnome.org>
Date:   2012-10-19

    Allow use of host names without any dot.
    
     * In the case where DNS isn't working we calculate the computer name
       from the host name. Allow that name to have no dots.
    
    https://bugs.freedesktop.org/show_bug.cgi?id=56147

 library/adconn.c   | 15 ++++++++++-----
 library/adenroll.c | 15 ++++++++++-----
 2 files changed, 20 insertions(+), 10 deletions(-)

commit 909670dba8ada7ab3ecc99483b241face30d3313
Author: Stef Walter <stefw@gnome.org>
Date:   2012-09-30

    Require LDAP when building adcli

 configure.ac | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

commit fef364f413d87dfe0e6111634b7311e9c43850cc
Author: Stef Walter <stefw@gnome.org>
Date:   2012-09-30

    Require libtool to build adcli

 configure.ac | 1 +
 1 file changed, 1 insertion(+)

commit b8107de6344b46d695783bac0d1e3b9c5b18e751
Author: Stef Walter <stefw@gnome.org>
Date:   2012-09-04

    Fix license addresses, and missing header comments

 library/adcli.h      |  4 ++--
 library/adconn.c     |  4 ++--
 library/adconn.h     |  4 ++--
 library/adenroll.c   |  4 ++--
 library/adenroll.h   |  4 ++--
 library/adkrb5.c     |  4 ++--
 library/adldap.c     |  4 ++--
 library/adprivate.h  |  4 ++--
 library/adutil.c     |  4 ++--
 library/adutil.h     |  4 ++--
 library/getsrvinfo.c |  4 ++--
 library/getsrvinfo.h |  4 ++--
 tools/adcli.c        | 22 ++++++++++++++++++++++
 13 files changed, 46 insertions(+), 24 deletions(-)

commit 06fb3ecbe87b511a03997fb5b0e25e407c939192
Author: Stef Walter <stefw@gnome.org>
Date:   2012-09-04

    Ignore files built during release process

 .gitignore | 2 ++
 1 file changed, 2 insertions(+)

commit 7e0f823019c004f5849e0dffb42db96dbdafc8d4
Author: Stef Walter <stefw@gnome.org>
Date:   2012-09-04

    Release version 0.2
    
     * And fix some build warnings

 NEWS             | 9 +++++++++
 configure.ac     | 2 +-
 library/adconn.c | 2 +-
 tools/adcli.c    | 2 +-
 4 files changed, 12 insertions(+), 3 deletions(-)

commit 3779c40fc7e9c0fb23f2058ac32421ce65841b56
Author: Stef Walter <stefw@gnome.org>
Date:   2012-09-03

    Fix erroneous argument number check in preset command

 tools/adcli.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 5784dc52c6f042a1c8b343b0d1cf6fac651e699a
Author: Stef Walter <stefw@gnome.org>
Date:   2012-09-03

    Return the correct exit codes
    
     * On failure we return the positive values of the result
       codes in adutil.h

 tools/adcli.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit a2887aae0b7dc0361e6a045abf96d2e526f3caba
Author: Stef Walter <stefw@gnome.org>
Date:   2012-09-03

    Load the credential cache provided with --login-ccache
    
     * We do this so that we can use the ccache when changing the
       computer password during a one-time-password or automatic join.
     * This also lets us provide more intelligable error messages

 library/adconn.c | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)

commit ad44e157514dff1a0726e72863e9ef9ab6e1ed58
Author: Stef Walter <stefw@gnome.org>
Date:   2012-09-03

    Implement the --show-details join option
    
     * This prints out domain details in a machine parseable format

 tools/adcli.c | 60 +++++++++++++++++++++++++++++++++++------------------------
 1 file changed, 36 insertions(+), 24 deletions(-)

commit b1790c04da4c26e21baa743cc0c7ffb07e2e4aac
Author: Stef Walter <stefw@gnome.org>
Date:   2012-09-03

    Add support for retrieving the short (ie: netbios) domain name

 library/adconn.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++--
 library/adconn.h |  2 ++
 2 files changed, 48 insertions(+), 2 deletions(-)

commit 850c74548fe42d69bc5700e4d38d42af617764af
Author: Stef Walter <stefw@gnome.org>
Date:   2012-09-03

    Rename --login-name to the more common --user argument

 tools/adcli.c | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

commit d1520504e9a5178eec9c571a8e754c108f1bdfb7
Author: Stef Walter <stefw@gnome.org>
Date:   2012-08-31

    Cleanup some of the usage/error output to be clearer

 tools/adcli.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit 57c1cd21720235b3913dd496020353014f125532
Author: Stef Walter <stefw@gnome.org>
Date:   2012-08-31

    Add --one-time-password to the 'preset' command
    
     * Instead of using the default computer account password specify
       a preset password to use.

 tools/adcli.c | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)

commit a71048282117d3e0fc6192c3f04a4fa1087f7e5b
Author: Stef Walter <stefw@gnome.org>
Date:   2012-08-31

    Make sure long options don't conflict with short

 tools/adcli.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit bd5a950f26b56e48e8354510ba12eaa8b718f50b
Author: Stef Walter <stefw@gnome.org>
Date:   2012-08-31

    Print info messages when setting/changing computer account password

 library/adenroll.c | 2 ++
 1 file changed, 2 insertions(+)

commit e6c9d7480149aa01932e3e9c0ca08d7ce0c6a149
Author: Stef Walter <stefw@gnome.org>
Date:   2012-08-31

    Implement various ways to prompt/read login or computer password
    
     * --no-password does not prompt
     * --promt-password (default) prompts as expected
     * --stdin-password reads the password from stdin

 library/adconn.c |  69 ++++++++++++++++++----------
 library/adconn.h |   4 +-
 tools/adcli.c    | 134 +++++++++++++++++++++++++++++++++++++++++++++++++++----
 3 files changed, 174 insertions(+), 33 deletions(-)

commit 712d0fcde8c471464ebb91a3d57443fecbf9cf4b
Author: Stef Walter <stefw@gnome.org>
Date:   2012-08-31

    Specify domain in --domain parameter
    
     * We default to domain calculated from host name
     * This allows cleaner syntax for 'preset' command, and
       future 'leave' command

 tools/adcli.c | 50 +++++++++++++++++++++++++++-----------------------
 1 file changed, 27 insertions(+), 23 deletions(-)

commit 23e5b9ed6f8231c3e551c4c24ea73832c9d5233d
Author: Stef Walter <stefw@gnome.org>
Date:   2012-08-31

    Cleanup option parsing
    
     * Some options have no short equivalent
     * Print intelligent usage based on commands

 tools/Makefile.am |   6 +
 tools/adcli.c     | 380 +++++++++++++++++++++++++++++++++++++++---------------
 2 files changed, 285 insertions(+), 101 deletions(-)

commit 05a1cd35665de91d4e2e62188efd09235b8098bc
Author: Stef Walter <stefw@gnome.org>
Date:   2012-08-23

    Update project URLs

 Makefile.am  | 2 +-
 configure.ac | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit c9747db817e8796ffb927ffc1583d0b75886417d
Author: Stef Walter <stefw@gnome.org>
Date:   2012-08-15

    Release version 0.1

 .gitignore | 1 +
 NEWS       | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

commit 02f2ca343e04b9f319ffe3d681ec6c9f46e4d97f
Author: Stef Walter <stefw@gnome.org>
Date:   2012-08-09

    Don't print '(null)' when using default domain

 tools/adcli.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 8200a052fd5a13c3a3df2b23cc912e70396d0eb4
Author: Stef Walter <stefw@gnome.org>
Date:   2012-08-09

    Fix memory leak when setting password fails

 library/adenroll.c | 34 ++++++++++++++++++++++++++++------
 1 file changed, 28 insertions(+), 6 deletions(-)

commit bc6c1ea1970cac227e6892419e0bdabe60b487ef
Author: Stef Walter <stefw@gnome.org>
Date:   2012-08-09

    Fix parsing of principals when no default realm is set

 library/adconn.c   |  8 +++++++-
 library/adenroll.c | 17 ++++++-----------
 library/adkrb5.c   |  2 +-
 3 files changed, 14 insertions(+), 13 deletions(-)

commit 8241b3c493c5914665413ea92b82b07693a3c77a
Author: Stef Walter <stefw@gnome.org>
Date:   2012-08-09

    Print a better error message if can't create krb5 context

 library/adconn.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit ee239e62c91b31e0b8889fa3b6608c958180fbf8
Author: Stef Walter <stefw@gnome.org>
Date:   2012-07-21

    Fix memory leak of attributes

 library/adenroll.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit e49d523a50a30dec54959d8defc156185e723368
Author: Stef Walter <stefw@gnome.org>
Date:   2012-07-21

    Set the dNSHostName and servicePrincipalName attributes separately
    
     * And ignore failures setting these attributes

 library/adenroll.c | 109 ++++++++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 87 insertions(+), 22 deletions(-)

commit 1d5301ed61993b40e49ab27e671a1f82456984e4
Author: Stef Walter <stefw@gnome.org>
Date:   2012-07-21

    Fix regression of prompting for passwords during join

 tools/adcli.c | 1 +
 1 file changed, 1 insertion(+)

commit 4b7c7530d2884792abe90c7514cdb19d68a4aaa1
Author: Stef Walter <stefw@gnome.org>
Date:   2012-07-21

    Fix regression, and crash on NULL keytab, during join

 library/adenroll.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 48bd64594a4b46a6ac88f147b3ebb6ed9a48f0ee
Author: Stef Walter <stefw@gnome.org>
Date:   2012-07-21

    Set msDS-supportedEncryptionTypes correctly
    
     * Tell AD about the enctypes we have in our keytab. Either the defaults
       or the ones the caller requests.
     * This is done by setting the msDS-supportedEncryptionTypes attribute.
     * If caller has not explicitly requested certain enctypes try to respect
       a msDS-supportedEncryptionTypes attribute already present on the
       computer account.

 library/adenroll.c  | 92 ++++++++++++++++++++++++++++++++++++++++++++++++++---
 library/adkrb5.c    | 79 +++++++++++++++++++++++++++++++++++++++++++++
 library/adprivate.h |  4 +++
 3 files changed, 170 insertions(+), 5 deletions(-)

commit b4c5bc9fdd259eeff4d25eccc1a53d7814065c37
Author: Stef Walter <stefw@gnome.org>
Date:   2012-07-21

    Fix warning due to constness

 library/adconn.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 100b8f4ad6ac8e92daf2b0ce2e429ac0f350f817
Author: Stef Walter <stefw@gnome.org>
Date:   2012-07-20

    Fix warning, add const cast

 library/adconn.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 1cfa291ca5174cc81f624ae23eb211f9512a42e9
Author: Stef Walter <stefw@gnome.org>
Date:   2012-07-20

    Clearer messages when setting password fails

 library/adenroll.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit d4470cb82ae7ca1e454a673b25e576ffb8971477
Author: Stef Walter <stefw@gnome.org>
Date:   2012-07-20

    If there are no attributes to update, then don't ldap_modify

 library/adenroll.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

commit b94db022b51410ca2975f8ec906487048f861be8
Author: Stef Walter <stefw@gnome.org>
Date:   2012-07-20

    Use the enroll domain name for calculating the enroll computer name
    
     * Rather than the connection computer name, which may just be the
       one that is used for authentication

 library/adenroll.c | 25 ++++++++++++++++++++-----
 1 file changed, 20 insertions(+), 5 deletions(-)

commit 3ed0a52f3639a12de967be8b91186fbe22c0ab72
Author: Stef Walter <stefw@gnome.org>
Date:   2012-07-20

    Use kerberos password change/set functions for managing computer password

 library/adconn.c    | 163 +++++++++++++++++++++++++++----------------
 library/adenroll.c  | 194 +++++++++++++++++++++++++++++++++++++++-------------
 library/adkrb5.c    |  20 ++++++
 library/adprivate.h |  15 ++++
 tools/adcli.c       |   1 +
 5 files changed, 284 insertions(+), 109 deletions(-)

commit 773b39b507361c8eafa1c309d27f6b2d6e8790a9
Author: Stef Walter <stefw@gnome.org>
Date:   2012-07-20

    Support authentication with computer accounts
    
     * Rename user credentials related methods and variables appropriately
     * Use term 'computer name' for the local netbios name
     * Add ability to discover domain info without connecting
     * Add ability to calculate enroll info without enrolling
     * Remove one-time-password code we added a few commits ago, and instead
       use the default/reset computer password

 library/adconn.c    | 332 +++++++++++++++++++++++++++++++++--------
 library/adconn.h    |  33 ++++-
 library/adenroll.c  | 414 +++++++++++++++++++++++++++-------------------------
 library/adenroll.h  |  26 ++--
 library/adldap.c    |  28 ++++
 library/adprivate.h |   8 +
 library/adutil.c    |  22 +++
 tools/adcli.c       |  47 +++---
 8 files changed, 604 insertions(+), 306 deletions(-)

commit 8a3cede4965074e0b5412752027dfa723aad872a
Author: Stef Walter <stefw@gnome.org>
Date:   2012-07-18

    Rename 'admin' parameters to 'login'
    
    So that in the future they can represent host credentials or other
    login creds

 library/adconn.c   | 92 +++++++++++++++++++++++++++---------------------------
 library/adconn.h   | 14 ++++-----
 library/adenroll.c |  7 +++--
 tools/adcli.c      | 10 +++---
 4 files changed, 62 insertions(+), 61 deletions(-)

commit c1154baf81e8d23d0daa8ce28d5d86173c17066c
Author: Stef Walter <stefw@gnome.org>
Date:   2012-07-19

    In adcli print out the last error message, instead of generic message

 library/adconn.c   | 44 +++++++++++++++++++++++++++++++++-----------
 library/adconn.h   |  4 ++++
 library/adenroll.c |  3 +++
 tools/adcli.c      |  6 +++---
 4 files changed, 43 insertions(+), 14 deletions(-)

commit a769d3905866516379ecf4c3f719f9030c8d2bb8
Author: Stef Walter <stefw@gnome.org>
Date:   2012-07-19

    Don't automatically overwrite computer accounts during prejoin

 library/adenroll.c | 17 ++++++++++++-----
 library/adenroll.h |  1 +
 tools/adcli.c      | 12 +++++++++---
 3 files changed, 22 insertions(+), 8 deletions(-)

commit 9e44a2f3460aa878e6327765a97ddcdccb6aacd7
Author: Stef Walter <stefw@gnome.org>
Date:   2012-07-19

    Only print out one time password if it was generated

 tools/adcli.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

commit 8315c76f31a7568acb38cf8c9e6eb65a23d9f877
Author: Stef Walter <stefw@gnome.org>
Date:   2012-07-19

    Print out computer account names clearly when prejoining

 tools/adcli.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit e824aaa708df20727a035b56e7702e6ec168e373
Author: Stef Walter <stefw@gnome.org>
Date:   2012-07-19

    Use simpler passwords for one time passwords
    
     * Only consist of isalpha() and isdigit() characters and
       60 characters long

 library/adenroll.c | 90 ++++++++++++++++++++++++++++++++++++++----------------
 library/adenroll.h |  7 +++++
 tools/adcli.c      | 16 +++++-----
 3 files changed, 79 insertions(+), 34 deletions(-)

commit eacda3bef90193a08e1d6c983a8a083a4d7b69fb
Author: Stef Walter <stefw@gnome.org>
Date:   2012-07-19

    Rename ad-enroll to adcli and add prejoin support

 .gitignore        |   1 +
 tools/Makefile.am |   4 +-
 tools/ad-enroll.c | 190 -------------------------------
 tools/adcli.c     | 327 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 330 insertions(+), 192 deletions(-)

commit d4c4b4bd69540998073457b948c479fb8a8aab58
Author: Stef Walter <stefw@gnome.org>
Date:   2012-07-19

    Add option to enroll without setting up a keytab

 library/adenroll.c | 6 +++++-
 library/adenroll.h | 7 ++++++-
 2 files changed, 11 insertions(+), 2 deletions(-)

commit 25a7306e71483bd46a0045ebb117da4feed28feb
Author: Stef Walter <stefw@gnome.org>
Date:   2012-07-19

    Clear all state not explicitly set
    
     * This makes it simpler to use a single adcli_enroll structure
       for multiple enrolls, like we want to do for prejoins.

 library/adenroll.c | 51 +++++++++++++++++++++++++++++++++++++++++++++++----
 1 file changed, 47 insertions(+), 4 deletions(-)

commit 3f98a383c283c5410fe2cb2065dcda7b7366373a
Author: Stef Walter <stefw@gnome.org>
Date:   2012-07-19

    Correctly null terminate passwords explicitly set
    
     * This works around a bug in some krb5 versions
     * And support using -1 as the length argument

 library/adenroll.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

commit cbf0fc117f762b28cad50ba8b6f1061b36921b0a
Author: Stef Walter <stefw@gnome.org>
Date:   2012-07-19

    adcli_enroll_get_host_password() returns const

 library/adenroll.c | 2 +-
 library/adenroll.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit e7f7a1d5372be7bb589a6899dee0462774bf453f
Author: Stef Walter <stefw@gnome.org>
Date:   2012-07-04

    Fix use of uninitialized variables

 library/adldap.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 697f60c5c4cd9148012375d67f15efff67183bfd
Author: Stef Walter <stefw@gnome.org>
Date:   2012-07-04

    Commit empty m4 directory to git

 .gitignore    | 2 +-
 m4/.gitignore | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

commit 179eee900ea00af6009820de4ff697adeb78ecd8
Author: Stef Walter <stefw@gnome.org>
Date:   2012-05-31

    Classify errors correctly when cannot authenticate as admin
    
     * This might be the first time we're 'hitting' the server
     * Some errors signify directory problems, others credential problems.

 library/adconn.c | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

commit a3174b32fb22198ced8815a90f12aaa74fa8745d
Author: Stef Walter <stefw@gnome.org>
Date:   2012-05-31

    Better message when kerberos authenication fails

 library/adconn.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 0a59caa653b126494e823459ef02fd2d314e1f0d
Author: Stef Walter <stefw@gnome.org>
Date:   2012-05-31

    Remove unnecessary optimizations
    
     * These code paths are rarely used, and the code functions
       without these equality checks, since we dup before free

 library/adconn.c   |  3 ---
 library/adenroll.c | 13 -------------
 library/adutil.c   |  6 ------
 3 files changed, 22 deletions(-)

commit a101e0ff822aae3e1670ea8bd87eb33657058d0e
Author: Stef Walter <stefw@gnome.org>
Date:   2012-05-25

    Add more diagnostics to enrollment process

 library/adenroll.c | 43 +++++++++++++++++++++++++++++++++----------
 1 file changed, 33 insertions(+), 10 deletions(-)

commit 74457dc32bdab1e0d338cd7f30294e5ac4135af3
Author: Stef Walter <stefw@gnome.org>
Date:   2012-05-25

    Add support for specifying the domain server explicitly
    
     * Also detect which server was connected to

 library/adconn.c  | 40 ++++++++++++++++++++++++++++++++++++++++
 library/adconn.h  |  5 +++++
 tools/ad-enroll.c |  9 +++++++--
 3 files changed, 52 insertions(+), 2 deletions(-)

commit 833c0493ff598915da4203f9b4670e1ab2f13ca6
Author: Stef Walter <stefw@gnome.org>
Date:   2012-05-25

    Setup the host account password to not expire

 library/adenroll.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 0fc3076de10e15cdca4f18c98375eac864cd3db7
Author: Stef Walter <stefw@gnome.org>
Date:   2012-05-25

    Correctly determine which salt to use for keytab

 library/Makefile.am |   1 +
 library/adenroll.c  | 214 ++++++++++++++++++++++++-------------------
 library/adkrb5.c    | 257 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 library/adprivate.h |  40 ++++++++
 4 files changed, 418 insertions(+), 94 deletions(-)

commit 66b8683b73e3f8a2d63257bf3f6fdb8ea78386b4
Author: Stef Walter <stefw@gnome.org>
Date:   2012-05-24

    Return correct error codes when admin account doesn't have right perms
    
     * We fudge it a bit when creating the computer account as it's
       tough to get AD to return a good error code here.

 library/adenroll.c | 33 +++++++++++++++++++++++++++------
 1 file changed, 27 insertions(+), 6 deletions(-)

commit 7d80d041b17514ea18f7a0ad894a1694c87d05cf
Author: Stef Walter <stefw@gnome.org>
Date:   2012-05-24

    Implement writing to the keytab

 library/adenroll.c | 408 +++++++++++++++++++++++++++++++++++++++++++++++++----
 library/adenroll.h |  16 ++-
 tools/ad-enroll.c  |  11 +-
 3 files changed, 400 insertions(+), 35 deletions(-)

commit 0c688c93a8c8f0a06f67c97208595e53d038d254
Author: Stef Walter <stefw@gnome.org>
Date:   2012-05-24

    Retrieve the kvno from the computer account

 library/adenroll.c | 96 +++++++++++++++++++++++++++++++++++++++++++++++++++++-
 library/adenroll.h |  5 +++
 tools/ad-enroll.c  |  1 +
 3 files changed, 101 insertions(+), 1 deletion(-)

commit 66fb648c6f6b6deb13c16e2cf239fdc96821b74f
Author: Stef Walter <stefw@gnome.org>
Date:   2012-05-24

    Correctly format the unicodePwd sent to AD

 library/adenroll.c | 62 ++++++++++++++++++++++++++++++++++++++++--------------
 1 file changed, 46 insertions(+), 16 deletions(-)

commit 9417898a425736d92f93f81e8f5dfe7ed9737db3
Author: Stef Walter <stefw@gnome.org>
Date:   2012-05-24

    Ask for an SSF from ldap bind that signifies encryption

 library/adconn.c | 6 ++++++
 1 file changed, 6 insertions(+)

commit 9680b3f9a7f07567c3f6b7d7a6685adb33cfa9e1
Author: Stef Walter <stefw@gnome.org>
Date:   2012-05-24

    Refactor DNS and LDAP support code into separate files
    
     * DNS SRV stuff into getsrvinfo.c and getsrvinfo.h
     * LDAP helpers into adldap.c

 library/Makefile.am  |   3 +-
 library/adconn.c     |  29 +-----
 library/addnssrv.c   | 262 --------------------------------------------------
 library/adldap.c     | 203 +++++++++++++++++++++++++++++++++++++++
 library/adprivate.h  |  15 ---
 library/adutil.c     | 140 ---------------------------
 library/getsrvinfo.c | 263 +++++++++++++++++++++++++++++++++++++++++++++++++++
 library/getsrvinfo.h |  42 ++++++++
 8 files changed, 511 insertions(+), 446 deletions(-)

commit 2581fcc87bafe8ff026b543a5774a33779a373e2
Author: Stef Walter <stefw@gnome.org>
Date:   2012-05-14

    Add a HACKING document explaining a few things

 HACKING | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

commit 6919d5173a4f105333a23f42bc3c85746ce00871
Author: Stef Walter <stefw@gnome.org>
Date:   2012-05-14

    Update the license to LGPL 2.1 and add headers to files

 COPYING             | 218 ++++++++++++++++++++++++++++------------------------
 library/adcli.h     |  22 ++++++
 library/adconn.c    |  22 ++++++
 library/adconn.h    |  22 ++++++
 library/addnssrv.c  |  22 ++++++
 library/adenroll.c  |  22 ++++++
 library/adenroll.h  |  22 ++++++
 library/adprivate.h |  22 ++++++
 library/adutil.c    |  22 ++++++
 library/adutil.h    |  22 ++++++
 10 files changed, 317 insertions(+), 99 deletions(-)

commit a87c8c776c27b64eade210e388b805bf891d32fc
Author: Stef Walter <stefw@gnome.org>
Date:   2012-05-14

    Rename to adcli

 .gitignore               |  2 +-
 Makefile.am              |  2 +-
 README                   |  4 ++--
 configure.ac             |  8 ++++----
 library/Makefile.am      |  4 ++--
 library/adcli-1.pc.in    | 13 +++++++++++++
 library/libadcli-1.pc.in | 13 -------------
 7 files changed, 23 insertions(+), 23 deletions(-)

commit d8983ad461db0d09a36f54e462dcb13dd06dd274
Author: Stef Walter <stefw@gnome.org>
Date:   2012-05-11

    Implemented adding/modifying computer accounts
    
     * Currently get a WILL_NOT_PERFORM from server so this needs further
       modification

 library/adconn.c    |  23 +---
 library/adenroll.c  | 322 ++++++++++++++++++++++++++++++++++++++++++++++++++--
 library/adenroll.h  |  13 +++
 library/adprivate.h |  14 ++-
 library/adutil.c    |  93 ++++++++++++++-
 tools/ad-enroll.c   |   4 +
 6 files changed, 437 insertions(+), 32 deletions(-)

commit 2edc904881c9c96f04cf9dc46f78f56005ce6395
Author: Stef Walter <stefw@gnome.org>
Date:   2012-05-11

    Lookup computer account and generate host password

 library/adconn.c    |  64 ++--------
 library/adconn.h    |   2 +
 library/addnssrv.c  |   2 +-
 library/adenroll.c  | 329 +++++++++++++++++++++++++++++++++++++---------------
 library/adenroll.h  |  43 ++++---
 library/adprivate.h |   7 ++
 library/adutil.c    |  99 ++++++++++++++++
 tools/ad-enroll.c   |   6 +-
 8 files changed, 387 insertions(+), 165 deletions(-)

commit 3c4d9d7f7c216cc1f3f9a74e2c93e6f91a3a95a2
Author: Stef Walter <stefw@gnome.org>
Date:   2012-05-11

    Error code cleanup
    
     * Cleanup the error codes so they are more actionable.

 library/adconn.c   | 44 +++++++++++++++++++++++++++-----------------
 library/addnssrv.c |  5 +++--
 library/adenroll.c | 12 ++++++------
 library/adutil.c   | 16 +++++++++-------
 library/adutil.h   | 41 ++++++++++++++++++++++++++++++++++++++---
 5 files changed, 83 insertions(+), 35 deletions(-)

commit 47c47330e7c37a3be738e48ab1b3c39fee21c330
Author: Stef Walter <stefw@gnome.org>
Date:   2012-05-11

    Use preconditions instead of propogating insane state
    
     * Don't propogate memory errors, use preconditions instead
     * These allow the process to keep functioning in the face of broken
       calls or a broken system, but without guarantees like lack
       of memory leaks or completely expected behavior.
     * Sort of like a kernel non-fatal oops

 library/adconn.c    | 235 +++++++++++++++++++++++++---------------------------
 library/adconn.h    |  20 ++---
 library/addnssrv.c  |   9 +-
 library/adenroll.c  |  48 ++++++-----
 library/adenroll.h  |   6 +-
 library/adprivate.h |  92 ++++++++++++++------
 library/adutil.c    |  82 ++++++++----------
 library/adutil.h    |   3 +-
 tools/ad-enroll.c   |  19 ++---
 9 files changed, 268 insertions(+), 246 deletions(-)

commit f6d79ec882cc8df7c68a5295e66d9d0545833223
Author: Stef Walter <stefw@gnome.org>
Date:   2012-05-11

    Validate the computer OU

 library/adenroll.c | 69 +++++++++++++++++++++++++++++++++++++++++-------------
 1 file changed, 53 insertions(+), 16 deletions(-)

commit febe9767cc4c06eadf0b974c98942dc7a8356feb
Author: Stef Walter <stefw@gnome.org>
Date:   2012-05-11

    Lookup or validate the computer OU

 library/adconn.c    |  92 +++++++++++++++++++++++--------
 library/adconn.h    |   3 +
 library/adenroll.c  | 156 +++++++++++++++++++++++++++++++++++++++++++++++++++-
 library/adenroll.h  |   5 ++
 library/adprivate.h |  17 +++++-
 tools/ad-enroll.c   |   9 ++-
 6 files changed, 255 insertions(+), 27 deletions(-)

commit 08512ced8a3c66ac65f1d6c6f0c916616a7692cf
Author: Stef Walter <stefw@gnome.org>
Date:   2012-05-11

    Lookup the naming context for AD
    
     * And differentiate between connection and authentication problems

 library/adconn.c    | 211 ++++++++++++++++++++++++++++++++++++++--------------
 library/adconn.h    |   2 +
 library/adenroll.c  |   2 -
 library/adprivate.h |   3 +
 library/adutil.c    |  15 ++++
 tools/ad-enroll.c   |   7 +-
 6 files changed, 179 insertions(+), 61 deletions(-)

commit 349635595606341f55f96ec74c5946d2137f71b2
Author: Stef Walter <stefw@gnome.org>
Date:   2012-05-11

    Refactor connecting and enrolling separately.

 library/Makefile.am |   8 +-
 library/adcli.c     | 168 -----------
 library/adcli.h     |  28 +-
 library/adconn.c    | 853 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 library/adconn.h    |  78 +++++
 library/adenroll.c  | 846 ++++-----------------------------------------------
 library/adenroll.h  |  63 +---
 library/adprivate.h |  25 +-
 library/adutil.c    | 181 +++++++++++
 library/adutil.h    |  22 ++
 tools/ad-enroll.c   |  45 +--
 11 files changed, 1263 insertions(+), 1054 deletions(-)

commit 5d2a95ce2c565eaa6b88bb08a7b889555cc3cacc
Author: Stef Walter <stefw@gnome.org>
Date:   2012-05-11

    Connect to LDAP and authenticate using GSSAPI

 configure.ac       |   4 +-
 library/adcli.c    |   2 +
 library/adcli.h    |   1 +
 library/adenroll.c | 224 ++++++++++++++++++++++++++++++++++++++++-------------
 library/adenroll.h |   3 -
 tools/ad-enroll.c  |   5 +-
 6 files changed, 179 insertions(+), 60 deletions(-)

commit 61f0b419c7c612543d8cbb104c82111ffe672e6a
Author: Stef Walter <stefw@gnome.org>
Date:   2012-05-10

    Implement kinit and credential functionality

 library/adcli.c     |   5 +-
 library/adcli.h     |   9 +-
 library/adenroll.c  | 325 ++++++++++++++++++++++++++++++++++++++++++++++++----
 library/adenroll.h  |  71 ++++++++----
 library/adprivate.h |   1 +
 tools/ad-enroll.c   |  81 ++++++++++---
 6 files changed, 428 insertions(+), 64 deletions(-)

commit 17df6535ed8faa55a5599b4a7b55d986eac83d1b
Author: Stef Walter <stefw@gnome.org>
Date:   2012-05-10

    Discover realms and ldap urls

 configure.ac        |   5 +-
 library/Makefile.am |   2 +
 library/adcli.c     | 121 +++++++++++++++++++++++++++
 library/addnssrv.c  | 234 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 library/adenroll.c  | 193 ++++++++++++++++++++++++++++++++++++++++---
 library/adenroll.h  |  13 +++
 library/adprivate.h |  31 +++++++
 tools/ad-enroll.c   |  17 +++-
 8 files changed, 601 insertions(+), 15 deletions(-)

commit 6d5e074c271a300daa46a15a1cf638f306ff3d28
Author: Stef Walter <stefw@gnome.org>
Date:   2012-05-10

    Complete lots of infrastructure
    
     * Add some basic arguments
     * Resolve host fqdn, calculate domain name and netbios name

 .gitignore               |   5 +-
 Makefile.am              |  14 +-
 Makefile.decl            |  14 ++
 autogen.sh               |  13 --
 configure.ac             |  27 +--
 library/Makefile.am      |  22 ++-
 library/adcli.c          |  42 +++++
 library/adcli.h          |  25 +++
 library/adenroll.c       | 353 +++++++++++++++++++++++++++++++++++++
 library/adenroll.h       |  31 ++++
 library/adprivate.h      |  18 ++
 library/libadcli-1.pc.in |   2 +-
 po/Makefile.in.in        | 444 -----------------------------------------------
 po/POTFILES.in           |   1 -
 po/Rules-quot            |  47 -----
 po/boldquot.sed          |  10 --
 po/en@boldquot.header    |  25 ---
 po/en@quot.header        |  22 ---
 po/insert-header.sin     |  23 ---
 po/quot.sed              |   6 -
 po/remove-potcdate.sin   |  19 --
 tools/Makefile.am        |  16 ++
 tools/ad-enroll.c        | 102 +++++++++++
 23 files changed, 641 insertions(+), 640 deletions(-)

commit 64b1f6b692f9a69433c7458f8bc09bcae80c8821
Author: Stef Walter <stefw@gnome.org>
Date:   2012-05-09

    Initial commit

 .gitignore               |  41 ++++
 AUTHORS                  |   1 +
 COPYING                  | 482 +++++++++++++++++++++++++++++++++++++++++++++++
 ChangeLog                |  31 +++
 Makefile.am              |  47 +++++
 NEWS                     |   2 +
 README                   |   4 +
 autogen.sh               |  32 ++++
 configure.ac             | 256 +++++++++++++++++++++++++
 doc/version.xml.in       |   1 +
 library/Makefile.am      |  32 ++++
 library/libadcli-1.pc.in |  13 ++
 po/Makefile.in.in        | 444 +++++++++++++++++++++++++++++++++++++++++++
 po/POTFILES.in           |   1 +
 po/Rules-quot            |  47 +++++
 po/boldquot.sed          |  10 +
 po/en@boldquot.header    |  25 +++
 po/en@quot.header        |  22 +++
 po/insert-header.sin     |  23 +++
 po/quot.sed              |   6 +
 po/remove-potcdate.sin   |  19 ++
 21 files changed, 1539 insertions(+)
