12 years agor4066: add a mapping for NT_STATUS_NO_MORE_ENTRIES
Andrew Tridgell [Sun, 5 Dec 2004 07:53:57 +0000 (07:53 +0000)]
r4066: add a mapping for NT_STATUS_NO_MORE_ENTRIES
(This used to be commit 335b1c6a52b2e437e7f16a84ba547e5387ef64d1)

12 years agor4065: fixed ntstatus->dos error code for NT_STATUS_NO_SUCH_FILE
Andrew Tridgell [Sun, 5 Dec 2004 07:43:38 +0000 (07:43 +0000)]
r4065: fixed ntstatus->dos error code for NT_STATUS_NO_SUCH_FILE
(This used to be commit 19efd83b863a8c94f509d6a933a7d5de43aa95e9)

12 years agor4064: use the same name for type on both ends
Stefan Metzmacher [Sat, 4 Dec 2004 14:28:06 +0000 (14:28 +0000)]
r4064: use the same name for type on both ends

for long term we should remove all typedef's

(This used to be commit 4b3f552cb373a0d91526412fc31699959c96a007)

12 years agor4063: - change char * -> uint8_t in struct request_buffer
Stefan Metzmacher [Sat, 4 Dec 2004 13:56:25 +0000 (13:56 +0000)]
r4063: - change char * -> uint8_t in struct request_buffer

- change smbcli_read/write to take void * for the buffers to match read(2)/write(2)

all this fixes a lot of gcc-4 warnings

(This used to be commit b94f92bc6637f748d6f7049f4f9a30b0b8d18a7a)

12 years agor4062: the RAW-ACLS test now passes. The SEC_STD_DELETE bit is rather strange
Andrew Tridgell [Sat, 4 Dec 2004 12:42:40 +0000 (12:42 +0000)]
r4062: the RAW-ACLS test now passes. The SEC_STD_DELETE bit is rather strange
though - I expect we'll need to tweak that some more.
(This used to be commit e3500811b90b8423ee7694609340f394957d1160)

12 years agor4061: more additions to the RAW-ACLS test, to help me work out some details for...
Andrew Tridgell [Sat, 4 Dec 2004 10:16:47 +0000 (10:16 +0000)]
r4061: more additions to the RAW-ACLS test, to help me work out some details for pvfs
(This used to be commit 273165e53a606fa0a55ff8fb6fea440e19a7e285)

12 years agor4060: removed an unused file
Andrew Tridgell [Sat, 4 Dec 2004 10:15:54 +0000 (10:15 +0000)]
r4060: removed an unused file
(This used to be commit 35ca4e1e81c5d927238e90d0c6c09987c11b5d35)

12 years agor4059: moved the ldb -o option parsing to a common routine
Andrew Tridgell [Sat, 4 Dec 2004 10:14:03 +0000 (10:14 +0000)]
r4059: moved the ldb -o option parsing to a common routine
(This used to be commit ee52c1e38c9bac852458196ffbd677cca62a3965)

12 years agor4058: added a type safe version of smb_xmalloc()
Andrew Tridgell [Sat, 4 Dec 2004 09:30:38 +0000 (09:30 +0000)]
r4058: added a type safe version of smb_xmalloc()
(This used to be commit 1235afa5fe3a396cd7a180cbc500834a30fbaa80)

12 years agor4057: unknown5 represents the account policy "Users must logon to change
Günther Deschner [Sat, 4 Dec 2004 00:14:47 +0000 (00:14 +0000)]
r4057: unknown5 represents the account policy "Users must logon to change

(This used to be commit 18e01ae25493d2b4b9b86d090199d5202d7a9e42)

12 years agor4056: modified the access check code based on results from RAW-ACLS
Andrew Tridgell [Fri, 3 Dec 2004 13:04:10 +0000 (13:04 +0000)]
r4056: modified the access check code based on results from RAW-ACLS
test. Also added generic mapping bits for pvfs. We don't pass RAW-ACLS
yet, but its close.
(This used to be commit c7cbd966d49a5345ea326732587555d209c531fc)

12 years agor4055: fixed more places to use type safe allocation macros
Andrew Tridgell [Fri, 3 Dec 2004 07:20:30 +0000 (07:20 +0000)]
r4055: fixed more places to use type safe allocation macros
(This used to be commit eec698254f67365f27b4b7569fa982e22472aca1)

12 years agor4054: got rid of Realloc(), replacing it with the type safe macro realloc_p()
Andrew Tridgell [Fri, 3 Dec 2004 06:42:06 +0000 (06:42 +0000)]
r4054: got rid of Realloc(), replacing it with the type safe macro realloc_p()
(This used to be commit b0f6e21481745d1b2ced28d9ed6f09f6ffd99562)

12 years agor4053: expanded and fixed a bug in the RAW-ACLS test
Andrew Tridgell [Fri, 3 Dec 2004 06:25:56 +0000 (06:25 +0000)]
r4053: expanded and fixed a bug in the RAW-ACLS test
(This used to be commit 0d19b4a09f4ce0b0c5e7779809c383322f4de4fc)

12 years agor4052: fixed a bunch of code to use the type safe _p allocation macros
Andrew Tridgell [Fri, 3 Dec 2004 06:24:38 +0000 (06:24 +0000)]
r4052: fixed a bunch of code to use the type safe _p allocation macros
(This used to be commit 80d15fa3402a9d1183467463f6b21c0b674bc442)

12 years agor4051: use talloc_array() instead of talloc() when allocating arrays in auto-generate...
Andrew Tridgell [Fri, 3 Dec 2004 05:27:43 +0000 (05:27 +0000)]
r4051: use talloc_array() instead of talloc() when allocating arrays in auto-generated ndr code
(This used to be commit 90cdfd921e1a6f8806fe94bba61f1bbaa79c79f1)

12 years agor4050: make sure we add objectClass and sAMAccountName
Andrew Tridgell [Fri, 3 Dec 2004 05:24:09 +0000 (05:24 +0000)]
r4050: make sure we add objectClass and sAMAccountName
(This used to be commit 57d0079bb91b8edc625027e1f28203794e018afc)

12 years agor4049: a simple perl script to add a new user to Samba4 ldb
Andrew Tridgell [Fri, 3 Dec 2004 05:01:20 +0000 (05:01 +0000)]
r4049: a simple perl script to add a new user to Samba4 ldb
(This used to be commit 76f2ae32040fe494e703abb54dd7ad09d7110408)

12 years agor4048: a very simple howto for new developers to tell them how to build and install...
Andrew Tridgell [Fri, 3 Dec 2004 03:08:36 +0000 (03:08 +0000)]
r4048: a very simple howto for new developers to tell them how to build and install samba4
(This used to be commit 4e7d723dacc0d6d526721ee037502c02ffd3fdec)

12 years agor4046: add more servicePrincipalName's for the dc account
Stefan Metzmacher [Thu, 2 Dec 2004 18:32:48 +0000 (18:32 +0000)]
r4046: add more servicePrincipalName's for the dc account

(This used to be commit 659a0b26e2fa466169078bab6dd4af1e5fffb48b)

12 years agor4045: readd krb5 support defaulted to disable
Stefan Metzmacher [Thu, 2 Dec 2004 18:27:08 +0000 (18:27 +0000)]
r4045: readd krb5 support defaulted to disable


to enable it

or -k on the client tools on the command line

(This used to be commit 0ae5794cf44933d2554e0356baaca24c7a784f71)

12 years agor4044: only send supportedMech when we also send other data
Stefan Metzmacher [Thu, 2 Dec 2004 18:15:39 +0000 (18:15 +0000)]
r4044: only send supportedMech when we also send other data

(This used to be commit 1e0483a8482574fa0f8d7ad31cc4bf4a6155ec52)

12 years agor4042: fix segfault on server schannel connections
Stefan Metzmacher [Thu, 2 Dec 2004 12:12:26 +0000 (12:12 +0000)]
r4042: fix segfault on server schannel connections

(This used to be commit 57bd26f9c528687ca2ca9bbaa56f7f36efd2231f)

12 years agor4041: fix cut-n-paste typo
Stefan Metzmacher [Thu, 2 Dec 2004 11:40:18 +0000 (11:40 +0000)]
r4041: fix cut-n-paste typo

(This used to be commit 54398aa889b5954c7c387b252dd1a9173eac36f0)

12 years agor4040: sorry today is not my day...
Stefan Metzmacher [Thu, 2 Dec 2004 10:35:25 +0000 (10:35 +0000)]
r4040: sorry today is not my day...

uint32 != uint8_t ...

(This used to be commit a8a3b8ee341fda041383df225ea2b7f9b589fc04)

12 years agor4039: added a test for an element > 128 bytes in length, to ensure we test
Andrew Tridgell [Thu, 2 Dec 2004 10:28:19 +0000 (10:28 +0000)]
r4039: added a test for an element > 128 bytes in length, to ensure we test
for sign extending errors in element length
(This used to be commit 07378fca6c12ffffcd3fe5e91f4d70ef838a45d5)

12 years agor4038: fix sign/unsign bug I introduced in -r 4022
Stefan Metzmacher [Thu, 2 Dec 2004 10:14:40 +0000 (10:14 +0000)]
r4038: fix sign/unsign bug I introduced in -r 4022

this caused new ldb record to be corrupt if the length was > 12b byte

thanks tridge for finding this

(This used to be commit 6998c37b473d8efeb2ed5285f10f469a29ad787a)

12 years agor4037: fixed a bunch of "might be uninitialised" warnings after enabling -O1 in my...
Andrew Tridgell [Thu, 2 Dec 2004 04:51:56 +0000 (04:51 +0000)]
r4037: fixed a bunch of "might be uninitialised" warnings after enabling -O1 in my compile
(This used to be commit 0928b1f5b68c858922c3ea6c27ed03b5091c6221)

12 years agor4036: expanded the RAW-ACLS torture test to include tests for the
Andrew Tridgell [Thu, 2 Dec 2004 04:38:41 +0000 (04:38 +0000)]
r4036: expanded the RAW-ACLS torture test to include tests for the
generic->specific access mask mappings, and tests of the behaviour of
(This used to be commit f572fe6d29d5a318b24d71a2ebfa2baca2b79a10)

12 years agor4035: more effort on consistent naming of the access mask bits.
Andrew Tridgell [Thu, 2 Dec 2004 04:37:36 +0000 (04:37 +0000)]
r4035: more effort on consistent naming of the access mask bits.

This removes the duplicate named SEC_RIGHTS_MAXIMUM_ALLOWED and
SEC_RIGHTS_FULL_CONTROL, which are just other names for
match the new naming conventions in security.idl

Also added names for the generic->specific mappings for files are
(This used to be commit 17a4e0b3aca227b40957ed1e0c57e498debc6ddf)

12 years agor4034: add a function security_descriptor_create() which can be used to
Andrew Tridgell [Thu, 2 Dec 2004 04:34:11 +0000 (04:34 +0000)]
r4034: add a function security_descriptor_create() which can be used to
easily create complex security descriptors for testing. This greatly
simplifies the smbtorture code I am writing for testing our
new access_check code.
(This used to be commit 891a8bc16af3c6ce5800e793ce4ec8b0078e444f)

12 years agor4033: removed a pointless comment
Andrew Tridgell [Thu, 2 Dec 2004 04:31:08 +0000 (04:31 +0000)]
r4033: removed a pointless comment
(This used to be commit 1f3f9f829444cb889c6782c4fe52773fd6867b55)

12 years agor4027: add a useful function for debugging
Stefan Metzmacher [Wed, 1 Dec 2004 16:51:37 +0000 (16:51 +0000)]
r4027: add a useful function for debugging

(This used to be commit 41b1ba53fc201b7b9f9d806dccef6258b2a1d157)

12 years agor4026: added NT ACL checking on pvfs_open() for existing files. I need to
Andrew Tridgell [Wed, 1 Dec 2004 11:35:01 +0000 (11:35 +0000)]
r4026: added NT ACL checking on pvfs_open() for existing files. I need to
work out some way to do a decent test suite for this.
(This used to be commit 9a9a0d0e791e4b64f0a35c921729e623b977af47)

12 years agor4025: added a sec_access_check() function for checking security descriptors
Andrew Tridgell [Wed, 1 Dec 2004 05:22:24 +0000 (05:22 +0000)]
r4025: added a sec_access_check() function for checking security descriptors
against a users security token and access_mask
(This used to be commit c4d21cd4b1ccffd5aaa70a551c57f6eab1ca9c6d)

12 years agor4022: fix compiler warnings
Stefan Metzmacher [Tue, 30 Nov 2004 22:55:36 +0000 (22:55 +0000)]
r4022: fix compiler warnings

(This used to be commit 79d0eb2f677f9e985ba476a9680f68537d41be6f)

12 years agor4015: correct copyright attributions
Andrew Tridgell [Tue, 30 Nov 2004 05:45:37 +0000 (05:45 +0000)]
r4015: correct copyright attributions
(This used to be commit 078d9ab05bffc79e4f329ea18fe3dafd144d989c)

12 years agor4014: removed unused MacExtension.h header
Andrew Tridgell [Tue, 30 Nov 2004 05:41:21 +0000 (05:41 +0000)]
r4014: removed unused MacExtension.h header
(This used to be commit 5ffffdd79f23c461e30bc91e983b12939f063d2d)

12 years agor4013: got rid of a bunch of unused or unmaintained code
Andrew Tridgell [Tue, 30 Nov 2004 05:37:57 +0000 (05:37 +0000)]
r4013: got rid of a bunch of unused or unmaintained code

 - removed the clitar code. It is unmaintained, and a horribly badly done hack

 - removed client.h as it contained mostly unused definitions

 - removed the unused clidfs.c code
(This used to be commit 31a7bddbb3815b4d625e993dbce4805dae1c18f8)

12 years agor4012: split out the lsa lookup single name logic into a separate function
Andrew Tridgell [Tue, 30 Nov 2004 04:34:18 +0000 (04:34 +0000)]
r4012: split out the lsa lookup single name logic into a separate function
(This used to be commit 44d97619623830cc24905a5f4df941d45ebd41c3)

12 years agor4011: get rid of rpc_secdes.h and replace it with a single sane set of
Andrew Tridgell [Tue, 30 Nov 2004 04:33:27 +0000 (04:33 +0000)]
r4011: get rid of rpc_secdes.h and replace it with a single sane set of
definitions for security access masks, in security.idl

The previous definitions were inconsistently named, and contained many
duplicate and misleading entries. I kept finding myself tripping up
while using them.
(This used to be commit 01c0fa722f80ceeb3f81f01987de95f365a2ed3d)

12 years agor4010: fixed parsing of null attributes in the ldb ldif parser
Andrew Tridgell [Tue, 30 Nov 2004 02:15:43 +0000 (02:15 +0000)]
r4010: fixed parsing of null attributes in the ldb ldif parser
(This used to be commit b4fd76f78eadd8648ceed508766235e80702aa8f)

12 years agor4003: run successful against a nt4 sp6 pdc with one nt4 sp6 trust and a w2k3 trust
Stefan Metzmacher [Mon, 29 Nov 2004 17:51:13 +0000 (17:51 +0000)]
r4003: run successful against a nt4 sp6 pdc with one nt4 sp6 trust and a w2k3 trust

(This used to be commit 5101cd51a24fdcda8dd8fc4da446782948290f9b)

12 years agor4002: NT 4.0 sp6a can't do schannel 128
Stefan Metzmacher [Mon, 29 Nov 2004 14:59:33 +0000 (14:59 +0000)]
r4002: NT 4.0 sp6a can't do schannel 128

(This used to be commit c04a77ed6945db0292434fb5461a884708a9ebf2)

12 years agor4001: fix segfault fix auth failed
Stefan Metzmacher [Mon, 29 Nov 2004 14:46:17 +0000 (14:46 +0000)]
r4001: fix segfault fix auth failed

(This used to be commit 6a7eee1d9917e0884072354dddae568645798da5)

12 years agor4000: is uint8_t * not void * :-)
Stefan Metzmacher [Mon, 29 Nov 2004 12:01:46 +0000 (12:01 +0000)]
r4000: is uint8_t * not void * :-)
(thanks abartlet for telling me)

(This used to be commit 2783bf393f6310f9d827538329d619dad5b02dd0)

12 years agor3999: - reply with the same DsBindInfo blob as w2k3 in the server function
Stefan Metzmacher [Mon, 29 Nov 2004 11:13:56 +0000 (11:13 +0000)]
r3999: - reply with the same DsBindInfo blob as w2k3 in the server function

- add idl for drsuapi_DsReplicaSync() not yet complete

- just return WERR_OK for the drsuapi_DsReplicaSync() server function

(This used to be commit e896925ac0b58bd48b5b9cc2d675682409d09ae1)

12 years agor3998: allow const arrays (see next commit to drsuapi.idl)
Stefan Metzmacher [Mon, 29 Nov 2004 11:08:15 +0000 (11:08 +0000)]
r3998: allow const arrays (see next commit to drsuapi.idl)

(This used to be commit 7264a2227d7a1881db01964d0d713c144eb77152)

12 years agor3997: fix STR_CHARLEN pull case
Stefan Metzmacher [Mon, 29 Nov 2004 11:04:36 +0000 (11:04 +0000)]
r3997: fix STR_CHARLEN pull case

(This used to be commit 623411f74ee766dee2170949b118216387779929)

12 years agor3996: add some comments
Stefan Metzmacher [Mon, 29 Nov 2004 10:54:52 +0000 (10:54 +0000)]
r3996: add some comments

(This used to be commit 87a92d3d5c7c2ab0bc07a9fb101022b3db1d637b)

12 years agor3995: improved the default ACL mapping from unix perms
Andrew Tridgell [Mon, 29 Nov 2004 06:42:02 +0000 (06:42 +0000)]
r3995: improved the default ACL mapping from unix perms
(This used to be commit 01e89697fe837ee76fedda149e1e2b389a7d3889)

12 years agor3994: - removed the unused reference count code in lsa server
Andrew Tridgell [Mon, 29 Nov 2004 06:19:50 +0000 (06:19 +0000)]
r3994: - removed the unused reference count code in lsa server

- fixed the sid_index field in lsa LookupSids and LookupNames
(This used to be commit 677f701e71609d82376b1ea2fa9ebc3521896671)

12 years agor3993: use distinctive fnums in the ipc backend, to make monitoring sniffs easier
Andrew Tridgell [Mon, 29 Nov 2004 06:18:58 +0000 (06:18 +0000)]
r3993: use distinctive fnums in the ipc backend, to make monitoring sniffs easier
(This used to be commit 54209ed05686a442156f7927c58d8656aa5e4900)

12 years agor3992: provide hooks for lsa to lookup sids allocated using the linear id->sid mapping
Andrew Tridgell [Mon, 29 Nov 2004 04:24:50 +0000 (04:24 +0000)]
r3992: provide hooks for lsa to lookup sids allocated using the linear id->sid mapping
(This used to be commit e61140510905b6bbe57ad35dad8e4dd68d1f6bd8)

12 years agor3991: for uid->sid and gid->sid to be efficient we need to index on unixID
Andrew Tridgell [Mon, 29 Nov 2004 03:23:31 +0000 (03:23 +0000)]
r3991: for uid->sid and gid->sid to be efficient we need to index on unixID
and unixName in samdb.
(This used to be commit 5c966821e2eced9a1b34a5274cc317eab1a44eaf)

12 years agor3990: take advantage of the uid->sid and gid->sid code to create a much
Andrew Tridgell [Mon, 29 Nov 2004 03:22:44 +0000 (03:22 +0000)]
r3990: take advantage of the uid->sid and gid->sid code to create a much
better default NT ACL in pvfs
(This used to be commit 9ff6ecbdb6c08528193f7958d7ea7d9a8df6defd)

12 years agor3989: added a linear algorithmic mapping for uid->sid and gid->sid within
Andrew Tridgell [Mon, 29 Nov 2004 03:21:46 +0000 (03:21 +0000)]
r3989: added a linear algorithmic mapping for uid->sid and gid->sid within
our local domain. Note that this linear mapping does not suffer from
the "foreign sid" problems of the linear mappings we have previously
rejected for the sid->uid problem.

the mapping allows for 1 billion automatically allocated users or
groups for the local domain.
(This used to be commit 8f573439753e2a425305936107442c85cffb9369)

12 years agor3988: made dom_sid_add_rid() allocate the new sid with proper parent/child talloc
Andrew Tridgell [Mon, 29 Nov 2004 03:19:28 +0000 (03:19 +0000)]
r3988: made dom_sid_add_rid() allocate the new sid with proper parent/child talloc
(This used to be commit 5db0eb1fe3abb5150bef27bfed4b7da723e4a287)

12 years agor3984: success full parse the repsFrom/repsTo LDAP fields
Stefan Metzmacher [Sat, 27 Nov 2004 15:10:57 +0000 (15:10 +0000)]
r3984: success full parse the repsFrom/repsTo LDAP fields

(This used to be commit 56c66f4a090b1efca011fc2fc9880c4d93da164c)

12 years agor3983: posix:fakeoplocks should default to False, not True !
Andrew Tridgell [Sat, 27 Nov 2004 00:28:03 +0000 (00:28 +0000)]
r3983: posix:fakeoplocks should default to False, not True !
(This used to be commit 052d91c59f177851b5e0e53c8a033bdd28702f64)

12 years agor3982: split out the sid -> uid/gid mapping routines into a ntvfs_sidmap
Andrew Tridgell [Sat, 27 Nov 2004 00:24:36 +0000 (00:24 +0000)]
r3982: split out the sid -> uid/gid mapping routines into a ntvfs_sidmap
subsystem. This is in preparation for adding better default ACL
generation in pvfs, which will require uid/gid -> sid mapping.
(This used to be commit b31108e49247495d98cf7c12ee303b12a9e44e92)

12 years agor3981: Use correct access-mask when querying aliases.
Günther Deschner [Fri, 26 Nov 2004 16:50:29 +0000 (16:50 +0000)]
r3981: Use correct access-mask when querying aliases.

(This used to be commit 5dde59be0995b9893ef476b06c259776c1115ae7)

12 years agor3980: added server side support for lsa_LookupNames() and lsa_LookupNames2()
Andrew Tridgell [Fri, 26 Nov 2004 13:02:58 +0000 (13:02 +0000)]
r3980: added server side support for lsa_LookupNames() and lsa_LookupNames2()
(This used to be commit da12780bd98e566af13fe97ce5e84fe829a0fbd5)

12 years agor3979: added server side code for lsa_LookupSids2() and fixed authority_name
Andrew Tridgell [Fri, 26 Nov 2004 12:30:39 +0000 (12:30 +0000)]
r3979: added server side code for lsa_LookupSids2() and fixed authority_name
return code to include our own domain.

editing of ACLs via the w2k3 GUI works nicely (and faster) with these changes
(This used to be commit a3f7f34b3965ddbd89b06334e03d2e1bb6aa364b)

12 years agor3978: added IDL and test code for lsa_LookupSids2() and lsa_LookupNames2()
Andrew Tridgell [Fri, 26 Nov 2004 06:33:38 +0000 (06:33 +0000)]
r3978: added IDL and test code for lsa_LookupSids2() and lsa_LookupNames2()
(This used to be commit 9da455ed56ebc167f295b231c2730e3ff9c94617)

12 years agor3977: fixed the lmPwdHash change in the rpc server (we were not fetching the
Andrew Tridgell [Fri, 26 Nov 2004 05:58:03 +0000 (05:58 +0000)]
r3977: fixed the lmPwdHash change in the rpc server (we were not fetching the
lm hash from the samdb, and thus not checking the verifier)

fixed the client side to calculate the lm verifier based on the nt
hash, not the lm hash (confirmed using w2k3)
(This used to be commit 27e7fb3bafe4649359e2e68169b6f10fd4d2cc70)

12 years agor3976: changed NBENCH to use the same recording method as the latest dbench,
Andrew Tridgell [Thu, 25 Nov 2004 23:05:43 +0000 (23:05 +0000)]
r3976: changed NBENCH to use the same recording method as the latest dbench,
where the warmup phase continues until all clients have done some file
IO. This gives more repeatable results when under high load
(This used to be commit aca0658f6dfe8b7c90afcac87e8cc68965a4288d)

12 years agor3975: added LFN filesystem attribute bit definition from ethereal
Andrew Tridgell [Thu, 25 Nov 2004 21:01:54 +0000 (21:01 +0000)]
r3975: added LFN filesystem attribute bit definition from ethereal

apologies for not committing this earlier
(This used to be commit 0950681091ab99f0e79048a9c1db57d057a96e66)

12 years agor3972: use GUID_* naming context and move GUID_* functions to one place
Stefan Metzmacher [Thu, 25 Nov 2004 20:03:46 +0000 (20:03 +0000)]
r3972: use GUID_* naming context and move GUID_* functions to one place

(This used to be commit 523e6acf4fec5d4946fa7c0c89f40d7d712c9f3a)

12 years agor3971: fix compiler warnings
Stefan Metzmacher [Thu, 25 Nov 2004 20:01:47 +0000 (20:01 +0000)]
r3971: fix compiler warnings

(This used to be commit 234166606dc86b9e98226cff94b3869ec173671e)

12 years agor3970: fix compiler warning
Stefan Metzmacher [Thu, 25 Nov 2004 19:59:08 +0000 (19:59 +0000)]
r3970: fix compiler warning

(This used to be commit 1f03d797129c87f231a4f464432475a5c2f91d35)

12 years agor3969: fix compiler warnings
Stefan Metzmacher [Thu, 25 Nov 2004 19:31:53 +0000 (19:31 +0000)]
r3969: fix compiler warnings

(This used to be commit 7d24b98f3ff55049a7c0d430c15e0a060b4aa2d3)

12 years agor3968: fix compiler warnings
Stefan Metzmacher [Thu, 25 Nov 2004 19:27:17 +0000 (19:27 +0000)]
r3968: fix compiler warnings

(This used to be commit 6440476f7f2fd5776ec4a21240e7482603000d19)

12 years agor3967: fix compiler warnings
Stefan Metzmacher [Thu, 25 Nov 2004 19:21:55 +0000 (19:21 +0000)]
r3967: fix compiler warnings

(This used to be commit 3f2c3ce2f0d11ea9f3c058690e0bb14d590c714c)

12 years agor3966: fix compiler warnings
Stefan Metzmacher [Thu, 25 Nov 2004 19:13:41 +0000 (19:13 +0000)]
r3966: fix compiler warnings

(This used to be commit 531c4654e0c2e8d150f8337cb84a6746fc1abee9)

12 years agor3965: fix compiler warnings
Stefan Metzmacher [Thu, 25 Nov 2004 19:12:16 +0000 (19:12 +0000)]
r3965: fix compiler warnings

(This used to be commit 0614fa3b168265e69a611936dd7c1f7a078e53dd)

12 years agor3964: fix compiler warnings
Stefan Metzmacher [Thu, 25 Nov 2004 19:02:42 +0000 (19:02 +0000)]
r3964: fix compiler warnings

(This used to be commit f34171bbb3185aa5bc79915c060e09a36179307c)

12 years agor3963: fix conpiler warnings
Stefan Metzmacher [Thu, 25 Nov 2004 19:01:35 +0000 (19:01 +0000)]
r3963: fix conpiler warnings

(This used to be commit 1239076ef77a2970e806f00e262e910777b40692)

12 years agor3962: fix compiler warnings
Stefan Metzmacher [Thu, 25 Nov 2004 18:25:22 +0000 (18:25 +0000)]
r3962: fix compiler warnings

(This used to be commit 3bfb732187211d450db842a7533e4c7e915b6ce4)

12 years agor3961: - fix compiler warnings
Stefan Metzmacher [Thu, 25 Nov 2004 18:23:58 +0000 (18:23 +0000)]
r3961: - fix compiler warnings
- remove unused typedef

(This used to be commit 19613122a5222b152044b1f86136496b95d4a3e3)

12 years agor3960: fix compiler warnings
Stefan Metzmacher [Thu, 25 Nov 2004 18:02:35 +0000 (18:02 +0000)]
r3960: fix compiler warnings

(This used to be commit 54d5b418a75d421a9c6c09bc084454f11e9b7b44)

12 years agor3959: fix compiler warnings
Stefan Metzmacher [Thu, 25 Nov 2004 18:01:40 +0000 (18:01 +0000)]
r3959: fix compiler warnings

(This used to be commit e28351f710525ca9863210974544a8b1a537e63a)

12 years agor3958: fix the build for now
Stefan Metzmacher [Thu, 25 Nov 2004 17:57:33 +0000 (17:57 +0000)]
r3958: fix the build for now

tridge: please fix that!

(This used to be commit 45401b757e13036b9e8bffce3e7c3695a6da1e9b)

12 years agor3957: fix compiler warning
Stefan Metzmacher [Thu, 25 Nov 2004 17:56:20 +0000 (17:56 +0000)]
r3957: fix compiler warning

(This used to be commit a6fb416f519688cb012dc9098306bbe5b7950e1d)

12 years agor3956: start to decode the repsFrom and repsTo fileds but not ready
Stefan Metzmacher [Thu, 25 Nov 2004 11:20:09 +0000 (11:20 +0000)]
r3956: start to decode the repsFrom and repsTo fileds but not ready

(This used to be commit 44f168c44de908fdf38b39aae8bf10e80206410a)

12 years agor3953: the lm verifier key in passwoed ChangePasswordUser3 is based on the nt
Andrew Tridgell [Thu, 25 Nov 2004 04:01:31 +0000 (04:01 +0000)]
r3953: the lm verifier key in passwoed ChangePasswordUser3 is based on the nt
hash, not the lm hash
(This used to be commit 8d4f0dc7d0745fc86fd43205b21d846acdc1d8c7)

12 years agor3952: added validation of the lm and nt verifiers to our server side password change...
Andrew Tridgell [Thu, 25 Nov 2004 01:13:44 +0000 (01:13 +0000)]
r3952: added validation of the lm and nt verifiers to our server side password change code.
(This used to be commit f70e8f02d6164046781a5d63fa5c0b86b8ab8df9)

12 years agor3945: expanded the BASE-PROPERTIES test to print a nicely formatted list of
Andrew Tridgell [Wed, 24 Nov 2004 22:26:19 +0000 (22:26 +0000)]
r3945: expanded the BASE-PROPERTIES test to print a nicely formatted list of
the capabilities and filesystem attribute bits of the server.
(This used to be commit 9debe2938194d686eb9ef46f7e10010490f2a624)

12 years agor3942: decode the 'replUpToDateVector' blob
Stefan Metzmacher [Wed, 24 Nov 2004 14:33:40 +0000 (14:33 +0000)]
r3942: decode the 'replUpToDateVector' blob

(This used to be commit 42b9f0bd476f2175e856ea8f79577eb9eda905e2)

12 years agor3941: make sure we don't keep pounding on a ncacn_ip_tcp connection after it is...
Andrew Tridgell [Wed, 24 Nov 2004 11:24:33 +0000 (11:24 +0000)]
r3941: make sure we don't keep pounding on a ncacn_ip_tcp connection after it is dead
(This used to be commit f0263672fd1eb79bfa3a94663de1cea996c92880)

12 years agor3939: - added "posix:fakeoplocks" option for testing with oplocks forced on
Andrew Tridgell [Wed, 24 Nov 2004 06:09:14 +0000 (06:09 +0000)]
r3939: - added "posix:fakeoplocks" option for testing with oplocks forced on

- added support for sticky write times after a setfileinfo, by using a
  write_time field in the DosAttrib xattr structure.
(This used to be commit 4a52fae82d8305e999f94f1947daa21dab54cdfd)

12 years agor3938: cleaned some old stuff out of loadparm
Andrew Tridgell [Wed, 24 Nov 2004 06:07:19 +0000 (06:07 +0000)]
r3938: cleaned some old stuff out of loadparm
(This used to be commit f280770c8184465c364f497b8931e9753f97e970)

12 years agor3927: add idl file for NDR encoded LDAP attributes used for the directory service
Stefan Metzmacher [Tue, 23 Nov 2004 17:38:32 +0000 (17:38 +0000)]
r3927: add idl file for NDR encoded LDAP attributes used for the directory service

(This used to be commit 07803f28863db72a7691766da912878459eec70a)

12 years agor3926: fix compiler warnings
Stefan Metzmacher [Tue, 23 Nov 2004 17:35:37 +0000 (17:35 +0000)]
r3926: fix compiler warnings

(This used to be commit a9cbaa3cff470f58031972d53ecb6f5856b187e0)

12 years agor3922: Add yet another NETLOGON RPC. This is another varient of SamLogon,
Andrew Bartlett [Tue, 23 Nov 2004 12:34:11 +0000 (12:34 +0000)]
r3922: Add yet another NETLOGON RPC.  This is another varient of SamLogon,
that works only on SCHANNEL secured connections (as it needs the
implicit credentials).

Fix some of the IDL.

Andrew Bartlett
(This used to be commit 90cd7b34cc18e758e939e0183281b7a517d728f0)

12 years agor3921: Cross-test SIDs in RPC-SAMSYNC, fix the build.
Andrew Bartlett [Tue, 23 Nov 2004 11:02:27 +0000 (11:02 +0000)]
r3921: Cross-test SIDs in RPC-SAMSYNC, fix the build.

Andrew Bartlett
(This used to be commit 49c794a6b215f81fd0dba0e7f6812c647b3d91c7)

12 years agor3920: - it seem that we need to send a magic bind_guid in DsBind()
Stefan Metzmacher [Tue, 23 Nov 2004 08:57:42 +0000 (08:57 +0000)]
r3920: - it seem that we need to send a magic bind_guid in DsBind()
  to make DsWriteAccountSpn() work

- add idl and torture test for DsWriteAccountSpn()

(This used to be commit 625826ad9050c68407ae5e8abfee13699986303c)

12 years agor3919: Add more info levels to the QueryTrustedDomainInfo structures, with
Andrew Bartlett [Tue, 23 Nov 2004 03:11:38 +0000 (03:11 +0000)]
r3919: Add more info levels to the QueryTrustedDomainInfo structures, with
names and other assistance from the ethereal sources.

More work needs to be done to validate some of the levels, which do
not appear in the query - perhaps they are modification levels.

Andrew Bartlett
(This used to be commit 63635533693fa364b0c697a3fe1010b3eb8b17d3)

12 years agor3917: A few more LSA RPCs found in my wanderings (for trusted domains, these
Andrew Bartlett [Tue, 23 Nov 2004 00:31:00 +0000 (00:31 +0000)]
r3917: A few more LSA RPCs found in my wanderings (for trusted domains, these
seem to be 'shortcut' RPCs, that just avoid an open/query pair).

Rename a few others to give us a slightly sensible pattern.

Andrew Bartlett
(This used to be commit d6a7ab57e74ab89dd163d5f9f5f901e586b0aad4)

12 years agor3916: w2k3 does not check the max_setup count in nttrans requests
Andrew Tridgell [Tue, 23 Nov 2004 00:09:23 +0000 (00:09 +0000)]
r3916: w2k3 does not check the max_setup count in nttrans requests
(This used to be commit 671a864d8f3548b052ffa33fa8fb0bbf3a0e3970)