kai/samba.git
15 years agoRevert addition of 'mailslot' parameter.
Andrew Bartlett [Tue, 20 May 2008 01:54:50 +0000 (11:54 +1000)]
Revert addition of 'mailslot' parameter.

It turns out that the mailslot name (and a useful private prointer) is
provided in the struct dgram_mailslot_handler.

Andrew Bartlett
(This used to be commit e17804b8857fdb3c182c5e886323b9d6c194c2ff)

15 years agoFix prototype generation in new syntax for netlogon.c
Andrew Bartlett [Tue, 20 May 2008 01:24:38 +0000 (11:24 +1000)]
Fix prototype generation in new syntax for netlogon.c

Andrew Bartlett
(This used to be commit b6f91ce75ae401bed515012fa3019a6241e7ff6d)

15 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
Andrew Bartlett [Tue, 20 May 2008 01:03:45 +0000 (11:03 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit 67b47606b9c5b794d8feea5ba200098e9b9e33e3)

15 years agoAdd the core of the new CLDAP/NBT 'netlogon' parsing library.
Andrew Bartlett [Tue, 20 May 2008 00:58:43 +0000 (10:58 +1000)]
Add the core of the new CLDAP/NBT 'netlogon' parsing library.

This uses some hand-adjusted PIDL output to cope with some 'oddities'
in the parsing of the _EX varient of the netlogon packet.

Andrew Bartlett
(This used to be commit 6e357d00474de65395ca51524d3b85d00691baf2)

15 years agoUpdate tdb version number.
Jelmer Vernooij [Mon, 19 May 2008 23:52:11 +0000 (01:52 +0200)]
Update tdb version number.
(This used to be commit eae17ae8ecdcb83fdb756189a9d5609a192371a4)

15 years agoFix proto generation.
Jelmer Vernooij [Mon, 19 May 2008 23:02:05 +0000 (01:02 +0200)]
Fix proto generation.
(This used to be commit 7385d9641d49b94c83fd2c75e57c9623d21fcdb0)

15 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
Andrew Bartlett [Mon, 19 May 2008 22:27:08 +0000 (08:27 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit 69bac908bec3216d2f17042aa05ab8d4b55b0918)

15 years agoDon't regenerate pam_errors.h any more.
Andrew Bartlett [Mon, 19 May 2008 22:06:50 +0000 (08:06 +1000)]
Don't regenerate pam_errors.h any more.

Due to the new rules on prototypes, it must be a static header file.

Andrew Bartlett
(This used to be commit cf60a9b34ec2419b2bc03a37190cb17ad4cf3d5f)

15 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
Andrew Bartlett [Mon, 19 May 2008 22:03:35 +0000 (08:03 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local

Fix config.mk due to changing syntax.

Conflicts:

source/libcli/config.mk
source/nbt_server/config.mk
(This used to be commit 6a1c76f29f78183f44dfac6f468c5e728d2cb2cf)

15 years agoAdd __repr__ implementation for Tdb.
Jelmer Vernooij [Mon, 19 May 2008 21:36:33 +0000 (23:36 +0200)]
Add __repr__ implementation for Tdb.
(This used to be commit 205699ed663a3c6d27695dee25bf26978615b475)

15 years agoFix dependency.
Jelmer Vernooij [Mon, 19 May 2008 21:36:11 +0000 (23:36 +0200)]
Fix dependency.
(This used to be commit d8fe782dc200907e0364c623e187c51f4d44edb2)

15 years agoAdd __repr__ implementation for Ldb.
Jelmer Vernooij [Mon, 19 May 2008 21:12:13 +0000 (23:12 +0200)]
Add __repr__ implementation for Ldb.
(This used to be commit 5607aea07f66f09fd5b33842d07d2fbbf44d13e7)

15 years agoAdd __repr__ implementations for ldb.Message, ldb.MessageElement and ldb.Dn.
Jelmer Vernooij [Mon, 19 May 2008 21:07:04 +0000 (23:07 +0200)]
Add __repr__ implementations for ldb.Message, ldb.MessageElement and ldb.Dn.
(This used to be commit b9119c0f0f524d43ff09825dffb24a5e77a240f4)

15 years agoFix a memleak in irpc_remove_name
Volker Lendecke [Mon, 19 May 2008 13:53:09 +0000 (15:53 +0200)]
Fix a memleak in irpc_remove_name

First, even when length==0 tdb_fetch might return something. Second, for some
weird reason there might be less data than necessary for a single server id.
(This used to be commit 49b04ca7aadf264e500d83bc8d3cb5173a86184e)

15 years agobuild: only add enabled subsystems and modules to ALL_OBJS
Stefan Metzmacher [Mon, 19 May 2008 12:15:15 +0000 (14:15 +0200)]
build: only add enabled subsystems and modules to ALL_OBJS

metze
(This used to be commit cc07bd86e270c8016acd0f685d699e4a3e63cfb1)

15 years agoRevert some absolute paths.
Jelmer Vernooij [Mon, 19 May 2008 00:19:32 +0000 (02:19 +0200)]
Revert some absolute paths.
(This used to be commit b4613e81351fa0477d0c76a19fb0474a79f8689f)

15 years agoMove IDL build script to rpc directory, make various bits and pieces easier to use...
Jelmer Vernooij [Mon, 19 May 2008 00:03:00 +0000 (02:03 +0200)]
Move IDL build script to rpc directory, make various bits and pieces easier to use externally.
(This used to be commit 8328ff76416df5a6e05461d3a19f510b76f2e902)

15 years agoFix a bunch of dependencies.
Jelmer Vernooij [Sun, 18 May 2008 21:40:23 +0000 (23:40 +0200)]
Fix a bunch of dependencies.
(This used to be commit a63f458462d207d215a6e4ef8e480b0c8daedf6a)

15 years agoFix a couple (well, little more than that..) of typos.
Jelmer Vernooij [Sun, 18 May 2008 21:02:47 +0000 (23:02 +0200)]
Fix a couple (well, little more than that..) of typos.
(This used to be commit a6b52119940a900fb0de3864b8bca94e2965cc24)

15 years agoCreate prototype headers from Makefile directory, without smb_build in the middle.
Jelmer Vernooij [Sun, 18 May 2008 20:30:08 +0000 (22:30 +0200)]
Create prototype headers from Makefile directory, without smb_build in the middle.
(This used to be commit f4a77b96f9c17d853348b70794026e5b9e384942)

15 years agoMerge branch 'v4-0-test' of /home/jelmer/samba34.git/samba4 into v4-0-test
Jelmer Vernooij [Sun, 18 May 2008 19:10:41 +0000 (21:10 +0200)]
Merge branch 'v4-0-test' of /home/jelmer/samba34.git/samba4 into v4-0-test

Conflicts:

source/build/smb_build/makefile.pm
(This used to be commit 57b57b1ff9a2ddf087fc6cceaf6c9afb4f8f0135)

15 years agoTypo, formatting fixes.
Jelmer Vernooij [Sun, 18 May 2008 19:10:09 +0000 (21:10 +0200)]
Typo, formatting fixes.
(This used to be commit 5c961c0b41e0a41bd41705a103595af7405132a4)

15 years agoAvoid smb_build for prototype headers in some places.
Jelmer Vernooij [Sun, 18 May 2008 19:09:04 +0000 (21:09 +0200)]
Avoid smb_build for prototype headers in some places.
(This used to be commit 4876c4efbbafb4e0afa3554cd9f748ab591a2927)

15 years agoMerge branch 'v4-0-test' of /home/jelmer/samba4 into v4-0-test
Jelmer Vernooij [Sun, 18 May 2008 18:35:01 +0000 (20:35 +0200)]
Merge branch 'v4-0-test' of /home/jelmer/samba4 into v4-0-test
(This used to be commit 63fd551a159b3ad4e314f551d65b7d723bbe485a)

15 years agoUse variables for source directory in remaining subsystems.
Jelmer Vernooij [Sun, 18 May 2008 18:30:46 +0000 (20:30 +0200)]
Use variables for source directory in remaining subsystems.
(This used to be commit 6b6b2196a8a8d9e741f5c399185ded7a16938da0)

15 years agoUse variables for source directory in a couple more places.
Jelmer Vernooij [Sun, 18 May 2008 17:56:17 +0000 (19:56 +0200)]
Use variables for source directory in a couple more places.
(This used to be commit 28f4a8bc2c9b4158e74e1284ff9df068388c3b3d)

15 years agoUse variables for source directory in a couple more places.
Jelmer Vernooij [Sun, 18 May 2008 17:54:27 +0000 (19:54 +0200)]
Use variables for source directory in a couple more places.
(This used to be commit c41bd3005f5f0b9cfd3709fc9217b4a401d265b4)

15 years agoUse variables for source directory in a couple more places.
Jelmer Vernooij [Sun, 18 May 2008 17:46:09 +0000 (19:46 +0200)]
Use variables for source directory in a couple more places.
(This used to be commit 2860a7db5968c7007522cdb300eba390da929ab8)

15 years agoUse variables for source directory in a couple more places.
Jelmer Vernooij [Sun, 18 May 2008 17:41:33 +0000 (19:41 +0200)]
Use variables for source directory in a couple more places.
(This used to be commit 56bb2907c67d55967f54ce74b029f05067a187c5)

15 years agoMerge branch 'v4-0-test' of /home/jelmer/samba4 into v4-0-test
Jelmer Vernooij [Sun, 18 May 2008 17:37:58 +0000 (19:37 +0200)]
Merge branch 'v4-0-test' of /home/jelmer/samba4 into v4-0-test
(This used to be commit 3a83d4ebd41908aa0f88eec5b05156112ea0ca7b)

15 years agoUse variable for param src dir.
Jelmer Vernooij [Sun, 18 May 2008 17:37:24 +0000 (19:37 +0200)]
Use variable for param src dir.
(This used to be commit f97bc5735803a73181030e6d7db2862ebc1b7f4b)

15 years agoMerge branch 'v4-0-test' of /home/jelmer/samba4 into v4-0-test
Jelmer Vernooij [Sun, 18 May 2008 17:12:00 +0000 (19:12 +0200)]
Merge branch 'v4-0-test' of /home/jelmer/samba4 into v4-0-test
(This used to be commit 3cff5bc25ad894bef6ed65566d9d692968092760)

15 years agoBuild system doesn't do make variable expansion...
Jelmer Vernooij [Sun, 18 May 2008 17:11:47 +0000 (19:11 +0200)]
Build system doesn't do make variable expansion...
(This used to be commit 16a04d9af4cc33daafe32bc45a404959924bd33e)

15 years agoMerge branch 'v4-0-test' of /home/jelmer/samba4 into v4-0-test
Jelmer Vernooij [Sun, 18 May 2008 17:10:49 +0000 (19:10 +0200)]
Merge branch 'v4-0-test' of /home/jelmer/samba4 into v4-0-test
(This used to be commit 201da6d5d05ed624bd9f4bd535969077a3b8b3ba)

15 years agoUse src dir.
Jelmer Vernooij [Sun, 18 May 2008 17:10:37 +0000 (19:10 +0200)]
Use src dir.
(This used to be commit 63f2b66f0e1120a516d3dfcd03b38db2e4aaddd0)

15 years agoMerge branch 'v4-0-test' of /home/jelmer/samba4 into v4-0-test
Jelmer Vernooij [Sun, 18 May 2008 17:07:17 +0000 (19:07 +0200)]
Merge branch 'v4-0-test' of /home/jelmer/samba4 into v4-0-test
(This used to be commit ad58defe129d25ea2e8a598934800610189747e8)

15 years agoUse variables for source path in libnet/ and scripting/python.
Jelmer Vernooij [Sun, 18 May 2008 17:07:07 +0000 (19:07 +0200)]
Use variables for source path in libnet/ and scripting/python.
(This used to be commit fb10a81b9484642099ecbe896eabe00a4417bc42)

15 years agoMerge branch 'v4-0-test' of /home/jelmer/samba4 into v4-0-test
Jelmer Vernooij [Sun, 18 May 2008 16:55:38 +0000 (18:55 +0200)]
Merge branch 'v4-0-test' of /home/jelmer/samba4 into v4-0-test
(This used to be commit 84c9fbe8466e013e501eecf9b2e7981c1df8232c)

15 years agoMove templates to a separate file.
Jelmer Vernooij [Sun, 18 May 2008 16:55:14 +0000 (18:55 +0200)]
Move templates to a separate file.
(This used to be commit d9770b651f61a0b70d6afa4610fadc7f199e1d98)

15 years agoAvoid use of relative paths.
Jelmer Vernooij [Sun, 18 May 2008 16:52:33 +0000 (18:52 +0200)]
Avoid use of relative paths.
(This used to be commit 8a4f030261d15ea78280d51877711ceea815885a)

15 years agoSimplify argument handling.
Jelmer Vernooij [Sun, 18 May 2008 16:33:24 +0000 (18:33 +0200)]
Simplify argument handling.
(This used to be commit f305c443db8e48efa80eeda8f83073b475dc3fee)

15 years agoFix --output argument.
Jelmer Vernooij [Sun, 18 May 2008 16:33:05 +0000 (18:33 +0200)]
Fix --output argument.
(This used to be commit a38e473c9e382465ae30f3ca7ae12de500aec5f7)

15 years agoAllow specifying different input file to smb_build.
Jelmer Vernooij [Sun, 18 May 2008 16:08:37 +0000 (18:08 +0200)]
Allow specifying different input file to smb_build.
(This used to be commit c4bfc0b8daf2e288a278936b279bb4f7848d78e9)

15 years agoMove writing of data.mk file to m4 macro.
Jelmer Vernooij [Sun, 18 May 2008 15:55:50 +0000 (17:55 +0200)]
Move writing of data.mk file to m4 macro.
(This used to be commit 7fee112d2b86b423c397118f0333065825ea3518)

15 years agoMove writing autoconf vars into files into m4 macros.
Jelmer Vernooij [Sun, 18 May 2008 15:48:50 +0000 (17:48 +0200)]
Move writing autoconf vars into files into m4 macros.
(This used to be commit 3ce8a4bb5568bb798c40034e3fa6a613ad2bf43b)

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

15 years agoEnsure we don't send a reply if we couldn't push the CLDAP blob
Andrew Bartlett [Sat, 17 May 2008 11:30:36 +0000 (21:30 +1000)]
Ensure we don't send a reply if we couldn't push the CLDAP blob

Andrew Bartlett
(This used to be commit a8ec36eba79f96940f314520f97d23181bc9cfc5)

15 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
Andrew Bartlett [Sat, 17 May 2008 11:16:22 +0000 (21:16 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit 60579269d1e0bebce5b595ef95d68fd4bf781cfd)

15 years agoHandle netbios domains in the CLDAP server too.
Andrew Bartlett [Sat, 17 May 2008 10:53:29 +0000 (20:53 +1000)]
Handle netbios domains in the CLDAP server too.

This commit also fixes a number of issues found by the NBT-DGRAM and
LDAP-CLDAP tests.

Andrew Bartlett
(This used to be commit 8f99a4b94e95f8bde0f80f92d4e57020c62cfaab)

15 years agoModify the LDAP-CLDAP test for better coverage.
Andrew Bartlett [Sat, 17 May 2008 10:52:23 +0000 (20:52 +1000)]
Modify the LDAP-CLDAP test for better coverage.

This fixes up some compiled in constants and checks a couple more NT
versions.

Andrew Bartlett
(This used to be commit ca1b3fe3add06dc22361d5a5fe7e63a6abb1697c)

15 years agoShow that the NTLOGON and NETLOGON mailslots are *very* similar.
Andrew Bartlett [Sat, 17 May 2008 03:24:29 +0000 (13:24 +1000)]
Show that the NTLOGON and NETLOGON mailslots are *very* similar.

Rework the mailslot infrustructure to cope, passing down the mailslot
name so that we can implement both in the same callback function.

Andrew Bartlett
(This used to be commit 89fdd77891529aa74bb920994b8b5959aae8ac2d)

15 years agoExplain that the sid must be absent on the NTLOGON mailslot.
Andrew Bartlett [Sat, 17 May 2008 02:44:35 +0000 (12:44 +1000)]
Explain that the sid must be absent on the NTLOGON mailslot.

Andrew Bartlett
(This used to be commit a7983387f7a624f6bf5c2fbfa41f849ac4471147)

15 years agoMake the IRPC GetDC request use SAM_LOGON packets.
Andrew Bartlett [Sat, 17 May 2008 02:43:42 +0000 (12:43 +1000)]
Make the IRPC GetDC request use SAM_LOGON packets.

This also moves the request to the new netlogon structures.

Andrew Bartlett
(This used to be commit 7ed4ba8d1a2ced013feafc1f0ca95595ac66bcbc)

15 years agoConvert the CLDAP server to use the new netlogon structures.
Andrew Bartlett [Sat, 17 May 2008 02:41:42 +0000 (12:41 +1000)]
Convert the CLDAP server to use the new netlogon structures.

This also makes the CLDAP server the place where we create the
NETLOGON SAMLOGON replies, regardless of protocol (NBT mailslots or
CLDAP).

Andrew Bartlett
(This used to be commit 8b00a9429470c9ad3646255c340e6a963bd226bd)

15 years agoTest the use of the domain SID on the NETLOGON mailslot
Andrew Bartlett [Sat, 17 May 2008 02:39:38 +0000 (12:39 +1000)]
Test the use of the domain SID on the NETLOGON mailslot

Interestingly, despite these packets being very similar, this fails on
NTLOGON - no reply is received.

Andrew Bartlett
(This used to be commit 25ab0ad0a0216ef18e0aaeec27c7833d8c68ca30)

15 years agoPut back the old netlogn parsing code - for the request only
Andrew Bartlett [Sat, 17 May 2008 02:38:58 +0000 (12:38 +1000)]
Put back the old netlogn parsing code - for the request only

This gives us seperate parsing functions for requests and replies.

Andrew Bartlett
(This used to be commit d2d3d15a8edd58cda7543feebdeb52178400615b)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

15 years agoRework the CLDAP and NBT netlogon requests and responses.
Andrew Bartlett [Fri, 16 May 2008 03:03:01 +0000 (13:03 +1000)]
Rework the CLDAP and NBT netlogon requests and responses.

This now matches section 7.3.3 of the MS-ATDS specification, and all
our current tests pass against windows.  There is still more testing
to do, and the server implementation to complete.

Andrew Bartlett
(This used to be commit 431d0c03965cbee85691cd0dc1e2a509c1a2b717)

15 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
Andrew Bartlett [Wed, 14 May 2008 22:08:43 +0000 (08:08 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit 618400fe7d1f469150b82e0aebc89b2104de116f)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

15 years agoRemove JavaScript provision-backend script
Andrew Bartlett [Sun, 11 May 2008 23:46:50 +0000 (09:46 +1000)]
Remove JavaScript provision-backend script

The library it relied on has already been removed.

Andrew Bartlett
(This used to be commit 97427731a520283fdd3c8e582ac1f8be7699013e)

15 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
Andrew Bartlett [Sun, 11 May 2008 23:44:27 +0000 (09:44 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit 61c31dc7cf649bc6f2d14bc8637e50ead9b9210a)

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

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

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

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

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

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

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

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