1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

1157 Commits

Author SHA1 Message Date
Andrew Bartlett
d78cdc5fe2 Rework to use new API for common netlogon credential chaining 2009-04-14 16:23:45 +10:00
Andrew Bartlett
5095d7b1c8 Rework Samba4 to use the new common libcli/auth code
In particular, this is the rename from creds_ to netlogon_creds_, as
well as other links to use the new common crypto.

Andrew Bartlett
2009-04-14 16:23:44 +10:00
Stefan Metzmacher
971c30a4fc s4:rpc_server: split out the parsing of the ncacn_packet from analyzing of the content
metze
2009-04-10 19:38:30 +02:00
Stefan Metzmacher
225a4f7cc2 s4:rpc_server: report available output for all replies
metze
2009-04-10 19:38:30 +02:00
Günther Deschner
4727e3fa97 s4-spoolss: use winreg_Type for GetPrinterData implementation.
Guenther
2009-03-17 11:14:54 +01:00
Günther Deschner
be9a34e75d s4-spoolss: fix spoolss_GetPrinterData w.r.t. out pointer changes.
Guenther
2009-03-17 10:58:28 +01:00
Günther Deschner
ca9d67bf18 s4-spoolss: just return OK for dcesrv_spoolss_EnumPrintProcDataTypes for now.
Guenther
2009-03-07 09:59:12 +01:00
Günther Deschner
007f3f2319 s4-spoolss: fix spoolss server enum calls after pointer changes.
Guenther
2009-03-06 14:28:28 +01:00
Jelmer Vernooij
94069bd274 s4: Use same function signature for convert_* as s3. 2009-03-01 19:55:46 +01:00
Jelmer Vernooij
9ffb6d2d9e Add allow_badcharcnv argument to all conversion function, for
consistency with Samba 3.
2009-03-01 06:33:40 +01:00
Andrew Bartlett
76a0050e23 A simple hack to avoid the segfault in #6138
Thanks to Andrew Kroeger <andrew@id10ts.net> for reporting this.  This
fix just for the release.  A better fix will make it into the master
branch soon.

Andrew Bartlett
2009-02-26 13:12:07 +11:00
Günther Deschner
7e01ec5560 s4-spoolss: implement dcesrv_spoolss_AddJob which always is a dummy.
Guenther
2009-02-25 23:48:29 +01:00
Günther Deschner
228e75112f s4-spoolss: implement dcesrv_spoolss_GetPrintProcessorDirectory.
Guenther
2009-02-25 23:06:56 +01:00
Volker Lendecke
e3746ac922 Fix some C++ warnings 2009-02-24 21:12:01 +01:00
Stefan Metzmacher
3f147cb7a3 s4:netlogon: don't mix in and out negotiate_flags in dcesrv_netr_ServerAuthenticate()
metze
2009-02-18 10:22:30 +01:00
Günther Deschner
9877f3d574 s4-spoolss: fix spoolss server after out,ref count pointer changes.
Guenther
2009-02-17 16:15:52 +01:00
Günther Deschner
f34f4074f8 s4-spoolss: fix dcesrv_spoolss_RemoteFindFirstPrinterChangeNotifyEx server.
Guenther
2009-02-17 00:32:58 +01:00
Stefan Metzmacher
94abbead1b s4:netlogon: implement netr_LogonGetCapabilities with NT_STATUS_NOT_IMPLEMENTED
This hopefully fixes bug #6109.

metze
2009-02-16 11:00:07 +01:00
Stefan Metzmacher
201a033c8f s4:netlogon: always return correct negotiate_flags in Authenticate[2|3]()
metze
2009-02-16 09:53:51 +01:00
Andrew Bartlett
71632a1697 Remove auth/ntlm as a dependency of GENSEC by means of function pointers.
When starting GENSEC on the server, the auth subsystem context must be
passed in, which now includes function pointers to the key elements.

This should (when the other dependencies are fixed up) allow GENSEC to
exist as a client or server library without bundling in too much of
our server code.

Andrew Bartlett
2009-02-13 10:24:16 +11:00
Günther Deschner
876e926c0c s4-spoolss: fix rpc_server stub names for opnum 0x42 and 0x43.
Guenther
2009-02-11 22:36:17 +01:00
Günther Deschner
e3e03d7d83 s4-spoolss: fix dcerpc_spoolss_ReplyOpenPrinter caller.
Guenther
2009-02-10 23:57:30 +01:00
Andrew Tridgell
72c2da9d32 fixed two problems with the DsRGetDCNameEx2 call, as used by
Win7-beta.

The first problem is that we removed the dnsDomain attribute a while
back, so we were returning NULL for two fields. We now return the
realm.

The second problem is that Win7-beta sends the domain in the form the
user typed it, so it may be in either the short or long form. We check
for the short form and convert if needed.
2009-02-10 17:28:05 +11:00
Günther Deschner
9bfca0bea0 s4-spoolss: try to fix dcesrv_spoolss_GetPrinterData.
Guenther
2009-02-07 01:52:01 +01:00
Günther Deschner
143a5b89ee s4-spoolss: fix dcesrv_spoolss_GetPrinterData.
Guenther
2009-02-06 18:37:16 +01:00
Günther Deschner
ab6d6c7c13 s4-spoolss: fix spoolss server w.r.t. needed out pointers (+ remove tmp macro).
Guenther
2009-02-06 17:36:16 +01:00
Günther Deschner
f157c1a07f s4-spoolss: fix s4 spoolss server build (using a temp macro).
Guenther
2009-02-06 14:59:22 +01:00
Stefan Metzmacher
21571e64a9 s4:rpc_server/lsa: s/delete/del s/open/opn
metze
2009-02-02 13:09:17 +01:00
Stefan Metzmacher
d9c30894a1 s4:service_stream: s/private/private_data
metze
2009-02-02 13:09:00 +01:00
Stefan Metzmacher
5bca70a0c2 s4:rpc_server: s/private/private_data
metze
2009-02-02 13:08:49 +01:00
Stefan Metzmacher
4523a634cb s4:rpc_server/remote: s/private/priv
metze
2009-02-02 13:08:35 +01:00
Stefan Metzmacher
0854950b34 s4:rpc_server/echo: s/private/private_data
metze
2009-02-02 13:08:35 +01:00
Simo Sorce
380874ef86 Fix the mess with ldb includes.
Separate again the public from the private headers.

Add a new header specific for modules.
Also add service function for modules as now ldb_context and ldb_module are
opaque structures for them.
2009-01-30 01:02:03 -05:00
Volker Lendecke
c692accbb7 Add a talloc failure check 2009-01-06 23:27:24 +01:00
Jelmer Vernooij
ce47b69d8e Fix syntax errors. 2009-01-01 06:33:25 +01: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
c023828962 Fix missing symbols issues when building with shared libraries. 2008-12-22 21:03:09 +01:00
Stefan Metzmacher
081f8883ba s4: fix LIBEVENTS dependencies and use more forward declarations
We should only include events.h where we really need it
and prefer forward declarations of 'struct event_context'

metze
2008-12-17 11:04:45 +01:00
Jelmer Vernooij
a7109b183b Merge branch 'master' of ssh://git.samba.org/data/git/samba 2008-12-16 15:36:53 +01:00
Jelmer Vernooij
0f04beff33 Rename dom_sid.idl -> server_id.idl (since it no longer actually contains the dom_sid). No longer include it from security.idl. 2008-12-16 15:36:18 +01:00
Andrew Bartlett
9057c2522a A more-commented version of rpc_server crash fix, matching closer the
previous behaviour for the 'bad bind' case.

(It is only close, not matching - Windows 2008 sends a different,
non-zero, assoc_group_id each time)

Andrew Bartlett
2008-12-16 11:25:29 +11:00
Stefan Metzmacher
370cc9c776 s4:fix segfault in rpc-server, when client binds to unsupported service.
Signed-off-by: Michael Adam <obnox@samba.org>
2008-12-12 09:56:51 +01:00
Günther Deschner
9fa4dfc4ea s4-netlogon: fix the build of netlogon server.
Guenther
2008-12-10 11:58:28 +01:00
Matthias Dieter Wallnöfer
91bfd5f201 s4-samr: Fix Bug #5946. userparameters handling in samr server.
Signed-off-by: Günther Deschner <gd@samba.org>
2008-12-10 00:07:25 +01:00
Stefan Metzmacher
3508a66fcd s4:rpc_server: don't keep half finished dcesrv_connection_contexts
metze
2008-12-09 17:05:48 +01:00
Stefan Metzmacher
03dba698a0 s4:rpc_server: initialize rpc server module also for the named pipe case
This fixes bug #5878.

metze
2008-12-09 13:59:02 +01:00
Stefan Metzmacher
53c41661bd s4:rpc_server: fix crash bugs in 26200f4fb1db81be7a9da51f317e46405351b170
call->context needs to be valid.

metze
2008-12-08 15:51:01 +01:00
Stefan Metzmacher
26200f4fb1 s4:rpc_server: make it possible for iface->bind() to specify the assoc_group_id
This helps the openchange mapiproxy plugin to work correctly.

metze
2008-12-08 15:25:25 +01:00
Stefan Metzmacher
f8bbdb100b s4:dcesrv_browser: implement dcesrv_BrowserrQueryOtherDomains()
metze
2008-12-06 14:56:49 +01:00
Stefan Metzmacher
6627080e00 s4:rpc_server: add dcesrv_browser template
metze
2008-12-06 14:56:48 +01:00