nivanova/samba-autobuild/.git
16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

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

16 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)

16 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)

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

16 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)

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

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 years agoAdd documentation to session token functions.
Andrew Bartlett [Thu, 24 Apr 2008 12:30:36 +0000 (13:30 +0100)]
Add documentation to session token functions.
(This used to be commit ec4a108d1d35cd4bb2170f1bb122546266b9b745)

16 years agoRemove unused KANJI and terminal code options.
Andrew Bartlett [Thu, 24 Apr 2008 10:49:41 +0000 (11:49 +0100)]
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)

16 years agolibnet: Make UserInfo accept a SID as input as well, fix wb_cmd_getpwuid
Kai Blin [Sat, 19 Apr 2008 12:09:18 +0000 (14:09 +0200)]
libnet: Make UserInfo accept a SID as input as well, fix wb_cmd_getpwuid
(This used to be commit 5f3a70f285ad8a412105c0e498e486f93fc279bc)

16 years agotestsuite: skip RAW-BENCH-LOOKUP by default.
James Peach [Wed, 23 Apr 2008 18:26:38 +0000 (11:26 -0700)]
testsuite: skip RAW-BENCH-LOOKUP by default.
(This used to be commit 8a8449c95336d8019e9105fba6ef09473aae813b)

16 years agoRevert "Add port number for ncacn_http epmapper."
Simo Sorce [Wed, 23 Apr 2008 12:54:57 +0000 (08:54 -0400)]
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)

16 years agoFix more failing tests to pass the event context.
Simo Sorce [Tue, 22 Apr 2008 20:37:54 +0000 (16:37 -0400)]
Fix more failing tests to pass the event context.
(This used to be commit d6c5d8baf0c48a6078a47bba33993a841ff526d9)

16 years agoRemove temporary debug statement
Simo Sorce [Tue, 22 Apr 2008 20:37:27 +0000 (16:37 -0400)]
Remove temporary debug statement
(This used to be commit 10780e638af8afc3ffa261255200779aea732694)

16 years agoFix event context initialization for Python bindings.
Jelmer Vernooij [Tue, 22 Apr 2008 20:33:34 +0000 (22:33 +0200)]
Fix event context initialization for Python bindings.
(This used to be commit 132efc779ede27898765320a13bdde0b5256102b)

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Jelmer Vernooij [Tue, 22 Apr 2008 20:19:46 +0000 (22:19 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit 10a1a53d8beb56b7e12149c50e2685a1578413b9)