Codebase list adcli / upstream/0.7.6 ChangeLog
upstream/0.7.6

Tree @upstream/0.7.6 (Download .tar.gz)

ChangeLog @upstream/0.7.6raw · history · blame

   1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
# Generate automatically. Do not edit.

commit 14c3838354f9c9f197f8be6186cf25d471f21647
Author: Stef Walter <stefw@redhat.com>
Date:   2015-10-19

    Fix 'make distcheck' issue

 Makefile.am | 2 --
 1 file changed, 2 deletions(-)

commit d500d08f7cd3ac1d2f2e870b9af249d37755f2af
Author: Stef Walter <stefw@redhat.com>
Date:   2015-10-19

    Bump version number

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

commit 135c6d4a293a5fa05bd08342609add116bb5edd7
Author: Stef Walter <stefw@redhat.com>
Date:   2015-10-19

    Be more helpful with messages about Computer OU

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

commit ec132a3add4c41a9c1efa6c12b2c900df66151d1
Author: Stef Walter <stefw@redhat.com>
Date:   2014-10-07

    Use "host/fqdn@REALM" as default SPN instead of "HOST/fqdn@REALM"
    
    Windows doesn't care, as it's mostly case insensitive, but sshd
    does care here.
    
    https://bugs.freedesktop.org/show_bug.cgi?id=84749

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

commit 56ef2c6ea4ab3ee7215a55dabe4585b21874ea23
Author: Stef Walter <stefw@redhat.com>
Date:   2014-10-07

    Allow autogen.sh to be run when srcdir != builddir

 autogen.sh | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

commit 4ac6debd81e9d55c67f638d01c939ade61b6031c
Author: Stef Walter <stefw@redhat.com>
Date:   2013-09-20

    doc: Fix typos found by Tomas Babej

 doc/adcli.xml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

commit cfb40bfeda093345bd86a77fa149c357e28968af
Author: Stef Walter <stefw@redhat.com>
Date:   2013-09-13

    Release version 0.7.5

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

commit 906a69ee997ba5edfb1e7d6b538b4612e7ea9d17
Author: Stef Walter <stefw@redhat.com>
Date:   2013-09-13

    Place IPv6 addresses properly in our temp krb5.conf

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

commit 3b4fd1161f15955abc3f2458029eff6e856fb51a
Author: Stef Walter <stefw@redhat.com>
Date:   2013-09-13

    Clarify in verbose output what scheme is used to disco

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

commit 9fc1b8867a390849096f0a9ffcc0b4fc653d459c
Author: Stef Walter <stefw@redhat.com>
Date:   2013-09-12

    Don't use cldap with IPv6 due to openldap bugs
    
    http://www.openldap.org/its/index.cgi/Incoming?id=7694

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

commit 45e0eda44504ea3f6856eba0edc67cd47bf4b882
Author: Stef Walter <stefw@redhat.com>
Date:   2013-09-12

    Fix regression where exceeded number of servers to disco against

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

commit ab21a39509d9a073437bf39a193b5730d0303512
Author: Stef Walter <stefw@redhat.com>
Date:   2013-09-12

    Stop discovery on a given server when ldap_search_ext() fails

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

commit 30b43f988f44f8159e2237db05ab4a6cba2a5772
Author: Stef Walter <stefw@redhat.com>
Date:   2013-09-06

    Release version 0.7.4

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

commit 167b4e9fefa3a1f535548e756c7cba21c7678eae
Author: Stef Walter <stefw@redhat.com>
Date:   2013-09-06

    Pass correct pointer type to ldap_set_option when setting SSF_MIN
    
    Failure on some archs where sizeof(int) != sizeof(ber_len_t)
    
    https://bugs.freedesktop.org/show_bug.cgi?id=69038

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

commit 775bed934b0ba6cf7a042486375e370928810eaa
Author: Stef Walter <stefw@redhat.com>
Date:   2013-09-06

    Try to contact all available addresses for discovery
    
    Don't just contact each SRV record when doing discovery, but
    resolve and try to contact each A record.
    
    This fixes problems when a machine has both IPv4 and IPv6 records
    but one of these isn't usable for some reason.
    
    https://bugs.freedesktop.org/show_bug.cgi?id=68110

 library/addisco.c | 63 ++++++++++++++++++++++++++++++++++++++++++-------------
 1 file changed, 49 insertions(+), 14 deletions(-)

commit 2e82e2a37b01d6e270bb25f36bde3b9b6b6ca35e
Author: Stef Walter <stefw@redhat.com>
Date:   2013-09-06

    Truncate netbios host names to 15 chars
    
    Truncate host names the same way Windows clients do.
    
    https://bugs.freedesktop.org/show_bug.cgi?id=69016

 library/adconn.c    | 57 ++++++++++++++++++++++++++++++++++-------------------
 library/adenroll.c  | 23 ++-------------------
 library/adprivate.h |  2 ++
 3 files changed, 41 insertions(+), 41 deletions(-)

commit 57d510214d81cda1bd224d1df2686c64bc3fe700
Author: Stef Walter <stefw@redhat.com>
Date:   2013-08-07

    Release version 0.7.3

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

commit 2de89825f40352ffdebd1e62ddcd4b74e89596e1
Author: Stef Walter <stefw@redhat.com>
Date:   2013-07-23

    Don't try to set encryption types on Windows 2003 and earlier
    
    These don't have the msDS-supportedEncryptionTypes LDAP
    attribute, and only support a fixed set of encryption types.
    
    https://bugs.freedesktop.org/show_bug.cgi?id=67058

 library/adconn.c   | 35 +++++++++++++++++++++++++++++++++-
 library/adconn.h   | 13 +++++++++++++
 library/adenroll.c | 56 ++++++++++++++++++++++++++++++++++++++++--------------
 3 files changed, 89 insertions(+), 15 deletions(-)

commit bed6f5bb0c14f602476f31747eac6e2de44c4467
Author: Stef Walter <stefw@gnome.org>
Date:   2013-07-30

    Fix uninitialized variable

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

commit 3e937ed8ed677714d1eddb03b5a9cc7e944f1358
Author: Stef Walter <stefw@redhat.com>
Date:   2013-07-22

    Release version 0.7.2

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

commit f914fa138cfb0d00f40c8328777f0d7193fb2c4e
Author: Stef Walter <stefw@redhat.com>
Date:   2013-07-19

    Delete current computer if no host specified to delete-computer
    
    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

 doc/adcli.xml    | 4 ++++
 tools/computer.c | 7 ++++---
 2 files changed, 8 insertions(+), 3 deletions(-)

commit 9fe0c385107a1bb0c2b0f250a08a5df4c485556c
Author: Laurent Bigonville <bigon@bigon.be>
Date:   2013-07-09

    Fix FTBFS on freebsd kernel
    
    Set HOST_NAME_MAX to 255 if this is not already defined in the headers.
    sysconf(3) manpage indicates that this values shouldn't be less than
    255.
    
    http://bugs.freedesktop.org/show_bug.cgi?id=66456

 library/adprivate.h | 4 ++++
 1 file changed, 4 insertions(+)

commit 9774ca4a17615163913958b26acf0bd566777c02
Author: Stef Walter <stefw@redhat.com>
Date:   2013-06-18

    Fix typo of word 'necessary'
    
    https://bugs.freedesktop.org/show_bug.cgi?id=65782

 tools/computer.c | 2 +-
 tools/entry.c    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 084ec6754cac5c49f86ca770a4bde93d46d083e7
Author: Stef Walter <stefw@redhat.com>
Date:   2013-05-23

    Always show info for --domain-controller if provided

 tools/info.c | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

commit 7f83bf30444ddbabfeaf7ba33a4babd5aed3613c
Author: Stef Walter <stefw@redhat.com>
Date:   2013-05-13

    Release version 0.7.1

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

commit 763a9e8f9d61c136b480ef4b634e88c3c5d07ed6
Author: Stef Walter <stefw@redhat.com>
Date:   2013-05-13

    Fix access of null pointer

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

commit b50ec4acf87a1ff9a43678465e34aa43a60e36bc
Author: Stef Walter <stefw@gnome.org>
Date:   2013-05-13

    When we recieve an LDAP ping response, don't expect more
    
    Don't expect more than one LDAP ping response, if we get one but
    its either unparseable or the wrong type. Just move on.

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

commit 2a231986d7b77abcf8b9ff4c20f72b71a1adf976
Author: Stef Walter <stefw@redhat.com>
Date:   2013-05-13

    If automatically determining the salt fails, just guess
    
    If automatically determining the kerberos principal salt to use fails,
    either due to race issues on the server, or other future problems,
    just guess and use a salt that usually works with Windows 2003 and 2008.

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

commit 5bb9357ddaab00cf28e2be61cd9690a2bdac60e2
Author: Stef Walter <stefw@redhat.com>
Date:   2013-05-06

    Release version 0.7

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

commit 8fdaed506001a4205b969a290428a1251356ecf8
Author: Stef Walter <stefw@redhat.com>
Date:   2013-05-06

    Work around krb5_get_init_creds_password() with empty password
    
    Put a null password prompter to get around this issue.
    
    See: http://mailman.mit.edu/pipermail/krbdev/2013-May/011525.html

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

commit bb72ff217c29a62b68367b8e0e5f9fb7f392b53e
Author: Stef Walter <stefw@redhat.com>
Date:   2013-05-06

    Handle KRB5_PREAUTH_FAILED as an invalid password
    
     * This happens when password is empty

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

commit cb0332f3175ba9fad8e62d37661b5b7b8e6bbea3
Author: Stef Walter <stefw@redhat.com>
Date:   2013-05-02

    Add some annotations for clang analyzer
    
     * And fix highlighted issues

 .gitignore          |  1 +
 library/addisco.c   |  7 +------
 library/adenroll.c  |  6 ++++++
 library/adldap.c    |  2 +-
 library/adprivate.h | 16 +++++++++++++++-
 library/seq.c       | 32 +++++++++++++++++++++++++++++++-
 library/test.h      | 16 +++++++++++++++-
 tools/computer.c    |  4 ++--
 tools/tools.c       | 14 ++++++++++----
 9 files changed, 82 insertions(+), 16 deletions(-)

commit 00e99ec714bba89c2c484fd90c12de600b7c0de0
Author: Stef Walter <stefw@redhat.com>
Date:   2013-05-02

    Fix use of freed memory

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

commit 384c262faa085791a06cd56d837d2fb394860120
Author: Stef Walter <stefw@redhat.com>
Date:   2013-04-29

    Release version 0.6

 .gitignore   | 3 +++
 NEWS         | 8 ++++++++
 configure.ac | 2 +-
 3 files changed, 12 insertions(+), 1 deletion(-)

commit b6ba535d30b7894575dd07cdf624c330ffe24d17
Author: Stef Walter <stefw@redhat.com>
Date:   2013-04-29

    Use ldap_init_fd to better support IP addresses
    
    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.

 configure.ac     |   4 ++
 library/adconn.c | 110 +++++++++++++++++++++++++++++++++++++++----------------
 tools/tools.c    |   6 +--
 3 files changed, 86 insertions(+), 34 deletions(-)

commit e8447f9cbbef5a73c25bd9890eca29e549a0a3c6
Author: Stef Walter <stefw@redhat.com>
Date:   2013-04-25

    Add a --one-time-password to join
    
    This is equivalent to --login-type=computer and providing
    the computer password.

 doc/adcli.xml    |  7 +++++++
 tools/computer.c | 12 +++++++++---
 2 files changed, 16 insertions(+), 3 deletions(-)

commit 49733718e55647a5e02f192662fdca3d8e9d4e1b
Author: Stef Walter <stefw@redhat.com>
Date:   2013-04-25

    Add option to print out the machine password after a join

 doc/adcli.xml    |  6 ++++++
 tools/computer.c | 26 ++++++++++++++++++++++++--
 2 files changed, 30 insertions(+), 2 deletions(-)

commit cda6ec5171d9015514f22b5074746d0914020c2c
Author: Stef Walter <stefw@redhat.com>
Date:   2013-04-25

    Allow processing the computer password more easily in text form
    
    Remove shell characters and spaces and so on from auto-generated
    computer passwords

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

commit 46361aa1366ce9def894249cfbc926585d24e328
Author: Stef Walter <stefw@redhat.com>
Date:   2013-04-12

    Fine tune the --os-name and --os-version arguments
    
    The values should be required
    
    https://bugs.freedesktop.org/show_bug.cgi?id=54489

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

commit 7a3f6105e108312beb2997442ff74bba59c9684f
Author: Stef Walter <stefw@redhat.com>
Date:   2013-04-11

    Add --user-principal argument for joining domains
    
    This fills in the userPrincipalName attribute on the account
    
    https://bugs.freedesktop.org/show_bug.cgi?id=62755

 doc/adcli.xml      |  13 +++++++
 library/adenroll.c | 107 ++++++++++++++++++++++++++++++++++++++++++++++++++---
 library/adenroll.h |   7 ++++
 tools/computer.c   |  10 +++++
 4 files changed, 131 insertions(+), 6 deletions(-)

commit c2970e74a8568baca541b46efaa55ee53e38c7de
Author: Stef Walter <stefw@redhat.com>
Date:   2013-04-11

    Streamline how extra account attributes are updated
    
     * Ignore failures updating auxiliary attributes, with warning
    
    https://bugs.freedesktop.org/show_bug.cgi?id=62755

 library/adenroll.c | 227 +++++++++++++++++++----------------------------------
 1 file changed, 82 insertions(+), 145 deletions(-)

commit b1cad71e241f2bf3b4bc0f6470073dd1f72026af
Author: Stef Walter <stefw@redhat.com>
Date:   2013-04-10

    Remove the last reference to p11-kit that came over with docs

 doc/adcli.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 335b28b2b403290b9de927255c8299cba8af1591
Author: Stef Walter <stefw@gnome.org>
Date:   2013-04-08

    Release version 0.5

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

commit 31165cd1e869dab58178159b7c4d21312f3f5748
Author: Stef Walter <stefw@redhat.com>
Date:   2013-04-10

    Don't retrieve kvno if not joining
    
    https://bugs.freedesktop.org/show_bug.cgi?id=56149

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

commit 1e20c086a077605e2694df0b8da49923004d218d
Author: Stef Walter <stefw@redhat.com>
Date:   2013-04-10

    Support using --login-ccache without an argument
    
    Just use the default krb5 ccache in that case.

 library/adconn.c | 15 ++++++++++++++-
 tools/computer.c | 10 +++++-----
 tools/entry.c    | 12 ++++++------
 tools/tools.c    |  1 -
 4 files changed, 25 insertions(+), 13 deletions(-)

commit 428cf878944eca7b0762e1e434cc4895dff98372
Author: Stef Walter <stefw@redhat.com>
Date:   2013-04-10

    Add support for setting operatingSystem and related attrs
    
     * 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

 doc/adcli.xml       | 32 ++++++++++++++++++++
 library/Makefile.am |  1 +
 library/adenroll.c  | 84 ++++++++++++++++++++++++++++++++++++++++++++++++++++-
 library/adenroll.h  | 15 ++++++++++
 library/adldap.c    |  4 +--
 tools/computer.c    | 35 ++++++++++++++++++++++
 6 files changed, 168 insertions(+), 3 deletions(-)

commit e1069eaf9a81f061dbaf55999a5811cc5d9aea2e
Author: Stef Walter <stefw@redhat.com>
Date:   2013-04-10

    Remove lookup of preferredOU which was incorrect
    
     * preferredOU is an attribute on a user or computer, not
       on the domain as a whole. We cannot use it during joins

 library/adenroll.c | 45 ---------------------------------------------
 1 file changed, 45 deletions(-)

commit 2d412510118a1af08e6fba300129282773386292
Author: Stef Walter <stefw@redhat.com>
Date:   2013-04-10

    Make ADCLI_STRICT=1 abort() when precondition

 library/adprivate.h | 16 ++--------------
 library/adutil.c    | 16 ++++++++++++++++
 tools/computer.c    | 11 ++---------
 3 files changed, 20 insertions(+), 23 deletions(-)

commit 834c9f875e33eb28cf063858133e347e73593c54
Author: Stef Walter <stefw@redhat.com>
Date:   2013-04-10

    Add more documentation for building adcli

 Makefile.am         |   4 +-
 doc/Makefile.am     |   1 +
 doc/adcli-devel.xml | 204 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 doc/adcli-docs.xml  |  11 +--
 doc/adcli.xml       |   2 +-
 doc/gtk-doc.xsl     |   2 +-
 6 files changed, 216 insertions(+), 8 deletions(-)

commit 0fca72222fec97c975954881463db49deb37989f
Author: Stef Walter <stefw@redhat.com>
Date:   2013-04-09

    Fix problems connecting without DNS
    
     * Pass the actual name that we're trying to connect to to openldap
     * Tell openldap to pass the right host name to GSSAPI

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

commit 74ff6fe7517d4a012bae0cba55c89c2573ca95d1
Author: Stef Walter <stefw@redhat.com>
Date:   2013-04-09

    A bit of cleanup of adcli output

 tools/computer.c |  2 +-
 tools/info.c     | 16 ++++++++++------
 2 files changed, 11 insertions(+), 7 deletions(-)

commit e16af692fdbb8569ebdb6e8d0f40d426fef5a236
Author: Stef Walter <stefw@redhat.com>
Date:   2013-04-09

    Allow passing a domain directly on the command line to join command

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

commit 6f4880029a2c002395cc19d4a7558c830f143d87
Author: Stef Walter <stefw@redhat.com>
Date:   2013-04-09

    Catch more permission failures when joining domain
    
     * Windows Server returns all sorts of strange errors when
       permission problems for joining domain

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

commit 48166f0a3b33a5d69fc09486cc8e0f6848a48867
Author: Stef Walter <stefw@redhat.com>
Date:   2013-04-09

    Discovery fixes
    
     * Discover without DNS
     * Support libldaps without cldap built in
     * Better use of discovery data, without going through intermediate
       LDAP URLs

 library/adconn.c  | 221 ++++++++++++++++++++++++------------------------------
 library/adconn.h  |   8 --
 library/addisco.c |  42 ++++++-----
 library/addisco.h |   3 +-
 tools/info.c      |  10 +--
 5 files changed, 129 insertions(+), 155 deletions(-)

commit d417fcc0c1cb1c89b23aef925ac64e994052eca2
Author: Stef Walter <stefw@redhat.com>
Date:   2013-04-09

    Fix possible uninitialized variable

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

commit 030126689753052daa5323337c765a8b496ecb9a
Author: Stef Walter <stefw@redhat.com>
Date:   2013-04-09

    Add manual page for adcli and documentation infrastructure

 .gitignore                       |   2 +
 Makefile.am                      |  21 +-
 configure.ac                     |  39 ++
 doc/Makefile.am                  |  68 +++
 doc/adcli-docs.xml               |  21 +
 doc/adcli.xml                    | 529 +++++++++++++++++++++++
 doc/gtk-doc.xsl                  | 897 +++++++++++++++++++++++++++++++++++++++
 doc/static/gtk-doc.css           | 264 ++++++++++++
 doc/static/home.png              | Bin 0 -> 654 bytes
 doc/static/left.png              | Bin 0 -> 459 bytes
 doc/static/right.png             | Bin 0 -> 472 bytes
 doc/static/style.css             | 114 +++++
 doc/static/up.png                | Bin 0 -> 406 bytes
 doc/version-greater-or-equal.xsl |  54 +++
 tools/computer.c                 |  28 +-
 15 files changed, 2023 insertions(+), 14 deletions(-)

commit 3fb917556b5e2ad38b5bfbafbcf2f3b60ce90f46
Author: Stef Walter <stefw@redhat.com>
Date:   2013-04-09

    Add support for adding/removing members from groups
    
     * add-member command
     * remove-member command
     * Refactor attribute handling, and provide ways to load
       and modify entries.

 library/adattrs.c | 157 +++++++++++++++++++++++++++++-----------
 library/adattrs.h |  27 +++++--
 library/adentry.c |  89 +++++++++++++++++++----
 library/adentry.h |   7 ++
 library/adldap.c  |   7 +-
 tools/entry.c     | 212 ++++++++++++++++++++++++++++++++++++++++++++++++++++--
 tools/tools.c     |   2 +
 tools/tools.h     |   8 +++
 8 files changed, 442 insertions(+), 67 deletions(-)

commit 2f50a5d3f36251caa5a1128251618e79d1a9ef6d
Author: Stef Walter <stefw@redhat.com>
Date:   2013-04-09

    Add support for creating/deleting groups
    
     * create-group command
     * delete-group command
     * Refactor a bit to use the same code for user/groups

 library/Makefile.am |   2 +-
 library/adcli.h     |   3 +-
 library/adentry.c   | 423 +++++++++++++++++++++++++++++++++++++++++++++
 library/adentry.h   |  54 ++++++
 library/aduser.c    | 372 ----------------------------------------
 library/aduser.h    |  51 ------
 tools/Makefile.am   |   2 +-
 tools/entry.c       | 486 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 tools/tools.c       |   2 +
 tools/tools.h       |   6 +-
 tools/user.c        | 326 -----------------------------------
 11 files changed, 974 insertions(+), 753 deletions(-)

commit b089bce11a588f158c36fac0ab86ced756e50ac1
Author: Stef Walter <stefw@redhat.com>
Date:   2013-04-09

    More expressive logging for ldap errors

 library/adconn.c    |  13 +++---
 library/addisco.c   |   8 ++--
 library/adenroll.c  | 115 ++++++++++++++++++++++------------------------------
 library/adldap.c    |  18 +++++---
 library/adprivate.h |   4 +-
 library/aduser.c    |  39 ++++++++----------
 6 files changed, 90 insertions(+), 107 deletions(-)

commit 18d13ebdfc7ff1a22b028f1c048bb4964e73f857
Author: Stef Walter <stefw@gnome.org>
Date:   2013-04-08

    Clean up the adcli arguments
    
     * 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.

 library/adconn.c   | 38 +++++++++++++++----------------
 library/adconn.h   |  8 +++----
 library/adenroll.c | 56 +++++++++++++++++++++++-----------------------
 library/adenroll.h |  4 ++--
 library/aduser.c   | 26 +++++++++++-----------
 library/aduser.h   |  4 ++--
 tools/computer.c   | 65 ++++++++++++++++++++++++------------------------------
 tools/info.c       | 43 ++++--------------------------------
 tools/user.c       | 26 +++++++++++-----------
 9 files changed, 114 insertions(+), 156 deletions(-)

commit 87932fbd036b60de56294782858627c996ea9cb2
Author: Stef Walter <stefw@gnome.org>
Date:   2013-04-08

    Implement domain discovery, including support for sites
    
     * Add a new 'adcli info' command
    
    https://bugs.freedesktop.org/show_bug.cgi?id=54490

 library/Makefile.am  |   4 +-
 library/adcli.h      |   1 +
 library/adconn.c     |  62 ++---
 library/addisco.c    | 764 +++++++++++++++++++++++++++++++++++++++++++++++++++
 library/addisco.h    |  74 +++++
 library/getsrvinfo.c | 263 ------------------
 library/getsrvinfo.h |  42 ---
 tools/Makefile.am    |   1 +
 tools/info.c         | 219 +++++++++++++++
 tools/tools.c        |  32 ++-
 tools/tools.h        |   4 +
 11 files changed, 1109 insertions(+), 357 deletions(-)

commit 5a04b390c75115acf06fedf751ce88ff2dd5207e
Author: Stef Walter <stefw@gnome.org>
Date:   2013-04-08

    Fix possible crash when for a NULL strv

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

commit c581500ceafff6cd59ba690a4400d52929645289
Author: Stef Walter <stefw@gnome.org>
Date:   2013-04-08

    Less complicated message logging
    
    Now that we're not trying to be a library, just use global
    functions and storage for message callbacks and logging.

 library/adconn.c    | 177 ++++++++++++----------------------------------------
 library/adconn.h    |  13 ----
 library/adenroll.c  | 146 +++++++++++++++++++++----------------------
 library/adldap.c    |   5 +-
 library/adprivate.h |  24 +++----
 library/aduser.c    |  34 +++++-----
 library/adutil.c    |  72 +++++++++++++++++++++
 library/adutil.h    |  10 +++
 tools/computer.c    |  16 ++---
 tools/tools.c       |   7 +--
 tools/user.c        |   8 +--
 11 files changed, 236 insertions(+), 276 deletions(-)

commit 86d27165487d53f2b4d631993a1143f11896480c
Author: Stef Walter <stefw@gnome.org>
Date:   2013-04-08

    Use a test framework that supports TAP output
    
    For integration with automake 1.13, and perhaps others

 library/Makefile.am |   4 +-
 library/adattrs.c   |  49 +++++-----
 library/adldap.c    |  41 +++++----
 library/adutil.c    |  27 +++---
 library/seq.c       | 133 ++++++++++++++-------------
 library/test.c      | 256 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 library/test.h      | 135 +++++++++++++++++++++++++++
 7 files changed, 523 insertions(+), 122 deletions(-)

commit 6f304721bd72c50102bbb8aff911bd10a6fdaf1f
Author: Stef Walter <stefw@gnome.org>
Date:   2013-04-05

    Add support for adding and deleting active directory users

 .gitignore          |   2 +
 library/Makefile.am |  15 ++-
 library/adattrs.c   | 240 +++++++++++++++++++++++++++++++++
 library/adattrs.h   |  48 +++++++
 library/adcli.h     |   1 +
 library/adenroll.c  |  34 +----
 library/adldap.c    | 232 ++++++++++++++++++++++++++++----
 library/adprivate.h |  45 ++++++-
 library/aduser.c    | 377 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 library/aduser.h    |  51 +++++++
 library/adutil.c    |  22 ++-
 tools/Makefile.am   |   1 +
 tools/tools.c       |   2 +
 tools/tools.h       |  12 ++
 tools/user.c        | 326 +++++++++++++++++++++++++++++++++++++++++++++
 15 files changed, 1336 insertions(+), 72 deletions(-)

commit dc8333a94dd0b1582e7ad0e63b038635f21bc47c
Author: Stef Walter <stefw@gnome.org>
Date:   2013-02-12

    Implement the 'delete-computer' and 'reset-computer' commands

 library/adenroll.c | 285 ++++++++++++++++++++++++++++++++++++++++++-----------
 library/adenroll.h |   6 ++
 tools/computer.c   | 150 ++++++++++++++++++++++++++++
 tools/tools.c      |   2 +
 tools/tools.h      |   8 ++
 5 files changed, 391 insertions(+), 60 deletions(-)

commit f4dff16da3cef29ccb0282c47252cdf3b4a19d55
Author: Stef Walter <stefw@gnome.org>
Date:   2013-02-12

    Refactor the command line interface
    
     * More intelligent usage output
     * Rename the 'preset' command to 'preset-computer'
     * Split the computer tools into a separate file

 tools/Makefile.am |   3 +-
 tools/adcli.c     | 809 ------------------------------------------------------
 tools/computer.c  | 414 ++++++++++++++++++++++++++++
 tools/tools.c     | 491 +++++++++++++++++++++++++++++++++
 tools/tools.h     |  65 +++++
 5 files changed, 972 insertions(+), 810 deletions(-)

commit 08a2ea144aa012e418d0c54728f6c4691c97e76f
Author: Stef Walter <stefw@gnome.org>
Date:   2013-04-05

    Add generic sequence code
    
    This can be used both as an array an and a sorted lookup table

 .gitignore          |   2 +
 Makefile.am         |   6 +
 library/Makefile.am |  26 ++-
 library/adprivate.h |   6 +-
 library/adutil.c    | 119 +++++-----
 library/seq.c       | 612 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 library/seq.h       |  85 ++++++++
 7 files changed, 802 insertions(+), 54 deletions(-)

commit 8958d28c5058bb53458c1ad3cfcd500280c4f7fb
Author: Stef Walter <stefw@gnome.org>
Date:   2013-02-12

    Fix use of CFLAGS for building the library

 library/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 79fb7cf291ca662332542e165dd777039e9ed2bf
Author: Stef Walter <stefw@gnome.org>
Date:   2013-04-05

    Remove coverage files when cleaning

 build/Makefile.am   | 8 ++++++++
 library/Makefile.am | 5 +++++
 tools/Makefile.am   | 5 +++++
 3 files changed, 18 insertions(+)

commit 28a75bffc7cd8cca6d0cf6a47dad501f92243983
Author: Stef Walter <stefw@gnome.org>
Date:   2013-04-05

    No longer export a library
    
    The adcli tool is the main interface for this. Later we may refactor this to use
    a very different implementation.

 Makefile.am           |  7 -------
 configure.ac          | 52 ---------------------------------------------------
 library/Makefile.am   | 25 +++----------------------
 library/adcli-1.pc.in | 13 -------------
 library/adprivate.h   |  3 ---
 library/adutil.c      |  6 +++---
 library/adutil.h      |  5 +++++
 tools/Makefile.am     |  2 --
 tools/adcli.c         |  2 +-
 9 files changed, 12 insertions(+), 103 deletions(-)

commit ccd8fd7f1082950377db4f0e1782a7e38e5c24c8
Author: Stef Walter <stefw@gnome.org>
Date:   2013-04-04

    Some autoconf tweaks
    
     * Cleanup autoconf warnings
     * Move m4/ into build/m4

 .gitignore          |  3 +--
 Makefile.am         |  3 ++-
 build/Makefile.am   |  0
 build/m4/.gitignore |  1 +
 configure.ac        | 15 ++++++---------
 m4/.gitignore       |  1 -
 6 files changed, 10 insertions(+), 13 deletions(-)

commit c37a1edfaa2086d06eb9f1020acd2682c7f81dfb
Author: Stef Walter <stefw@gnome.org>
Date:   2013-02-19

    build: Use the resolv.h header when checking for res_query
    
    https://bugzilla.gnome.org/show_bug.cgi?id=60561

 configure.ac | 28 +++++++++++++++++++++++-----
 1 file changed, 23 insertions(+), 5 deletions(-)

commit 00aa642282355563f57432ebbc398adfc4b68ecd
Author: Stef Walter <stefw@gnome.org>
Date:   2012-11-22

    When --user is specified don't try computer login

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

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

    Only include /etc/krb5.conf if it exists
    
    Including an invalid krb5.conf led to failure to init a
    krb5_context.
    
    https://bugs.freedesktop.org/show_bug.cgi?id=57403

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

commit 377b3d5c3b4870389dd36770500aaa6e3bda63d7
Author: Stef Walter <stefw@gnome.org>
Date:   2012-11-22

    Check for SASL headers when configuring

 configure.ac | 9 +++++++++
 1 file changed, 9 insertions(+)

commit 0b60a75784e8ea88e32eae8bb23e4e128a8646ef
Author: Stef Walter <stefw@gnome.org>
Date:   2012-11-22

    Unquote error message when ldap not found

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

commit 23b43dd5be2ed8ddaa94b05c7cedbcbbc3f77abd
Author: Stef Walter <stefw@gnome.org>
Date:   2012-11-13

    Don't print out or expose the computer container DN
    
     * This is just confusing, and not a common concept
     * Don't want to have to support this or get questions about it.

 library/adenroll.c | 7 -------
 library/adenroll.h | 2 --
 tools/adcli.c      | 1 -
 3 files changed, 10 deletions(-)

commit 34f0d8479480a06f569663cf8a15ac689800da9d
Author: Stef Walter <stefw@gnome.org>
Date:   2012-11-13

    Look up the nETBIOSName correctly
    
     * Use the configurationNamingContext and CN=Partitions subtree
    
    https://bugzilla.gnome.org/show_bug.cgi?id=57064

 library/adconn.c   | 45 +++++++++++++++++++++++++++++++++++----------
 library/adconn.h   |  2 +-
 library/adenroll.c |  9 +++++----
 tools/adcli.c      |  2 +-
 4 files changed, 42 insertions(+), 16 deletions(-)

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/adenroll.c       |   0
 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 ++
 22 files changed, 1539 insertions(+)