1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

52581 Commits

Author SHA1 Message Date
Volker Lendecke
22badee4bf Convert rpc_cli_transport->read to tevent_req 2009-03-24 13:23:40 +01:00
Volker Lendecke
1724f2ff31 Convert rpc_api_pipe_req to tevent_req 2009-03-24 13:23:40 +01:00
Volker Lendecke
f88990ec7e Convert rpc_api_pipe to tevent_req 2009-03-24 13:23:40 +01:00
Volker Lendecke
545ed5b52e Convert cli_api_pipe to tevent_req 2009-03-24 13:23:40 +01:00
Volker Lendecke
7a429fb369 Convert get_complete_frag to tevent_req 2009-03-24 13:23:40 +01:00
Volker Lendecke
7573bb758e Convert rpc_write to tevent_req 2009-03-24 13:23:40 +01:00
Volker Lendecke
1dd0883458 Convert rpc_read to tevent_req 2009-03-24 13:23:40 +01:00
Volker Lendecke
6a2e71b12d Add tevent_req_simple_recv_ntstatus() 2009-03-24 13:23:40 +01:00
Volker Lendecke
f91565544f Fix bug 6097
A client sent a SID with authority 0 and 0 sub-authorities. W2k3 replies with
NT_STATUS_INVALID_SID, even if other SIDs in the list are valid.

Thanks to Pavel <wylda@volny.cz> for the bug report!
2009-03-24 11:59:42 +01:00
Günther Deschner
de2a7c8e4c s3: use generated dcerpc code.
Guenther
2009-03-24 11:14:06 +01:00
Günther Deschner
31db53c358 s3: add generated dcerpc files.
Guenther
2009-03-24 11:14:06 +01:00
Günther Deschner
8d901caf35 move dcerpc.idl to main directory.
Guenther
2009-03-24 11:14:06 +01:00
Günther Deschner
c388efdbcb s3: add missing prototype for auth_wbc_init().
Guenther
2009-03-24 11:11:57 +01:00
Björn Jacke
87b428e424 s3:dsgetdcname: use parentheses in if condition to make negation clear
Signed-off-by: Günther Deschner <gd@samba.org>
2009-03-24 10:20:12 +01:00
Andrew Tridgell
34ee56eadc Merge branch 'master' of ssh://git.samba.org/data/git/samba 2009-03-24 16:29:24 +11:00
Andrew Tridgell
2a8f367b0f the start of a possibleInferiors test suite
we haven't implemented possibleInferiors yet. This test is meant to
help us understand how it works. It tries to construct
possibleInferiors via searches on other attributes, and compares it to
the servers constructed possibleInferiors attribute for each class in
the servers schema.

see [MS-ADTS] section 3.1.1.4.5.21
2009-03-24 16:28:39 +11:00
Andrew Tridgell
0e3339a46b Merge branch 'master' of ssh://git.samba.org/data/git/samba 2009-03-24 10:53:06 +11:00
Tim Prouty
130582f170 s3 OneFS: Remove usage of non-existant function
The function was removed in:
c16c90a1cb3b0e2ceadd3dea835a4e69acfc2fae
2009-03-23 11:57:13 -07:00
Tim Prouty
866afd5d0b s3: Remove redundant comment 2009-03-23 11:55:58 -07:00
Michael Adam
36b957b5b7 s3:build: make SHOWFLAGS target phony and add alias showflags
Michael
2009-03-23 17:48:24 +01:00
Michael Adam
33d9f46674 libreplace: use libreplace_SAVE_CPPFLAGS instead of SAVE_CPPFLAGS
This fixes Samba3's double listing of -I options in CFLAGS,
since samba3's configure wraps the call to AC_LIBREPLACE_NETWORK_CHECKS
into a SAVE_CPPFLAGS="${CPPFLAGS}" .. CPPFLAGS="${SAVE_CPPFLAGS}"
sequence... :-)

Michael
2009-03-23 17:48:23 +01:00
Volker Lendecke
63aae58fdc Use avahi to register _smb._tcp in smbd 2009-03-23 17:09:53 +01:00
Volker Lendecke
93e13fe3e0 Add tevent avahi binding 2009-03-23 17:09:53 +01:00
Volker Lendecke
4c1794c41c Add avahi detection to configure 2009-03-23 17:09:53 +01:00
Volker Lendecke
dfa93041ab Disable dns_sd by default 2009-03-23 17:09:53 +01:00
Michael Adam
a4cc3e2538 s3:build: prevent from setting "-O -g", check for $debug first.
This makes configure actually behave as the comments describe.
The reversal of order was introduced by mistake in
90ea8ae9b1ed3b7ed1c93076517e026e629ea1aa

Michael
2009-03-23 14:22:37 +01:00
Björn Jacke
2dc8ce59b2 don't set -O twice
Signed-off-by: Michael Adam <obnox@samba.org>
2009-03-23 14:20:46 +01:00
Björn Jacke
a087310b33 remove non standard way to point to ctdb path
we can provide the path to ctdb via the --with-ctdb=... configure flag like we
do it with other packageѕ, too. There is no need for another redundnant
Makefile hack to point the ctdb header location

Signed-off-by: Michael Adam <obnox@samba.org>
2009-03-23 13:20:06 +01:00
Björn Jacke
f4aec7b590 ѕ3/winbind_pam: fix gcc 4.4 compile warning 2009-03-23 13:10:54 +01:00
Stefan Metzmacher
97a086d5c4 selftest/Samba3: Test smb signing against the member server
metze
2009-03-23 12:21:14 +01:00
Stefan Metzmacher
6af15943c6 s3:libsmb: use new simplified smb_signing code for the client side
We store the seqnum/mid mapping in the cli_request structure
for async requests and in the cli_state structure for sync calls.

We skip the signing check for oplock requests while waiting
for async requests coming in.

metze
2009-03-23 12:21:14 +01:00
Stefan Metzmacher
c16c90a1cb s3:smbd: use new simplified snb_signing code in the server
We keep the seqnum/mid mapping in the smb_request structure.

This also moves one global variable into the
smbd_server_connection struct.

metze
2009-03-23 12:21:13 +01:00
Stefan Metzmacher
2654653f55 s3:libsmb: add a much simplified smb_siging infrastructure
It's the job of the caller to maintain the seqnum/mid mapping.

Hopefully we can use this code in s4 later too.

metze
2009-03-23 12:21:13 +01:00
Stefan Metzmacher
1a48d0793b s3:libsmb: rename smb_signing.c => clisigning.c
This prepares a large simplification of the smb_signing code

metze
2009-03-23 12:21:12 +01:00
Stefan Metzmacher
7716ad68a8 s3:smbd: if we allow trans2 on the IPC$ share, then we have to allow transs2 too.
Otherwise we'll confuse the client signing engine, when we reply an error to each transs2.

metze
2009-03-23 12:21:12 +01:00
Stefan Metzmacher
435a0a5a3b socket_wrapper: fix connect() for dgram sockets, if the destination isn't there yet
Now we defer the real_connect() for dgram sockets to the first send()/sendto() call,
as the destination might not be there at connect time.

Commit 66dc53ee017d74a6f610bbe04337f064901fe2a1 was an incomplete fix for this
problem.

metze
2009-03-23 12:19:29 +01:00
Volker Lendecke
298bff5019 Fix connect to port 139 only -- thanks gd for bugging me :-) 2009-03-23 12:06:57 +01:00
Andrew Tridgell
7f113904eb Merge branch 'master' of ssh://git.samba.org/data/git/samba 2009-03-23 11:47:38 +11:00
Volker Lendecke
979a1b06d0 talloc_array_length: talloc_get_size deals fine with NULL 2009-03-22 22:10:09 +01:00
Volker Lendecke
1bff89c4ad Only build the dirsort module if we have the dirfd function
Fix the build on HP/UX
2009-03-22 13:17:42 +01:00
Stefan Metzmacher
1f72e4abfd Revert "socket_wrapper: fix connect() for dgram sockets, if the destination isn't there yet"
This reverts commit 66dc53ee017d74a6f610bbe04337f064901fe2a1.

Somehow this leads to timeouts in some tests, samba4.ldb.ldapi
and samba4.rpc.schannel. I need to look at it more closely later...

metze
2009-03-22 12:36:38 +01:00
Stefan Metzmacher
8a6f91c910 LDAP-CLDAP: remove temporary debug statements...
metze
2009-03-22 12:20:45 +01:00
Volker Lendecke
191152daa1 Document the dirsort module 2009-03-22 11:44:14 +01:00
Volker Lendecke
14df86e9e3 Use StrCaseCmp in the dirsort module 2009-03-22 11:44:13 +01:00
Andy Kelk
2835d0d463 Add dirsort module 2009-03-22 11:44:13 +01:00
Volker Lendecke
f590915fe5 Revert "Add a basic Doxyfile for talloc"
This reverts commit f55e84e904173bed8dc9099ad523ca1e7be12355.
2009-03-22 09:48:54 +01:00
Volker Lendecke
a83c18062a Revert "Convert the contents of talloc_guide.txt to doxygen-style talloc.h comments"
This reverts commit d21212c9192b41a3fdc7e96cb9bf0125a1dc6c2d.
2009-03-22 09:48:48 +01:00
Volker Lendecke
c3df040699 Revert "Delete talloc_guide.txt"
This reverts commit 3f9c30022a53a37ad829f8882a9a5161fcadda8b.
2009-03-22 09:48:41 +01:00
Volker Lendecke
b7fb083dd7 Revert "Add a default "undocumented" module"
This reverts commit ba42320c7e9f5ccbd32eccbfb1f2d77e13b3a318.
2009-03-22 09:48:34 +01:00
Volker Lendecke
790326cc38 Revert "Add some initial hook to the front page"
This reverts commit cfce2d3611f225244fadf3d27d76371827fd6422.
2009-03-22 09:48:27 +01:00