Günther Deschner
d7772433bf
net: print NBT_SERVER_X_SECRET_DOMAIN_6 flags in "net ads lookup".
...
Guenther
(This used to be commit 420390ba0ef6b45f18a8fd37974b1fbee0bd1502)
2008-06-04 01:35:43 +02:00
Kai Blin
0210f7af91
net: The top level help function for net cmd is always net_cmd_usage
...
(This used to be commit f7d0903a58b0b0fc248a613937a101f15baa5311)
2008-05-20 14:28:12 +02:00
Kai Blin
007f0e19dc
net: Split out "net group"
...
(This used to be commit 3ddd9c09e3b51df01ac34a9a1537e8954d2b1167)
2008-05-20 14:27:40 +02:00
Kai Blin
572de942c7
net: Split out "net user"
...
(This used to be commit 4ca08a5acc90c77d56f8f3e38443f23f43f034e8)
2008-05-20 14:27:27 +02:00
Kai Blin
16938883e6
net: Use true/false instead of True/False.
...
(This used to be commit a8b567aac3b0e39cfe67fb97167b10312ca5e73a)
2008-05-20 14:27:08 +02:00
coffeedude
ed08bd3e83
net ads: Upper case he realm name when calling kinit() using machine creds.
...
Needed fix for the DNS Update option as part of "net ads join"
(This used to be commit aebae0b71b427838fdc6344d69d6dea87a5dd58b)
2008-05-12 17:35:55 -05:00
Volker Lendecke
232853d700
Fix the build with DNS_UPDATES
...
(This used to be commit 6c9500c290fe0d6d71d4c33eb265906ce3a1d9f3)
2008-05-10 10:58:56 +02:00
Kai Blin
f576910944
net: Remove globals
...
(This used to be commit 1e9319cf88b65a2a8d4f5099a1fe5297e405ed2e)
2008-05-10 09:22:27 +02:00
Günther Deschner
cdd9913c4a
cldap: let ads_cldap_netlogon() return all possible cldap replies.
...
Guenther
(This used to be commit 6f9d5e1cc94bc90685b54c04622b8f3357bd2f69)
2008-05-09 14:59:18 +02:00
Günther Deschner
bcbac69d1a
cldap: avoid duplicate definitions so remove ads_cldap.h.
...
Guenther
(This used to be commit 538eefe22ad69540b9f73ffaa613d6be045de199)
2008-04-21 20:21:40 +02:00
Günther Deschner
1dd7ab38e7
cldap: add talloc context to ads_cldap_netlogon().
...
Guenther
(This used to be commit 4cee7b1bd5cd97c414b73d6f39238958480cdcf3)
2008-04-21 20:21:40 +02:00
Günther Deschner
ba98dd4989
libads: Use libnbt for CLDAP reply parsing.
...
Guenther
(This used to be commit 751f3064a508341c0ebae45e8de9f5311d915d70)
2008-04-21 20:21:39 +02:00
Günther Deschner
6f4b7fcf97
net: Be more tolerant while joining.
...
Guenther
(This used to be commit 70b7b331d9e2d915e6209fca5900f41fae4866fd)
2008-04-17 00:08:24 +02:00
Günther Deschner
ae1e1085a1
libnetjoin/net: Fix lp_config_backend_is_registry() handling.
...
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-14 23:07:55 +02:00
Günther Deschner
4122dabbf9
net: abort when lp_realm is not set in net_ads_leave().
...
Guenther
(This used to be commit 53735edcbb059e73c51ae17d4ff75d2a4dee53e5)
2008-04-14 22:58:38 +02:00
Günther Deschner
113b94faf1
net: exit early in net_ads_join() if the domain is not set.
...
Guenther
(This used to be commit 8331fbe735e2bec386ab8fc1645dc371d45d3063)
2008-04-14 16:16:25 +02:00
Günther Deschner
bc65d96782
net: use WERROR for check_ads_config().
...
Guenther
(This used to be commit 9176057986be63c7ebebb56f7daabbc3883802c5)
2008-04-14 16:13:52 +02:00
Günther Deschner
fffb304fec
net: the success of secrets_init is checked by libnetjoin now.
...
Guenther
(This used to be commit 0a6a5d082426ca82accf18fffa7740683a42cac1)
2008-04-14 15:47:30 +02:00
Volker Lendecke
7af3ebdac0
Fix Coverity ID 480
...
(This used to be commit 45677e8694f0e383baa65712faec6a565ec0ce5c)
2008-03-23 18:28:23 +01:00
Günther Deschner
5259a7a808
Enable libnetjoin debugging for now but avoid printing passwords.
...
The gen_ndr needs proper fixing still.
Guenther
(This used to be commit 966d7244d7765d285a7026b97e6093fd1f8d83ce)
2008-03-07 18:31:13 +01:00
Günther Deschner
f7b4485fbe
Move talloc_init to the right place in "net ads join".
...
Guenther
(This used to be commit 8cd07c1fa8f435f7ff3dc79c195da9324fb2452f)
2008-03-04 11:04:36 +01:00
Günther Deschner
27310f0768
Remove original copy of now redundant join code.
...
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-28 19:54:35 +01:00
Günther Deschner
642f46dcf9
Some fixes for net ads join (uninitialized vars).
...
Guenther
(This used to be commit 735235e32bf41a7564ce2d585c1dae187b00bf6b)
2008-02-28 14:29:44 +01:00
Günther Deschner
e5775b4fae
Use libnet_Join() for "net ads join".
...
Guenther
(This used to be commit 9a7a2777e4ea1a2b5d7c800af8522b38cf22c511)
2008-02-28 14:19:36 +01:00
Günther Deschner
4d55efe4ab
Nicen error output in net_ads_leave.
...
Guenther
(This used to be commit b0d1db95e5d7590f9c67be7bf5cb78adfee16635)
2008-02-28 14:11:21 +01:00
Günther Deschner
bbe6d400e7
Re-arrange dns update block during "net ads join" a little.
...
Guenther
(This used to be commit 5d30e9f9fef98de7764ae53d3cbe659b78ae9fce)
2008-02-28 13:04:30 +01:00
Günther Deschner
42e301570b
Use libnet_Unjoin() for "net ads leave".
...
Guenther
(This used to be commit 11a19e88e208e09d7590370f2e68aa1df5c89e31)
2008-02-28 12:09:06 +01:00
Günther Deschner
c3ef76593b
Some cosmetics for net_derive_salting_principal().
...
Guenther
(This used to be commit 6f8e83b43085c038bb8fb2500319fed1daf6e4e4)
2008-02-28 11:38:00 +01:00
Günther Deschner
965774fa8f
Fix some more callers of PAC_DATA.
...
Guenther
(This used to be commit ea609d1b0e82d7c366dd73013228003136264b64)
2008-02-17 02:12:00 +01:00
Günther Deschner
c920764b19
Apply const to rpccli_lsa_query_info_policy() and rpccli_lsa_query_info_policy2().
...
Guenther
(This used to be commit 7a3fe68bef7acde9d9f8a7a44ce7e9432f3c5a95)
2008-01-15 16:40:22 +01:00
Volker Lendecke
2b14428330
Fix some warnings -- Jeremy, please check
...
(This used to be commit b66ac8567c16f2c35fceceba2f858d5503620309)
2008-01-15 11:01:18 +01:00
Günther Deschner
83b1751615
Remove unused string.
...
Guenther
(This used to be commit 88d6683872f4bb9c3074280f385f73c7af9de784)
2008-01-10 13:02:10 +01:00
Günther Deschner
62c91987d9
Use ads_get_upn() in net_derive_salting_principal().
...
Guenther
(This used to be commit a3b348b113f248d2eccffd6073560619a97a2976)
2008-01-08 14:07:18 +01:00
Jeremy Allison
7faee02d0d
Remove the char[1024] strings from dynconfig. Replace
...
them with malloc'ing accessor functions. Should save a
lot of static space :-).
Jeremy.
(This used to be commit 52dc5eaef2106015b3a8b659e818bdb15ad94b05)
2007-12-10 11:30:37 -08:00
Jeremy Allison
de7fd585b1
The usual !pstring...
...
Jeremy.
(This used to be commit b676262a781363e7be49b21817668a53cca75c2d)
2007-12-04 16:56:18 -08:00
Günther Deschner
4b9f336a62
Move param helper routines to one place.
...
Guenther
(This used to be commit 6bf2c8038c4bc7a52b7f260209ade0bdeb95c685)
2007-11-30 22:25:01 +01:00
Volker Lendecke
1011b32678
Remove some statics
...
(This used to be commit 1fab16ffb888cd4ec18e52d9da33976a67a5d104)
2007-11-27 14:18:47 +01:00
Jeremy Allison
f88b7a076b
This is a large patch (sorry). Migrate from struct in_addr
...
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-24 14:16:54 -07:00
Jeremy Allison
30191d1a57
RIP BOOL. Convert BOOL -> bool. I found a few interesting
...
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-18 17:40:25 -07:00
Michael Adam
34af42e87e
r25201: Fight those red bars...
...
(This used to be commit cc4599fdc1fb9aa51f6a4487cb1aa78a5556757a)
2007-10-10 12:30:51 -05:00
Michael Adam
75f82d454f
r25200: Fix a debug message.
...
(This used to be commit f1f4758e2c40a470c19b4b738f79ec5807522909)
2007-10-10 12:30:51 -05:00
Michael Adam
4dc265d6a0
r25198: Change net_rpc_join_ok() to return NTSTATUS for better
...
error propagation.
Michael
(This used to be commit 5a16da2185f07d1f48fabd93a7a6b8f2d6b91089)
2007-10-10 12:30:50 -05:00
Rafal Szczesniak
00737da4f4
r24853: Rename function as Jerry asked.
...
s/net_use_upn_machine_account/net_use_krb_machine_account/
rafal
(This used to be commit 86af9fedad71697f22cc739518340f7753b8f9da)
2007-10-10 12:30:28 -05:00
Rafal Szczesniak
48853f0bad
r24789: Add implementation of machine-authenticated connection to netlogon
...
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-10 12:30:21 -05:00
Günther Deschner
201f0e1ce4
r24432: Expand kerberos_return_pac() so that it can be used in winbindd.
...
Guenther
(This used to be commit e70bf0ecc3ec6d3ba8ba384024bbdf9a783072ea)
2007-10-10 12:29:46 -05:00
Volker Lendecke
a81c8b2a28
r24107: Fix bug 4849. Thanks to Matthijs Kooijman <matthijs@stdin.nl>
...
(This used to be commit 6e6eea64a5f770a585487734b1d0c28746bf5550)
2007-10-10 12:29:07 -05:00
Günther Deschner
2349acdd43
r23973: For debugging, add (undocumented) net ads kerberos commands (kinit, renew,
...
pac).
Guenther
(This used to be commit 4cada7c1485c9957e553d6e75cb6f30f4338489f)
2007-10-10 12:28:51 -05:00
Günther Deschner
7d3e5834ec
r23968: Harmonize net's password prompts.
...
Guenther
(This used to be commit 7e2fb14d6e4f58fe6645b7e7468f925c21cb4c9d)
2007-10-10 12:28:50 -05:00
Stefan Metzmacher
809c9d4d31
r23888: move elements belonging to the current ldap connection to a
...
substructure.
metze
(This used to be commit 00909194a6c1ed193dfdb296f50f58a53450583c)
2007-10-10 12:28:38 -05:00
Günther Deschner
c252b04abf
r23834: Allow to pass an ADS_STRUCT pointer down to the dump function callback in
...
libads.
Guenther
(This used to be commit 311bbbafa6d860b7b632beac6d9249b0a2fafb86)
2007-10-10 12:28:32 -05:00