1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00

17533 Commits

Author SHA1 Message Date
Stefan Metzmacher
9579036dc5 s4: fix samba4.samba3sam.python test
metze
2008-11-08 08:02:25 +01:00
Stefan Metzmacher
ff5c58da55 librpc/ndr: move ndr_sec_helper.c to the toplevel
metze
2008-11-07 22:41:12 +01:00
Stefan Metzmacher
da9f41dde2 s4: ndr_sec_helper: remove unused include
metze
2008-11-07 22:33:45 +01:00
Stefan Metzmacher
c6e5788435 s4: security.idl: for now move server_id also to dom_sid.idl
We should move server_id somewhere else...

metze
2008-11-07 18:06:54 +01:00
Stefan Metzmacher
616bc99b14 s4: security.idl: split of dom_sid stuff into dom_sid.idl
This prepares having a shared security.idl file

metze
2008-11-07 16:45:37 +01:00
Günther Deschner
2c5a9f0a57 s4-test: skip netr_DatabaseRedo test.
Guenther
2008-11-06 23:25:40 +01:00
Stefan Metzmacher
9666582b50 s4: rpc_server: listen on named_pipes
metze
2008-11-06 21:39:14 +01:00
Stefan Metzmacher
21aa4ea6b9 s4: smbd: implement stream_socket_named_pipe()
For now implement just a very simple protocol
to negotiate the transport session info.

We may need to pass more info later,
e.g. client ip or name...

metze
2008-11-06 21:39:13 +01:00
Stefan Metzmacher
1a60fc02d8 librpc/idl: Add named_pipe_auth.idl to Samba4
metze
2008-11-06 21:39:13 +01:00
Günther Deschner
db26f7b7c4 s4-smbtorture: add test for netr_DatabaseRedo.
Guenther
2008-11-06 18:52:48 +01:00
Günther Deschner
c353c53692 netlogon: add 8bit varients of netr_SamDatabaseID8Bit and netr_DeltaEnum.
Guenther
2008-11-06 18:50:12 +01:00
Jeremy Allison
87f563c230 Start factoring out the inheritance differences.
Jeremy.
2008-11-06 01:58:56 -08:00
Günther Deschner
89fac8c1b6 s4-smbtorture: fix some obvious copy-paste errors.
Guenther
2008-11-04 19:55:07 +01:00
Jeremy Allison
bfc59f63f3 Pass all of RAW-ACLS except for inheritence. Working on that next.
Jeremy.
2008-11-04 01:34:08 -08:00
Volker Lendecke
0953688012 Trigger (and fix) a bug in Samba3 making smbd an infinite data source
A deferred open directly followed by a ulogoffX makes smbd3 send an infinite
stream of ERRinvuid replies :-(
2008-11-04 09:41:15 +01:00
Jeremy Allison
d98e48c7cb Be more verbose about a directory ACL error.
Jeremy.
2008-11-03 23:54:05 -08:00
Andrew Bartlett
31158c0256 Use ldb_dn_from_ldb_val() to create a DN in the SAMR server
The previous code incorrectly cast an ldb_val into a char *.

Andrew Bartlett
2008-11-04 16:06:57 +11:00
Andrew Bartlett
2fc5ca8409 Re-add support for supporting the PAC over domain trusts.
(This was not entered in lorikeet-heimdal.diff, so missed by metze's import).

Andrew Bartlett
2008-11-04 16:06:57 +11:00
Andrew Bartlett
169f906408 Give a better error when ldb_dn_from_ldb_val fails 2008-11-04 16:06:57 +11:00
Andrew Bartlett
9381a78c39 Use ldb_dn_from_ldb_val to avoid possible over-run of the value.
The ldb_val is length-limited, and while normally NULL terminated,
this avoids the chance that this particular value might not be, as
well as avoiding a cast.

Andrew Bartlett
2008-11-04 16:06:56 +11:00
Andrew Bartlett
adf016e119 Fix use of wrong union arm in linked_attributes module
This bug occours frequenetly in ldb users because the union so happens
to be layed out that this works.  However, it is still incorrect
usage...

Andrew Bartlett
2008-11-04 16:06:56 +11:00
Stefan Metzmacher
7ed352b0c9 s4:torture: PROVISION isn't used by all tests
We should not pollute all torture object files with
EXT_LIB_PYTHON_CFLAGS

metze
2008-11-03 18:02:02 +01:00
Stefan Metzmacher
973d50a7ff s4:torture: fix names of defines
metze
2008-11-03 18:02:02 +01:00
Jelmer Vernooij
1575cae7e5 Fix memory leak. 2008-11-03 00:14:26 +01:00
Jelmer Vernooij
b45caa44e1 Fix the build. 2008-11-02 23:58:49 +01:00
Jelmer Vernooij
4147ad1e98 Remove global_loadparm. 2008-11-02 19:33:34 +01:00
Jelmer Vernooij
a9dbd73b2f Remove last instance of global_loadparm. 2008-11-02 19:32:50 +01:00
Jelmer Vernooij
1e053df95c Remove use of global_loadparm for disabled gensec backends. 2008-11-02 19:28:17 +01:00
Jelmer Vernooij
e7810b1bc2 Use standard heimdal function for finding interfaces - libreplace provides support for the underlying functions now. 2008-11-02 18:14:53 +01:00
Jelmer Vernooij
15c0aad880 Remove unused include of param/param.h. 2008-11-02 18:13:19 +01:00
Jelmer Vernooij
28d374ec15 Use environment variable rather than loadparm parameter when testing
nonblocking sockets.
2008-11-02 17:21:46 +01:00
Jelmer Vernooij
62c57cb400 Remove use of global_loadparm when comparing nt status error - use
global variable instead.
2008-11-02 17:11:20 +01:00
Jelmer Vernooij
a1cc278142 Remove use of global_loadparm during initialization of gensec. 2008-11-02 17:04:22 +01:00
Jelmer Vernooij
cb77fca1cd Remove use of global loadparm in python modules. 2008-11-02 16:50:11 +01:00
Jelmer Vernooij
e11a7b3a0b Add utility function for getting the default loadparm context from a python module. 2008-11-02 16:48:48 +01:00
Jelmer Vernooij
ef915eff16 Move check of SMB_CONF_PATH to loadparm code. 2008-11-02 16:46:32 +01:00
Jelmer Vernooij
29a20af75f Remove use of global_loadparm for SMB2 client connections. 2008-11-02 16:20:00 +01:00
Jelmer Vernooij
ff36c52d8c Remove another use of global_loadparm.
Eventually, we should move some of these parameters into a separate
struct (perhaps into smb_transport_options?), to avoid the long lists of
parameters.
2008-11-02 16:07:28 +01:00
Jelmer Vernooij
c537f7a914 Fix the build. 2008-11-02 05:49:36 +01:00
Jelmer Vernooij
1492513f77 Fix build for make everything. 2008-11-02 02:50:22 +01:00
Jelmer Vernooij
3ebc574be4 Fix the build. 2008-11-02 02:30:21 +01:00
Jelmer Vernooij
b034c519f5 Add gensec_settings structure. This wraps loadparm_context for now, but
should in the future only contain some settings required for gensec.
2008-11-02 02:05:48 +01:00
Jelmer Vernooij
9265cb02d0 Use a separate global for nonblocking socket testing rather than global_loadparm. 2008-11-02 01:15:42 +01:00
Jelmer Vernooij
a76adc5397 Remove two debug parameters, not used anywhere.
Andrew, I was pretty sure these could be removed but if not, please let
me know.
2008-11-02 01:03:46 +01:00
Jelmer Vernooij
7a6190e9a7 Remove another use of global_loadparm. 2008-11-02 01:03:26 +01:00
Jelmer Vernooij
cb7d085ec3 Use global iconv convenience rather than global loadparm. 2008-11-02 00:35:04 +01:00
Jelmer Vernooij
dccf1b2c9f Remove another use of global_loadparm. 2008-11-02 00:26:04 +01:00
Jelmer Vernooij
d9cbf2b0d9 Remove another use of global_loadparm. 2008-11-01 23:26:36 +01:00
Jelmer Vernooij
7942333712 Remove another use of global_loadparm. 2008-11-01 23:09:18 +01:00
Jelmer Vernooij
9293c59e25 Move calls to lp_* higher up in the call stack. 2008-11-01 22:42:09 +01:00