Gerald W. Carter [Thu, 17 Apr 2008 16:11:22 +0000 (18:11 +0200)]
Merge commit 'samba/v3-2-test' into wbc-test
Gerald W. Carter [Thu, 17 Apr 2008 16:09:08 +0000 (18:09 +0200)]
Remove unused variable from wbcCheckTrustCredentials().
Gerald W. Carter [Thu, 17 Apr 2008 16:07:18 +0000 (18:07 +0200)]
Convert "wbinfo -m" to use wbcListTrusts() API call.
Gerald W. Carter [Thu, 17 Apr 2008 16:06:10 +0000 (18:06 +0200)]
Add wbcListTrusts() API call to libwbclient.so
Stefan Metzmacher [Thu, 17 Apr 2008 14:26:59 +0000 (16:26 +0200)]
nbt.idl: fix parsing und pushing of dom_sids by using dom_sid0
metze
(cherry picked from commit
0e2f6d481b3e35ed392b2b3340b244c77593819c)
Jelmer Vernooij [Thu, 17 Apr 2008 15:44:40 +0000 (17:44 +0200)]
rpc_parse: Use UUIDs from librpc/gen_ndr/ when possible to reduce
duplication.
Gerald W. Carter [Thu, 17 Apr 2008 15:49:53 +0000 (17:49 +0200)]
Follow error code name convention in libwbclient.
s/WBC_INVALID_RESPONSE/WBC_ERR_INVALID_RESPONSE/
Jeremy Allison [Thu, 17 Apr 2008 15:02:46 +0000 (08:02 -0700)]
Fix gcc uninitialized variable used warning.
Jeremy.
Michael Adam [Thu, 17 Apr 2008 13:22:41 +0000 (15:22 +0200)]
build: add missing dependency for libtdb.so to pam_smbpass
Thanks to Andreas Schneider for noticing.
Michael
Günther Deschner [Wed, 16 Apr 2008 21:52:34 +0000 (23:52 +0200)]
Move GETDC mailslot out of winbindd.
Guenther
Günther Deschner [Wed, 16 Apr 2008 21:23:24 +0000 (23:23 +0200)]
IDL: build generated nbt code.
Guenther
Günther Deschner [Wed, 16 Apr 2008 21:16:59 +0000 (23:16 +0200)]
IDL: Add autogenerated nbt files.
Guenther
Günther Deschner [Wed, 16 Apr 2008 21:15:26 +0000 (23:15 +0200)]
IDL: Build nbt.idl always.
Guenther
Günther Deschner [Wed, 16 Apr 2008 21:12:03 +0000 (23:12 +0200)]
IDL: Add nbt.idl from Samba4.
Guenther
Günther Deschner [Thu, 17 Apr 2008 12:40:55 +0000 (14:40 +0200)]
wbclient: Remove unused string.
Guenther
Günther Deschner [Thu, 17 Apr 2008 12:09:29 +0000 (14:09 +0200)]
libnetapi: Disable talloc_enable_leak_report.
Guenther
Günther Deschner [Thu, 17 Apr 2008 12:07:53 +0000 (14:07 +0200)]
netdomjoin-gui: Fix label alignment showing up with lower screen-resolution.
Guenther
Günther Deschner [Thu, 17 Apr 2008 12:04:18 +0000 (14:04 +0200)]
libgpo: try nicer output when dumping gpo registry values.
Guenther
Günther Deschner [Thu, 17 Apr 2008 12:02:37 +0000 (14:02 +0200)]
libgpo: Fallback to NTLMSSP fails while pulling policy from SYSVOL.
Guenther
Jelmer Vernooij [Thu, 17 Apr 2008 11:51:00 +0000 (13:51 +0200)]
Add some comments.
Jelmer Vernooij [Thu, 17 Apr 2008 11:46:13 +0000 (13:46 +0200)]
Remove copying of interface syntax id.
Jelmer Vernooij [Tue, 15 Apr 2008 17:33:15 +0000 (19:33 +0200)]
fix return code.
Jelmer Vernooij [Tue, 15 Apr 2008 16:24:11 +0000 (18:24 +0200)]
Actually connect to RPC.
Jelmer Vernooij [Tue, 15 Apr 2008 15:55:44 +0000 (17:55 +0200)]
Add simple implementation of several functions in the Samba 4 RPC
library on top of the Samba 3 RPC library:
* dcerpc_pipe_connect
* dcerpc_ndr_request_recv
* dcerpc_ndr_request_send
These are the main functions used by the generated client calls in Samba
4.
Stefan Metzmacher [Wed, 16 Apr 2008 22:17:06 +0000 (00:17 +0200)]
wbinfo: use wbcCheckTrustCredentials()
metze
Stefan Metzmacher [Wed, 16 Apr 2008 21:35:12 +0000 (23:35 +0200)]
libwbclient: add wbcCheckTrustCredentials()
This only accepts NULL as domain for now,
because winbindd doesn't support checking
trust passwords as a domain controller.
metze
Stefan Metzmacher [Mon, 14 Apr 2008 07:35:15 +0000 (09:35 +0200)]
wbinfo: use wbcResolveWinsByName() and wbcResolveWinsByIP()
metze
Stefan Metzmacher [Mon, 14 Apr 2008 07:31:46 +0000 (09:31 +0200)]
libwbclient: add wbcResolveWinsByName() and wbcResolveWinsByIP()
metze
Günther Deschner [Wed, 16 Apr 2008 22:06:00 +0000 (00:06 +0200)]
net: Be more tolerant while joining.
Guenther
Günther Deschner [Wed, 16 Apr 2008 21:59:43 +0000 (23:59 +0200)]
NetrUnjoinDomain2: Honor registry config to try config changes.
Guenther
Günther Deschner [Wed, 16 Apr 2008 21:56:03 +0000 (23:56 +0200)]
dsgetdcname: Fix discover_dc_dns.
Guenther
Michael Adam [Wed, 16 Apr 2008 20:42:49 +0000 (22:42 +0200)]
libsmbconf: fix segfault in listing share names / config.
Discovered by Günther while giving a talk. - Sorry Günther!
Michael
Björn Jacke [Wed, 9 Apr 2008 14:27:20 +0000 (16:27 +0200)]
add AC_TRY_RUN_STRICT support for Sun Studio compiler
Gerald W. Carter [Wed, 16 Apr 2008 13:48:00 +0000 (15:48 +0200)]
Fix out of tree build. Remove the embedded srcdir path from talloc and tdb.
Günther Deschner [Wed, 16 Apr 2008 08:03:06 +0000 (10:03 +0200)]
libnetapi: Add initial inline doxygen comments.
Guenther
Günther Deschner [Wed, 16 Apr 2008 00:45:00 +0000 (02:45 +0200)]
net: Remove unused rpc_user_add/del_internals code.
Guenther
Günther Deschner [Wed, 16 Apr 2008 00:41:52 +0000 (02:41 +0200)]
net: Use NetUserAdd for "net rpc user add".
Guenther
Günther Deschner [Wed, 16 Apr 2008 00:39:41 +0000 (02:39 +0200)]
net: use NetUserDel for "net rpc user delete".
Guenther
Günther Deschner [Wed, 16 Apr 2008 00:38:13 +0000 (02:38 +0200)]
libnetapi: Let NetUserAdd_l/NetUserDel_l talk to the local RPC server.
Guenther
Günther Deschner [Wed, 16 Apr 2008 00:37:27 +0000 (02:37 +0200)]
errors: Add WERR_NO_SUCH_USER.
Guenther
Günther Deschner [Wed, 16 Apr 2008 00:23:20 +0000 (02:23 +0200)]
errors: Add WERR_NONE_MAPPED.
Guenther
Günther Deschner [Wed, 16 Apr 2008 00:16:08 +0000 (02:16 +0200)]
net/libnetapi: Include netapi headers early and free on exit.
Guenther
Günther Deschner [Tue, 15 Apr 2008 22:14:52 +0000 (00:14 +0200)]
libnetapi: do not overwrite status in libnetapi_get_error_string().
Guenther
Michael Adam [Sun, 13 Apr 2008 19:57:55 +0000 (21:57 +0200)]
loadparm: remove pfunc parameter from process_registry_globals().
Use do_parameter() directly.
Michael
Günther Deschner [Tue, 15 Apr 2008 20:30:06 +0000 (22:30 +0200)]
libnetapi: Add missing headers.
Guenther
Günther Deschner [Tue, 15 Apr 2008 20:04:59 +0000 (22:04 +0200)]
IDL: For the fun of it, build drsuapi.idl.
Guenther
Günther Deschner [Tue, 15 Apr 2008 18:39:11 +0000 (20:39 +0200)]
IDL: Fix several DRSUAPI calls.
Guenther
Günther Deschner [Tue, 15 Apr 2008 18:38:22 +0000 (20:38 +0200)]
IDL: Import drsuapi.idl from samba4.
Guenther
Jelmer Vernooij [Tue, 15 Apr 2008 18:52:17 +0000 (20:52 +0200)]
Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into 3-2-nopipeindex
Michael Adam [Tue, 15 Apr 2008 18:41:14 +0000 (20:41 +0200)]
auth: add SeDiskOperatorsPrivilege to get_root_nt_token to fix registry shares.
Michael
Jelmer Vernooij [Tue, 15 Apr 2008 18:26:52 +0000 (20:26 +0200)]
Reconcile ndr_syntax_id used by pidl-generated code and Samba3's RFC_IFACE.
Michael Adam [Tue, 15 Apr 2008 15:39:01 +0000 (17:39 +0200)]
libmsbconf: add handling of NULL share parameters to registry backend.
Michael
Michael Adam [Tue, 15 Apr 2008 15:37:39 +0000 (17:37 +0200)]
libsmbconf: don't complain with WERR_ALREADY_EXISTS for NULL share in smbconf_create_share().
These are values stored inside the base key for registry.
This is not getting deleted.
Michael
Michael Adam [Tue, 15 Apr 2008 15:36:44 +0000 (17:36 +0200)]
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
Michael Adam [Tue, 15 Apr 2008 15:36:11 +0000 (17:36 +0200)]
net conf: simplify logic in test output of net conf import.
Michael
Michael Adam [Tue, 15 Apr 2008 14:06:57 +0000 (16:06 +0200)]
libsmbconf: make sure to always list the NULL section first in text backend.
Michael
Michael Adam [Tue, 15 Apr 2008 12:38:36 +0000 (14:38 +0200)]
net conf: fix output of out-of-share parameters in test mode import
Michael
Michael Adam [Tue, 15 Apr 2008 12:37:15 +0000 (14:37 +0200)]
libsmbconf: default to the NULL section when a parameter is encountered w/o section
Michael
Michael Adam [Tue, 15 Apr 2008 12:36:39 +0000 (14:36 +0200)]
libsmbconf: allow NULL sharename in smbconf_share_exists().
Michael
Michael Adam [Tue, 15 Apr 2008 11:50:27 +0000 (13:50 +0200)]
libsmbconf: add handling of NULL strings to smbconf_find_in_array().
Michael
Michael Adam [Tue, 15 Apr 2008 11:49:59 +0000 (13:49 +0200)]
libsmbconf: add handling of "NULL" strings to smbconf_add_string_to_array()
Michael
Jelmer Vernooij [Tue, 15 Apr 2008 14:11:10 +0000 (16:11 +0200)]
Regenerate DCE/RPC client code after fixing memcpy() length bug in pidl.
Stefan Metzmacher [Mon, 14 Apr 2008 22:18:34 +0000 (00:18 +0200)]
lib/sharesec.c: fix the upgrade code, db_traverse returns the number of records!
metze
Stefan Metzmacher [Mon, 14 Apr 2008 22:12:45 +0000 (00:12 +0200)]
pdb_tdb: fix the upgrade code, db_traverse returns the number of records!
metze
Günther Deschner [Mon, 14 Apr 2008 21:07:55 +0000 (23:07 +0200)]
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
Günther Deschner [Mon, 14 Apr 2008 20:58:38 +0000 (22:58 +0200)]
net: abort when lp_realm is not set in net_ads_leave().
Guenther
Günther Deschner [Mon, 14 Apr 2008 20:57:37 +0000 (22:57 +0200)]
libnetjoin: delete the workgroup name when requested while unjoining.
Guenther
Günther Deschner [Mon, 14 Apr 2008 20:56:12 +0000 (22:56 +0200)]
libnetjoin: separate out libnet_join_lookup_dc_rpc.
Guenther
Günther Deschner [Mon, 14 Apr 2008 16:21:21 +0000 (18:21 +0200)]
libgpo: fix build warning.
Thanks metze&vl.
Guenther
Günther Deschner [Mon, 14 Apr 2008 14:16:25 +0000 (16:16 +0200)]
net: exit early in net_ads_join() if the domain is not set.
Guenther
Günther Deschner [Mon, 14 Apr 2008 14:15:18 +0000 (16:15 +0200)]
libnetjoin: Fix unjoining when no KRB5CCNAME is around.
Guenther
Günther Deschner [Mon, 14 Apr 2008 14:13:52 +0000 (16:13 +0200)]
net: use WERROR for check_ads_config().
Guenther
Günther Deschner [Mon, 14 Apr 2008 13:48:23 +0000 (15:48 +0200)]
doserr: Add WERR_INVALID_DOMAIN_STATE and WERR_INVALID_DOMAIN_ROLE.
Guenther
Günther Deschner [Mon, 14 Apr 2008 13:47:30 +0000 (15:47 +0200)]
net: the success of secrets_init is checked by libnetjoin now.
Guenther
Günther Deschner [Mon, 14 Apr 2008 12:46:30 +0000 (14:46 +0200)]
WKSSVC: In _wkssvc_NetrJoinDomain2, do modify the local configuration if enabled.
Guenther
Günther Deschner [Mon, 14 Apr 2008 12:42:19 +0000 (14:42 +0200)]
libnetjoin: Remove machine account if we failed to set password.
Guenther
Volker Lendecke [Sun, 30 Mar 2008 20:08:17 +0000 (22:08 +0200)]
Remove two pointless else branches
Volker Lendecke [Sun, 13 Apr 2008 17:14:09 +0000 (19:14 +0200)]
Remove namedpipe_transact fn pointer from smb_np_struct
Volker Lendecke [Tue, 1 Apr 2008 13:29:59 +0000 (15:29 +0200)]
Enable multiple fd events on a single file descriptor
Now we can have multiple events listen on a single fd. The order in which they
are called is naturally not defined, meaning that it is only deterministic if
exactly one event is readable or writeable.
Volker Lendecke [Wed, 2 Apr 2008 13:54:49 +0000 (15:54 +0200)]
Fix some "ignoring asprintf result" warnings
Volker Lendecke [Sat, 29 Mar 2008 16:20:15 +0000 (17:20 +0100)]
Make use of ZERO_STRUCT instead of memset in namequery.c
Volker Lendecke [Mon, 14 Apr 2008 10:53:11 +0000 (12:53 +0200)]
Fix the build of db_open_trans with CLUSTER_SUPPORT enabled
Metze, you might want to check this.
Günther Deschner [Mon, 14 Apr 2008 10:20:33 +0000 (12:20 +0200)]
libnetjoin: Fix joining when no KRB5CCNAME is around.
Guenther
Alexander Bokovoy [Mon, 14 Apr 2008 09:56:36 +0000 (13:56 +0400)]
Use more error-prone form of testing dm_destroy_session() return code after discussing with Tridge
Michael Adam [Sun, 13 Apr 2008 15:22:52 +0000 (17:22 +0200)]
loadparm: use the new smbconf_init() dispatcher for loading registry config.
Michael
Michael Adam [Sun, 13 Apr 2008 15:16:54 +0000 (17:16 +0200)]
net conf: use the new smbconf_init() dispatcher instead of explicit backend init.
Michael
Michael Adam [Sun, 13 Apr 2008 15:13:16 +0000 (17:13 +0200)]
libsmbconf: add a smbconf init dispatcher smbconf_init().
The dispatcher takes a config source argument in the form
of "backend:path" where backend can (currently) be one of
"txt" (aka "file") or "reg" (aka "registry").
When the path is omitted, it is up to the backend to provide
a default path.
When there is no separator ":" and the string is not a recognized
backend, then file backend is assumed and the string is passed
in as the path argument.
Michael
Michael Adam [Sun, 13 Apr 2008 14:36:30 +0000 (16:36 +0200)]
libsmbconf: move setting of verbatim variable into a more internal function.
Michael
Michael Adam [Sun, 13 Apr 2008 14:34:40 +0000 (16:34 +0200)]
libsmbconf: add a check for talloc failure to smbconf_txt_init().
Michael
Michael Adam [Sun, 13 Apr 2008 14:32:05 +0000 (16:32 +0200)]
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
Michael Adam [Sun, 13 Apr 2008 14:26:14 +0000 (16:26 +0200)]
libsmbconf: rename smbconf_init() to smbconf_init_internal().
smbconf_init should be the name of the dispatcher (to be written)
Michael
Günther Deschner [Sun, 13 Apr 2008 17:22:24 +0000 (19:22 +0200)]
libnetapi: add libnetapi_set_use_kerberos
Don't unconditionally set the kerberos flag for authentication.
Guenther
Günther Deschner [Sun, 13 Apr 2008 17:23:42 +0000 (19:23 +0200)]
libnetapi: Add NetQueryDisplayInformation header.
Guenther
Günther Deschner [Sun, 13 Apr 2008 17:15:15 +0000 (19:15 +0200)]
libnetapi: add NetQueryDisplayInformation example.
Guenther
Günther Deschner [Sun, 13 Apr 2008 17:12:31 +0000 (19:12 +0200)]
libnetapi: fill in NetQueryDisplayInformation_r.
Guenther
Günther Deschner [Sun, 13 Apr 2008 17:11:01 +0000 (19:11 +0200)]
libnetapi: don't reset the error code in NetUserAdd_r if the operation failed.
Guenther
Günther Deschner [Sun, 13 Apr 2008 17:04:18 +0000 (19:04 +0200)]
libnetapi: add NetQueryDisplayInformation skeleton.
Guenther
Günther Deschner [Sun, 13 Apr 2008 17:00:53 +0000 (19:00 +0200)]
Re-run make idl.
Guenther
Günther Deschner [Sun, 13 Apr 2008 16:59:42 +0000 (18:59 +0200)]
libnetapi: Add IDL for NetQueryDisplayInformation.
Guenther
Günther Deschner [Sun, 13 Apr 2008 16:27:03 +0000 (18:27 +0200)]
Fix the build of eventlogadm.
Guenther