kai/samba.git
14 years agoadded EAs in the generated SMB2 create operation
Andrew Tridgell [Thu, 22 May 2008 05:35:52 +0000 (15:35 +1000)]
added EAs in the generated SMB2 create operation
(This used to be commit 607bf6a946ffd7f768bda44c461ee82fcfc101c1)

14 years agoadded --maskindexing and qfileinfo testing
Andrew Tridgell [Thu, 22 May 2008 04:51:32 +0000 (14:51 +1000)]
added --maskindexing and qfileinfo testing

 - added --maskindexing to mask the 0x2000 noindex bit in file
   attributes
 - added testing of qfileinfo in gentest_smb2
(This used to be commit 3883a7286fd32cd6c77269f67d1366c3b946b5a0)

14 years agominor cleanup in SMB2 getinfo test
Andrew Tridgell [Thu, 22 May 2008 04:50:36 +0000 (14:50 +1000)]
minor cleanup in SMB2 getinfo test
(This used to be commit b139b471072f20288f126b5a9ee7613cc6c40681)

14 years agofixed parsing of the SMB2 ALL_INFO qfileinfo level
Andrew Tridgell [Thu, 22 May 2008 04:49:21 +0000 (14:49 +1000)]
fixed parsing of the SMB2 ALL_INFO qfileinfo level
(This used to be commit a7be5ba22e0cf2c61501f5a05e64673f31ba145c)

14 years agoadded SMB2 gentest generation of SMB2 echo packets
Andrew Tridgell [Thu, 22 May 2008 03:43:04 +0000 (13:43 +1000)]
added SMB2 gentest generation of SMB2 echo packets
(This used to be commit 8f7cfa5d2e190ddb74ba859a3f68ec0ed33ae089)

14 years agobadly formed SMB2 packets get NT_STATUS_INVALID_PARAMETER
Andrew Tridgell [Thu, 22 May 2008 03:14:55 +0000 (13:14 +1000)]
badly formed SMB2 packets get NT_STATUS_INVALID_PARAMETER
(This used to be commit 1c5dd2d1b655218f875a4e512ed3e94fee624fe4)

14 years agofixes to the SMB2 lock test after recent SMB2 locking changes
Andrew Tridgell [Thu, 22 May 2008 03:14:36 +0000 (13:14 +1000)]
fixes to the SMB2 lock test after recent SMB2 locking changes
(This used to be commit de7626e1c29f04e54afb6d95f4051bc52b17dd80)

14 years agofixed SMB2 flush call, and added flush to gentest_smb2
Andrew Tridgell [Wed, 21 May 2008 12:51:21 +0000 (22:51 +1000)]
fixed SMB2 flush call, and added flush to gentest_smb2
(This used to be commit c52fe1fe1c77636d87355d3c4baa66e052fe9008)

14 years agofixed SMB2 locking
Andrew Tridgell [Wed, 21 May 2008 12:12:20 +0000 (22:12 +1000)]
fixed SMB2 locking

- SMB2 locking is different in several ways from SMB locking. To fix
  it properly we will need a new generic mapping structure for
  locking, but for now do a best effort mapping

- added locking to gentest_smb2
(This used to be commit ea6d9cf602302adafe0f9d5f5f90a9b26d1ead6f)

14 years agoFix dependencies for ldb instancetype module.
Jelmer Vernooij [Wed, 21 May 2008 10:38:47 +0000 (12:38 +0200)]
Fix dependencies for ldb instancetype module.
(This used to be commit 17c41a6c3e71102e3516e6926f7e7d1ab5c97563)

14 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into nosmbpython
Jelmer Vernooij [Wed, 21 May 2008 10:22:05 +0000 (12:22 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into nosmbpython
(This used to be commit 5c56464a6c2f29a039ba3152de83d34778ca0615)

14 years agoFix installed symlinks (cp was trying to be smart).
Jelmer Vernooij [Wed, 21 May 2008 10:14:47 +0000 (12:14 +0200)]
Fix installed symlinks (cp was trying to be smart).
(This used to be commit a95f2bf86a75729717542b401aa39bedd21be8d0)

14 years agoAllow dots in .mk file section headers, fix docstring.
Jelmer Vernooij [Wed, 21 May 2008 10:02:02 +0000 (12:02 +0200)]
Allow dots in .mk file section headers, fix docstring.
(This used to be commit bd3f3e7c85f1a92638d69379782aa7bfcecd9e2f)

14 years agoCorrect an assertion in the testsuite.
Andrew Bartlett [Wed, 21 May 2008 04:49:47 +0000 (14:49 +1000)]
Correct an assertion in the testsuite.

Andrew Bartlett
(This used to be commit c3eeae2ea6a7562b43a436f20c110002ca4d1d2b)

14 years agoMerge branch 'v4-0-local' of git://git.id10ts.net/samba into 4-0-local
Andrew Bartlett [Wed, 21 May 2008 04:34:43 +0000 (14:34 +1000)]
Merge branch 'v4-0-local' of git://git.id10ts.net/samba into 4-0-local
(This used to be commit 0e429dd1fb15137a2a7c25e051b9af8c4ed8c7f3)

14 years agoFix creation of sockaddr in netlogon datagram generator.
Andrew Bartlett [Wed, 21 May 2008 04:29:20 +0000 (14:29 +1000)]
Fix creation of sockaddr in netlogon datagram generator.

The previous code sent uninitialised data, and was the wrong length.

Andrew Bartlett
(This used to be commit 8e070293cfd522b7464be5bc4d8045572d6d996c)

14 years agoInclude flags.h into samdb.h
Andrew Bartlett [Wed, 21 May 2008 04:28:50 +0000 (14:28 +1000)]
Include flags.h into samdb.h

These flags are too useful just to hide away...

Andrew Bartlett
(This used to be commit 1e897b6148407e9921edd2c3db734930d79ccb42)

14 years agoExtend the NBT-DGRAM torture test again.
Andrew Bartlett [Wed, 21 May 2008 04:28:17 +0000 (14:28 +1000)]
Extend the NBT-DGRAM torture test again.

Andrew Bartlett
(This used to be commit f4154846401b31d99c40b2ea53992262095366b0)

14 years agoManually handle the NETLOGON_SAM_LOGON_REQUEST too.
Andrew Bartlett [Wed, 21 May 2008 04:26:38 +0000 (14:26 +1000)]
Manually handle the NETLOGON_SAM_LOGON_REQUEST too.

With the sid structure being both optional and aligned, it was too
hard to do this in just IDL.

This requried moving some things around, as otherwise we would have a
dependency loop.

Andrew Bartlett
(This used to be commit e28790ba4884277f310be1b8bd3fba4fd47dbbdb)

14 years agoExtend the 'netlogon' CLDAP and NBT implementation.
Andrew Bartlett [Wed, 21 May 2008 02:37:36 +0000 (12:37 +1000)]
Extend the 'netlogon' CLDAP and NBT implementation.

This now handles checking if the user exists, including validating the
ACB mask on the user.

This would be a nasty security hole, if Kerberos did not already
expose this information anonymously...

Andrew Bartlett
(This used to be commit 441b286c00f9a7743cdefeb243545bdbd2c94c5e)

14 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
Andrew Bartlett [Wed, 21 May 2008 02:13:45 +0000 (12:13 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit 7594f79db6a0e8a46e2863829e5e050b03dfaec1)

14 years agoRe-add alignment removed by metze in 0e2f6d481b3e35ed392b2b3340b244c77593819c
Andrew Bartlett [Wed, 21 May 2008 00:23:02 +0000 (10:23 +1000)]
Re-add alignment removed by metze in 0e2f6d481b3e35ed392b2b3340b244c77593819c

This manual alignment is required, because the structure is marked as
unaligned.

Andrew Bartlett
(This used to be commit ef5d1c8d320d45b78a1e709964eaada4f5acda59)

14 years agoFurther tests show NTLOGON and NETLOGON to be identical.
Andrew Bartlett [Wed, 21 May 2008 00:18:21 +0000 (10:18 +1000)]
Further tests show NTLOGON and NETLOGON to be identical.

I can't tell the difference between the NTLOGON and NETLOGON behaviour
on these pipes, and this 'exception' turned out to be alignment
dependent, not pipe dependent.

Andrew Bartlett
(This used to be commit bf1b99aff2a8feaee5f57c7530bc81d447e5d765)

14 years agoConvert in_transaction to a bool. Add the same fix Volker
Jeremy Allison [Tue, 20 May 2008 21:18:58 +0000 (14:18 -0700)]
Convert in_transaction to a bool. Add the same fix Volker
used for tdb_traverse() to tdb_traverse_read().
Jeremy.
(This used to be commit e05ec3047c4fe0cc2e09a812830fc835dc35abea)

14 years agoFix nesting tdb_traverse in a transaction
Volker Lendecke [Tue, 20 May 2008 19:54:36 +0000 (21:54 +0200)]
Fix nesting tdb_traverse in a transaction

Calling tdb_traverse inside a transaction led to the transaction lock being
held indefinitely. This was caused by the tdb_transaction_lock/unlock inside
tdb_traverse: The transaction code holds the global lock at offset
TRANSACTION_LOCK. The call to tdb_transaction_lock does nothing because the
transaction_lock is already being held. tdb_transaction_unlock inside tdb_wrap
resets tdb->have_transaction_lock but does not release the kernel-level fcntl
lock. transaction_commit later on does not release that fcntl lock either,
because tdb->have_transaction_lock was already reset by tdb_transaction().

This patch does fix that problem for me. An alternative would be to make
tdb->have_transaction_lock a counter that can cope with proper nesting, maybe
in other places as well.

Volker
(This used to be commit 89543005fe2e4934b3c560c937d49304a32a7fc2)

14 years agosmbtorture: Add RAW-BENCH-TCON benchmark.
James Peach [Tue, 20 May 2008 17:54:45 +0000 (10:54 -0700)]
smbtorture: Add RAW-BENCH-TCON benchmark.

Add a simple test to benchmark the rate at which a server can accept
new tree connections. You can tune the length of time to run the
benchmark for and the number of parallel connections to make.
(This used to be commit ea3f4b93057e85c4ea516cc77dd0f293016d520c)

14 years agoChange wks password in rpc-bench-schannel1
Volker Lendecke [Tue, 20 May 2008 10:59:04 +0000 (12:59 +0200)]
Change wks password in rpc-bench-schannel1

Prove that a workstation password change does not affect existing schannel
connections
(This used to be commit f72dc52ccc426c8057b91b4699dfeda7d9e9b864)

14 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Andrew Tridgell [Tue, 20 May 2008 05:35:49 +0000 (15:35 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit e360be0b99b638afdfa789e217bf08f99d09be7a)

14 years agoFix irpc GetDC requests.
Andrew Bartlett [Tue, 20 May 2008 05:28:26 +0000 (15:28 +1000)]
Fix irpc GetDC requests.

We would return NT_STATUS_NO_LOGON_SERVERS in all cases, which was
less than helpful.

Andrew Bartlett
(This used to be commit 5dfa316b3636718ffc6fd26cf7a397a797bd2ac1)

14 years agoadded read and write handlers. Fixed --analyse
Andrew Tridgell [Tue, 20 May 2008 05:16:53 +0000 (15:16 +1000)]
added read and write handlers. Fixed --analyse
(This used to be commit c05ed7bb9ae7211a7001fd0a3403744ba4f6dda0)

14 years agoFix number of arguments to IRPC getdc callback.
Andrew Bartlett [Tue, 20 May 2008 04:52:57 +0000 (14:52 +1000)]
Fix number of arguments to IRPC getdc callback.

Andrew Bartlett
(This used to be commit 8753ced2f4ee25cd5eff011f66f8e37f9807bdaf)

14 years agoadded smb2_util_setatr
Andrew Tridgell [Tue, 20 May 2008 03:37:51 +0000 (13:37 +1000)]
added smb2_util_setatr
(This used to be commit d4f41db964ce82c8889017d0f932d60100b3cd32)

14 years agospecify which server failed to deltree
Andrew Tridgell [Tue, 20 May 2008 03:37:40 +0000 (13:37 +1000)]
specify which server failed to deltree
(This used to be commit aa9108374f0dda8510245a6e69a53189f55a81e3)

14 years agoadded SMB2 setpathinfo composite wrapper
Andrew Tridgell [Tue, 20 May 2008 03:37:27 +0000 (13:37 +1000)]
added SMB2 setpathinfo composite wrapper
(This used to be commit e90c7587385598a1dd976c2420798f9bd682b43d)

14 years agofirst version of gentest_smb2. Only generates create and close so far.
Andrew Tridgell [Tue, 20 May 2008 01:59:43 +0000 (11:59 +1000)]
first version of gentest_smb2. Only generates create and close so far.
(This used to be commit 634a4bbd98e1c281f8339073b90cb7696ac59baa)

14 years agomoved these util functions into libcli
Andrew Tridgell [Tue, 20 May 2008 01:59:18 +0000 (11:59 +1000)]
moved these util functions into libcli
(This used to be commit b2f1154bc338fb56fc998f40159156cb6859075b)

14 years agocheck the creation options where the client can require a path to be a
Andrew Tridgell [Tue, 20 May 2008 01:58:47 +0000 (11:58 +1000)]
check the creation options where the client can require a path to be a
file or a directory
(This used to be commit c05b58940f06b01b9770c218eb0708cb621215ef)

14 years agoadded some SMB2 utility functions
Andrew Tridgell [Tue, 20 May 2008 01:58:04 +0000 (11:58 +1000)]
added some SMB2 utility functions
(This used to be commit 6a3b1cd6698faa460c6258bb41b4936e363f4387)

14 years agoremember the server time fields on negotiate. Needed for gentest
Andrew Tridgell [Tue, 20 May 2008 01:57:43 +0000 (11:57 +1000)]
remember the server time fields on negotiate. Needed for gentest
(This used to be commit 7989ca861dcc700b52be3a47ea5ae8b03fbb9330)

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

14 years agoMerge commit 'origin/v4-0-test' into vfs_smb2
Andrew Tridgell [Tue, 20 May 2008 01:37:23 +0000 (11:37 +1000)]
Merge commit 'origin/v4-0-test' into vfs_smb2
(This used to be commit ffbd222d651dcddb19cacdc50cdbfeaefa816940)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

14 years agoadded SMB2 proxying of rmdir
Andrew Tridgell [Mon, 19 May 2008 03:05:08 +0000 (13:05 +1000)]
added SMB2 proxying of rmdir
(This used to be commit 1e0c24b2760f2a632333b51710cd9581f0cee851)

14 years agoMerge commit 'origin/v4-0-test' into vfs_smb2
Andrew Tridgell [Mon, 19 May 2008 01:40:25 +0000 (11:40 +1000)]
Merge commit 'origin/v4-0-test' into vfs_smb2
(This used to be commit 733937e87a1adcc19492ea2bd138e705701901b6)

14 years agoadded mkdir to SMB2 proxy
Andrew Tridgell [Mon, 19 May 2008 01:39:16 +0000 (11:39 +1000)]
added mkdir to SMB2 proxy
(This used to be commit 1323aab11fbf346e19c4cef227d727ddfcaa7d60)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

14 years agoprovision: Create instructions for enabling DNS GSS-TSIG updates.
Andrew Kroeger [Sun, 18 May 2008 04:24:48 +0000 (23:24 -0500)]
provision: Create instructions for enabling DNS GSS-TSIG updates.

Added code to the python provisioning to create the named.conf file that was
previously generated by the EJS provisioning.

Updated the named.conf template to provide the additional details necessary
to get things working.
(This used to be commit 0b7a6bfcba1b906dc4d461882b4c3fe3c91c44e0)

14 years agoprovision: Allow DNS GSS-TSIG updates to work.
Andrew Kroeger [Sun, 18 May 2008 04:20:35 +0000 (23:20 -0500)]
provision: Allow DNS GSS-TSIG updates to work.

This change ensures the KVNO of the principal in secrets.ldb (which is also
exported to the dns.keytab) matches the KVNO associated with the "dns" user.
Without explicitly setting msDS-KeyVersionNumber, the KVNO exported into the
dns.keytab was 0.

KVNO needs to be > 0, as the client libs (at least MIT libs on Fedora)
consider KVNO == 0 as a sign to ignore that particular key.
(This used to be commit 572efc8e65457a982a8cbb04d3b10e3aae22d574)

14 years agohowto: Update git clone command to something that actually works.
Andrew Kroeger [Thu, 8 May 2008 17:57:29 +0000 (12:57 -0500)]
howto: Update git clone command to something that actually works.

Made the command consistent with the one presented in the Wiki HOWTO.

Thanks to Matthias Wallnöfer <mwallnoefer@yahoo.de> for pointing this one out.
(This used to be commit bf217c748a8a0929ffc54be940041100ca5127f2)

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

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

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

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

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

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

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

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