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

1422 Commits

Author SHA1 Message Date
Jelmer Vernooij
d8ce8f9b61 Create libndr-standard, which includes the NDR marshalling code for
the "standard" set of DCE/RPC interfaces found on Windows.
2009-07-19 12:41:09 +02:00
Günther Deschner
05bec77e00 lsa: fix typo in lsa_TrustDomInfoEnum enum in IDL.
Guenther
2009-07-16 03:05:45 +02:00
Günther Deschner
05fbe0c7f7 libds: merge the UF<->ACB flag mapping functions.
Guenther
2009-07-13 15:36:07 +02:00
Günther Deschner
8db45607f8 libds: share UF_ flags between samba3 and 4.
Guenther
2009-07-13 15:36:06 +02:00
Matthias Dieter Wallnöfer
b08beed0db Small patch for SPOOLSS pipe
Prevents a crash of the SAMBA 4 daemon on the torture SPOOLSS test due to not
initialised structures.
2009-06-29 13:38:59 +10:00
Matthias Dieter Wallnöfer
efe6552f0c NETLOGON pipe improvements
Patch for bug #4939

This refactors the NETLOGON code related to this bug:

- Introduces a new "SYNCSTATE" enum required by the "DatabaseSync2" call (acc.
to WSPP)
- Make "DatabaseSync" dependant from "DatabaseSync2" (acc. to WSPP)
- Let "DatabaseSync2" return NT_STATUS_NOT_IMPLEMENTED (I'm not sure if this is
also true when a domain is running in mixed mode)
- Make "LogonControl" and "LogonControl2" dependant form "LogonControl2Ex"
(acc. to WSPP)
- Let "LogonControl2Ex" return WERR_NOT_SUPPORTED for now
2009-06-18 13:49:25 +10:00
Volker Lendecke
68e3442922 Move a comment where it belongs 2009-05-30 18:27:13 +02:00
Kai Blin
57ea909b32 libwbclient: Add async call framework. 2009-05-30 09:17:37 +02:00
Andrew Bartlett
227553f904 Win2k3 don't allow creating of domain trust accounts over SAMR 2009-05-29 17:12:06 +10:00
Andrew Bartlett
6ef65389fd Don't use crossRef records to find our own domain
A single AD server can only host a single domain, so don't stuff about
with looking up our crossRef record in the cn=Partitions container.
We instead trust that lp_realm() and lp_workgroup() works correctly.

Andrew Bartlett
2009-05-26 12:37:09 +10:00
Andrew Tridgell
2bf1e8b5e1 cope with lanman auth being disabled in old password change code
When lanman auth is disabled and a user calls a password change
method that requires it we should give NT_STATUS_NOT_SUPPORTED
2009-05-25 13:39:56 +10:00
Stefan Metzmacher
30038534f4 s4:rpc_server: convert the socket based part to use the tstream interface
metze
2009-05-01 17:42:12 +02:00
Andrew Bartlett
53d491c9a4 Merge branch 'master' of ssh://git.samba.org/data/git/samba into abartlet-devel 2009-04-23 15:12:35 +02:00
Andrew Bartlett
0d4bd2c397 s4:samr Use ldb_context * rather than void * 2009-04-23 12:19:10 +02:00
Volker Lendecke
951de68721 Fix Coverity ID 628, Andrew B., please check! 2009-04-23 10:50:54 +02:00
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