summaryrefslogtreecommitdiffstats
path: root/source4/rpc_server
Commit message (Collapse)AuthorAgeFilesLines
...
* s4:rpc_server/netlogon: netr_GetDcName should return WERR_DCNOTFOUND for ↵Stefan Metzmacher2010-10-231-0/+19
| | | | | | | | invalid names Only netbios domain names are allowed. metze
* s4-rpc_server: split out DCERPC_SHARE as a separate subsystemAndrew Tridgell2010-10-213-2/+10
| | | | | | this avoids a problem with -Wl,-no-undefined in the ntvfs layer Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* Revert "s4:remove "util_ldb" submodule and integrate the three gendb_* calls ↵Matthias Dieter Wallnöfer2010-10-174-0/+4
| | | | | | | | | | | | in "dsdb/common/util.c"" This reverts commit 8a2ce5c47cee499f90b125ebde83de5f9f1a9aa0. Jelmer pointed out that these are also in use by other LDB databases - not only SAMDB ones. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Oct 17 13:37:16 UTC 2010 on sn-devel-104
* s4:remove "util_ldb" submodule and integrate the three gendb_* calls in ↵Matthias Dieter Wallnöfer2010-10-174-4/+0
| | | | | | | | | "dsdb/common/util.c" They're only in use by SAMDB code. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Oct 17 09:40:13 UTC 2010 on sn-devel-104
* s4:dsdb - fix unsigned integer save problems using the "%u" specifierMatthias Dieter Wallnöfer2010-10-161-12/+12
| | | | | | | | | | | | | | | | | | The issue here is that we have not yet first cast to int32_t explicitly, before we cast to an signed int to printf() into the %d or cast to a int64_t before we then cast to a long long to printf into a %lld. There are *no* unsigned integers in Active Directory LDAP, even the RID allocations and ms-DS-Secondary-KrbTgt-Number are *signed* quantities. (See the schema, and the syntax definitions in schema_syntax.c). The failure has been detected by Matthieu Patou on the buildfarm host "tridge" due to a malformed "groupType" attribute. The solution is to use the "%d" specifier. Either to use it directly - or better (when possible) use the call "samdb_msg_add_uint" (which encapsulates it). This patch changes such problematic situations.
* s4:lsa RPC server - use LDB result constantMatthias Dieter Wallnöfer2010-10-151-1/+1
|
* s4:dsdb - remove "samdb_msg_add_value"Matthias Dieter Wallnöfer2010-10-151-7/+4
| | | | | | | | | This can be substituted by "ldb_msg_add_value". Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Oct 15 00:21:53 UTC 2010 on sn-devel-104
* s4:dsdb - remove "samdb_result_uint", "samdb_result_int64", ↵Matthias Dieter Wallnöfer2010-10-156-48/+49
| | | | | | | | | "samdb_result_uint64" and "samdb_result_string" We have ldb_msg_find_attr_as_* calls which do exactly the same. Therefore this reduces only code redundancies. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* libcli/security Use static SIDs rather than parsing from stringsAndrew Bartlett2010-10-141-1/+1
| | | | | | | | This should make the security_token_is_*() calls a little faster. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4 rpc_server: fix a build error on freebsdMatthieu Patou2010-10-131-0/+9
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Wed Oct 13 10:48:04 UTC 2010 on sn-devel-104
* s4-libcli/security Use seperate subsystem for session related functionsAndrew Bartlett2010-10-128-4/+10
| | | | | | | | The merged I plan in this area require spliting security.h into two header files, a common header and a session.h for the remaining source4-specific code. Andrew Bartlett
* libcli/security Add debug class to security_token_debug() et alAndrew Bartlett2010-10-122-3/+3
| | | | | | This will allow it to replace functions in source3 that use debug classes. Andrew Bartlett
* s4-param Refactor secrets code to not require an event context.Andrew Bartlett2010-10-111-2/+2
| | | | | | | | A new event context is constructed by LDB when required for secrets.ldb This will be essentially unused, as LDB on TDB will only trigger 'fake' events, and blocks on transactions and lock operations anyway. Andrew Bartlett
* torture: Link against rpc server itself, not service module. (against which ↵Jelmer Vernooij2010-10-114-445/+460
| | | | we can't link).
* samdb: Add flags argument to samdb_connect().Jelmer Vernooij2010-10-107-27/+27
|
* samr: for correctness, rename samr_RidTypeArray to samr_RidAttrArray.Günther Deschner2010-10-071-7/+7
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Oct 7 12:04:32 UTC 2010 on sn-devel-104
* s4-samr: Fix dcesrv_samr_QueryGroupMember.Günther Deschner2010-10-071-1/+3
| | | | Guenther
* s4:kdc - use "userAccountControl" always unsignedMatthias Dieter Wallnöfer2010-10-051-1/+1
| | | | It doesn't change much but it's nicer to have it consistent.
* Add missing dependencies for com_err.Jelmer Vernooij2010-10-051-1/+1
|
* spoolss: fill in spoolss_SetPort IDL.Günther Deschner2010-10-041-3/+3
| | | | Guenther
* s4:dsdb - substitute the "show_deleted" with the "show_recycled" controlMatthias Dieter Wallnöfer2010-10-031-1/+1
| | | | | | | | | | | We intend to see always all objects with the "show_deleted" control specified. To see also recycled objects (beginning with 2008_R2 function level) we need to use the new "show_recycled" control. As far as I see this is only internal code and therefore we don't run into problems if we do substitute it. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:getncchanges.c - fix some counter typesMatthias Dieter Wallnöfer2010-10-031-3/+3
|
* s4:rpc_server/echo: fix compiler warningStefan Metzmacher2010-10-031-1/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Oct 3 09:41:51 UTC 2010 on sn-devel-104
* s4:rpc_server/netlogon: don't use dcerpc_binding_handle_call_send/recv() ↵Stefan Metzmacher2010-10-021-12/+9
| | | | | | | | | directly metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Oct 2 03:11:38 UTC 2010 on sn-devel-104
* s4-drs: put the GCSPN flag into the repsTo if requestedAndrew Tridgell2010-09-302-0/+8
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-drs: added support for level 10 of getncchangesAndrew Tridgell2010-09-302-73/+112
| | | | added a simple mapping from req8
* s4-drs: implement PAS checks and access checks for getncchangesAndrew Tridgell2010-09-291-26/+130
| | | | | | | | | | | This implements partial attribute set checking on getncchanges. If the client sends a partial_attribute_set then we only return the specified attributes. This also implements access checking on the NC root for the access right GUIDs for requests with and without reveal secrets Pair-Programmed-With: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
* s4-drs: added drs_security_access_check_nc_root()Andrew Tridgell2010-09-292-12/+63
| | | | this checks securiity on the NC root of the specified naming context
* s4-drs: added support for DRSUAPI_EXOP_REPL_OBJAndrew Tridgell2010-09-281-1/+32
| | | | this extended getncchanges operation replicates a single object
* s4-drs: use drs_ObjectIdentifier_*() calls in getncchangesAndrew Tridgell2010-09-281-14/+16
| | | | this allows for replication by GUID or SID
* s4-drs: moved the drs_ObjectIdentifier handling to dsdb_dn.cAndrew Tridgell2010-09-281-44/+0
| | | | | | | this will be used outside of the drs server. This also fixes the handling of the ndr_size elements of the drs_ObjectIdentifier
* s4-drs: Added check for drs-manage-topology to updateRefs.Nadezhda Ivanova2010-09-281-7/+9
|
* s4-drs: Added drs_security_access_check functionNadezhda Ivanova2010-09-282-0/+64
| | | | | It takes a security token, an ldb_context, and the desired CAR and checks if the principal has this CAR granted
* s4-netlogon: added RODC DNS update call fwded to dnsupdate taskAndrew Tridgell2010-09-271-3/+89
| | | | | when we get a netlogon RODC DNS update, we send it to the dnsupdate task
* s4:rpc_server: use SOCKET_FLAG_NOCLOSE to avoid calling close() on the ↵Stefan Metzmacher2010-09-281-0/+1
| | | | | | socket fd twice. metze
* s4-drs: make getncchanges debug less verboseAndrew Tridgell2010-09-271-1/+1
| | | | quieten make test a little
* s4/irpc: Add security token to the binding handle when doing irp call forwardingAnatoliy Atanasov2010-09-271-0/+7
|
* s4-drs: fixed comment in getncchanges codeAndrew Tridgell2010-09-271-1/+1
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Sep 27 04:54:43 UTC 2010 on sn-devel-104
* s4-drs: use the system sam_ctx for updaterefsAndrew Tridgell2010-09-261-8/+9
| | | | this is needed for RODC clients calling updaterefs
* s4-repl: make getncchanges a bit less verboseAndrew Tridgell2010-09-251-1/+1
| | | | this should reduce some of the clutter in make test
* s4:rpc_server/dcerpc_server.c - fix a "const" warningMatthias Dieter Wallnöfer2010-09-241-1/+1
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4/eventlog6: Add dummy implementation for calls 0x5 and 0xBAnatoliy Atanasov2010-09-231-2/+6
| | | | The code is enough to let us run all dcdiag tests against samba4 server
* s4/eventlog6: Build and hook EventLog6 RPC endpont mapper and idlAnatoliy Atanasov2010-09-233-0/+21
|
* s4/eventlog6: Add endpoint server for EventLog6 RPCAnatoliy Atanasov2010-09-231-0/+319
| | | | The file is generated using PIDL --template command.
* s4/dcdiag: Handle ListRoles command for dcdiag:KnowsOfRoleHolders testAnatoliy Atanasov2010-09-201-29/+26
|
* s4-netlogon: added IDL for netr_DsrUpdateReadOnlyServerDnsRecordsAndrew Tridgell2010-09-161-0/+20
| | | | | | | this is used by a RODC to do DNS updates, as TSIG updates are not allowed by RODCs Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-rpcserver: allow saving of bad RPC packetsAndrew Tridgell2010-09-161-2/+28
| | | | | | | | | | | | | | use: dcesrv:stubs directory = . to save files like this: RPC-netlogon-48-pullfail.dat when a RPC packet can't be parsed or is unknown. Only enabled in developer builds Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-drs: make debugging DsUpdateRefs a bit easierAndrew Tridgell2010-09-161-1/+8
|
* s4-drs: initial skeleton for DrsReplica{Add,Del,Mod} callsAndrew Tridgell2010-09-161-3/+42
|
* s4-drs: removed a debug print in repl secretAndrew Tridgell2010-09-161-1/+0
|