1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

24019 Commits

Author SHA1 Message Date
Matthieu Patou
13d575d6e3 upgradeprovision: cleanup 2010-09-05 12:29:20 +04:00
Matthieu Patou
1d0815281e s4 upgradeprovision: add dns_update_list if missing 2010-09-05 12:29:20 +04:00
Matthieu Patou
e2d575ee80 python-ldb: allow ldb_rename to take optional control(s) 2010-09-05 12:29:20 +04:00
Matthieu Patou
42dfa71ef5 dsdb: make the ATTRIBUTE NOT FOUND more clear 2010-09-05 12:29:20 +04:00
Jelmer Vernooij
e4d1bdbe55 s4/selftest: Fix path to include/config.h, set BUILDDIR automatically. 2010-09-05 04:33:29 +02:00
Jelmer Vernooij
3c25067724 dsgetinfo: Set modulesdir when using ldb without ldb_wrap
(Is there a particular reason we're not using ldb_wrap here?)
2010-09-05 00:58:41 +02:00
Jelmer Vernooij
9550765304 testr: Fix configuration to use idfile, in case more than a couple of
hundred tests fail.
2010-09-04 21:13:37 +02:00
Jelmer Vernooij
261d9aaff0 ldb: Add missing aliases for ldb_ildap. 2010-09-04 17:59:48 +02:00
Jelmer Vernooij
72f3727464 dsdb: Add missing dependencies for dsdb ldb modules. 2010-09-04 15:00:33 +02:00
Stefan Metzmacher
54d2dce7b1 librpc/rpc: add dcerpc_binding_handle_set_timeout()
metze
2010-09-04 09:01:19 +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
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
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
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
Jelmer Vernooij
0bc53f7d9f pidl: Keep only a single copy of samba.dcerpc.base.ClientConnection. 2010-09-03 02:39:38 +02: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
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
e2fdcf1a7a pynet: fixed ref count error on Py_None
ensure we don't run out of None ...

Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-09-02 13:37:07 +10:00
Andrew Tridgell
9f5dcb2235 s4-net: use CommandError() in net rodc
this integrates better with the net command

Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-09-02 13:37:07 +10:00
Andrew Bartlett
768475d571 s4:dsdb Fix attribute being searched for in dereference against Fedora DS
The problem here is that these attributes are not mapped in the
simple_ldap_map, and they were changed a while back.

Andrew Bartlett
2010-09-02 10:40:34 +10:00
Andrew Bartlett
68c61dfa3f s4:dsdb Make the dereference control critical if input is critical
This helps us ensure that the backend knows about and respects the
dereference control if our caller has asked that the extended DN control
be considered critical.

Andrew Bartlett
2010-09-02 10:40:34 +10:00
Andrew Bartlett
379d073444 s4:dsdb Don't reload the schema against OpenLDAP backend
The schema should be considered read-only when we are using the OL
backend, as we can't update the backend schema in real time anyway.

Andrew Bartlett
2010-09-02 10:40:34 +10:00