Andrew Bartlett
38b5beb33d
param: Remove "announce as" parameter
2011-06-23 13:47:27 +02:00
Jelmer Vernooij
d415a7f788
source4/rpc_server: Fix prototypes for all functions.
2011-03-19 03:20:05 +01:00
Andrew Tridgell
5ec284d152
build: moved librpc/rpc/*.c into a rpccommon library
...
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
2011-02-24 02:42:37 +01:00
Matthias Dieter Wallnöfer
4010eff80b
s4:wkssvc RPC server - better solution for srvsvc* enum's in server_info.c
...
Reworked version of commit 7e710c4de9
2010-11-27 21:50:41 +01:00
Matthias Dieter Wallnöfer
3c343fec8a
Revert "s4:rpc_server/common/common.h - introduce two forward declarations to suppress parameter declaration warnings"
...
This reverts commit 7e710c4de9
.
This causes more noise than it's useful.
2010-11-27 21:50:41 +01:00
Matthias Dieter Wallnöfer
4902b71a60
s4:RPC server - always set the response pad data in base of the request one
...
Otherwise it could remain uninitialised - should fix bug #7769 .
2010-11-03 09:30:00 +01:00
Matthias Dieter Wallnöfer
5516191e72
s4:RPC server - cosmetic fixes - indentation, comments
2010-11-03 09:23:00 +01:00
Matthias Dieter Wallnöfer
5a2c3ad2fa
s4:rpc_server/common.h - quiet compilation warnings
2010-10-30 17:32:17 +00:00
Andrew Tridgell
0563c5bacf
s4-rpc: split the dcesrv reply code out of dcerpc_server
...
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-30 23:49:01 +11:00
Jelmer Vernooij
93126b3315
samdb: Add flags argument to samdb_connect().
2010-10-10 23:08:49 +02:00
Anatoliy Atanasov
2cf0525b23
s4/irpc: Add security token to the binding handle when doing irp call forwarding
2010-09-27 09:59:21 -07:00
Kamen Mazdrashki
ee169d7347
s4-irpc: Add 'timeout' param for dcesrv_irpc_forward_rpc_call() call
...
It is to be used when caller wants to explicitly
specify the timeout for the call
2010-09-16 00:15:38 +03:00
Matthias Dieter Wallnöfer
7e710c4de9
s4:rpc_server/common/common.h - introduce two forward declarations to suppress parameter declaration warnings
...
Always Tru64 in file "param/loadparm.c" and possibly others.
2010-09-11 18:04:48 +02:00
Stefan Metzmacher
f2422a0faa
s4:rpc_server/common: use irpc_binding_handle_by_name() in dcesrv_irpc_forward_rpc_call()
...
metze
2010-09-03 17:00:19 +02:00
Andrew Tridgell
6b266b85cf
s4-loadparm: 2nd half of lp_ to lpcfg_ conversion
...
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-07-16 18:24:27 +10:00
Andrew Bartlett
2c193fe91a
s4:auth Remove event context from anonymous_session()
...
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
2010-04-11 13:36:04 +10:00
Andrew Tridgell
95e895d880
s4: ran minimal_includes.pl on source4/rpc_server
2009-10-20 16:04:56 +11:00
Matthias Dieter Wallnöfer
44df2488e3
s4: fix various warnings (not "const" related ones)
2009-10-02 15:33:48 +02:00
Jelmer Vernooij
43267812e1
rpc_server: Fix warnings.
2009-09-27 16:49:26 +02:00
Andrew Tridgell
1261d694f0
more include minimisation
2009-09-19 14:12:01 -07:00
Andrew Tridgell
cb6f868934
s4-rpc: remove some unnecessary #include lines
...
I should remember to run script/minimal_includes.pl more often
2009-09-19 14:11:29 -07:00
Andrew Tridgell
f80363c90a
s4-rpc: added a module for forwarding RPC requests
...
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
2009-09-15 20:50:30 -07:00
Stefan Metzmacher
183c379fe5
s4:lib/tevent: rename structs
...
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-12-29 20:46:40 +01:00
Jelmer Vernooij
d3df4061d9
Use struct for server versions.
2008-11-01 15:50:52 +01:00
Günther Deschner
0b95cb251c
s4-srvsvc: merge srvsvc_NetShareInfo502 from s3.
...
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-31 02:44:29 +01:00
Jelmer Vernooij
87ec1d2532
Make sure prototypes are always included, make some functions static and
...
remove some unused functions.
2008-10-20 18:59:51 +02:00
Jelmer Vernooij
21fc767378
Specify event_context to ldb_wrap_connect explicitly.
...
(This used to be commit b4e1ae07a2
)
2008-04-17 12:23:44 +02:00
Jelmer Vernooij
1cf8130e11
Move handle utility functions to public header, remove more public headers.
...
(This used to be commit 92e71c19f4
)
2008-04-02 14:18:31 +02:00
Jelmer Vernooij
afe3e8172d
Install public header files again and include required prototypes.
...
(This used to be commit 47ffbbf674
)
2008-04-02 04:53:27 +02:00
Jelmer Vernooij
2f5ca872a8
r26313: Fix more uses of static loadparm.
...
(This used to be commit 6fd0d9d3b7
)
2007-12-21 05:48:25 +01:00
Jelmer Vernooij
d378cf4c15
r26310: Remove more uses of global_loadparm.
...
(This used to be commit 9d806da113
)
2007-12-21 05:48:22 +01:00
Andrew Bartlett
7f015e2e2e
r26300: Don't segfault when called from the ntptr libs.
...
Andrew Bartlett
(This used to be commit 89279d730f
)
2007-12-21 05:48:15 +01:00
Jelmer Vernooij
57f20ccd24
r26296: Store loadparm context in DCE/RPC server context.
...
(This used to be commit fc1f4d2d65
)
2007-12-21 05:48:13 +01:00
Jelmer Vernooij
ecea5ce245
r26260: Store loadparm context in gensec context.
...
(This used to be commit b9e3a4862e
)
2007-12-21 05:47:34 +01:00
Jelmer Vernooij
f4a1083cf9
r26227: Make loadparm_context part of a server task, move loadparm_contexts further up the call stack.
...
(This used to be commit 0721a07aad
)
2007-12-21 05:47:04 +01:00
Jelmer Vernooij
05e7c48146
r25553: Convert to standard bool type.
...
(This used to be commit b7371f1a19
)
2007-10-10 15:07:54 -05:00
Jelmer Vernooij
60a1046c5c
r25430: Add the loadparm context to all parametric options.
...
(This used to be commit fd697d77c9
)
2007-10-10 15:07:31 -05:00
Jelmer Vernooij
37d53832a4
r25398: Parse loadparm context to all lp_*() functions.
...
(This used to be commit 3fcc960839
)
2007-10-10 15:07:25 -05:00
Jelmer Vernooij
98b57d5eb6
r25035: Fix some more warnings, use service pointer rather than service number in more places.
...
(This used to be commit df9cebcb97
)
2007-10-10 15:05:43 -05:00
Jelmer Vernooij
ffeee68e4b
r25026: Move param/param.h out of includes.h
...
(This used to be commit abe8349f9b
)
2007-10-10 15:05:38 -05:00
Andrew Tridgell
0479a2f1cb
r23792: convert Samba4 to GPLv3
...
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 fcf38a38ac
)
2007-10-10 14:59:12 -05:00
Andrew Bartlett
d471e52d23
r20149: Remove the smb.conf distinction between PDC and BDC. Now the correct
...
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 67d8365e83
)
2007-10-10 14:29:15 -05:00
Simo Sorce
fa257e78b5
r18558: Fix ShareCheck which was assuming all paths are "C:\"
...
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 4daf5f7764
)
2007-10-10 14:18:46 -05:00
Stefan Metzmacher
0305907e42
r18555: use C:\ as default not C:
...
metze
(This used to be commit d9137edbdb
)
2007-10-10 14:18:45 -05:00
Simo Sorce
ab188e02af
r18550: Return a path not just a disk drive
...
(This used to be commit 60076fa87d
)
2007-10-10 14:18:45 -05:00
Simo Sorce
7736d2f65c
r18412: Implement NetiNameValidate but just for share name right now (type 9)
...
Simo.
(This used to be commit 906429834a
)
2007-10-10 14:18:25 -05:00
Simo Sorce
92689d1805
r18315: Implement netSrvGetInfo level 102
...
fix names to be consistent between level 101 and 102 and typo in idl
(This used to be commit 1962fb92d7
)
2007-10-10 14:18:07 -05:00
Simo Sorce
9c66f601f1
r17206: Add a modular API for share configuration.
...
Commit the classic backwards compatible module which is the default one
(This used to be commit a89cc346b9
)
2007-10-10 14:10:18 -05:00
Jelmer Vernooij
5c3a1d76ff
r15379: Fix shared library build's unresolved dependencies
...
(This used to be commit 0fafa2e595
)
2007-10-10 14:05:29 -05:00
Stefan Metzmacher
657325d684
r15319: remove unneeded macros
...
metze
(This used to be commit 9611c8aa9c
)
2007-10-10 14:05:14 -05:00