1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
Commit Graph

66115 Commits

Author SHA1 Message Date
Stefan Metzmacher
a510b9de39 s3:rpc_client: implement rpccli_bh_set_timeout()
metze
2010-09-04 09:01:15 +02:00
Stefan Metzmacher
0879571897 s4:lib/messaging: implement irpc_bh_set_timeout
metze
2010-09-04 09:01:14 +02:00
Stefan Metzmacher
99a26edcb3 s4:librpc/rpc: implement dcerpc_bh_set_timeout()
metze
2010-09-04 09:01:12 +02:00
Stefan Metzmacher
27918981de librpc/rpc: add set_timeout() to dcerpc_binding_handle_ops
metze
2010-09-04 09:01:11 +02:00
Stefan Metzmacher
2907310803 s3:rpc_server: make it possible to use rpcint_binding_handle() directly
metze
2010-09-04 09:01:10 +02:00
Andrew Tridgell
389d35708e torture-lsa: cope with STATUS_SOME_UNMAPPED errors
Now that we support SePrintOperatorPrivilege, an interaction between
the spoolss tests and the privileges tests cause a failure. The
failure happens like this:

 - the spoolss.access test creates and then deletes an account with
   SePrintOperatorPrivilege privilege

 - this leaves the privileges database with an entry for a deleted
   account that is still visible via LSA calls. This is correct
   behaviour (verified against w2k8r2)

 - the lsa.privileges test then enumerates all accounts that have at
   least one privilege, and gets the SID for the deleted account

 - it then called LookupNames and LookupSids on this deleted account,
   and gets an error.

The fix is to not call LookupSids and LookupNames on sids which have
SID_NAME_UNKNOWN as the type

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-04 12:29:10 +10:00
Andrew Tridgell
48323d88cc selftest: run client tests with log level 1
this PIDL print functions to display
2010-09-04 12:29:10 +10:00
Andrew Tridgell
aefbdc4a9d waf: fixed make test with TESTS="test1 test2"
when multiple tests are specified, make escapes the space in MAKEFLAGS
with a backslash, so we need to use shlex.split()
2010-09-04 12:29:10 +10:00
Andrew Tridgell
b58bfb3510 util: added samba_start_debugger()
This developer function is useful for debugging unusual error
conditions
2010-09-04 12:29:10 +10:00
Stefan Metzmacher
31d3227074 s4:lib/messaging: make irpc_request private and remove unused code
metze
2010-09-03 17:02:11 +02:00
Stefan Metzmacher
dd7154234c s4:libcli/composite: remove unused composite_continue_irpc()
metze
2010-09-03 17:02:11 +02:00
Stefan Metzmacher
a9078aad3c s4:lib/messaging/tests: make use of irpc_binding_handle()
metze
2010-09-03 17:02:10 +02:00
Stefan Metzmacher
a65d1eb05c s4:lib/messaging: use irpc_binding_handle() for python bindings
metze
2010-09-03 17:02:10 +02:00
Stefan Metzmacher
993d37baf5 s4:wrepl_server: use irpc_binding_handle_by_name() in wreplsrv_scavenging_replica_active_records()
metze
2010-09-03 17:02:10 +02:00
Stefan Metzmacher
f43ec0e751 s4:wrepl_server: use irpc_binding_handle_by_name() in r_do_release_demand()
metze
2010-09-03 17:02:09 +02:00
Stefan Metzmacher
2e07f82f7c s4:wrepl_server: use irpc_binding_handle_by_name() in r_do_challenge()
metze
2010-09-03 17:02:09 +02:00
Stefan Metzmacher
8202cf7966 s4:auth_winbind: use irpc_binding_handle_by_name()
metze
2010-09-03 17:01:56 +02:00
Stefan Metzmacher
52d4a97afc s4:libcli/wbclient: use irpc_binding_handle_by_name()
metze
2010-09-03 17:00:21 +02:00
Stefan Metzmacher
5c73c84f29 s4:rpc_server/netlogon: use irpc_binding_handle_by_name()
metze
2010-09-03 17:00:20 +02:00
Stefan Metzmacher
e117177307 s4:smbd/service_task: use irpc_binding_handle_by_name()
metze
2010-09-03 17:00:20 +02:00
Stefan Metzmacher
ff0362fc35 s4:dsdb/kcc: use irpc_binding_handle_by_name()
metze
2010-09-03 17:00:19 +02:00
Stefan Metzmacher
3c4150522c s4:libcli/finddcs: use irpc_binding_handle_by_name()
metze
2010-09-03 17:00:19 +02:00
Stefan Metzmacher
f2422a0faa s4:rpc_server/common: use irpc_binding_handle_by_name() in dcesrv_irpc_forward_rpc_call()
metze
2010-09-03 17:00:19 +02:00
Stefan Metzmacher
611357aee3 s4:lib/messaging: add irpc_binding_handle_by_name() helper function
metze
2010-09-03 17:00:18 +02:00
Stefan Metzmacher
e26f0abe91 s4:lib/messaging: add irpc dcerpc_binding_handle backend
metze
2010-09-03 17:00:18 +02:00
Stefan Metzmacher
328c7084f2 s4:lib/messaging: move messaging prototypes from irpc.h to messaging.h
metze
2010-09-03 17:00:17 +02:00
Stefan Metzmacher
8740caece0 s4:lib/messaging/tests: fix some compiler warnings
metze
2010-09-03 17:00:17 +02:00
Stefan Metzmacher
705f4c2056 s4:auth_winbind: remove unused winbind_samba3 backend
This uses the winbind protocol directly, which needs to be avoided!

metze
2010-09-03 17:00:16 +02:00
Stefan Metzmacher
0f35d51ab6 s4:auth_winbind: fix segfault in winbind_check_password_wbclient()
We should only look at err if WBC_ERR_AUTH_ERROR is returned.

metze
2010-09-03 16:53:35 +02:00
Stefan Metzmacher
5b0e0acc81 s4:auth_winbind: fix compiler warnings
metze
2010-09-03 13:40:00 +02:00
Stefan Metzmacher
14ffb7d699 nsswitch/libwbclient: LIBWBCLIENT depends on LIBWINBIND-CLIENT
metze
2010-09-03 13:31:05 +02:00
Kamen Mazdrashki
fdffa90ef9 s4-drs: A quick fix for DRSUAPI_EXOP_FSMO_RID_ALLOC extended_op handling
When DRSUAPI_EXOP_FSMO_RID_ALLOC extended op is handled
in DsGetNCChanges() stub, we need to returned a well know set of
object - see: [ms-adts], 3.1.1.5.1.7

With this hack we are going to return just objects modified
during RID allocation procedure - i.e. "RID Manager$", "RID Set" for
computer object and computer object itself.

Which is a close approximation of what we are expected to return.
2010-09-03 13:23:48 +03:00
Kamen Mazdrashki
65b21c0562 s4-dreplsrv: Refactor drepl_replica_sync() to behave as described in MS-DRSR
see: MS-DRSR - 4.1.23.2

Note: Synchronious replication not implemented yet.
2010-09-03 13:23:48 +03:00
Kamen Mazdrashki
715743b38d s4-dreplsrv: Helpers to locate source DSA in a partition by GUID or DNS name 2010-09-03 13:23:48 +03:00
Kamen Mazdrashki
3691e6c97b s4-dreplsrv: Helper to find NC by DN or GUID or SID 2010-09-03 13:23:48 +03:00
Kamen Mazdrashki
5685fb64e4 s4-dreplsrv: Add caller-specific data parameter for dreplsrv_fsmo_callback_t
It is to be used when we need to preserve a state
to be used in tha callback when dreplsrv_out_operation is completed
2010-09-03 13:23:47 +03:00
Günther Deschner
cf728f890f s3-spoolss: fix some debug statements.
Guenther
2010-09-03 12:19:26 +02:00
Michael Adam
4208d40a74 docs:vfs_gpfs: improve the CAVEAT section on run and build time dependencies 2010-09-03 09:39:48 +02:00
Jelmer Vernooij
0bc53f7d9f pidl: Keep only a single copy of samba.dcerpc.base.ClientConnection. 2010-09-03 02:39:38 +02:00
Jelmer Vernooij
c5449c9298 pidl: Factor out generation of interface type name. 2010-09-03 00:35:29 +02:00
Simo Sorce
804aaad526 s3-kerberos: use krb5 compat macros in fill_keytab_from_password()
This one uses the compat macro in the right way, without actually
breaking the code.

Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-02 22:48:09 +02:00
Simo Sorce
d9c63fbe92 Revert "s3-kerberos: use krb5 compat macros in fill_keytab_from_password()."
This reverts commit 9986d25ed1.

This patch was causing us to free unallocated memory.

Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-02 22:48:09 +02:00
Volker Lendecke
ac317eba25 s3: Remove unused nss_info_adex_init() 2010-09-02 22:14:55 +02:00
Andrew Tridgell
4ca96834f3 s3-param: added lp_set_cmdline() and --option= parameter
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-02 13:37:08 +10:00
Andrew Tridgell
f6a631bdec s4-resolve: added resolve_name_ex_send()
this allows access to the flags that control name resolution

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-02 13:37:08 +10:00
Andrew Tridgell
cecc58e058 s4-auth: make the disabled acct messages a bit less verbose
raise the debug level

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-02 13:37:08 +10:00
Andrew Tridgell
b7060c7c5c s4-selftest: try DNS before bcast in selftest
this better reflects real usage
2010-09-02 13:37:08 +10:00
Andrew Tridgell
efbc702b1e s4-resolve: add a default domain for unqualified names in file backend
this better emulates what happens with real DNS
2010-09-02 13:37:08 +10:00
Andrew Tridgell
39599e949b s4-pidl: added a test for all generated rpc interfaces
this tries to instantiate all types in all generated python RPC
interfaces, then checks that all attributes can be read, written and
compared.
2010-09-02 13:37:07 +10:00
Andrew Tridgell
71f2ebcae0 pidl: cope with dom_sid28 in python generator
treated the same as dom_sid2
2010-09-02 13:37:07 +10:00