summaryrefslogtreecommitdiffstats
path: root/source4/rpc_server
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* s4:drsuapi RPC server - check for the "SPN" attribute != NULLMatthias Dieter Wallnöfer2011-03-011-0/+6
| | | | | | The SPN attribute could derive from an untrusted source (client). Reviewed-by: Jelmer
* s4:dsdb - always handle the attribute "options" as 32bit unsigned integerMatthias Dieter Wallnöfer2011-03-011-1/+1
| | | | | | | | | | It is defined as LDAP syntax 2.5.5.9 so no need at all to treat it as 64-bit integer. Reviewed by: Kamenim and Metze Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Mar 1 12:46:15 CET 2011 on sn-devel-104
* s4:remove many invocations of "samdb_msg_add_string"Matthias Dieter Wallnöfer2011-03-013-12/+10
| | | | | | | This call can be substituted by "ldb_msg_add_string". We only need to be careful on local objects or talloc'ed ones which live shorter than the message. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* Fix some typesJelmer Vernooij2011-02-281-3/+3
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Feb 28 23:30:06 CET 2011 on sn-devel-104
* build: moved librpc/rpc/*.c into a rpccommon libraryAndrew Tridgell2011-02-243-0/+3
| | | | | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Feb 24 02:42:37 CET 2011 on sn-devel-104
* build: moved libds/common/flag_mapping.c into a common subsystemAndrew Tridgell2011-02-242-0/+2
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* build: moved schannel_sign.c into a shared COMMON_SCHANNEL subsystemAndrew Tridgell2011-02-241-1/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-auth Move libcli/security/session.c to the top levelAndrew Bartlett2011-02-221-3/+3
| | | | | | | This code is now useful in common, as the elements of the auth_session_info structure have now been defined in common IDL. Andrew Bartlett
* s4-idl: rename s4 server_id.idl to server_id4.idlAndrew Tridgell2011-02-181-1/+1
| | | | | | this avoids a conflict with the new s3 server_id.idl Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-auth: rename 'auth' subsystem to 'auth4'Andrew Tridgell2011-02-181-1/+1
| | | | | | | | this prevents conflicts with the s3 auth modules. The auth modules in samba3 may appear in production smb.conf files, so it is preferable to rename the s4 modules for minimal disruption. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4:samr RPC server - QueryDisplayInfo returns always all domains users, ↵Matthias Dieter Wallnöfer2011-02-151-34/+40
| | | | | | | | | | | | | | | | aliases and groups That means when calling "QueryDisplayInfo" on the BUILTIN handle we still get all related domain objects - for example all domain (global + universal) groups. This is contrary to the "EnumDomain..." calls which do really only return the objects in the specified domain policy handle. This has been observed against Windows Server 2008 and confirmed by dochelp. In the same occasion I've converted from a "gendb*"-oriented search call to "dsdb_search". Patch-reviewed-by: Andrew Tridgell <tridge@samba.org>
* s4:drsuapi/getncchanges: make sure we don't process filteres objects more ↵Stefan Metzmacher2011-02-151-3/+3
| | | | | | | | | than once metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Feb 15 09:46:55 CET 2011 on sn-devel-104
* s4-dsdb: cleanups to the backupkey RPC serverAndrew Tridgell2011-02-141-15/+15
| | | | | | | - fixed some warnings - change the debug levels to something more reasonable Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4: Add server side implementation of backup key remote protocolMatthieu Patou2011-02-142-0/+1315
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* ldb: use #include <ldb.h> for ldbAndrew Tridgell2011-02-102-3/+3
| | | | | | | | thi ensures we are using the header corresponding to the version of ldb we're linking against. Otherwise we could use the system ldb for link and the in-tree one for include Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-auth Rework auth subsystem to remove struct auth_serversupplied_infoAndrew Bartlett2011-02-092-9/+9
| | | | | | | | | | | | | This changes auth_serversupplied_info into the IDL-defined struct auth_user_info_dc. This then in turn contains a struct auth_user_info, which is the only part of the structure that is mainted into the struct session_info. The idea here is to avoid keeping the incomplete results of the authentication (such as session keys, lists of SID memberships etc) in a namespace where it may be confused for the finalised results. Andrew Barltett
* s4:rpc_server/netlogon: add dcesrv_netr_LogonSamLogon_check()Stefan Metzmacher2011-02-021-10/+83
| | | | | | | We need to check for invalid parameters before we check for access denied. metze
* s4:rpc_server/netlogon: set *r->out.authoritative = 1 even on ↵Stefan Metzmacher2011-02-021-2/+3
| | | | | | INVALID_PARAMETER/INFO_CLASS metze
* s4:rpc_server/netlogon: return INVALID_INFO_CLASS for invalid ↵Stefan Metzmacher2011-02-021-1/+1
| | | | | | netr_Validation levels metze
* s4:samr RPC server - always interpret filter integer values as signedMatthias Dieter Wallnöfer2011-01-151-4/+4
| | | | | | | To prevent platform-dependant problems. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Jan 15 14:54:14 CET 2011 on sn-devel-104
* s4-auth Remove event context from privilage database handlingAndrew Bartlett2010-12-211-1/+1
| | | | | | | These local TDB operations can quite safely be handled in a new/nested event context, rather than using the main event context. Andrew Bartlett
* dcesrv_srvsvc: Use constants.Jelmer Vernooij2010-12-191-3/+3
|
* spoolss: fill in PerMachineConnections add and delete IDL.Günther Deschner2010-12-161-9/+9
| | | | Guenther
* s4-lsa Implement kerberos ticket life policyAndrew Bartlett2010-12-092-7/+5
| | | | | | | | We now no longer print tickets with a potentially infinite life, and we report the same life over LSA as we use in the KDC. We should get this from group policy, but for now it's parametric smb.conf options. Andrew Bartlett
* s4-pkgconfig: add @LIB_RPATH@ to our link flagsAndrew Tridgell2010-12-081-1/+1
| | | | | | | | this is only set when rpath is used on install. It ensures that applications that link against Samba libraries get the rpath right Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Dec 8 12:46:00 CET 2010 on sn-devel-104
* s4:fix some shadowed declaration warnings on Solaris by renaming the symbolsMatthias Dieter Wallnöfer2010-12-061-1/+1
|
* s4:samr RPC server - dcesrv_samr_GetBootKeyInformation - return NOT_SUPPORTEDMatthias Dieter Wallnöfer2010-12-041-1/+2
| | | | | | | Windows Server 2008 does this Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Dec 4 12:11:47 CET 2010 on sn-devel-104
* s3/s4:lsa.idl - QueryDomainInformationPolicy - the "unknown6" field is ↵Matthias Dieter Wallnöfer2010-12-031-0/+1
| | | | | | called "reserved" MS-LSAD 3.1.1.1 - http://msdn.microsoft.com/en-us/library/cc234319(v=PROT.13).aspx
* s4:lsa RPC server - always initialise "info" structuresMatthias Dieter Wallnöfer2010-12-031-2/+2
| | | | This should help to fix bug #7769
* s4:lsa RPC server - "dcesrv_lsa_CreateSecret" - a bit of reworkMatthias Dieter Wallnöfer2010-12-031-21/+35
| | | | | | | | | - Added 'out of memory' checks - Added checks regarding return values - Switch to "ldb_msg_add_string" where possible Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Dec 3 21:41:39 CET 2010 on sn-devel-104
* s4:dcesrv_drsuapi RPC server - remove unreachable statementMatthias Dieter Wallnöfer2010-11-291-1/+0
|
* s4:drsuapi RPC server - fix "enum security_user_level" warning on Tru64Matthias Dieter Wallnöfer2010-11-276-10/+9
|
* s4:wkssvc RPC server - better solution for srvsvc* enum's in server_info.cMatthias Dieter Wallnöfer2010-11-272-1/+2
| | | | Reworked version of commit 7e710c4de92c310897817acc06d229cce763d2d7
* Revert "s4:rpc_server/common/common.h - introduce two forward declarations ↵Matthias Dieter Wallnöfer2010-11-271-3/+0
| | | | | | | to suppress parameter declaration warnings" This reverts commit 7e710c4de92c310897817acc06d229cce763d2d7. This causes more noise than it's useful.
* s4-drs: allow DrsReplicaGetInfo as a DCAndrew Tridgell2010-11-281-1/+1
|
* s4:lsa RPC server / objectclass LDB module - fix the creation of trusted ↵Matthias Dieter Wallnöfer2010-11-251-2/+2
| | | | | | | | | | | domain objects Tridge pointed out that it is to dangerous to allow them to be created with SYSTEM permissions. The solution using the "untrusted" flag should be much more viable. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Nov 25 13:05:56 CET 2010 on sn-devel-104
* s4:objectclass LDB module - LSA objects - allow them if the SYSTEM control ↵Matthias Dieter Wallnöfer2010-11-241-2/+2
| | | | | | | | | is specified This fits better than the RELAX one. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Nov 24 18:23:01 CET 2010 on sn-devel-104
* s4:netlogon/LogonGetDomainInfo - handle a NULL "dns_hostname"Matthias Dieter Wallnöfer2010-11-191-25/+37
| | | | | | | | | - Performs the short computer name check against the sam account name. - Enhances the LogonGetDomainInfo testsuite which checks the NULL "dns_hostname" behaviour Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Nov 19 12:50:33 CET 2010 on sn-devel-104