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

16168 Commits

Author SHA1 Message Date
Jelmer Vernooij
b48e2e4c41 Merge ldb_map into LIBLDB.
(This used to be commit 4d7925f953bc9d1fcffb4a4dd268b763c18ceae6)
2008-05-11 02:15:32 +02:00
Jelmer Vernooij
7c7de11f20 Fix LDB module initialization when using external ldb.
(This used to be commit b7b4aff8b52742d69526dc0ef5da2fe3c05e3af8)
2008-05-11 01:53:11 +02:00
Jelmer Vernooij
670122d724 Fix torture module initializion.
(This used to be commit d5bf4e9065303b54421a6f35b213a22f062d27d4)
2008-05-10 23:46:51 +02:00
Jelmer Vernooij
08ad86ad3d Revert "Remove copy of torture file."
This reverts commit 89bfca2da2b614e979a20c9a293b798ed7ae15ae.
(This used to be commit c6c4349c44cb6479fa7aa129931ff9ac88068ba6)
2008-05-10 23:38:56 +02:00
Jelmer Vernooij
97fbad6480 Install standalone python modules (so we can use stock python rather than smbpython).
(This used to be commit bb5c9fc64b6ad275abdd98a19f018953c9d79cbd)
2008-05-10 23:25:50 +02:00
Jelmer Vernooij
778681e10a Fix soversion for libtorture and libsamba-hostconfig.
(This used to be commit 1f698b96c7962a453f037815c9160cd8d7dde3f6)
2008-05-10 22:30:00 +02:00
Jelmer Vernooij
d1183291d3 Remove copy of torture file.
(This used to be commit 89bfca2da2b614e979a20c9a293b798ed7ae15ae)
2008-05-10 22:26:14 +02:00
Jelmer Vernooij
bfd4850636 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
(This used to be commit cce1659d3382495d84cd086bd105903211c1c1de)
2008-05-10 21:29:42 +02:00
Jelmer Vernooij
3758dec7b1 Fix building with system-provided LDB without breaking anything else :-)
(This used to be commit ce9d759497ea49e54e9d96422ad07368e2925872)
2008-05-10 21:29:09 +02:00
Jelmer Vernooij
e7910c6fcb Revert "Fix building with system-provided LDB."
This reverts commit fbfbc1f163520b3b9a4a3bf8bdddf26749cc7255.
(This used to be commit 9d1d2abed19c3b8378a78d4b81503b427d401ab5)
2008-05-10 20:59:48 +02:00
Jelmer Vernooij
6267dd7853 Clean up some git merges gone wrong.
(This used to be commit 42eb6b33462228467e65a51bbf624c481802b090)
2008-05-10 20:59:17 +02:00
Jelmer Vernooij
640792fb58 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
(This used to be commit cca75ae22d225dda2e96907daa3c24a35bb281cd)
2008-05-10 20:44:59 +02:00
Jelmer Vernooij
69247584ea Fix building with system-provided LDB.
(This used to be commit fbfbc1f163520b3b9a4a3bf8bdddf26749cc7255)
2008-05-10 20:17:02 +02:00
Jelmer Vernooij
7b45a4d7fa Merge branch 'v4-0-test' into v4-0-gmake3
Conflicts:

	source/auth/config.mk
	source/auth/gensec/config.mk
	source/torture/smbtorture.c
(This used to be commit edfd02e59bba86b977bd60848f57a614691fff7a)
2008-05-10 18:08:00 +02:00
Jelmer Vernooij
bc4eacb5d8 Fix case.
(This used to be commit a90971ea0c43ce3b42b95aef5973139576b51959)
2008-05-10 14:26:08 +02:00
Jelmer Vernooij
acb037fb1b Fix location of torture pc file.
(This used to be commit 3e2c067ec734d8c14006ce9bec75a8ffccbf72c1)
2008-05-10 00:48:11 +02:00
Jelmer Vernooij
d0096e90ba Fix installation of pidl perl files, torture pc file.
(This used to be commit 32da606e3759026c2744f853cd8948333ed0579c)
2008-05-10 00:46:25 +02:00
Jelmer Vernooij
ca6ac11b46 Fix typo.
(This used to be commit bd089818a3182698dfe85039c1b2e22d8c2835bb)
2008-05-08 13:43:45 +02:00
William Jojo
b3e1d69dcd Add undefined symbol flag for AIX.
(This used to be commit dabdf24e86f038e3afc67532fa5bf60a37992161)
2008-05-08 12:41:57 +02:00
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