1
0
mirror of https://github.com/samba-team/samba.git synced 2025-06-19 23:17:05 +03:00

217 Commits

Author SHA1 Message Date
Kai Blin
f7d0903a58 net: The top level help function for net cmd is always net_cmd_usage 2008-05-20 14:28:12 +02:00
Kai Blin
3ddd9c09e3 net: Split out "net group" 2008-05-20 14:27:40 +02:00
Kai Blin
4ca08a5acc net: Split out "net user" 2008-05-20 14:27:27 +02:00
Kai Blin
a8b567aac3 net: Use true/false instead of True/False. 2008-05-20 14:27:08 +02:00
coffeedude
aebae0b71b 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"
2008-05-12 17:35:55 -05:00
Volker Lendecke
6c9500c290 Fix the build with DNS_UPDATES 2008-05-10 10:58:56 +02:00
Kai Blin
1e9319cf88 net: Remove globals 2008-05-10 09:22:27 +02:00
Günther Deschner
6f9d5e1cc9 cldap: let ads_cldap_netlogon() return all possible cldap replies.
Guenther
2008-05-09 14:59:18 +02:00
Günther Deschner
538eefe22a cldap: avoid duplicate definitions so remove ads_cldap.h.
Guenther
2008-04-21 20:21:40 +02:00
Günther Deschner
4cee7b1bd5 cldap: add talloc context to ads_cldap_netlogon().
Guenther
2008-04-21 20:21:40 +02:00
Günther Deschner
751f3064a5 libads: Use libnbt for CLDAP reply parsing.
Guenther
2008-04-21 20:21:39 +02:00
Günther Deschner
70b7b331d9 net: Be more tolerant while joining.
Guenther
2008-04-17 00:08:24 +02:00
Günther Deschner
9003881773 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
2008-04-14 23:07:55 +02:00
Günther Deschner
53735edcbb net: abort when lp_realm is not set in net_ads_leave().
Guenther
2008-04-14 22:58:38 +02:00
Günther Deschner
8331fbe735 net: exit early in net_ads_join() if the domain is not set.
Guenther
2008-04-14 16:16:25 +02:00
Günther Deschner
9176057986 net: use WERROR for check_ads_config().
Guenther
2008-04-14 16:13:52 +02:00
Günther Deschner
0a6a5d0824 net: the success of secrets_init is checked by libnetjoin now.
Guenther
2008-04-14 15:47:30 +02:00
Volker Lendecke
45677e8694 Fix Coverity ID 480 2008-03-23 18:28:23 +01:00
Günther Deschner
966d7244d7 Enable libnetjoin debugging for now but avoid printing passwords.
The gen_ndr needs proper fixing still.

Guenther
2008-03-07 18:31:13 +01:00
Günther Deschner
8cd07c1fa8 Move talloc_init to the right place in "net ads join".
Guenther
2008-03-04 11:04:36 +01:00
Günther Deschner
a5c6347644 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
2008-02-28 19:54:35 +01:00
Günther Deschner
735235e32b Some fixes for net ads join (uninitialized vars).
Guenther
2008-02-28 14:29:44 +01:00
Günther Deschner
9a7a2777e4 Use libnet_Join() for "net ads join".
Guenther
2008-02-28 14:19:36 +01:00
Günther Deschner
b0d1db95e5 Nicen error output in net_ads_leave.
Guenther
2008-02-28 14:11:21 +01:00
Günther Deschner
5d30e9f9fe Re-arrange dns update block during "net ads join" a little.
Guenther
2008-02-28 13:04:30 +01:00
Günther Deschner
11a19e88e2 Use libnet_Unjoin() for "net ads leave".
Guenther
2008-02-28 12:09:06 +01:00
Günther Deschner
6f8e83b430 Some cosmetics for net_derive_salting_principal().
Guenther
2008-02-28 11:38:00 +01:00
Günther Deschner
ea609d1b0e Fix some more callers of PAC_DATA.
Guenther
2008-02-17 02:12:00 +01:00
Günther Deschner
7a3fe68bef Apply const to rpccli_lsa_query_info_policy() and rpccli_lsa_query_info_policy2().
Guenther
2008-01-15 16:40:22 +01:00
Volker Lendecke
b66ac8567c Fix some warnings -- Jeremy, please check 2008-01-15 11:01:18 +01:00
Günther Deschner
88d6683872 Remove unused string.
Guenther
2008-01-10 13:02:10 +01:00
Günther Deschner
a3b348b113 Use ads_get_upn() in net_derive_salting_principal().
Guenther
2008-01-08 14:07:18 +01:00
Jeremy Allison
52dc5eaef2 Remove the char[1024] strings from dynconfig. Replace
them with malloc'ing accessor functions. Should save a
lot of static space :-).
Jeremy.
2007-12-10 11:30:37 -08:00
Jeremy Allison
b676262a78 The usual !pstring...
Jeremy.
2007-12-04 16:56:18 -08:00
Günther Deschner
6bf2c8038c Move param helper routines to one place.
Guenther
2007-11-30 22:25:01 +01:00
Volker Lendecke
1fab16ffb8 Remove some statics 2007-11-27 14:18:47 +01:00
Jeremy Allison
98e154c312 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.
2007-10-24 14:16:54 -07:00
Jeremy Allison
f35a266b3c 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.
2007-10-18 17:40:25 -07:00
Michael Adam
cc4599fdc1 r25201: Fight those red bars... 2007-10-10 12:30:51 -05:00
Michael Adam
f1f4758e2c r25200: Fix a debug message. 2007-10-10 12:30:51 -05:00
Michael Adam
5a16da2185 r25198: Change net_rpc_join_ok() to return NTSTATUS for better
error propagation.

Michael
2007-10-10 12:30:50 -05:00
Rafal Szczesniak
86af9fedad r24853: Rename function as Jerry asked.
s/net_use_upn_machine_account/net_use_krb_machine_account/

rafal
2007-10-10 12:30:28 -05:00
Rafal Szczesniak
30d99d8ac3 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
2007-10-10 12:30:21 -05:00
Günther Deschner
e70bf0ecc3 r24432: Expand kerberos_return_pac() so that it can be used in winbindd.
Guenther
2007-10-10 12:29:46 -05:00
Volker Lendecke
6e6eea64a5 r24107: Fix bug 4849. Thanks to Matthijs Kooijman <matthijs@stdin.nl> 2007-10-10 12:29:07 -05:00
Günther Deschner
4cada7c148 r23973: For debugging, add (undocumented) net ads kerberos commands (kinit, renew,
pac).

Guenther
2007-10-10 12:28:51 -05:00
Günther Deschner
7e2fb14d6e r23968: Harmonize net's password prompts.
Guenther
2007-10-10 12:28:50 -05:00
Stefan Metzmacher
00909194a6 r23888: move elements belonging to the current ldap connection to a
substructure.

metze
2007-10-10 12:28:38 -05:00
Günther Deschner
311bbbafa6 r23834: Allow to pass an ADS_STRUCT pointer down to the dump function callback in
libads.

Guenther
2007-10-10 12:28:32 -05:00
Andrew Tridgell
b0132e94fc r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text 2007-10-10 12:28:22 -05:00