summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2016-05-20Remove \n or \r\n from stdin passwordSumit Bose1-0/+7
https://bugs.freedesktop.org/show_bug.cgi?id=78448
2015-12-17update: set login keytab based on command line optionsSumit Bose1-0/+1
This fixes a recent regression introduced by: commit ec1fd29641e9f4638d00e3ccaaa20927d126aa9d Allow additional ccache for updates https://bugs.freedesktop.org/show_bug.cgi?id=93400
2015-12-16tools: Add missing breakSumit Bose1-0/+1
Reviewed-by: Stef Walter <stefw@redhat.com>
2015-12-11Check host password lifetimeSumit Bose1-0/+18
https://bugs.freedesktop.org/show_bug.cgi?id=93282
2015-12-07Coverity fixesSumit Bose3-2/+12
https://bugs.freedesktop.org/show_bug.cgi?id=93222 Signed-off-by: Stef Walter <stefw@redhat.com> * Revert changes for resource cleanup in unexpected conditions See above bug for explanation. * Some whitespace fixes.
2015-12-07Allow additional ccache for updatesSumit Bose1-4/+6
https://bugs.freedesktop.org/show_bug.cgi?id=92908 Signed-off-by: Stef Walter <stefw@redhat.com> * Removed redundant changes for default keytab
2015-12-07Allow domain option for updatesSumit Bose1-0/+1
https://bugs.freedesktop.org/show_bug.cgi?id=92908 Reviewed-by: Stef Walter <stefw@redhat.com>
2015-12-07Implement 'adcli update'Stef Walter3-0/+103
This is similar to an 'adcli join' but expects to use settings and authentication from a keytab. It also expects to find a computer account already present, rather than creating one. https://bugs.freedesktop.org/show_bug.cgi?id=92908
2013-07-19Delete current computer if no host specified to delete-computerStef Walter1-3/+4
realmd will use this. realmd lets adcli calculate the current host name during join, and so it makes sense to do the same during delete-computer. https://bugs.freedesktop.org/show_bug.cgi?id=65032
2013-06-18Fix typo of word 'necessary'Stef Walter2-2/+2
https://bugs.freedesktop.org/show_bug.cgi?id=65782
2013-06-11Always show info for --domain-controller if providedStef Walter1-8/+6
2013-05-02Add some annotations for clang analyzerStef Walter2-6/+12
* And fix highlighted issues
2013-04-29Use ldap_init_fd to better support IP addressesStef Walter1-3/+3
When using an IP address we need to connect to that address but then use the host name discovered in the LDAP URL. OpenLDAP doesn't make this easy to do so use the documented but not-in-headers ldap_init_fd function.
2013-04-26Add a --one-time-password to joinStef Walter1-3/+9
This is equivalent to --login-type=computer and providing the computer password.
2013-04-26Add option to print out the machine password after a joinStef Walter1-2/+24
2013-04-26Fine tune the --os-name and --os-version argumentsStef Walter1-2/+2
The values should be required https://bugs.freedesktop.org/show_bug.cgi?id=54489
2013-04-17Add --user-principal argument for joining domainsStef Walter1-0/+10
This fills in the userPrincipalName attribute on the account https://bugs.freedesktop.org/show_bug.cgi?id=62755
2013-04-10Support using --login-ccache without an argumentStef Walter3-12/+11
Just use the default krb5 ccache in that case.
2013-04-10Add support for setting operatingSystem and related attrsStef Walter1-0/+35
* Add new arguments to join command: --os-name --os-version and --os-service-pack * These are not supported when a computer is claiming an account on its own credentials. https://bugs.freedesktop.org/show_bug.cgi?id=54489
2013-04-10Make ADCLI_STRICT=1 abort() when preconditionStef Walter1-9/+2
2013-04-09A bit of cleanup of adcli outputStef Walter2-7/+11
2013-04-09Allow passing a domain directly on the command line to join commandStef Walter1-1/+3
2013-04-09Discovery fixesStef Walter1-5/+5
* Discover without DNS * Support libldaps without cldap built in * Better use of discovery data, without going through intermediate LDAP URLs
2013-04-09Add manual page for adcli and documentation infrastructureStef Walter1-13/+15
2013-04-09Add support for adding/removing members from groupsStef Walter3-7/+215
* add-member command * remove-member command * Refactor attribute handling, and provide ways to load and modify entries.
2013-04-09Add support for creating/deleting groupsStef Walter4-21/+187
* create-group command * delete-group command * Refactor a bit to use the same code for user/groups
2013-04-09Clean up the adcli argumentsStef Walter3-88/+46
* Use --domain-controller consistently to specify the server to connect to. Still accept --domain-server for the 'join' command for backward compatibility * Remove the --ldap-url argument, as --domain-controller is an acceptable replacement. * Use --login-user consistently to specify the admin user who is using adcli. Still accept --user for the 'join' command for backward compatibility. * Use --domain-ou consistently to specify the organizational unit to create objects in. Still accept --computer-ou for the 'join' command for backward compatibility. * Remove some extra info command arguments.
2013-04-08Implement domain discovery, including support for sitesStef Walter4-10/+246
* Add a new 'adcli info' command https://bugs.freedesktop.org/show_bug.cgi?id=54490
2013-04-08Less complicated message loggingStef Walter3-16/+15
Now that we're not trying to be a library, just use global functions and storage for message callbacks and logging.
2013-04-05Add support for adding and deleting active directory usersStef Walter4-0/+341
2013-04-05Implement the 'delete-computer' and 'reset-computer' commandsStef Walter3-0/+160
2013-04-05Refactor the command line interfaceStef Walter5-810/+972
* More intelligent usage output * Rename the 'preset' command to 'preset-computer' * Split the computer tools into a separate file
2013-04-05Remove coverage files when cleaningStef Walter1-0/+5
2013-04-05No longer export a libraryStef Walter2-3/+1
The adcli tool is the main interface for this. Later we may refactor this to use a very different implementation.
2012-11-22When --user is specified don't try computer loginStef Walter1-2/+4
2012-11-22Only include /etc/krb5.conf if it existsStef Walter1-1/+11
Including an invalid krb5.conf led to failure to init a krb5_context. https://bugs.freedesktop.org/show_bug.cgi?id=57403
2012-11-13Don't print out or expose the computer container DNStef Walter1-1/+0
* This is just confusing, and not a common concept * Don't want to have to support this or get questions about it.
2012-11-13Look up the nETBIOSName correctlyStef Walter1-1/+1
* Use the configurationNamingContext and CN=Partitions subtree https://bugzilla.gnome.org/show_bug.cgi?id=57064
2012-11-12Use a private krb5.conf fileStef Walter2-0/+114
* 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
2012-11-09Rework how computer account is located and createdStef Walter1-2/+2
* 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
2012-09-04Fix license addresses, and missing header commentsStef Walter1-0/+22
2012-09-04Release version 0.20.2Stef Walter1-1/+1
* And fix some build warnings
2012-09-03Fix erroneous argument number check in preset commandStef Walter1-1/+1
2012-09-03Return the correct exit codesStef Walter1-4/+4
* On failure we return the positive values of the result codes in adutil.h
2012-09-03Implement the --show-details join optionStef Walter1-22/+34
* This prints out domain details in a machine parseable format
2012-09-03Rename --login-name to the more common --user argumentStef Walter1-9/+9
2012-08-31Cleanup some of the usage/error output to be clearerStef Walter1-4/+4
2012-08-31Add --one-time-password to the 'preset' commandStef Walter1-1/+21
* Instead of using the default computer account password specify a preset password to use.
2012-08-31Make sure long options don't conflict with shortStef Walter1-1/+1
2012-08-31Implement various ways to prompt/read login or computer passwordStef Walter1-9/+125
* --no-password does not prompt * --promt-password (default) prompts as expected * --stdin-password reads the password from stdin