summaryrefslogtreecommitdiff
path: root/source4/rpc_server/common
AgeCommit message (Collapse)AuthorFilesLines
2012-06-15lib/param: Create a seperate server role for "active directory domain ↵Andrew Bartlett1-1/+1
controller" This will allow us to detect from the smb.conf if this is a Samba4 AD DC which will allow smarter handling of (for example) accidentially starting smbd rather than samba. To cope with upgrades from existing Samba4 installs, 'domain controller' is a synonym of 'active directory domain controller' and new parameters 'classic primary domain controller' and 'classic backup domain controller' are added. Andrew Bartlett
2012-05-23Introduce system MIT krb5 build with --with-system-mitkrb5 option.Alexander Bokovoy1-0/+45
System MIT krb5 build also enabled by specifying --without-ad-dc When --with-system-mitkrb5 (or --withou-ad-dc) option is passed to top level configure in WAF build we are trying to detect and use system-wide MIT krb5 libraries. As result, Samba 4 DC functionality will be disabled due to the fact that it is currently impossible to implement embedded KDC server with MIT krb5. Thus, --with-system-mitkrb5/--without-ad-dc build will only produce * Samba 4 client libraries and their Python bindings * Samba 3 server (smbd, nmbd, winbindd from source3/) * Samba 3 client libraries In addition, Samba 4 DC server-specific tests will not be compiled into smbtorture. This in particular affects spoolss_win, spoolss_notify, and remote_pac rpc tests.
2011-06-23param: Remove "announce as" parameterAndrew Bartlett1-16/+2
2011-03-19source4/rpc_server: Fix prototypes for all functions.Jelmer Vernooij2-0/+3
2011-02-24build: moved librpc/rpc/*.c into a rpccommon libraryAndrew Tridgell1-0/+1
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
2010-11-27s4:wkssvc RPC server - better solution for srvsvc* enum's in server_info.cMatthias Dieter Wallnöfer1-1/+1
Reworked version of commit 7e710c4de92c310897817acc06d229cce763d2d7
2010-11-27Revert "s4:rpc_server/common/common.h - introduce two forward declarations ↵Matthias Dieter Wallnöfer1-3/+0
to suppress parameter declaration warnings" This reverts commit 7e710c4de92c310897817acc06d229cce763d2d7. This causes more noise than it's useful.
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öfer1-1/+2
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 Tridgell2-0/+255
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-10samdb: Add flags argument to samdb_connect().Jelmer Vernooij1-1/+1
2010-09-27s4/irpc: Add security token to the binding handle when doing irp call forwardingAnatoliy Atanasov1-0/+7
2010-09-16s4-irpc: Add 'timeout' param for dcesrv_irpc_forward_rpc_call() callKamen Mazdrashki1-3/+7
It is to be used when caller wants to explicitly specify the timeout for the call
2010-09-11s4:rpc_server/common/common.h - introduce two forward declarations to ↵Matthias Dieter Wallnöfer1-0/+3
suppress parameter declaration warnings Always Tru64 in file "param/loadparm.c" and possibly others.
2010-09-03s4:rpc_server/common: use irpc_binding_handle_by_name() in ↵Stefan Metzmacher1-16/+25
dcesrv_irpc_forward_rpc_call() metze
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell1-6/+6
this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-04-11s4:auth Remove event context from anonymous_session()Andrew Bartlett1-1/+1
This should always return a simple structure with no need to consult a DB, so remove the event context, and simplfy to call helper functions that don't look at privilages. Andrew Bartlett
2009-10-20s4: ran minimal_includes.pl on source4/rpc_serverAndrew Tridgell1-1/+0
2009-10-02s4: fix various warnings (not "const" related ones)Matthias Dieter Wallnöfer1-2/+2
2009-09-27rpc_server: Fix warnings.Jelmer Vernooij1-0/+2
2009-09-19more include minimisationAndrew Tridgell1-2/+0
2009-09-19s4-rpc: remove some unnecessary #include linesAndrew Tridgell2-6/+0
I should remember to run script/minimal_includes.pl more often
2009-09-15s4-rpc: added a module for forwarding RPC requestsAndrew Tridgell2-8/+114
dcesrv_irpc_forward_rpc_call() can be used to forward an arbitrary RPC request to another task in Samba4, with the return being handled asynchronously. This is useful for forwarding DRS requests to the repl or kcc tasks
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher1-1/+1
list="" list="$list event_context:tevent_context" list="$list fd_event:tevent_fd" list="$list timed_event:tevent_timer" for s in $list; do o=`echo $s | cut -d ':' -f1` n=`echo $s | cut -d ':' -f2` r=`git grep "struct $o" |cut -d ':' -f1 |sort -u` files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4` for f in $files; do cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp mv $f.tmp $f done done metze
2008-11-01Use struct for server versions.Jelmer Vernooij2-26/+12
2008-10-31s4-srvsvc: merge srvsvc_NetShareInfo502 from s3.Günther Deschner1-6/+0
Apparently both s3 and s4 are not entirely correct one this. metze is looking into hand-marshalling security descriptors so this will fix this finally. For now, just keep the two in sync. Guenther
2008-10-20Make sure prototypes are always included, make some functions static andJelmer Vernooij2-0/+4
remove some unused functions.
2008-04-17Specify event_context to ldb_wrap_connect explicitly.Jelmer Vernooij1-2/+2
(This used to be commit b4e1ae07a284c044704322446c94351c2decff91)
2008-04-02Move handle utility functions to public header, remove more public headers.Jelmer Vernooij1-37/+0
(This used to be commit 92e71c19f4e1d3ca123a083942ec578d21f7012c)
2008-04-02Install public header files again and include required prototypes.Jelmer Vernooij2-17/+28
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
2007-12-21r26313: Fix more uses of static loadparm.Jelmer Vernooij1-6/+6
(This used to be commit 6fd0d9d3b75546d08c24c513e05b1843d5777608)
2007-12-21r26310: Remove more uses of global_loadparm.Jelmer Vernooij1-1/+1
(This used to be commit 9d806da113b5f0688b6193dfdee9b8765e18b38f)
2007-12-21r26300: Don't segfault when called from the ntptr libs.Andrew Bartlett1-3/+3
Andrew Bartlett (This used to be commit 89279d730f3fad01bd855f921b5155ba75892855)
2007-12-21r26296: Store loadparm context in DCE/RPC server context.Jelmer Vernooij1-11/+11
(This used to be commit fc1f4d2d65d4c983cba5421e7ffb64dd75482860)
2007-12-21r26260: Store loadparm context in gensec context.Jelmer Vernooij1-1/+1
(This used to be commit b9e3a4862e267be39d603fed8207a237c3d72081)
2007-12-21r26227: Make loadparm_context part of a server task, move loadparm_contexts ↵Jelmer Vernooij1-1/+1
further up the call stack. (This used to be commit 0721a07aada6a1fae6dcbd610b8783df57d7bbad)
2007-10-10r25553: Convert to standard bool type.Jelmer Vernooij1-4/+4
(This used to be commit b7371f1a191fb86834c0d586d094f39f0b04544b)
2007-10-10r25430: Add the loadparm context to all parametric options.Jelmer Vernooij1-4/+4
(This used to be commit fd697d77c9fe67a00939a1f04b35c451316fff58)
2007-10-10r25398: Parse loadparm context to all lp_*() functions.Jelmer Vernooij1-6/+6
(This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
2007-10-10r25035: Fix some more warnings, use service pointer rather than service ↵Jelmer Vernooij1-4/+4
number in more places. (This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
2007-10-10r25026: Move param/param.h out of includes.hJelmer Vernooij1-0/+1
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell3-9/+6
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r20149: Remove the smb.conf distinction between PDC and BDC. Now the correctAndrew Bartlett1-1/+74
way to setup a Samba4 DC is to set 'server role = domain controller'. We use the fSMORoleOwner attribute in the base DN to determine the PDC. This patch is quite large, as I have corrected a number of places that assumed taht we are always the PDC, or that used the smb.conf lp_server_role() to determine that. Also included is a warning fix in the SAMR code, where the IDL has seperated a couple of types for group display enumeration. We also now use the ldb database to determine if we should run the global catalog service. In the near future, I will complete the DRSUAPI DsGetDomainControllerInfo server-side on the same basis. Andrew Bartlett (This used to be commit 67d8365e831adf3eaecd8b34dcc481fc82565893)
2007-10-10r18558: Fix ShareCheck which was assuming all paths are "C:\"Simo Sorce1-1/+4
Also cope with the fact that we define the FSTYPE as NTFS by default. We never use this anywhere else, so we may just change it, but just detect the fact and return DISK in share_classic for now. (This used to be commit 4daf5f7764ce69c14066f7320961c90141f0863a)
2007-10-10r18555: use C:\ as default not C:Stefan Metzmacher1-1/+1
metze (This used to be commit d9137edbdb61f2847453357b94050e5afc2fe68b)
2007-10-10r18550: Return a path not just a disk driveSimo Sorce1-1/+9
(This used to be commit 60076fa87d6c68295ebedc28cdbbd4556cfd0ae7)
2007-10-10r18412: Implement NetiNameValidate but just for share name right now (type 9)Simo Sorce1-0/+9
Simo. (This used to be commit 906429834a102349582017ef73a69e211ef5c500)
2007-10-10r18315: Implement netSrvGetInfo level 102Simo Sorce1-0/+44
fix names to be consistent between level 101 and 102 and typo in idl (This used to be commit 1962fb92d706962544c293770718294e595f9fc4)
2007-10-10r17206: Add a modular API for share configuration.Simo Sorce2-46/+19
Commit the classic backwards compatible module which is the default one (This used to be commit a89cc346b9296cb49929898d257a064a6c2bae86)