summaryrefslogtreecommitdiffstats
path: root/source4/rpc_server/common
Commit message (Collapse)AuthorAgeFilesLines
* s4: pass down a memory context when performing share_string_option, to allow ↵Garming Sam2014-02-201-7/+16
| | | | | | | | | substitutions Signed-off-by: Garming Sam <garming@catalyst.net.nz> Change-Id: I24b36db3ac11834c3268b2da929e214c10268b16 Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Nadezhda Ivanova <nivanova@samba.org>
* lib/param: Create a seperate server role for "active directory domain ↵Andrew Bartlett2012-06-151-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
* Introduce system MIT krb5 build with --with-system-mitkrb5 option.Alexander Bokovoy2012-05-231-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.
* param: Remove "announce as" parameterAndrew Bartlett2011-06-231-16/+2
|
* source4/rpc_server: Fix prototypes for all functions.Jelmer Vernooij2011-03-192-0/+3
|
* build: moved librpc/rpc/*.c into a rpccommon libraryAndrew Tridgell2011-02-241-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
* s4:wkssvc RPC server - better solution for srvsvc* enum's in server_info.cMatthias Dieter Wallnöfer2010-11-271-1/+1
| | | | 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:RPC server - always set the response pad data in base of the request oneMatthias Dieter Wallnöfer2010-11-031-0/+2
| | | | Otherwise it could remain uninitialised - should fix bug #7769.
* s4:RPC server - cosmetic fixes - indentation, commentsMatthias Dieter Wallnöfer2010-11-031-1/+2
|
* s4:rpc_server/common.h - quiet compilation warningsMatthias Dieter Wallnöfer2010-10-301-0/+2
|
* s4-rpc: split the dcesrv reply code out of dcerpc_serverAndrew Tridgell2010-10-302-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>
* samdb: Add flags argument to samdb_connect().Jelmer Vernooij2010-10-101-1/+1
|
* s4/irpc: Add security token to the binding handle when doing irp call forwardingAnatoliy Atanasov2010-09-271-0/+7
|
* s4-irpc: Add 'timeout' param for dcesrv_irpc_forward_rpc_call() callKamen Mazdrashki2010-09-161-3/+7
| | | | | It is to be used when caller wants to explicitly specify the timeout for the call
* s4:rpc_server/common/common.h - introduce two forward declarations to ↵Matthias Dieter Wallnöfer2010-09-111-0/+3
| | | | | | suppress parameter declaration warnings Always Tru64 in file "param/loadparm.c" and possibly others.
* s4:rpc_server/common: use irpc_binding_handle_by_name() in ↵Stefan Metzmacher2010-09-031-16/+25
| | | | | | dcesrv_irpc_forward_rpc_call() metze
* s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell2010-07-161-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>
* s4:auth Remove event context from anonymous_session()Andrew Bartlett2010-04-111-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
* s4: ran minimal_includes.pl on source4/rpc_serverAndrew Tridgell2009-10-201-1/+0
|
* s4: fix various warnings (not "const" related ones)Matthias Dieter Wallnöfer2009-10-021-2/+2
|
* rpc_server: Fix warnings.Jelmer Vernooij2009-09-271-0/+2
|
* more include minimisationAndrew Tridgell2009-09-191-2/+0
|
* s4-rpc: remove some unnecessary #include linesAndrew Tridgell2009-09-192-6/+0
| | | | I should remember to run script/minimal_includes.pl more often
* s4-rpc: added a module for forwarding RPC requestsAndrew Tridgell2009-09-152-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
* s4:lib/tevent: rename structsStefan Metzmacher2008-12-291-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
* Use struct for server versions.Jelmer Vernooij2008-11-012-26/+12
|
* s4-srvsvc: merge srvsvc_NetShareInfo502 from s3.Günther Deschner2008-10-311-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
* Make sure prototypes are always included, make some functions static andJelmer Vernooij2008-10-202-0/+4
| | | | remove some unused functions.
* Specify event_context to ldb_wrap_connect explicitly.Jelmer Vernooij2008-04-171-2/+2
| | | | (This used to be commit b4e1ae07a284c044704322446c94351c2decff91)
* Move handle utility functions to public header, remove more public headers.Jelmer Vernooij2008-04-021-37/+0
| | | | (This used to be commit 92e71c19f4e1d3ca123a083942ec578d21f7012c)
* Install public header files again and include required prototypes.Jelmer Vernooij2008-04-022-17/+28
| | | | (This used to be commit 47ffbbf67435904754469544390b67d34c958343)
* r26313: Fix more uses of static loadparm.Jelmer Vernooij2007-12-211-6/+6
| | | | (This used to be commit 6fd0d9d3b75546d08c24c513e05b1843d5777608)
* r26310: Remove more uses of global_loadparm.Jelmer Vernooij2007-12-211-1/+1
| | | | (This used to be commit 9d806da113b5f0688b6193dfdee9b8765e18b38f)
* r26300: Don't segfault when called from the ntptr libs.Andrew Bartlett2007-12-211-3/+3
| | | | | Andrew Bartlett (This used to be commit 89279d730f3fad01bd855f921b5155ba75892855)
* r26296: Store loadparm context in DCE/RPC server context.Jelmer Vernooij2007-12-211-11/+11
| | | | (This used to be commit fc1f4d2d65d4c983cba5421e7ffb64dd75482860)
* r26260: Store loadparm context in gensec context.Jelmer Vernooij2007-12-211-1/+1
| | | | (This used to be commit b9e3a4862e267be39d603fed8207a237c3d72081)
* r26227: Make loadparm_context part of a server task, move loadparm_contexts ↵Jelmer Vernooij2007-12-211-1/+1
| | | | | | further up the call stack. (This used to be commit 0721a07aada6a1fae6dcbd610b8783df57d7bbad)
* r25553: Convert to standard bool type.Jelmer Vernooij2007-10-101-4/+4
| | | | (This used to be commit b7371f1a191fb86834c0d586d094f39f0b04544b)
* r25430: Add the loadparm context to all parametric options.Jelmer Vernooij2007-10-101-4/+4
| | | | (This used to be commit fd697d77c9fe67a00939a1f04b35c451316fff58)
* r25398: Parse loadparm context to all lp_*() functions.Jelmer Vernooij2007-10-101-6/+6
| | | | (This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
* r25035: Fix some more warnings, use service pointer rather than service ↵Jelmer Vernooij2007-10-101-4/+4
| | | | | | number in more places. (This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
* r25026: Move param/param.h out of includes.hJelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
* r23792: convert Samba4 to GPLv3Andrew Tridgell2007-10-103-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)
* r20149: Remove the smb.conf distinction between PDC and BDC. Now the correctAndrew Bartlett2007-10-101-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)
* r18558: Fix ShareCheck which was assuming all paths are "C:\"Simo Sorce2007-10-101-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)
* r18555: use C:\ as default not C:Stefan Metzmacher2007-10-101-1/+1
| | | | | metze (This used to be commit d9137edbdb61f2847453357b94050e5afc2fe68b)
* r18550: Return a path not just a disk driveSimo Sorce2007-10-101-1/+9
| | | | (This used to be commit 60076fa87d6c68295ebedc28cdbbd4556cfd0ae7)
* r18412: Implement NetiNameValidate but just for share name right now (type 9)Simo Sorce2007-10-101-0/+9
| | | | | Simo. (This used to be commit 906429834a102349582017ef73a69e211ef5c500)
* r18315: Implement netSrvGetInfo level 102Simo Sorce2007-10-101-0/+44
| | | | | fix names to be consistent between level 101 and 102 and typo in idl (This used to be commit 1962fb92d706962544c293770718294e595f9fc4)