summaryrefslogtreecommitdiffstats
path: root/source4/rpc_server
Commit message (Collapse)AuthorAgeFilesLines
* s4:misc: remove last usage of legacy event_ fn namesSimo Sorce2011-08-141-1/+1
| | | | | Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Sun Aug 14 00:38:13 CEST 2011 on sn-devel-104
* s4-dsdb Add ability to force a particular SID in the upgrade caseAndrew Bartlett2011-08-131-1/+2
|
* s4-drs: In dcesrv_drsuapi_DsRemoveDSServer use the subtree control to delete ↵Matthieu Patou2011-08-101-1/+2
| | | | | | | the NTDS entry This entry has most of the time subelements (connections between DCs) that will forbid a simple (non recursive) delete
* gensec: clarify memory ownership for gensec_session_info() and ↵Andrew Bartlett2011-08-031-0/+3
| | | | | | | | | | | | | | | gensec_session_key() This is slightly less efficient, because we no longer keep a cache on the gensec structures, but much clearer in terms of memory ownership. Both gensec_session_info() and gensec_session_key() now take a mem_ctx and put the result only on that context. Some duplication of memory in the callers (who were rightly uncertain about who was the rightful owner of the returned memory) has been removed to compensate for the internal copy. Andrew Bartlett
* gensec: Remove mem_ctx from calls that do not return memoryAndrew Bartlett2011-08-031-2/+0
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-lsa Use the supplied handle in LsaLookupNames2Andrew Bartlett2011-07-291-5/+5
| | | | | | | | | | | | In my rework of this function in 2006 with 459a2301a5d63f5a1a6b27996c8a0358b20f2ab2 I ignored the incoming handle, instead feching the LSA state again (dispite the commit message indicating otherwise). This means that data->access_mask is uninitialised, which doesn't matter right now, but will once we start checking that. Andrew Bartlett
* s4-dcerpc: Do not return linked attribute on deleted objects it makes W2k8R2 ↵Matthieu Patou2011-07-271-1/+15
| | | | | | | loops when joining s4 domains Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Wed Jul 27 00:46:56 CEST 2011 on sn-devel-104
* s4-lsa: prepare dcesrv_lsa_CreateTrustedDomain_base() to deal with ↵Günther Deschner2011-07-151-15/+16
| | | | | | | | | unencrypted auth info. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Jul 15 19:57:48 CEST 2011 on sn-devel-104
* lsa: lsa_CreateTrustedDomainEx takes lsa_TrustDomainInfoAuthInfo, notGünther Deschner2011-07-151-1/+6
| | | | | | lsa_TrustDomainInfoAuthInfoInternal. Guenther
* lsa: rename auth info argument in lsa_CreateTrustedDomainEx2Günther Deschner2011-07-151-3/+3
| | | | Guenther
* s4-drs: do not return links pointed to unexistant objectsMatthieu Patou2011-07-111-0/+24
| | | | | | | | | When an object is deleted, link pointed to it are marked as inactive. When the same object is purged we do not remmove the link pointed to it (we can't know them) so they stay in the database, it turns to be a problem for Windows 2008. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-lsa: Fix typoSumit Bose2011-06-241-1/+1
| | | | | | | Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Jun 24 16:19:36 CEST 2011 on sn-devel-104
* param: Remove "announce as" parameterAndrew Bartlett2011-06-231-16/+2
|
* libcli/util Rename common map_nt_error_from_unix to avoid duplicate symbolAndrew Bartlett2011-06-201-2/+2
| | | | | | | | | | | | The two error tables need to be combined, but for now seperate the names. (As the common parts of the tree now use the _common function, errmap_unix.c must be included in the s3 autoconf build). Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Jun 20 08:12:03 CEST 2011 on sn-devel-104
* s4-drs: added debug lines for missing linked attribute fieldsAndrew Tridgell2011-06-101-0/+8
| | | | | | | | this improved the logging of bugs related to linked attribute replication Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Jun 10 03:26:21 CEST 2011 on sn-devel-104
* s4-drs: cope with missing RMD_ADDTIME in linked attributesAndrew Tridgell2011-06-101-4/+6
| | | | upgraded links can be missing the RMD_ADDTIME field
* server_id.idl: Bring server_id.idl in commonAndrew Bartlett2011-06-091-1/+1
| | | | | | Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4:rpc_server/dcesrv_samr.c - quiet enum warningsMatthias Dieter Wallnöfer2011-06-091-0/+6
| | | | | | | | | When we are acting in the role of a PDC then please return it as status information. Reviewed-by: Tridge Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Jun 9 12:06:36 CEST 2011 on sn-devel-104
* s4-ipv6: fill in pdc_ip in DsRGetDCNameEx2Andrew Tridgell2011-06-081-3/+12
| | | | | | | this may be different from the CLDAP response, as it can be IPv6 Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Jun 8 06:07:29 CEST 2011 on sn-devel-104
* s4-modules Remove lp_ctx from init functions that no longer need itAndrew Bartlett2011-06-061-1/+1
| | | | | | | | Now that we don't allow the smb.conf to change the modules dir, many functions that simply load modules or initialise a subsytem that may load modules no longer need an lp_ctx. Andrew Bartlett
* s4-ipv6: update callers to load_interface_list()Andrew Tridgell2011-06-061-1/+1
|
* s4-ipv6: use "ip" instead of "ipv4" for serversAndrew Tridgell2011-06-061-1/+1
| | | | | this allows stream_setup_socket() to work with both v4 and v6 addresses
* s4-ipv6: use iface_list_wildcard() to listen on IPv6Andrew Tridgell2011-06-061-3/+9
| | | | | when we need to listen on a wildcard address, we now listen on a list of sockets, usually 0.0.0.0 and ::
* s4:lsa RPC server - handle LDB flags as "unsigned"Matthias Dieter Wallnöfer2011-05-211-1/+1
| | | | Signed-off-by: Metze
* s4/getncchanges: Pre-mark extended requests as success in case a ↵Kamen Mazdrashki2011-05-111-0/+4
| | | | sub-function "forget" to do this
* s4/getncchanges: Implement placeholder for handling ex-op collection of objectsKamen Mazdrashki2011-05-111-13/+44
| | | | | Right now it is solely based on function that handles objects in normal DsGetNCChanges calls.
* s4/getncchanges: Move the code that collects objects into separate functionKamen Mazdrashki2011-05-111-41/+67
|
* s4/getncchanges: Don't mask Extended operation result - callers need itKamen Mazdrashki2011-05-111-1/+0
|
* s4/getncchanges: Fail extended request rather than failing whole requestKamen Mazdrashki2011-05-111-1/+3
| | | | in case that destination_dsa_guid is not valid
* s4-samr Remove incorrect transaction_cancel() in error pathAndrew Bartlett2011-05-081-1/+0
| | | | | | The transactions are now handled entirely within dsdb_add_user() Andrew Bartlett
* s4-interfaces Rename interfaces code so not to conflict with source3/Andrew Bartlett2011-05-081-3/+3
| | | | | | | | | The iface_count, iface_n_bcast, and load_interfaces functions conflicted with functions of the same name in source3, so the source4 functions were renamed. Hopefully we can actually wrap one around the other in future. Andrew Bartlett
* s4-auth Rename auth -> auth4 to avoid conflict with s3 authAndrew Bartlett2011-05-081-1/+1
|
* s4-messaging Rename messaging -> imessagingAndrew Bartlett2011-05-032-4/+4
| | | | | | | This avoid symbol and structure conflicts between Samba3 and Samba4, and chooses a less generic name. Andrew Bartlett
* s4-rpc: improved error mapping for several RPC server callsAndrew Tridgell2011-04-044-26/+22
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* Fix compilation without external heimdal.Jelmer Vernooij2011-04-031-0/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Apr 3 17:18:56 CEST 2011 on sn-devel-104
* use system heimdal headers if possible, fix missing dependencies on hx509 ↵Jelmer Vernooij2011-04-032-4/+7
| | | | and krb5 libraries.
* Ensure convert_string_XXX is always called with a valid converted_size pointer.Jeremy Allison2011-03-291-2/+5
| | | | | | | Preparation for cleaning up this API. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Mar 29 21:01:49 CEST 2011 on sn-devel-104
* lib/util/charset rename iconv_convenience to iconv_handleAndrew Bartlett2011-03-251-3/+3
| | | | | | This better reflects what this structure is Andrew Bartlett
* charcnv: removed the allow_badcharcnv and allow_bad_conv options to ↵Andrew Tridgell2011-03-241-3/+3
| | | | | | | | | convert_string*() we shouldn't accept bad multi-byte strings, it just hides problems Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Mar 24 01:47:26 CET 2011 on sn-devel-104
* rpc_server/remote: Add missing prototype.Jelmer Vernooij2011-03-191-0/+1
|
* source4/rpc_server: Fix prototypes for all functions.Jelmer Vernooij2011-03-196-0/+7
|
* dcerpc: we do not need these as public headersSimo Sorce2011-03-161-2/+0
| | | | | | | | | | latest openchange doesn't need these headers either fix _PRINTF_ATTRIBUTE in tdr.h, as it was failing to work after removing proto.h due to side effects. PRINTF_ATTRIBUTE is ok and is define in talloc.h which is included by tdr.h Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Wed Mar 16 23:45:20 CET 2011 on sn-devel-104
* s4-rpc: added dcesrv_call_account_name()Andrew Tridgell2011-03-152-0/+13
| | | | | | | this will be used by openchange Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Mar 15 06:14:00 CET 2011 on sn-devel-104
* s4-rpc: make common/proto.h publicAndrew Tridgell2011-03-151-1/+1
| | | | this is needed by public header common.h
* s4-rpc: added public APIs for dce_call authenticationAndrew Tridgell2011-03-152-0/+29
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* Merge new lorikeet heimdal, revision 85ed7247f515770c73b1f1ced1739f6ce19d75d2Jelmer Vernooij2011-03-141-27/+27
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Mar 14 23:53:46 CET 2011 on sn-devel-104
* s4:rpc_server/remote: use dcerpc_binding_handle_call_*() instead of ↵Stefan Metzmacher2011-03-131-10/+14
| | | | | | dcerpc_ndr_request_*() metze
* s4:dsdb - we don't need to check if a DN != NULL if we call "ldb_dn_validate"Matthias Dieter Wallnöfer2011-03-041-4/+2
| | | | | | "ldb_dn_validate" is NULL-safe and does the check implicitly. Reviewed by: Tridge
* s4:drsuapi RPC server - this resembles more "samdb_is_gc"Matthias Dieter Wallnöfer2011-03-011-1/+1
| | | | | | | Reviewed by: Jelmer Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Mar 1 17:57:47 CET 2011 on sn-devel-104
* s4:netlogon RPC server - "LogonGetDomainInfo" - check for NULL attributesMatthias Dieter Wallnöfer2011-03-011-17/+29
| | | | | | | | | | | | This is needed to complete the transition from "samdb_msg_add_string" to "ldb_msg_add_string". And this patch yields better NTSTATUS error results than before (INVALID_PARAMETER rather than OUT_OF_MEMORY). Reviewed-by: Jelmer Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Mar 1 14:42:15 CET 2011 on sn-devel-104