1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-21 03:33:16 +03:00
Commit Graph

170 Commits

Author SHA1 Message Date
Jelmer Vernooij
9d806da113 r26310: Remove more uses of global_loadparm. 2007-12-21 05:48:22 +01:00
Jelmer Vernooij
fc1f4d2d65 r26296: Store loadparm context in DCE/RPC server context. 2007-12-21 05:48:13 +01:00
Stefan Metzmacher
6223c7fddc r25920: ndr: change NTSTAUS into enum ndr_err_code (samba4 callers)
lib/messaging/
lib/registry/
lib/ldb-samba/
librpc/rpc/
auth/auth_winbind.c
auth/gensec/
auth/kerberos/
dsdb/repl/
dsdb/samdb/
dsdb/schema/
torture/
cluster/ctdb/
kdc/
ntvfs/ipc/
torture/rap/
ntvfs/
utils/getntacl.c
ntptr/
smb_server/
libcli/wrepl/
wrepl_server/
libcli/cldap/
libcli/dgram/
libcli/ldap/
libcli/raw/
libcli/nbt/
libnet/
winbind/
rpc_server/

metze
2007-12-21 05:45:02 +01:00
Jelmer Vernooij
b7371f1a19 r25553: Convert to standard bool type. 2007-10-10 15:07:54 -05:00
Jelmer Vernooij
3fcc960839 r25398: Parse loadparm context to all lp_*() functions. 2007-10-10 15:07:25 -05:00
Jelmer Vernooij
abe8349f9b r25026: Move param/param.h out of includes.h 2007-10-10 15:05:38 -05:00
Jelmer Vernooij
9b256a0ca2 r24937: Merge tests spoolss RPC callbacks. 2007-10-10 15:03:39 -05:00
Andrew Bartlett
3ab90ad312 r24612: Revert this part of -r 24611. This isn't related to my SAMR password
work, but to an odd bind failure I noticed in a trace.  I need to
commit this with changes to the torture suite.

Andrew Bartlett
2007-10-10 15:02:24 -05:00
Andrew Bartlett
417ea885b4 r24611: Following up on the re-opening of bug 4817 is it pretty clear that
machine accounts are not subject to password policy in Win2k3 R2 (at
least in terms of password quality).

In testing this, I found that Win2k3 R2 has changed the way the old
ChangePassword RPC call is handled - the 'cross-checks' between new LM
and NT passwords are not required.

Andrew Bartlett
2007-10-10 15:02:23 -05:00
Andrew Bartlett
52cce94532 r24504: Try to return more useful error information on why a bind failed.
Note that the correct return for a failed alter_context is a fault,
not a bind_nak.

Andrew Bartlett
2007-10-10 15:02:03 -05:00
Andrew Tridgell
fcf38a38ac 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.
2007-10-10 14:59:12 -05:00
Stefan Metzmacher
09aea65960 r22825: let longhorn beta3 work with samba4
if we return a zero assoc_group_id longhorn beta3 stops
after getting the bind_ack.

metze
2007-10-10 14:52:20 -05:00
Jelmer Vernooij
52f32b7330 r21911: Some more work on making the ncacn_np handling in smbd be less special. 2007-10-10 14:49:38 -05:00
Andrew Tridgell
9ba8c00851 r21835: fixed a rpc server bug where we failed to remove a call from one
linked list when moving it to another. This could cause a valgrind
error under the RPC-SCANNER test.
2007-10-10 14:49:34 -05:00
Stefan Metzmacher
df7c6c6e0b r21589: give an error when the assoc_group_id isn't 0
TODO: we need to correctly implement assoc groups!

metze
2007-10-10 14:49:01 -05:00
Stefan Metzmacher
2d8c85397d r21515: add some more PFC_FLAGS from the DCERPC spec, and fix some names
also make it possible to pass and get the assoc_group_id for
a pipe.

also make it possible to pass the DCERPC_PFC_FLAG_CONC_MPX flag
in bind requests. From the spec it triggers support for
concurrent multiplexing on a single connection.

w2k3 uses the assoc_group_id feature when it becomes a domain controller
of an existing domain. Know the ugly part, with this it's possible to
use a policy handle from one connection on a different one...

typically the DsBind() call is on the 1st connection while DsGetNCChanges()
call using the first connections bind handle are on the 2nd connection.

The second connection also has the DCERPC_PFC_FLAG_CONC_MPX flag attached,
but that doesn't seem to be related to the cross connection handle usage

Can anyone think of a nice way to implement the assoc_group_id stuff in our server?

metze
2007-10-10 14:48:48 -05:00
Jelmer Vernooij
3cc299dbbe r20830: merge mgmt work 2007-10-10 14:43:37 -05:00
Andrew Tridgell
2365abaa99 r20646: first preparations for cluster enablement. This changes "
uint32_t server_id
to
  struct server_id server_id;

which allows a server ID to have an node number. The node number will
be zero in non-clustered case. This is the most basic hook needed for
clustering, and ctdb.
2007-10-10 14:37:23 -05:00
Andrew Bartlett
2b569c42e0 r19598: Ahead of a merge to current lorikeet-heimdal:
Break up auth/auth.h not to include the world.

Add credentials_krb5.h with the kerberos dependent prototypes.

Andrew Bartlett
2007-10-10 14:25:00 -05:00
Andrew Bartlett
77473d2ef9 r18779: Not simo's fault, this is actually a bug I introduced a week ago, when I fixed the previous bug in this code.
We need to remove fragments from the incoming fragment list, or else
we leak (actually, we walk free()'ed data as we add/remove elements).

Andrew Bartlett
2007-10-10 14:19:11 -05:00
Andrew Bartlett
27259f3632 r18365: When adding a new structure member, always remember to fragment it.
Andrew Bartlett
2007-10-10 14:18:19 -05:00
Andrew Bartlett
a0162e0ace r18363: Found a rather nasty bug in our fragment handling.
We were adding packet fragments onto the *reply* queue, not the
recieve queue.  This worked, as long as we got a whole packet before
we did any reply work, but failed once the backend called a remote
LDAP server (and I presume something invoked the event loop).

Andrew Bartlett
2007-10-10 14:18:19 -05:00
Jelmer Vernooij
f7afa1cb77 r17930: Merge noinclude branch:
* Move dlinklist.h, smb.h to subsystem-specific directories
 * Clean up ads.h and move what is left of it to dsdb/
   (only place where it's used)
2007-10-10 14:16:54 -05:00
Stefan Metzmacher
0d7f16d7be r17340: initialize elements od dcesrc_call_state in one central place
and pass the messaging context to the call

metze
2007-10-10 14:15:16 -05:00
Andrew Tridgell
396d82a231 r15855: more talloc_set_destructor() typesafe fixes. nearly done ... 2007-10-10 14:08:33 -05:00
Jelmer Vernooij
3fb9f07a75 r15777: Fix unresolved symbols in shared library build. 2007-10-10 14:08:18 -05:00
Stefan Metzmacher
fb1debf219 r15772: pass the messaging context and server_id to the dcerpc server subsystem
metze
2007-10-10 14:08:17 -05:00
Jelmer Vernooij
0fafa2e595 r15379: Fix shared library build's unresolved dependencies 2007-10-10 14:05:29 -05:00
Stefan Metzmacher
9ec706238c r14860: create libcli/security/security.h
metze
2007-10-10 13:59:44 -05:00
Jelmer Vernooij
a316b33057 r14735: Use dcerpc_syntax_id rather then seperate GUID + if_version everywhere 2007-10-10 13:59:17 -05:00
Andrew Bartlett
ce0c7f86fd r14715: Correct the definition of the DCE/RPC bind_nak, per the OpenGroup spec.
This allows us to correctly parse the bind_nak from NT4, when we use
an invalid auth type (the unsupported SPNEGO)..

Andrew Bartlett
2007-10-10 13:59:12 -05:00
Stefan Metzmacher
42b3f83d1c r14653: make sure we always have a valid session_info
metze
2007-10-10 13:59:05 -05:00
Jelmer Vernooij
e71cca7f0c r14571: More improvements on shared library support in Samba. Only ldb is left now... 2007-10-10 13:58:49 -05:00
Jelmer Vernooij
da0a411818 r14569: Make more functions public. 2007-10-10 13:58:48 -05:00
Stefan Metzmacher
56fac3ddbb r14486: remove the need of a stream_connection on a dcesrv_connection,
and let the transport set callbacks for getting the own and peer
socket_address

metze
2007-10-10 13:57:32 -05:00
Stefan Metzmacher
7ad522c7ac r14096: setup a service task for smbsrv and dcesrv
metze
2007-10-10 13:56:50 -05:00
Jelmer Vernooij
b6ffad3860 r14094: Use saner module directory names, fix loading of server service modules. 2007-10-10 13:56:49 -05:00
Stefan Metzmacher
7aabff8298 r13937: fix the build
metze
2007-10-10 13:52:28 -05:00
Jelmer Vernooij
930daa9f41 r13926: More header splitups. 2007-10-10 13:52:26 -05:00
Jelmer Vernooij
1228358767 r13924: Split more prototypes out of include/proto.h + initial work on header
file dependencies
2007-10-10 13:52:24 -05:00
Stefan Metzmacher
c6fa9bd15c r13923: make the state_flags per dcesrv_connection
this will may help with a generic named pipe solution

metze
2007-10-10 13:52:24 -05:00
Jelmer Vernooij
bca0e8054f r13655: Use new name of build header 2007-10-10 13:52:05 -05:00
Jelmer Vernooij
e3d0676aee r13210: Revert my named pipes patch until it passes not just 'make quicktest' but
also 'make test'
2007-10-10 13:51:35 -05:00
Jelmer Vernooij
898d15acbd r13208: Clearly separate named pipes from the IPC$ NTVFS type.
This allows the easy addition of additional named pipes and removes the
circular dependencies between the CIFS, RPC and RAP servers.

Simple tests for a custom named pipe included.
2007-10-10 13:51:34 -05:00
Jelmer Vernooij
73610639b2 r12693: Move core data structures out of smb.h into core.h
torture prototypes in seperate header
2007-10-10 13:49:39 -05:00
Jelmer Vernooij
70e7449318 r12608: Remove some unused #include lines. 2007-10-10 13:49:03 -05:00
Andrew Tridgell
ca6ae1afa0 r12554: get rid of the pesky NTLMSSP warnings about being called after processing is finished 2007-10-10 13:47:57 -05:00
Jelmer Vernooij
8dcfcaf75a r12513: Similar change as my previous commit, but now for transfer syntaxes.
Avoids converting a static string to GUID every time we check whether
a transfer syntax is equal to that of NDR.
2007-10-10 13:47:49 -05:00
Jelmer Vernooij
3564e2f967 r12512: Use GUID structs in API functions everywhere rather then converting back and
forth between GUID structs and strings in several places.
2007-10-10 13:47:48 -05:00
Jelmer Vernooij
c92ace494f r12499: Move smb_build.h out of includes.h 2007-10-10 13:47:45 -05:00