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

16199 Commits

Author SHA1 Message Date
Jelmer Vernooij
c68589a5dc Fix typo.
(This used to be commit 1def988ef28de85b3f97172bdbf935a4fec4dec3)
2008-05-08 12:40:56 +02:00
Jelmer Vernooij
4aba4d38c7 Fix link flags for ldb and tdb Python modules.
(This used to be commit 787a32fdef9d761d64839f489cca0b0684f9a9fd)
2008-05-08 11:56:32 +02:00
Jelmer Vernooij
c3efee27b6 Install session.h, required by OpenChange's proxy.
(This used to be commit 44d8b70004247729862b194ea66444e0cf296660)
2008-05-08 10:53:03 +02:00
Stefan Metzmacher
10a208fc4f libreplace: also use AC_LIBREPLACE_NETWORK_CHECKS for the standalone build
metze
(This used to be commit 04f4523ed032946b8f0e74ac6f7458010159e3bb)
2008-05-07 17:38:41 +02:00
Stefan Metzmacher
63da424e81 libreplace: use AC_LIBREPLACE_NETWORK_CHECKS only for samba
metze
(This used to be commit 3451b54bf7f5e37a589ec261d28c2a8b6f9788ed)
2008-05-07 17:15:36 +02:00
Stefan Metzmacher
a0c6043c34 libreplace: split out network checks into a AC_LIBREPLACE_NETWORK_CHECKS macro
Note: moving it out of AC_LIBREPLACE_BROKEN_CHECKS will be the next step

metze
(This used to be commit 55a904b1d7aeca849d450e371b18afca5b0c6218)
2008-05-07 17:11:29 +02:00
Stefan Metzmacher
3e80085fb0 pvfs: remove XATTR_ATTRIB_FLAG_STICKY_WRITE_TIME code
I'll fix this more correctly very soon,
so that we'll pass the BASE-DELAYWRITE test.

metze
(This used to be commit b09dd6b65d533832a025a51509dcc84f84b048aa)
2008-05-07 15:46:22 +02:00
Stefan Metzmacher
bbf4ce9146 libreplace: always provide utime() and utimes()
I'd like to also provide futimes(), but it seems
that some systems doesn't support a it at kernel level.

If someone knows how to write a portable replacement
for futimes() please tell me...

metze
(This used to be commit a9604fe4a323dccb537cf02ea7594437b4995803)
2008-05-07 13:25:22 +02:00
Stefan Metzmacher
387c17685c build: fix path to lex_compile.sh
metze
(This used to be commit 6a1b7f56afa7475880f4eb5f0b669fd2b95a1d8f)
2008-05-07 08:59:06 +02:00
Michael Adam
42059c7e76 torture: use dom_idx after determining it in samba3rpc.c:get_usr_handle()
Michael
(This used to be commit 334d76c3559870bd9dc9ef55c9b1a7ce21ee9d4c)
2008-05-06 15:27:33 +02:00
Stefan Metzmacher
f51a79889c libreplace: check how portable utimes() and futimes() are
metze
(This used to be commit 8798ce3c744025b94973784dcb44d099427ef190)
2008-05-06 12:38:55 +02:00
Tiago Batista
674d089bea Tiago Batista posted a patch to fix the build:
Trying to compile the latest git tree, I got some errors
"auth/pam_error.h not found" errors, it looks like it moved to
auth/ntlm/pam_errors.h.

Andrew Bartlett
(This used to be commit 95831a015ae076b52256961f771f50dd9b278e33)
2008-05-06 08:12:03 +10:00
Andrew Bartlett
714b3a87d2 Fix the build after the auth/ -> auth/ntlm/ rename
I need to fix up the header inclusion, but this fixes things for now.

Andrew Bartlett
(This used to be commit 7c07edb24b31e7dc3e9b836ec4a6680ee2b04276)
2008-05-05 19:28:38 +10:00
Andrew Bartlett
7ee76eeae5 Move NTLM authentication details into auth/ntlm
This should help clarify the role of the various files around here
(done on Jelmer's request).

Andrew Bartlett
(This used to be commit efa399037511ced8978f2e7661a71aac7a384883)
2008-05-05 15:23:57 +10:00
Andrew Bartlett
2c95244f11 Add a new implementation of security=server.
This is not intended for general use, and will not be easily exposed
(if I have anything to do with it), but should allow the CIFS proxy to
re-use the connection.

A work in progress.

Andrew Bartlett
(This used to be commit a1e60ebc6d1e794011df5f69f691f4ec8622e991)
2008-05-05 13:21:18 +10:00
Andrew Bartlett
fe7d460671 Allow an NTLM response to be specified into the auth subsystem.
This allows it to be proxied for NTLM pass-though authentication (aka
security=server and associated man-in-the-middle attacks).

Andrew Bartlett
(This used to be commit 6ffabb38d03ad90d8731ab3e0eb692438db967ee)
2008-05-05 12:58:15 +10:00
Andrew Bartlett
f8fb5d8c4d Reorder this function in the file, so it reads bottom-up.
The rest of this file reads bottom-up, but this function
(connect_send_negprot()) was out of place.

Andrew Bartlett
(This used to be commit f0c95cd74fb6fea57cef89b59e5d2f10ea25c138)
2008-05-05 12:57:23 +10:00
Andrew Bartlett
30a45df366 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit 6bb4c1e6a38a842787177a399bf88f05015f5ec0)
2008-05-01 16:41:36 +10:00
Jelmer Vernooij
aedaba990f Split up lcov target.
(This used to be commit 38f455e0054acc1fdaea267e03f8aad337309cf2)
2008-04-27 23:29:50 +01:00
Jelmer Vernooij
86a22b6fad Fix header locations.
(This used to be commit 4fc11bd97d6b65569742a7f1c695b7ecbc76919a)
2008-04-27 15:04:33 +01:00
Jelmer Vernooij
1e973565b6 Move subunit infrastructure code into lib/torture.
(This used to be commit 5b44d8121de7735d69e6238a1442aff034a8ebd3)
2008-04-27 14:02:46 +01:00
Andrew Bartlett
7c5704499a Fix dependencies on gensec_krb5 and the NTLMSSP code.
This is so that gensec_krb5 does not depend on the NTLM authentication
code.

Andrew Bartlett
(This used to be commit 71ec5bfb3e973bd68649a598d006efcdda18f1b6)
2008-04-26 09:50:15 +01:00
Andrew Bartlett
35e45534c6 Revert to using the old CIFS connection API.
Rather than add a new 'out' member to the API, simply fill in the
'tree' early enough that we can access the server challenge there.

Andrew Bartlett
(This used to be commit 6dbbcf8aaf9b93af970d1701dfb185460d4dc788)
2008-04-25 15:59:22 +01:00
Andrew Bartlett
c4219fd803 Make the composite 'connect to server' code useful for security=server
The ability to short-circuit the connection code to only do a negprot
allows us to do the rest once we have the user's password.  We return
the 8 byte challenge so we can pass it to the client.

Andrew Bartlett
(This used to be commit 40fe386b0374df8b390b995c332d048dbbc08f1b)
2008-04-25 15:08:52 +01:00
Andrew Bartlett
ee70e01e3e Don't compile files twice when the compilation fails.
Andrew Bartlett
(This used to be commit 53ea233649d12d77233611e272cf5f470177571c)
2008-04-25 15:08:23 +01:00
Andrew Bartlett
ff1ad04300 When a test harness program fails, make the testsuite fail.
The problem fixed here is that pidl tests were not causing the 'number
of tests failing' count to increase, due to the way return codes are
processed on pipelines, in the shell.

By setting an exit code if we print 'failure', we ensure we fail
appropriately.

Andrew Bartlett
(This used to be commit 687e81883d37e3d1f55d3a7a87e20fb860888dde)
2008-04-25 15:05:07 +01:00
Jelmer Vernooij
cc9c4aaa8d Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
Conflicts:

	source/Makefile
	source/auth/config.mk
	source/auth/gensec/config.mk
	source/build/m4/public.m4
	source/build/make/python.mk
	source/build/make/rules.mk
	source/build/smb_build/header.pm
	source/build/smb_build/main.pl
	source/build/smb_build/makefile.pm
	source/dsdb/config.mk
	source/dsdb/samdb/ldb_modules/config.mk
	source/kdc/config.mk
	source/lib/events/config.mk
	source/lib/events/events.c
	source/lib/ldb/config.mk
	source/lib/nss_wrapper/config.mk
	source/lib/policy/config.mk
	source/lib/util/config.mk
	source/libcli/smb2/config.mk
	source/libnet/config.mk
	source/librpc/config.mk
	source/nbt_server/config.mk
	source/ntptr/ntptr_base.c
	source/ntvfs/posix/config.mk
	source/ntvfs/sysdep/config.mk
	source/param/config.mk
	source/rpc_server/config.mk
	source/rpc_server/service_rpc.c
	source/scripting/ejs/config.mk
	source/scripting/python/config.mk
	source/smb_server/config.mk
	source/smbd/server.c
	source/torture/config.mk
	source/torture/smb2/config.mk
	source/wrepl_server/config.mk
(This used to be commit 13bbd420681519894a4036729c43273912c9b402)
2008-04-25 10:04:20 +01:00
Andrew Bartlett
0d1fe706e3 Remove vampire.py as the 'net' binary is the right interface.
As some future point we might get these scripting interfaces into
better shape, and provide a python interface to this functionality
again.

Andrew Bartlett
(This used to be commit 717dcb2c54b1e22b7c8efb322deec55abb7689c2)
2008-04-25 09:25:14 +01:00
Andrew Bartlett
28c29e7ad3 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit 2c3a3d0134b5fe4cd9dfdb05d1b140b2c9b502f1)
2008-04-25 09:24:12 +01:00
Andrew Bartlett
d67e47e5cd Add comment explaining why io.in.workgroup isn't important.
This protocol feild isn't used by servers (apparently), so we might be
able to get rid of it.

Andrew Bartlett
(This used to be commit 58935acc7c8e97323d5d5979234ef26ef8a100a4)
2008-04-24 16:27:36 +01:00
Jelmer Vernooij
d1432d617e Distinguish between private and public dependencies in the dot file.
(This used to be commit 0690ce5211e659d5b8670d533fde77cf97048884)
2008-04-24 15:22:07 +01:00
Andrew Bartlett
ed5ddabc43 Add documentation to session token functions.
(This used to be commit ec4a108d1d35cd4bb2170f1bb122546266b9b745)
2008-04-24 13:30:36 +01:00
Andrew Bartlett
9b65a7c38f Remove unused KANJI and terminal code options.
Someone can re-add this with tests and an actual implementation.

Andrew Bartlett
(This used to be commit 62136febe7bb1122a57737ca43d1ed0800453d77)
2008-04-24 11:49:41 +01:00
Kai Blin
240d959005 libnet: Make UserInfo accept a SID as input as well, fix wb_cmd_getpwuid
(This used to be commit 5f3a70f285ad8a412105c0e498e486f93fc279bc)
2008-04-24 11:17:23 +02:00
James Peach
b8209978d7 testsuite: skip RAW-BENCH-LOOKUP by default.
(This used to be commit 8a8449c95336d8019e9105fba6ef09473aae813b)
2008-04-23 11:26:38 -07:00
Simo Sorce
c33c614eb2 Revert "Add port number for ncacn_http epmapper."
This reverts commit 1304362b3754960f68fb56e0915c3d80cace6e60.

This was causing way too many tests to fail. The dcesrv server was failing
to start as the NCACN_HTTP transport is considered invalid.

Jelmer please check how to properly fix dcesrv server before re-committing
your change.
(This used to be commit 0c59b39ad8edcaf9f06a2d1393e11e06e4b2f18f)
2008-04-23 08:54:57 -04:00
Simo Sorce
7f464f0628 Fix more failing tests to pass the event context.
(This used to be commit d6c5d8baf0c48a6078a47bba33993a841ff526d9)
2008-04-22 16:40:44 -04:00
Simo Sorce
89cac520d0 Remove temporary debug statement
(This used to be commit 10780e638af8afc3ffa261255200779aea732694)
2008-04-22 16:40:44 -04:00
Jelmer Vernooij
f1b76952c0 Fix event context initialization for Python bindings.
(This used to be commit 132efc779ede27898765320a13bdde0b5256102b)
2008-04-22 22:33:34 +02:00
Jelmer Vernooij
f8dc2ca022 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit 10a1a53d8beb56b7e12149c50e2685a1578413b9)
2008-04-22 22:19:46 +02:00
Björn Jacke
996d1bc090 fix an extrasemi compile warning
(This used to be commit 47e8ef4f6aa91ed0b069a1890cb1f853b4e9b879)
2008-04-22 15:13:36 +02:00
Jelmer Vernooij
38a4f9df17 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit 1e38de45640430be002053b8bd52b615184134ba)
2008-04-22 10:21:22 +02:00
Simo Sorce
7dddab3f6c Make sure we have an event context available
(This used to be commit b7c96e0cc270bd3b1c9bd117a22df3f657b6acd5)
2008-04-21 19:53:29 -04:00
Simo Sorce
c8eb82816f Fix build
(This used to be commit c16d1d430a0f1e3643c1e769b10e9d88b4719d17)
2008-04-21 19:53:15 -04:00
Jelmer Vernooij
54efc107e5 Add port number for ncacn_http epmapper.
(This used to be commit 1304362b3754960f68fb56e0915c3d80cace6e60)
2008-04-22 01:34:11 +02:00
Simo Sorce
4e83011f72 Remove more event_context_init() uses from function calls within deep down the code.
Make sure we pass around the event_context where we need it instead.
All test but a few python ones fail. Jelmer promised to fix them.
(This used to be commit 3045d391626fba169aa26be52174883e18d323e9)
2008-04-21 18:12:33 -04:00
James Peach
8a3e3391fb smbtorture: Add RAW-BENCH-LOOKUP micro-benchmark.
This test samples the lookup rate for a non-existant filename in a
directory, while varying the number of files in the directory. The
lookup rate should continue to approximate the lookup rate for the
empty directory case.
(This used to be commit ca7e4d9166a7cb10495cf3ecd9c4e72103fbec30)
2008-04-21 15:09:43 -07:00
Jelmer Vernooij
db30ff4bea Load default smb.conf file if none was specified explicitly.
(This used to be commit 8fa23fac516dbf4c8245c1d009e81f02a6341775)
2008-04-21 17:59:08 +02:00
Andrew Bartlett
61fba82594 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit 13a0941d3432dc7dae552048265ad1e762b781d4)
2008-04-19 09:59:07 +02:00
Stefan Metzmacher
f0eb488d22 SMB2-PERSISTENT-HANDLES1: close the handle before deleting it
This means we no longer have a oplock break timing out
for the "delete".

metze
(This used to be commit 50f6a72b674f58a24c1a6c42e4dd56dc4e9f5a1e)
2008-04-19 02:06:44 +02:00