kai/samba.git
12 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Jelmer Vernooij [Sun, 18 May 2008 15:35:16 +0000 (17:35 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit 16dbbf75c7fa0f877659654a20bcab73b707e627)

12 years agosmbd: pass down lp_ctx to stream_new_connection_merge()
Stefan Metzmacher [Fri, 16 May 2008 22:01:05 +0000 (00:01 +0200)]
smbd: pass down lp_ctx to stream_new_connection_merge()

metze
(This used to be commit 91e9062265a68e3a1fe5e092503ec44ae5ea034e)

12 years agosmbd: add session_info to struct stream_connection
Stefan Metzmacher [Fri, 16 May 2008 22:02:28 +0000 (00:02 +0200)]
smbd: add session_info to struct stream_connection

NULL represents an anoymous connection, as that's
cheaper than always calling auth_anonymous_session_info(),
That means if the caller wants to use the transport layer
session_info he should call auth_anonymous_session_info()
to create the session info.

metze
(This used to be commit 3777d0307b346bcf363ab5ad783e802682034a9a)

12 years agolib/replace: move sys/sockio.h and sys/un.h checks into AC_LIBREPLACE_NETWORK_CHECKS
Stefan Metzmacher [Fri, 16 May 2008 10:46:10 +0000 (12:46 +0200)]
lib/replace: move sys/sockio.h and sys/un.h checks into AC_LIBREPLACE_NETWORK_CHECKS

metze
(This used to be commit 7f26a5425e706a97cc07c5139b3fea4fde9e4020)

12 years agolib/socket: remove unused configure checks for HAVE_SOCK_SIN_LEN and HAVE_UNIXSOCKET...
Stefan Metzmacher [Fri, 16 May 2008 10:30:49 +0000 (12:30 +0200)]
lib/socket: remove unused configure checks for HAVE_SOCK_SIN_LEN and HAVE_UNIXSOCKET and rely on libreplace

metze
(This used to be commit 5de605bb2ef88a1f3e61c64e557c7f069d0f6dad)

12 years agolib/replace: add checks for HAVE_SOCK_SIN_LEN and HAVE_UNIXSOCKET
Stefan Metzmacher [Fri, 16 May 2008 10:29:21 +0000 (12:29 +0200)]
lib/replace: add checks for HAVE_SOCK_SIN_LEN and HAVE_UNIXSOCKET

Moved from the samba specific locations

metze
(This used to be commit e674128ee2f11596f358ed46104c9d25eb2f754f)

12 years agolib/socket: remove unused configure check for HAVE_WORKING_AF_LOCAL
Stefan Metzmacher [Fri, 16 May 2008 10:13:11 +0000 (12:13 +0200)]
lib/socket: remove unused configure check for HAVE_WORKING_AF_LOCAL

metze
(This used to be commit 1c7905cfb4c77edeb24ac612a544e777cf49e184)

12 years agoInstall python modules by default.
Jelmer Vernooij [Fri, 16 May 2008 14:30:22 +0000 (16:30 +0200)]
Install python modules by default.
(This used to be commit 4c098e4c9f071592e134c979388891f5bf16452d)

12 years agoMake rpc-bench-schannel1 use two wks accounts if --option=torture:multijoin=true
Volker Lendecke [Fri, 16 May 2008 13:51:27 +0000 (15:51 +0200)]
Make rpc-bench-schannel1 use two wks accounts if --option=torture:multijoin=true
(This used to be commit fc3bc3c4a85b0e0ba853f3208a4e934a733cfdc4)

12 years agoFix two C++ warnings
Volker Lendecke [Fri, 16 May 2008 13:44:14 +0000 (15:44 +0200)]
Fix two C++ warnings
(This used to be commit f75f95931c15d57b3111db4dff589be06710aea7)

12 years agotorture: add RPC-BENCH-SCHANNEL1 test
Stefan Metzmacher [Tue, 13 May 2008 07:10:25 +0000 (09:10 +0200)]
torture: add RPC-BENCH-SCHANNEL1 test

This tests SamLogonEx() calls on multiple (smb) connections
in parallel. Sadly the smb connect needs to be serialized
because of the reset on zero VC style behavior of windows.

Call it like this:
bin/smbtorture -U administrator%test ncacn_np:w2k3-101 -W W2K3 RPC-BENCH-SCHANNEL
or
bin/smbtorture -U administrator%test ncacn_np:w2k3-101 -W W2K3 -k no RPC-BENCH-SCHANNEL \
--option="torture:nprocs=4" --option="torture:timelimit=1" \
--extra-user SUB1\\sub1user%testsecret --extra-user SUB1\\sub1user%testsecret
or ...

Later we should add more tests, maybe using only one smb connection
and different netlogon pipes.

We should also test using the DCERPC_PFC_FLAG_CONC_MPX flag and just one
rpc connection.

DCERPC_PFC_FLAG_CONC_MPX /* supports concurrent multiplexing of a single connection.*/

metze
(This used to be commit 901426c24c74390f7b1c78bb7a07c020b6ef73eb)

12 years agoFix an uninitialized variable warning
Volker Lendecke [Thu, 15 May 2008 16:09:56 +0000 (18:09 +0200)]
Fix an uninitialized variable warning
(This used to be commit b3d024676426000380ad86a2a4b83e7b21478978)

12 years agoIn torture_leave_domain, say what account was deleted
Volker Lendecke [Fri, 16 May 2008 13:38:16 +0000 (15:38 +0200)]
In torture_leave_domain, say what account was deleted
(This used to be commit a9a0f24f7299c1480d8047d97c703aca8e94c79f)

12 years agobuild: readd ALL_OBJS which is needed for automatic_dependencies
Stefan Metzmacher [Fri, 16 May 2008 12:40:56 +0000 (14:40 +0200)]
build: readd ALL_OBJS which is needed for automatic_dependencies

metze
(This used to be commit 5ca4f76703485d68b1aa6b38beaf208555c0cbfe)

12 years agoThe following patch calls the op_bind operation for an interface which context is...
Julien Kerihuel [Thu, 15 May 2008 11:55:23 +0000 (13:55 +0200)]
The following patch calls the op_bind operation for an interface which context is altered by dcerpc alter_context requests. It prevents dcerpc_server from returning errors (nca_s_fault_access_denied, then nca_s_fault_context_mismatch in further client requests) and keeps the connection alive.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit 718f9ce6889346c92894e868f0678fbe404a43ab)

12 years agoThis patch adds remaining padding bytes to the dcerpc_fault IDL structure and adds...
Julien Kerihuel [Thu, 15 May 2008 11:54:07 +0000 (13:54 +0200)]
This patch adds remaining padding bytes to the dcerpc_fault IDL structure and adds a const 4 bytes blob to pkt.u.fault.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit 652b8c5f156b357e231057a5a0fbded88f4f9c5f)

12 years agoFix an uninitialized variable introduced by 3045d391
Volker Lendecke [Wed, 14 May 2008 17:49:38 +0000 (19:49 +0200)]
Fix an uninitialized variable introduced by 3045d391

Simo, please check!

Volker
(This used to be commit 0c09d28acf42400d26cc27675e37226060de26d3)

12 years agoRevert "lib/events: system/network.h isn't needed"
Stefan Metzmacher [Wed, 14 May 2008 15:28:42 +0000 (17:28 +0200)]
Revert "lib/events: system/network.h isn't needed"

Somehow this breaks 'make test'...

This reverts commit 59faf3bf670140784d5698bbdc8b86afe8e188ec.

metze
(This used to be commit ece9df0875a32f76af5af913b6a6cdd8eacf0280)

12 years agolib/events: system/network.h isn't needed
Stefan Metzmacher [Wed, 14 May 2008 13:19:43 +0000 (15:19 +0200)]
lib/events: system/network.h isn't needed

metze
(This used to be commit 59faf3bf670140784d5698bbdc8b86afe8e188ec)

12 years agoMake it possible to build libevents standalone.
Simo Sorce [Thu, 24 Apr 2008 21:28:30 +0000 (17:28 -0400)]
Make it possible to build libevents standalone.
(This used to be commit 10415bb738d51afdebbfeae976923e086805ae84)

12 years agolibreplace: try to fix the build on HP-UX which has if_nametoindex() in -lipv6
Stefan Metzmacher [Thu, 8 May 2008 09:01:09 +0000 (11:01 +0200)]
libreplace: try to fix the build on HP-UX which has if_nametoindex() in -lipv6

metze
(This used to be commit da2179ee5d5b6094ab63a9d9d6a8d59893937087)

12 years agolibreplace: make sure system/network.h is only used when AC_LIBREPLACE_NETWORK_CHECKS...
Stefan Metzmacher [Thu, 8 May 2008 08:39:41 +0000 (10:39 +0200)]
libreplace: make sure system/network.h is only used when AC_LIBREPLACE_NETWORK_CHECKS was used

metze
(This used to be commit 3fddd36e119f73a5021370450f9687ef9d252bab)

12 years agolibreplace: export LIBREPLACE_NETWORK_OBJS and LIBREPLACE_NETWORK_LIBS vars
Stefan Metzmacher [Thu, 8 May 2008 08:32:19 +0000 (10:32 +0200)]
libreplace: export LIBREPLACE_NETWORK_OBJS and LIBREPLACE_NETWORK_LIBS vars

metze
(This used to be commit aa7ef1af746319a3d771decd0ec03dabe8b8ad28)

12 years agolibreplace: include inet_ntoa.o when the system one is broken
Stefan Metzmacher [Thu, 8 May 2008 08:27:23 +0000 (10:27 +0200)]
libreplace: include inet_ntoa.o when the system one is broken

metze
(This used to be commit 67845d3471711d24069636d0d4032f9d53748334)

12 years agolibreplace: merge getifaddrs.m4 into libreplace_network.m4
Stefan Metzmacher [Thu, 8 May 2008 08:08:42 +0000 (10:08 +0200)]
libreplace: merge getifaddrs.m4 into libreplace_network.m4

metze
(This used to be commit 0234d397fefee8e1d0dcd3402f748c2251021c90)

12 years agolibreplace: merge getaddrinfo.m4 into libreplace_network.m4
Stefan Metzmacher [Thu, 8 May 2008 08:06:39 +0000 (10:06 +0200)]
libreplace: merge getaddrinfo.m4 into libreplace_network.m4

metze
(This used to be commit 64591d064dc3da6074f0f7539911a6e433d9cc43)

12 years agolibreplace: merge socketpair.m4 into libreplace_network.m4
Stefan Metzmacher [Thu, 8 May 2008 08:04:51 +0000 (10:04 +0200)]
libreplace: merge socketpair.m4 into libreplace_network.m4

metze
(This used to be commit f9f8f93adcc7161ebb18f5a0bf28c73d951a15ad)

12 years agolibreplace: merge inet_pton.m4 into libreplace_network.m4
Stefan Metzmacher [Thu, 8 May 2008 08:02:21 +0000 (10:02 +0200)]
libreplace: merge inet_pton.m4 into libreplace_network.m4

metze
(This used to be commit 3a70274c908e31453942b442351eab8423c1a53d)

12 years agolibreplace: merge inet_ntop.m4 into libreplace_network.m4
Stefan Metzmacher [Thu, 8 May 2008 08:00:58 +0000 (10:00 +0200)]
libreplace: merge inet_ntop.m4 into libreplace_network.m4

metze
(This used to be commit 223ef6c08efb52251d0a772bb0c481b2803cf0ce)

12 years agolibreplace: merge inet_aton.m4 into libreplace_network.m4
Stefan Metzmacher [Thu, 8 May 2008 07:59:16 +0000 (09:59 +0200)]
libreplace: merge inet_aton.m4 into libreplace_network.m4

metze
(This used to be commit fba00736c870f449c0eee32fe0d7b0d539dca51f)

12 years agolibreplace: merge inet_ntoa.m4 into libreplace_network.m4
Stefan Metzmacher [Thu, 8 May 2008 07:58:07 +0000 (09:58 +0200)]
libreplace: merge inet_ntoa.m4 into libreplace_network.m4

metze
(This used to be commit 82e826253b6d18832931dbb5c1dda009889bf9e0)

12 years agolibreplace: merge socket.m4 into libreplace_network.m4
Stefan Metzmacher [Thu, 8 May 2008 07:56:10 +0000 (09:56 +0200)]
libreplace: merge socket.m4 into libreplace_network.m4

metze
(This used to be commit c70eba87dbbac6c2c1e68c343cdd410577c1686f)

12 years agoMerge branch 'nosmbpython' into v4-0-test
Jelmer Vernooij [Mon, 12 May 2008 01:54:53 +0000 (03:54 +0200)]
Merge branch 'nosmbpython' into v4-0-test
(This used to be commit 9683f7434c7ea01631d8adae9d43274c77ff51de)

12 years agoFail earlier on if shared libs can't be built.
Jelmer Vernooij [Sun, 11 May 2008 13:37:09 +0000 (15:37 +0200)]
Fail earlier on if shared libs can't be built.
(This used to be commit 2e8766145ad2e8c666ecdc6c39e97ba302b16e04)

12 years agoAdd extra include directories, hopefully fixes the build on aix53bf.
Jelmer Vernooij [Sun, 11 May 2008 13:31:02 +0000 (15:31 +0200)]
Add extra include directories, hopefully fixes the build on aix53bf.
(This used to be commit ef53ffbc24cc4959acb773f27e72e90b603e81d7)

12 years agoRemove obsolete provisioning library.
Jelmer Vernooij [Sun, 11 May 2008 13:15:27 +0000 (15:15 +0200)]
Remove obsolete provisioning library.
(This used to be commit f123190fb49302968a231639848023a72dfdf2bc)

12 years agoRemove python extension from upgrade script.
Jelmer Vernooij [Sun, 11 May 2008 12:32:06 +0000 (14:32 +0200)]
Remove python extension from upgrade script.
(This used to be commit 5268649b7ef60a2caae9cdf66dfeaf6d2037aba3)

12 years agoProperly support sentinels for binary init functions. This should fix the build.
Jelmer Vernooij [Sun, 11 May 2008 12:08:31 +0000 (14:08 +0200)]
Properly support sentinels for binary init functions. This should fix the build.
(This used to be commit 9ba5962addc0ef2e0d01329ab8178b3f51659e75)

12 years agoAvoid unnecessary headers in lib/torture.
Jelmer Vernooij [Sun, 11 May 2008 03:49:07 +0000 (05:49 +0200)]
Avoid unnecessary headers in lib/torture.
(This used to be commit 43c18ba5cf0f709c4a7bd686d5e6bf613227b61d)

12 years agoRemove smbpython.
Jelmer Vernooij [Sun, 11 May 2008 03:46:40 +0000 (05:46 +0200)]
Remove smbpython.
(This used to be commit e83f7b11963f2996e3ced0251087a09eb55c347c)

12 years agoSet sys.path for running inside source tree.
Jelmer Vernooij [Sun, 11 May 2008 03:45:49 +0000 (05:45 +0200)]
Set sys.path for running inside source tree.
(This used to be commit b507109bb676715f7d9616e13b0e19305e9c2559)

12 years agoUse system python rather than smbpython.
Jelmer Vernooij [Sun, 11 May 2008 03:29:20 +0000 (05:29 +0200)]
Use system python rather than smbpython.
(This used to be commit d3df51cd01e53383dcc05923d248db03bc6f62e9)

12 years agoFix formatting of install message.
Jelmer Vernooij [Sun, 11 May 2008 03:18:09 +0000 (05:18 +0200)]
Fix formatting of install message.
(This used to be commit 371afde9b04694beec4d9e5cb53634315aea86be)

12 years agoRemove extra space that caused issues during make install.
Jelmer Vernooij [Sun, 11 May 2008 03:17:50 +0000 (05:17 +0200)]
Remove extra space that caused issues during make install.
(This used to be commit 20a2fc85665feb4d57340c695c8ecb014825e177)

12 years agoAvoid installing non-public header.
Jelmer Vernooij [Sun, 11 May 2008 03:17:29 +0000 (05:17 +0200)]
Avoid installing non-public header.
(This used to be commit bec87e1878841764104b98f05b34a72a98c8dd71)

12 years agomake sure to always use string version of uuid rather than object.
Jelmer Vernooij [Sun, 11 May 2008 02:36:37 +0000 (04:36 +0200)]
make sure to always use string version of uuid rather than object.
(This used to be commit bcd5fc7dc9899deb9fa84fdeeb21ed2ddb921308)

12 years agoComplete dependencies for python modules (actually matters when built standalone).
Jelmer Vernooij [Sun, 11 May 2008 02:36:05 +0000 (04:36 +0200)]
Complete dependencies for python modules (actually matters when built standalone).
(This used to be commit a89b6d8ad71d71271f30d156de20129866ef6aeb)

12 years agoFix dependency on loadparm.
Jelmer Vernooij [Sun, 11 May 2008 01:31:38 +0000 (03:31 +0200)]
Fix dependency on loadparm.
(This used to be commit 018ee187ffbfd77aa0d5f5da6c3512ea6b37a746)

12 years agoUse consistent function names with the standard Python uuid module that is available...
Jelmer Vernooij [Sun, 11 May 2008 01:31:26 +0000 (03:31 +0200)]
Use consistent function names with the standard Python uuid module that is available in >= 2.4.
(This used to be commit 60d458e3195eef6baf655fee0da7c3f68517e8e6)

12 years agoProperly escape quotes.
Jelmer Vernooij [Sun, 11 May 2008 01:01:27 +0000 (03:01 +0200)]
Properly escape quotes.
(This used to be commit 33094329610097113c244ccd02606661a4c9e2e0)

12 years agoMerge ldb_map into LIBLDB.
Jelmer Vernooij [Sun, 11 May 2008 00:15:32 +0000 (02:15 +0200)]
Merge ldb_map into LIBLDB.
(This used to be commit 4d7925f953bc9d1fcffb4a4dd268b763c18ceae6)

12 years agoFix LDB module initialization when using external ldb.
Jelmer Vernooij [Sat, 10 May 2008 23:53:11 +0000 (01:53 +0200)]
Fix LDB module initialization when using external ldb.
(This used to be commit b7b4aff8b52742d69526dc0ef5da2fe3c05e3af8)

12 years agoFix torture module initializion.
Jelmer Vernooij [Sat, 10 May 2008 21:46:51 +0000 (23:46 +0200)]
Fix torture module initializion.
(This used to be commit d5bf4e9065303b54421a6f35b213a22f062d27d4)

12 years agoRevert "Remove copy of torture file."
Jelmer Vernooij [Sat, 10 May 2008 21:38:56 +0000 (23:38 +0200)]
Revert "Remove copy of torture file."

This reverts commit 89bfca2da2b614e979a20c9a293b798ed7ae15ae.
(This used to be commit c6c4349c44cb6479fa7aa129931ff9ac88068ba6)

12 years agoInstall standalone python modules (so we can use stock python rather than smbpython).
Jelmer Vernooij [Sat, 10 May 2008 21:25:50 +0000 (23:25 +0200)]
Install standalone python modules (so we can use stock python rather than smbpython).
(This used to be commit bb5c9fc64b6ad275abdd98a19f018953c9d79cbd)

12 years agoFix soversion for libtorture and libsamba-hostconfig.
Jelmer Vernooij [Sat, 10 May 2008 20:30:00 +0000 (22:30 +0200)]
Fix soversion for libtorture and libsamba-hostconfig.
(This used to be commit 1f698b96c7962a453f037815c9160cd8d7dde3f6)

12 years agoRemove copy of torture file.
Jelmer Vernooij [Sat, 10 May 2008 20:26:14 +0000 (22:26 +0200)]
Remove copy of torture file.
(This used to be commit 89bfca2da2b614e979a20c9a293b798ed7ae15ae)

12 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
Jelmer Vernooij [Sat, 10 May 2008 19:29:42 +0000 (21:29 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
(This used to be commit cce1659d3382495d84cd086bd105903211c1c1de)

12 years agoFix building with system-provided LDB without breaking anything else :-)
Jelmer Vernooij [Sat, 10 May 2008 19:29:09 +0000 (21:29 +0200)]
Fix building with system-provided LDB without breaking anything else :-)
(This used to be commit ce9d759497ea49e54e9d96422ad07368e2925872)

12 years agoRevert "Fix building with system-provided LDB."
Jelmer Vernooij [Sat, 10 May 2008 18:59:48 +0000 (20:59 +0200)]
Revert "Fix building with system-provided LDB."

This reverts commit fbfbc1f163520b3b9a4a3bf8bdddf26749cc7255.
(This used to be commit 9d1d2abed19c3b8378a78d4b81503b427d401ab5)

12 years agoClean up some git merges gone wrong.
Jelmer Vernooij [Sat, 10 May 2008 18:59:17 +0000 (20:59 +0200)]
Clean up some git merges gone wrong.
(This used to be commit 42eb6b33462228467e65a51bbf624c481802b090)

12 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
Jelmer Vernooij [Sat, 10 May 2008 18:44:59 +0000 (20:44 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
(This used to be commit cca75ae22d225dda2e96907daa3c24a35bb281cd)

12 years agoFix building with system-provided LDB.
Jelmer Vernooij [Sat, 10 May 2008 18:17:02 +0000 (20:17 +0200)]
Fix building with system-provided LDB.
(This used to be commit fbfbc1f163520b3b9a4a3bf8bdddf26749cc7255)

12 years agoMerge branch 'v4-0-test' into v4-0-gmake3
Jelmer Vernooij [Sat, 10 May 2008 16:08:00 +0000 (18:08 +0200)]
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)

12 years agoFix case.
Jelmer Vernooij [Sat, 10 May 2008 12:26:08 +0000 (14:26 +0200)]
Fix case.
(This used to be commit a90971ea0c43ce3b42b95aef5973139576b51959)

12 years agoFix location of torture pc file.
Jelmer Vernooij [Fri, 9 May 2008 22:48:11 +0000 (00:48 +0200)]
Fix location of torture pc file.
(This used to be commit 3e2c067ec734d8c14006ce9bec75a8ffccbf72c1)

12 years agoFix installation of pidl perl files, torture pc file.
Jelmer Vernooij [Fri, 9 May 2008 22:46:25 +0000 (00:46 +0200)]
Fix installation of pidl perl files, torture pc file.
(This used to be commit 32da606e3759026c2744f853cd8948333ed0579c)

12 years agoFix typo.
Jelmer Vernooij [Thu, 8 May 2008 11:43:45 +0000 (13:43 +0200)]
Fix typo.
(This used to be commit bd089818a3182698dfe85039c1b2e22d8c2835bb)

12 years agoAdd undefined symbol flag for AIX.
William Jojo [Thu, 8 May 2008 10:41:57 +0000 (12:41 +0200)]
Add undefined symbol flag for AIX.
(This used to be commit dabdf24e86f038e3afc67532fa5bf60a37992161)

12 years agoFix typo.
Jelmer Vernooij [Thu, 8 May 2008 10:40:56 +0000 (12:40 +0200)]
Fix typo.
(This used to be commit 1def988ef28de85b3f97172bdbf935a4fec4dec3)

12 years agoFix link flags for ldb and tdb Python modules.
Jelmer Vernooij [Thu, 8 May 2008 09:56:32 +0000 (11:56 +0200)]
Fix link flags for ldb and tdb Python modules.
(This used to be commit 787a32fdef9d761d64839f489cca0b0684f9a9fd)

12 years agoInstall session.h, required by OpenChange's proxy.
Jelmer Vernooij [Thu, 8 May 2008 08:53:03 +0000 (10:53 +0200)]
Install session.h, required by OpenChange's proxy.
(This used to be commit 44d8b70004247729862b194ea66444e0cf296660)

12 years agolibreplace: also use AC_LIBREPLACE_NETWORK_CHECKS for the standalone build
Stefan Metzmacher [Wed, 7 May 2008 15:38:41 +0000 (17:38 +0200)]
libreplace: also use AC_LIBREPLACE_NETWORK_CHECKS for the standalone build

metze
(This used to be commit 04f4523ed032946b8f0e74ac6f7458010159e3bb)

12 years agolibreplace: use AC_LIBREPLACE_NETWORK_CHECKS only for samba
Stefan Metzmacher [Wed, 7 May 2008 15:15:36 +0000 (17:15 +0200)]
libreplace: use AC_LIBREPLACE_NETWORK_CHECKS only for samba

metze
(This used to be commit 3451b54bf7f5e37a589ec261d28c2a8b6f9788ed)

12 years agolibreplace: split out network checks into a AC_LIBREPLACE_NETWORK_CHECKS macro
Stefan Metzmacher [Wed, 7 May 2008 14:50:19 +0000 (16:50 +0200)]
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)

12 years agopvfs: remove XATTR_ATTRIB_FLAG_STICKY_WRITE_TIME code
Stefan Metzmacher [Wed, 7 May 2008 13:46:22 +0000 (15:46 +0200)]
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)

12 years agolibreplace: always provide utime() and utimes()
Stefan Metzmacher [Wed, 7 May 2008 11:10:31 +0000 (13:10 +0200)]
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)

12 years agobuild: fix path to lex_compile.sh
Stefan Metzmacher [Wed, 7 May 2008 06:59:06 +0000 (08:59 +0200)]
build: fix path to lex_compile.sh

metze
(This used to be commit 6a1b7f56afa7475880f4eb5f0b669fd2b95a1d8f)

12 years agotorture: use dom_idx after determining it in samba3rpc.c:get_usr_handle()
Michael Adam [Tue, 6 May 2008 13:26:37 +0000 (15:26 +0200)]
torture: use dom_idx after determining it in samba3rpc.c:get_usr_handle()

Michael
(This used to be commit 334d76c3559870bd9dc9ef55c9b1a7ce21ee9d4c)

12 years agolibreplace: check how portable utimes() and futimes() are
Stefan Metzmacher [Tue, 6 May 2008 10:38:55 +0000 (12:38 +0200)]
libreplace: check how portable utimes() and futimes() are

metze
(This used to be commit 8798ce3c744025b94973784dcb44d099427ef190)

12 years agoTiago Batista posted a patch to fix the build:
Tiago Batista [Mon, 5 May 2008 22:12:03 +0000 (08:12 +1000)]
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)

12 years agoFix the build after the auth/ -> auth/ntlm/ rename
Andrew Bartlett [Mon, 5 May 2008 09:28:38 +0000 (19:28 +1000)]
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)

12 years agoMove NTLM authentication details into auth/ntlm
Andrew Bartlett [Mon, 5 May 2008 05:23:57 +0000 (15:23 +1000)]
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)

12 years agoAdd a new implementation of security=server.
Andrew Bartlett [Mon, 5 May 2008 03:21:18 +0000 (13:21 +1000)]
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)

12 years agoAllow an NTLM response to be specified into the auth subsystem.
Andrew Bartlett [Mon, 5 May 2008 02:58:15 +0000 (12:58 +1000)]
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)

12 years agoReorder this function in the file, so it reads bottom-up.
Andrew Bartlett [Mon, 5 May 2008 02:57:23 +0000 (12:57 +1000)]
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)

12 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Andrew Bartlett [Thu, 1 May 2008 06:41:36 +0000 (16:41 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit 6bb4c1e6a38a842787177a399bf88f05015f5ec0)

12 years agoSplit up lcov target.
Jelmer Vernooij [Sun, 27 Apr 2008 22:29:50 +0000 (23:29 +0100)]
Split up lcov target.
(This used to be commit 38f455e0054acc1fdaea267e03f8aad337309cf2)

12 years agoFix header locations.
Jelmer Vernooij [Sun, 27 Apr 2008 14:04:33 +0000 (15:04 +0100)]
Fix header locations.
(This used to be commit 4fc11bd97d6b65569742a7f1c695b7ecbc76919a)

12 years agoMove subunit infrastructure code into lib/torture.
Jelmer Vernooij [Sun, 27 Apr 2008 13:02:46 +0000 (14:02 +0100)]
Move subunit infrastructure code into lib/torture.
(This used to be commit 5b44d8121de7735d69e6238a1442aff034a8ebd3)

12 years agoFix dependencies on gensec_krb5 and the NTLMSSP code.
Andrew Bartlett [Sat, 26 Apr 2008 08:50:15 +0000 (09:50 +0100)]
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)

12 years agoRevert to using the old CIFS connection API.
Andrew Bartlett [Fri, 25 Apr 2008 14:59:22 +0000 (15:59 +0100)]
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)

12 years agoMake the composite 'connect to server' code useful for security=server
Andrew Bartlett [Fri, 25 Apr 2008 14:08:52 +0000 (15:08 +0100)]
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)

12 years agoDon't compile files twice when the compilation fails.
Andrew Bartlett [Fri, 25 Apr 2008 14:08:23 +0000 (15:08 +0100)]
Don't compile files twice when the compilation fails.

Andrew Bartlett
(This used to be commit 53ea233649d12d77233611e272cf5f470177571c)

12 years agoWhen a test harness program fails, make the testsuite fail.
Andrew Bartlett [Fri, 25 Apr 2008 14:05:07 +0000 (15:05 +0100)]
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)

12 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
Jelmer Vernooij [Fri, 25 Apr 2008 09:04:20 +0000 (10:04 +0100)]
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)

12 years agoRemove vampire.py as the 'net' binary is the right interface.
Andrew Bartlett [Fri, 25 Apr 2008 08:25:14 +0000 (09:25 +0100)]
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)

12 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Andrew Bartlett [Fri, 25 Apr 2008 08:24:12 +0000 (09:24 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit 2c3a3d0134b5fe4cd9dfdb05d1b140b2c9b502f1)

12 years agoAdd comment explaining why io.in.workgroup isn't important.
Andrew Bartlett [Thu, 24 Apr 2008 15:27:36 +0000 (16:27 +0100)]
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)

12 years agoDistinguish between private and public dependencies in the dot file.
Jelmer Vernooij [Thu, 24 Apr 2008 14:22:07 +0000 (15:22 +0100)]
Distinguish between private and public dependencies in the dot file.
(This used to be commit 0690ce5211e659d5b8670d533fde77cf97048884)