summaryrefslogtreecommitdiff
path: root/source4/rpc_server
AgeCommit message (Collapse)AuthorFilesLines
2010-11-08s4:drsuapi RPC server - writespn.c - fix indentationsMatthias Dieter Wallnöfer1-15/+24
2010-11-08s4-drs: allow bypass of writespn checking for some SPNsAndrew Tridgell1-1/+111
this allows accounts (and in particular RODCs) to make SPN updates on their own account if they take the form SERVICE/hostname we may be able to remove this in the future after some changes in our ACL checking for userPrincipalName Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Nov 8 08:45:16 UTC 2010 on sn-devel-104
2010-11-07samdb: Lowercase library name.Jelmer Vernooij1-4/+4
2010-11-06s4:samr RPC server - "dcesrv_samr_RemoveMemberFromForeignDomain"Matthias Dieter Wallnöfer1-12/+6
- Remove TODO comment: MS-SAMR 3.1.5.8.7 explicitly states: "The SamrRemoveMemberFromForeignDomain method removes a member from all aliases." - Remove the search attributes since they aren't strictly needed. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Nov 6 18:07:57 UTC 2010 on sn-devel-104
2010-11-05s4-drs: reduce the memory usage of the getncchanges serverAndrew Tridgell1-21/+69
we now keep just a list of GUIDs around between getncchanges calls, instead of an entire db search. This makes the overhead of having a pending getncchanges call much smaller. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-11-03s4:RPC server - always set the response pad data in base of the request oneMatthias Dieter Wallnöfer1-0/+2
Otherwise it could remain uninitialised - should fix bug #7769.
2010-11-03s4:RPC server - cosmetic fixes - indentation, commentsMatthias Dieter Wallnöfer3-7/+9
2010-11-01s4-modules: get rid of the remaining static prototypes for modulesAndrew Tridgell1-14/+2
the waf build now generates the prototype declarations for us
2010-10-31idl: Use DRSUAPI_ATTID_ prefix instead of DRSUAPI_ATTRIBUTE_ for ATTID valuesKamen Mazdrashki2-14/+14
Those values are actually ATTID values and such, they are used for ATTIDs for Attributes, Classes and Syntaxes.
2010-10-31s4:netlogon RPC server - "LogonGetDomainInfo" - always check the LDB return ↵Matthias Dieter Wallnöfer1-31/+57
codes Plus some cosmetic indentation fixes Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Oct 31 19:26:45 UTC 2010 on sn-devel-104
2010-10-31s4:netlogon RPC server - point out that the "LogonGetDomainInfo" ↵Matthias Dieter Wallnöfer1-0/+4
"servicePrincipalName" generation is still needed
2010-10-31s4:drsuapi RPC server - fix counter variablesMatthias Dieter Wallnöfer1-3/+6
2010-10-31s4: Remove the old perl/m4/make/mk-based build system.Jelmer Vernooij1-250/+0
The new waf-based build system now has all the same functionality, and the old build system has been broken for quite some time. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
2010-10-30s4:samr RPC server - the LDB error codes for adding or deleting a group ↵Matthias Dieter Wallnöfer1-4/+2
member have changed
2010-10-30s4:rpc_server/common.h - quiet compilation warningsMatthias Dieter Wallnöfer1-0/+2
2010-10-30s4-rpc: split the dcesrv reply code out of dcerpc_serverAndrew Tridgell5-175/+261
this allows us to remove a dependency on the dcerpc_server from code that uses rpc forwarding Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-30s4-smbd: don't initialise process models more than onceAndrew Tridgell1-1/+1
this also removes the event_context parameter from process model initialisation. It isn't needed, and is confusing when a process model init can be called from more than one place, possibly with different event contexts. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-29s4:samr RPC server - fix trailing whitespacesMatthias Dieter Wallnöfer3-268/+268
2010-10-29s4:samr RPC server - fix indentation of function parametersMatthias Dieter Wallnöfer1-29/+30
2010-10-29s4:samr RPC server - DomainGeneralInformation - never return NULL on the oem ↵Matthias Dieter Wallnöfer1-2/+6
name As far as I can tell Windows SAMR never returns NULL on unknown values in this call.
2010-10-29s4:samr RPC server - provide the right "ReplicaSourceNodeName"Matthias Dieter Wallnöfer1-12/+16
It's the content of the "domainReplica" attribute if it exists and has only a meaning on interim/mixed domain function levels (with NT4 dcs).
2010-10-29s4:samr RPC server - remove wrong implementation of ReplicaSourceNodeNameMatthias Dieter Wallnöfer1-20/+7
This should represent a replication partner - never the DC iself
2010-10-26waf: Stop automaticaly changing dashes to underscores in library names.Jelmer Vernooij1-4/+4
2010-10-26waf: Don't auto-lowercase library names.Jelmer Vernooij1-6/+6
2010-10-26waf: Remove lib prefix from libraries manually.Jelmer Vernooij1-2/+2
2010-10-26s4: Drop duplicate 'lib' prefix for private libraries.Jelmer Vernooij1-4/+4
2010-10-25s4:samr RPC server - "dcesrv_samr_info_DomGeneralInformation" - count always ↵Matthias Dieter Wallnöfer1-4/+6
all type of groups One pair are universal an global groups (on the SAMR pipe called "groups") and the other one are the domain and builtin local groups (on the SAMR pipe called "aliases"). Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Mon Oct 25 19:37:27 UTC 2010 on sn-devel-104
2010-10-25s4:samr RPC server - remove a somewhat pointless commentMatthias Dieter Wallnöfer1-1/+0
Regardless if groups and users do exist in the builtin domain or not we do count always all users, groups and aliases.
2010-10-25s4:"samdb_search_count" - introduce a "mem_ctx" parameterMatthias Dieter Wallnöfer1-3/+6
All other "samdb_search_*" calls do have one - why "samdb_search_count" doesn't? Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Mon Oct 25 17:42:33 UTC 2010 on sn-devel-104
2010-10-24s4:dsdb - remove some calls of "samdb_msg_add_string" when we have talloc'ed ↵Matthias Dieter Wallnöfer1-10/+6
strings They can be substituted by "ldb_msg_add_string" if the string was already talloc'ed. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Oct 24 20:03:27 UTC 2010 on sn-devel-104
2010-10-24s4: Rename LIBSAMBA-* to libsamba-*Jelmer Vernooij1-1/+1
2010-10-24s4: Rename LIBSECURITY{_SESSION,} to libsecurity{_session,}Jelmer Vernooij1-3/+3
2010-10-23s4: Rename NSS_WRAPPER to nss_wrapper.Jelmer Vernooij1-1/+1
Only link to nss_wrapper when it is enabled. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Oct 23 23:05:44 UTC 2010 on sn-devel-104
2010-10-23s4: Rename LIBEVENTS to libevents.Jelmer Vernooij1-1/+1
2010-10-23s4: Rename NDR_TABLE to ndr_table.Jelmer Vernooij1-1/+1
2010-10-23s4:rpc_server/netlogon: netr_ServerAuthenticate3 should return ↵Stefan Metzmacher1-8/+8
NO_TRUST_SAM_ACCOUNT If we can't find the account we should return NT_STATUS_NO_TRUST_SAM_ACCOUNT instead of NT_STATUS_ACCESS_DENIED. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Oct 23 10:05:35 UTC 2010 on sn-devel-104
2010-10-23s4:rpc_server/netlogon: netr_ServerAuthenticate3 should reject invalid ↵Stefan Metzmacher1-3/+15
sec_channel_types early metze
2010-10-23s4:rpc_server/netlogon: netr_ServerAuthenticate3 should check the challenge ↵Stefan Metzmacher1-5/+5
after the account metze
2010-10-23s4:rpc_server/netlogon: fix comment in netr_DsRGetDCName()Stefan Metzmacher1-1/+1
metze
2010-10-23s4:rpc_server/netlogon: handle DC_RETURN_NETBIOS and DC_RETURN_DNS in ↵Stefan Metzmacher1-3/+28
netr_DsRGetDCNameEx2() metze
2010-10-23s4:rpc_server/netlogon: validate flags in netr_DsRGetDCNameEx2() and callersStefan Metzmacher1-2/+37
Thanks to Tarun Chopra for the help of looking up all the bits in the docs. metze
2010-10-23s4:rpc_server/netlogon: netr_GetDcName should return WERR_DCNOTFOUND for ↵Stefan Metzmacher1-0/+19
invalid names Only netbios domain names are allowed. metze
2010-10-21s4-rpc_server: split out DCERPC_SHARE as a separate subsystemAndrew Tridgell3-2/+10
this avoids a problem with -Wl,-no-undefined in the ntvfs layer Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-17Revert "s4:remove "util_ldb" submodule and integrate the three gendb_* calls ↵Matthias Dieter Wallnöfer4-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
2010-10-17s4:remove "util_ldb" submodule and integrate the three gendb_* calls in ↵Matthias Dieter Wallnöfer4-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
2010-10-16s4:dsdb - fix unsigned integer save problems using the "%u" specifierMatthias Dieter Wallnöfer1-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.
2010-10-15s4:lsa RPC server - use LDB result constantMatthias Dieter Wallnöfer1-1/+1
2010-10-15s4:dsdb - remove "samdb_msg_add_value"Matthias Dieter Wallnöfer1-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
2010-10-15s4:dsdb - remove "samdb_result_uint", "samdb_result_int64", ↵Matthias Dieter Wallnöfer6-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>
2010-10-14libcli/security Use static SIDs rather than parsing from stringsAndrew Bartlett1-1/+1
This should make the security_token_is_*() calls a little faster. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>