summaryrefslogtreecommitdiff
path: root/source3/utils/net_ads.c
AgeCommit message (Collapse)AuthorFilesLines
2008-06-12net: Fix net_ads.c build for the HAVE_ADS == 0 case.Kai Blin1-1/+1
Thanks to Karolin for catching this one. (This used to be commit 7f52998f5461ed7d976faa2254464336dcf73c02)
2008-06-10net: Rename functable3 to functable, get rid of old functablesKai Blin1-14/+14
(This used to be commit bb7c5fc4ec77db4073d3beccf12af12910b6bd07)
2008-06-10net: Make "net ads" use functable3Kai Blin1-214/+512
(This used to be commit 64e3dc63966ecf216b354263e4bd5dfd1491abcc)
2008-06-04net: print NBT_SERVER_X_SECRET_DOMAIN_6 flags in "net ads lookup".Günther Deschner1-2/+7
Guenther (This used to be commit 420390ba0ef6b45f18a8fd37974b1fbee0bd1502)
2008-05-20net: The top level help function for net cmd is always net_cmd_usageKai Blin1-4/+4
(This used to be commit f7d0903a58b0b0fc248a613937a101f15baa5311)
2008-05-20net: Split out "net group"Kai Blin1-1/+1
(This used to be commit 3ddd9c09e3b51df01ac34a9a1537e8954d2b1167)
2008-05-20net: Split out "net user"Kai Blin1-1/+1
(This used to be commit 4ca08a5acc90c77d56f8f3e38443f23f43f034e8)
2008-05-20net: Use true/false instead of True/False.Kai Blin1-13/+13
(This used to be commit a8b567aac3b0e39cfe67fb97167b10312ca5e73a)
2008-05-12net ads: Upper case he realm name when calling kinit() using machine creds.coffeedude1-0/+1
Needed fix for the DNS Update option as part of "net ads join" (This used to be commit aebae0b71b427838fdc6344d69d6dea87a5dd58b)
2008-05-10Fix the build with DNS_UPDATESVolker Lendecke1-1/+1
(This used to be commit 6c9500c290fe0d6d71d4c33eb265906ce3a1d9f3)
2008-05-10net: Remove globalsKai Blin1-175/+176
(This used to be commit 1e9319cf88b65a2a8d4f5099a1fe5297e405ed2e)
2008-05-09cldap: let ads_cldap_netlogon() return all possible cldap replies.Günther Deschner1-2/+2
Guenther (This used to be commit 6f9d5e1cc94bc90685b54c04622b8f3357bd2f69)
2008-04-21cldap: avoid duplicate definitions so remove ads_cldap.h.Günther Deschner1-10/+10
Guenther (This used to be commit 538eefe22ad69540b9f73ffaa613d6be045de199)
2008-04-21cldap: add talloc context to ads_cldap_netlogon().Günther Deschner1-2/+2
Guenther (This used to be commit 4cee7b1bd5cd97c414b73d6f39238958480cdcf3)
2008-04-21libads: Use libnbt for CLDAP reply parsing.Günther Deschner1-24/+21
Guenther (This used to be commit 751f3064a508341c0ebae45e8de9f5311d915d70)
2008-04-17net: Be more tolerant while joining.Günther Deschner1-4/+9
Guenther (This used to be commit 70b7b331d9e2d915e6209fca5900f41fae4866fd)
2008-04-14libnetjoin/net: Fix lp_config_backend_is_registry() handling.Günther Deschner1-6/+12
Thanks obnox, now we can net ads join and net ads leave with zero configuration changes if "config backend = registry". Guenther (This used to be commit 9003881773de787a51ceadcdc2cb1e95f6979763)
2008-04-14net: abort when lp_realm is not set in net_ads_leave().Günther Deschner1-0/+5
Guenther (This used to be commit 53735edcbb059e73c51ae17d4ff75d2a4dee53e5)
2008-04-14net: exit early in net_ads_join() if the domain is not set.Günther Deschner1-0/+6
Guenther (This used to be commit 8331fbe735e2bec386ab8fc1645dc371d45d3063)
2008-04-14net: use WERROR for check_ads_config().Günther Deschner1-9/+7
Guenther (This used to be commit 9176057986be63c7ebebb56f7daabbc3883802c5)
2008-04-14net: the success of secrets_init is checked by libnetjoin now.Günther Deschner1-6/+0
Guenther (This used to be commit 0a6a5d082426ca82accf18fffa7740683a42cac1)
2008-03-23Fix Coverity ID 480Volker Lendecke1-1/+1
(This used to be commit 45677e8694f0e383baa65712faec6a565ec0ce5c)
2008-03-07Enable libnetjoin debugging for now but avoid printing passwords.Günther Deschner1-2/+2
The gen_ndr needs proper fixing still. Guenther (This used to be commit 966d7244d7765d285a7026b97e6093fd1f8d83ce)
2008-03-04Move talloc_init to the right place in "net ads join".Günther Deschner1-6/+6
Guenther (This used to be commit 8cd07c1fa8f435f7ff3dc79c195da9324fb2452f)
2008-02-28Remove original copy of now redundant join code.Günther Deschner1-330/+0
Jerry, I checked this very carefully that nothing got lost. The only thing I need to re-add still is the normalized DN handling for account precreation in "net ads join". Guenther (This used to be commit a5c6347644f2aa138a8e67ffe6c167847df941d0)
2008-02-28Some fixes for net ads join (uninitialized vars).Günther Deschner1-9/+8
Guenther (This used to be commit 735235e32bf41a7564ce2d585c1dae187b00bf6b)
2008-02-28Use libnet_Join() for "net ads join".Günther Deschner1-150/+33
Guenther (This used to be commit 9a7a2777e4ea1a2b5d7c800af8522b38cf22c511)
2008-02-28Nicen error output in net_ads_leave.Günther Deschner1-2/+3
Guenther (This used to be commit b0d1db95e5d7590f9c67be7bf5cb78adfee16635)
2008-02-28Re-arrange dns update block during "net ads join" a little.Günther Deschner1-20/+22
Guenther (This used to be commit 5d30e9f9fef98de7764ae53d3cbe659b78ae9fce)
2008-02-28Use libnet_Unjoin() for "net ads leave".Günther Deschner1-47/+37
Guenther (This used to be commit 11a19e88e208e09d7590370f2e68aa1df5c89e31)
2008-02-28Some cosmetics for net_derive_salting_principal().Günther Deschner1-3/+1
Guenther (This used to be commit 6f8e83b43085c038bb8fb2500319fed1daf6e4e4)
2008-02-17Fix some more callers of PAC_DATA.Günther Deschner1-3/+5
Guenther (This used to be commit ea609d1b0e82d7c366dd73013228003136264b64)
2008-01-15Apply const to rpccli_lsa_query_info_policy() and ↵Günther Deschner1-3/+4
rpccli_lsa_query_info_policy2(). Guenther (This used to be commit 7a3fe68bef7acde9d9f8a7a44ce7e9432f3c5a95)
2008-01-15Fix some warnings -- Jeremy, please checkVolker Lendecke1-6/+5
(This used to be commit b66ac8567c16f2c35fceceba2f858d5503620309)
2008-01-10Remove unused string.Günther Deschner1-3/+0
Guenther (This used to be commit 88d6683872f4bb9c3074280f385f73c7af9de784)
2008-01-08Use ads_get_upn() in net_derive_salting_principal().Günther Deschner1-15/+1
Guenther (This used to be commit a3b348b113f248d2eccffd6073560619a97a2976)
2007-12-10Remove the char[1024] strings from dynconfig. ReplaceJeremy Allison1-4/+4
them with malloc'ing accessor functions. Should save a lot of static space :-). Jeremy. (This used to be commit 52dc5eaef2106015b3a8b659e818bdb15ad94b05)
2007-12-04The usual !pstring...Jeremy Allison1-4/+9
Jeremy. (This used to be commit b676262a781363e7be49b21817668a53cca75c2d)
2007-11-30Move param helper routines to one place.Günther Deschner1-14/+0
Guenther (This used to be commit 6bf2c8038c4bc7a52b7f260209ade0bdeb95c685)
2007-11-27Remove some staticsVolker Lendecke1-2/+5
(This used to be commit 1fab16ffb888cd4ec18e52d9da33976a67a5d104)
2007-10-24This is a large patch (sorry). Migrate from struct in_addrJeremy Allison1-15/+21
to struct sockaddr_storage in most places that matter (ie. not the nmbd and NetBIOS lookups). This passes make test on an IPv4 box, but I'll have to do more work/testing on IPv6 enabled boxes. This should now give us a framework for testing and finishing the IPv6 migration. It's at the state where someone with a working IPv6 setup should (theorecically) be able to type : smbclient //ipv6-address/share and have it work. Jeremy. (This used to be commit 98e154c3125d5732c37a72d74b0eb5cd7b6155fd)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-10/+10
bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-10r25201: Fight those red bars...Michael Adam1-182/+183
(This used to be commit cc4599fdc1fb9aa51f6a4487cb1aa78a5556757a)
2007-10-10r25200: Fix a debug message.Michael Adam1-1/+1
(This used to be commit f1f4758e2c40a470c19b4b738f79ec5807522909)
2007-10-10r25198: Change net_rpc_join_ok() to return NTSTATUS for betterMichael Adam1-2/+6
error propagation. Michael (This used to be commit 5a16da2185f07d1f48fabd93a7a6b8f2d6b91089)
2007-10-10r24853: Rename function as Jerry asked.Rafal Szczesniak1-2/+2
s/net_use_upn_machine_account/net_use_krb_machine_account/ rafal (This used to be commit 86af9fedad71697f22cc739518340f7753b8f9da)
2007-10-10r24789: Add implementation of machine-authenticated connection to netlogonRafal Szczesniak1-2/+2
pipe used when connecting to win2k and newer domain controllers. The server may be configured to deny anonymous netlogon connections which would stop domain join verification step. Still, winnt domains require such smb sessions not to be authenticated using machine credentials. Creds employed in smb session cannot have a username in upn form, so provide the separate function to use machine account. rafal (This used to be commit 30d99d8ac3379caadc5bdb353977149d1ee16403)
2007-10-10r24432: Expand kerberos_return_pac() so that it can be used in winbindd.Günther Deschner1-1/+8
Guenther (This used to be commit e70bf0ecc3ec6d3ba8ba384024bbdf9a783072ea)
2007-10-10r24107: Fix bug 4849. Thanks to Matthijs Kooijman <matthijs@stdin.nl>Volker Lendecke1-1/+1
(This used to be commit 6e6eea64a5f770a585487734b1d0c28746bf5550)
2007-10-10r23973: For debugging, add (undocumented) net ads kerberos commands (kinit, ↵Günther Deschner1-0/+111
renew, pac). Guenther (This used to be commit 4cada7c1485c9957e553d6e75cb6f30f4338489f)