1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-29 21:47:30 +03:00

2395 Commits

Author SHA1 Message Date
Volker Lendecke
c4f7bee923 Correctly initialize lp_load in smbstatus in the presence of registry on tdb2 2008-04-23 11:35:51 +02:00
Michael Adam
17415e2dc4 libsmbconf: rewrite API to use smbconf_service struct
instead of lists of strings and counters directly...

Michael
2008-04-23 01:43:31 +02:00
Volker Lendecke
3d8c2a47e6 Remove the "pwd" struct from rpc_pipe_client
The only user of this was decrypt_trustdom_secret, and this only needs the NT
hash anyway.
2008-04-21 23:36:05 +02:00
Günther Deschner
8a5fadf6a1 net: Add libnetapi context to net's impressive list of globals.
Guenther
2008-04-21 20:21:40 +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
Volker Lendecke
c56e1c08ce Introduce rpc_pipe_np_smb_conn()
This abstracts away all references to rpc_pipe_client->cli, the only reference
is now in cli_pipe.c.
2008-04-20 14:08:16 +02:00
Volker Lendecke
99fc3283c4 Replace cli_rpc_pipe_close by a talloc destructor on rpc_pipe_struct 2008-04-20 14:08:16 +02:00
Volker Lendecke
3f6c5b9966 Use rpc_pipe_client->user_name instead of rpc_pipe_client->cli->user_name
Also make sure that rpc_pipe_client->user_name is always talloced.
2008-04-20 00:14:40 +02:00
Volker Lendecke
a9061e52e1 Move srv_name_slash from cli_state to rpc_pipe_client 2008-04-20 00:14:13 +02:00
Volker Lendecke
783afab9c8 Add "desthost" to rpc_pipe_client
This reduces the dependency on cli_state
2008-04-20 00:13:09 +02:00
Jeremy Allison
b95f2adeb5 Fix gcc uninitialized variable used warning.
Jeremy.
2008-04-17 08:02:46 -07:00
Günther Deschner
70b7b331d9 net: Be more tolerant while joining.
Guenther
2008-04-17 00:08:24 +02:00
Günther Deschner
e68daef0ee net: Remove unused rpc_user_add/del_internals code.
Guenther
2008-04-16 10:09:07 +02:00
Günther Deschner
4868b4ea1a net: Use NetUserAdd for "net rpc user add".
Guenther
2008-04-16 02:41:52 +02:00
Günther Deschner
0105770c15 net: use NetUserDel for "net rpc user delete".
Guenther
2008-04-16 02:39:41 +02:00
Günther Deschner
020b1e6431 net/libnetapi: Include netapi headers early and free on exit.
Guenther
2008-04-16 02:16:08 +02:00
Michael Adam
0212b38913 net conf: adapt output of NULL share params in net conf list.
don't list NULL share name and don't indent these parameters

Michael
2008-04-15 17:40:27 +02:00
Michael Adam
367c8b133b net conf: simplify logic in test output of net conf import.
Michael
2008-04-15 17:40:27 +02:00
Michael Adam
5424e07e7d net conf: fix output of out-of-share parameters in test mode import
Michael
2008-04-15 17:40:27 +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
Michael Adam
281c9287a3 net conf: use the new smbconf_init() dispatcher instead of explicit backend init.
Michael
2008-04-13 20:04:44 +02:00
Michael Adam
e8bafcfbf4 libsmbconf: remove the bool verbatim parameter from txt backend init function.
Always be verbatim for now. Backend config options may be added later
via some private data pointer.

Michael
2008-04-13 20:04:43 +02:00
Günther Deschner
57a5628abf Fix the build of eventlogadm.
Guenther
2008-04-13 18:28:24 +02:00
Michael Adam
d4e74036d3 net registry: remove superfluous regdb_close().
Michael
2008-04-13 15:36:05 +02:00
Michael Adam
6a31e659cb registry: change registry_init_basic() to return WERROR instead of bool
Michael
2008-04-13 15:33:48 +02:00
Stefan Metzmacher
dc9a3f8db0 net_idmap: use wbcSet[U|G]idMapping() and wbcSet[U|G]idHwm() functions
metze
2008-04-11 15:59:33 +02:00
Tim Prouty
59124382d2 Cleanup size_t return values in convert_string_allocate
This patch is the first iteration of an inside-out conversion to cleanup
functions in charcnv.c returning size_t == -1 to indicate failure.
2008-04-11 11:33:33 +02:00
Karolin Seeger
b865b8a79a objectclass -> objectClass
Karolin
2008-04-10 10:45:36 +02:00
Michael Adam
977cc98989 net conf: use talloc and talloc_strdup_lower throughout all net conf functions.
Michael
2008-04-10 01:29:03 +02:00
Michael Adam
a1d09f34ec net conf: implement "net conf delincludes".
usage: "net conf delincludes <servicename>"

This is equivalent to "net conf setincludes <servicename>"
(without further arguments).

Michael
2008-04-10 01:29:03 +02:00
Michael Adam
ab51e4d44c net conf: implement a "net conf setincludes" command.
given zero or more filenames as command line parameters

Michael
2008-04-10 01:29:03 +02:00
Michael Adam
30bc48623c net conf: implement "net conf getincludes".
Michael
2008-04-10 01:29:02 +02:00
Michael Adam
8f2c3efa67 net conf: add diagnostic message for failure to load text file.
Michael
2008-04-10 01:29:02 +02:00
Michael Adam
97f9cb8575 net conf: reduce indentation by grouping testmode code together.
Michael
2008-04-10 01:29:02 +02:00
Michael Adam
74e87b9775 net conf: don't drop config in testmode
Michael
2008-04-10 01:29:02 +02:00
Michael Adam
3e81db8370 net conf: fix import to correctly add includes (at the end)
Michael
2008-04-10 01:29:02 +02:00
Michael Adam
b9e72b402d libsmbconf: add a "verbatim" parameter to smbconf_init_txt_simple().
Michael
2008-04-10 01:28:56 +02:00
Michael Adam
ba59383437 net rpc registry: add getvalue command.
This is the same as already implemented for "net registry".

usage: net rpc registry getvalue <key> <valuename>

Michael
2008-04-09 23:52:35 +02:00
Michael Adam
77f049943e net registry: add a getvalue subcommand that prints a single given value.
usage: "net registry getvalue <keyname> <valuename>"

Michael
2008-04-09 23:52:34 +02:00
Michael Adam
88c4851ad7 net (registry util): refactor printing of value without name out.
This renames print_registry_value() to print_registry_value_with_name().
The new function is called print_registry_value().

Michael
2008-04-09 23:52:34 +02:00
Karolin Seeger
6cee347035 Fix typos.
Karolin
2008-04-09 16:14:04 +02:00
Günther Deschner
e161bb64a8 Fix parameters string for rpc_trustdom_add_internals().
Guenther
2008-04-09 13:18:46 +02:00
Günther Deschner
e0eae39017 Fix lsa_TrustedDomainInfo callers.
Guenther
2008-04-08 22:55:52 +02:00
Günther Deschner
aae4d91e72 Move is_valid_policy_hnd() out of net.
Guenther
2008-04-08 19:54:57 +02:00