bbaumbach/samba-autobuild/.git
12 years agor5917: First step in using the new cli_credentials structure. This patch
Jelmer Vernooij [Mon, 21 Mar 2005 02:08:38 +0000 (02:08 +0000)]
r5917: First step in using the new cli_credentials structure. This patch
puts support for it into popt_common, adds a few utility functions
(in lib/credentials.c) and the callback functions for the command-line
(lib/cmdline/credentials.c). Comments are welcome :-)
(This used to be commit 1d49b57c50fe8c2683ea23e9df41ce8ad774db98)

12 years agor5906: Fix the usage of the internal popt (make proto should ignore it)
Jelmer Vernooij [Sat, 19 Mar 2005 19:31:25 +0000 (19:31 +0000)]
r5906: Fix the usage of the internal popt (make proto should ignore it)
Updated included popt to 1.7.
(This used to be commit d60cb643e8a46771f3d836307ea45b869f34dc9b)

12 years agor5903: While I can't test IPv6, metze asked me to commit a matching change
Andrew Bartlett [Sat, 19 Mar 2005 10:28:31 +0000 (10:28 +0000)]
r5903: While I can't test IPv6, metze asked me to commit a matching change
for unknown hosts that I just did for IPv4.

Andrew Bartlett
(This used to be commit 7e1d82a200b3c679b727e0ef28a245389708ae2f)

12 years agor5902: A rather large change...
Andrew Bartlett [Sat, 19 Mar 2005 08:34:43 +0000 (08:34 +0000)]
r5902: A rather large change...

I wanted to add a simple 'workstation' argument to the DCERPC
authenticated binding calls, but this patch kind of grew from there.

With SCHANNEL, the 'workstation' name (the netbios name of the client)
matters, as this is what ties the session between the NETLOGON ops and
the SCHANNEL bind.  This changes a lot of files, and these will again
be changed when jelmer does the credentials work.

I also correct some schannel IDL to distinguish between workstation
names and account names.  The distinction matters for domain trust
accounts.

Issues in handling this (issues with lifetime of talloc pointers)
caused me to change the 'creds_CredentialsState' and 'struct
dcerpc_binding' pointers to always be talloc()ed pointers.

In the schannel DB, we now store both the domain and computername, and
query on both.  This should ensure we fault correctly when the domain
is specified incorrectly in the SCHANNEL bind.

In the RPC-SCHANNEL test, I finally fixed a bug that vl pointed out,
where the comment claimed we re-used a connection, but in fact we made
a new connection.

This was achived by breaking apart some of the
dcerpc_secondary_connection() logic.

The addition of workstation handling was also propogated to NTLMSSP
and GENSEC, for completeness.

The RPC-SAMSYNC test has been cleaned up a little, using a loop over
usernames/passwords rather than manually expanded tests.  This will be
expanded further (the code in #if 0 in this patch) to use a newly
created user account for testing.

In making this test pass test_rpc.sh, I found a bug in the RPC-ECHO
server, caused by the removal of [ref] and the assoicated pointer from
the IDL.  This has been re-added, until the underlying pidl issues are
solved.
(This used to be commit 824289dcc20908ddec957a4a892a103eec2da9b9)

12 years agor5901: Add another option to the test script - the realm, which must match
Andrew Bartlett [Sat, 19 Mar 2005 08:18:24 +0000 (08:18 +0000)]
r5901: Add another option to the test script - the realm, which must match
the real ream, not just the short domain name.

Andrew Bartlett
(This used to be commit d585e1a759888df01cfabfec2d6d5506cf3bd426)

12 years agor5900: Use flatname to specify the netbios domain name (matches what win2k3
Andrew Bartlett [Sat, 19 Mar 2005 08:11:49 +0000 (08:11 +0000)]
r5900: Use flatname to specify the netbios domain name (matches what win2k3
uses for trusted domain records) in the secrets join records.

Andrew Bartlett
(This used to be commit a6c502832c4ef471bd423b795f210abf3bb96ca5)

12 years agor5899: Fix spelling.
Andrew Bartlett [Sat, 19 Mar 2005 06:49:03 +0000 (06:49 +0000)]
r5899: Fix spelling.

Andrew Bartlett
(This used to be commit 50af206477d8834d58629131e8cc994fb194adfe)

12 years agor5898: Handle errors in the 'sync' name and IP address handling code.
Andrew Bartlett [Sat, 19 Mar 2005 06:07:33 +0000 (06:07 +0000)]
r5898: Handle errors in the 'sync' name and IP address handling code.

Andrew Bartlett
(This used to be commit 6b8b40f73bd8b7ce23effc8eb1d808db77bcbf8b)

12 years agor5895: Remove old auth_domain code - to be replaced with entirely new implementation.
Andrew Bartlett [Sat, 19 Mar 2005 03:15:23 +0000 (03:15 +0000)]
r5895: Remove old auth_domain code - to be replaced with entirely new implementation.

Andrew Bartlett
(This used to be commit a16339729d25fc5b12846207afe3800df7fca8d5)

12 years agor5879: Rename SAMR_FIELD_WORKSTATION to SAMR_FIELD_WORKSTATIONS - it is a list.
Andrew Bartlett [Fri, 18 Mar 2005 04:25:10 +0000 (04:25 +0000)]
r5879: Rename SAMR_FIELD_WORKSTATION to SAMR_FIELD_WORKSTATIONS - it is a list.

Andrew Bartlett
(This used to be commit 7822101cb5213f192f3195648970784a9de4fac4)

12 years agor5878: Be clear which machine name (We have one worksation, and one BDC) we
Andrew Bartlett [Fri, 18 Mar 2005 04:09:52 +0000 (04:09 +0000)]
r5878: Be clear which machine name (We have one worksation, and one BDC) we
are doing logins with.

Andrew Bartlett
(This used to be commit b7297c44faea0ae8b38fb9a90c22c5be3c8f689f)

12 years agor5877: It is not an error to have a zero-length secret, after decryption.
Andrew Bartlett [Fri, 18 Mar 2005 03:17:30 +0000 (03:17 +0000)]
r5877: It is not an error to have a zero-length secret, after decryption.

Andrew Bartlett
(This used to be commit b484776cc4d48690d45c668f9253015eb0d6207d)

12 years agor5876: Add a test account for the duration of the samsync - to ensure we have
Andrew Bartlett [Fri, 18 Mar 2005 03:16:53 +0000 (03:16 +0000)]
r5876: Add a test account for the duration of the samsync - to ensure we have
a good variety of things to test against.

Add code to testjoin to handle this just like test machine accounts

Soon I'll remove the 'must change password' flag, so we can do logins with it.

Andrew Bartlett
(This used to be commit 08b47e2dc067f7e4a52b982d358ff1b0209cc1df)

12 years agor5871: Remove file with unused function (that uses fstring)
Jelmer Vernooij [Fri, 18 Mar 2005 00:17:10 +0000 (00:17 +0000)]
r5871: Remove file with unused function (that uses fstring)
Remove fstring usage from version.c
(This used to be commit d25163159c19d6f948551438f459d161ba6ea4ac)

12 years agor5867: winreg depends on initshutdown now (uses initshutdown_String)
Jelmer Vernooij [Thu, 17 Mar 2005 20:29:18 +0000 (20:29 +0000)]
r5867: winreg depends on initshutdown now (uses initshutdown_String)
(This used to be commit ff478d44bed302f4a27edea56e9b7e897e62c769)

12 years agor5866: Add InitShutdown IDL and torture test.
Jelmer Vernooij [Thu, 17 Mar 2005 20:28:01 +0000 (20:28 +0000)]
r5866: Add InitShutdown IDL and torture test.
Implement push side of NDR_LEN4|NDR_NOTERM strings (pull side was already present)
(This used to be commit ea61ec1122841716ed5d90085ba79e7bf691bd6a)

12 years agor5853: Move some of the functions not specific to the Samba NDR parser generator
Jelmer Vernooij [Thu, 17 Mar 2005 12:45:10 +0000 (12:45 +0000)]
r5853: Move some of the functions not specific to the Samba NDR parser generator
to a new ndr.pm.
Add function that can generate a "OrderTable" describing the order
in which the NDR data will be pushed/pulled.
(This used to be commit 2603a7326d7e54a012a95e37fd54433b85d8acc4)

12 years agor5852: Rename ndr.pm to ndr_parser.pm
Jelmer Vernooij [Thu, 17 Mar 2005 12:12:57 +0000 (12:12 +0000)]
r5852: Rename ndr.pm to ndr_parser.pm
I'm going to add a ndr.pm later on that'll generate a
tree with necessary information for the two NDR backends
(eparser, ndr_parser) containing alignment info, etc.
(This used to be commit 5162daa9464cd64930f5a8fd0d7b381b122c931d)

12 years agor5850: enable parsing of revision 4 security acl's
Stefan Metzmacher [Thu, 17 Mar 2005 04:24:35 +0000 (04:24 +0000)]
r5850: enable parsing of revision 4 security acl's

metze
(This used to be commit 2a6a075c7da2da7bb62fb42936252717bb9d0593)

12 years agor5839: add LDAP DirSync control idl
Stefan Metzmacher [Thu, 17 Mar 2005 00:33:56 +0000 (00:33 +0000)]
r5839: add LDAP DirSync control idl

metze
(This used to be commit 29d898a338e20c76a2270557b0c401a9672af094)

12 years agor5830: start to analyse the attribute values, depending on the attribute type
Stefan Metzmacher [Wed, 16 Mar 2005 15:47:19 +0000 (15:47 +0000)]
r5830: start to analyse the attribute values, depending on the attribute type

metze
(This used to be commit 63229b9503950847fbecd6ec22171d8c18d7ac91)

12 years agor5828: add some idl for DsAddEntry()
Stefan Metzmacher [Wed, 16 Mar 2005 09:25:52 +0000 (09:25 +0000)]
r5828: add some idl for DsAddEntry()

metze
(This used to be commit 3e6ec811288d74921bf3e393213e75d928156772)

12 years agor5827: Make ndrdump accept a uuid as well as a pipe name to specify
Tim Potter [Wed, 16 Mar 2005 06:18:20 +0000 (06:18 +0000)]
r5827: Make ndrdump accept a uuid as well as a pipe name to specify
which rpc interface to use.
(This used to be commit d59bc9dc9bb3a11dd07b7862ea10d1b32e670598)

12 years agor5800: fix recursiv printing in ndr_print_DsGetNCChangesInfo1()
Stefan Metzmacher [Tue, 15 Mar 2005 16:05:43 +0000 (16:05 +0000)]
r5800: fix recursiv printing in ndr_print_DsGetNCChangesInfo1()

metze
(This used to be commit 1084ad4bfce6bc20537f5bfccb5a25b60f503b32)

12 years agor5799: more DsGetNCChanges updates, I'm starting to understand it...
Stefan Metzmacher [Tue, 15 Mar 2005 14:42:09 +0000 (14:42 +0000)]
r5799: more DsGetNCChanges updates, I'm starting to understand it...

also add a really simple torture test for DsGetNCChanges

metze
(This used to be commit bcde67a7eff9ad82919e90fd64c02a17610c6f0e)

12 years agor5798: limit the size of an sid, 28 bytes complete is the biggest SID
Stefan Metzmacher [Tue, 15 Mar 2005 14:37:02 +0000 (14:37 +0000)]
r5798: limit the size of an sid, 28 bytes complete is the biggest SID
that can be handled.

tridge: do you think it would make sense to change the sub_auth[num_auths] to sub_auth[5],
        so we can copy the struct by sid1 = sid2;
comments please

metze
(This used to be commit 2fc8a604b003a6c3425eb7bbf77fbe467c956085)

12 years agor5797: - add idl property [subcontext_size()]
Stefan Metzmacher [Tue, 15 Mar 2005 14:33:38 +0000 (14:33 +0000)]
r5797: - add idl property [subcontext_size()]

  this can be used like this
  [subcontext_size(28),subcontext(0)] dom_sid sid;

  this descripes a fixed 28 byte buffer which contains a dom_sid,
  and the rest of the buffer is padded with zero bytes if the dom_sid doesn't
  need all 28 byte in it's ndr encoding.

- only push and pull the subcontext when we are in the NDR_SCALARS section
  (tridge, jelmer: I hope this is correct for all cases...!?:-)

metze
(This used to be commit 483bb1418fd5c70c418142ade80c1e286adfa05a)

12 years agor5796: add ndr_* function for int8 and int16
Stefan Metzmacher [Tue, 15 Mar 2005 14:25:59 +0000 (14:25 +0000)]
r5796: add ndr_* function for int8 and int16

metze
(This used to be commit 8ac0928a914c1cee3f0493b515f03c6422a8b71a)

12 years agor5785: Fix subcontext pushes
Jelmer Vernooij [Mon, 14 Mar 2005 01:11:13 +0000 (01:11 +0000)]
r5785: Fix subcontext pushes
(This used to be commit 0d590906cd7706ebd8c6d5921546291e98067864)

12 years agor5783: Test renaming of accounts in the RPC-SAMR test, and add support into
Andrew Bartlett [Sun, 13 Mar 2005 06:43:34 +0000 (06:43 +0000)]
r5783: Test renaming of accounts in the RPC-SAMR test, and add support into
the SAMR server.

Andrew Bartlett
(This used to be commit fd748f9d2f8f354f76587d92b94de83bffe1c6dc)

12 years agor5782: Use standard input for reading packet data if filename not specified.
Tim Potter [Sun, 13 Mar 2005 03:16:07 +0000 (03:16 +0000)]
r5782: Use standard input for reading packet data if filename not specified.
(This used to be commit c3c6dafc3120ed5018a27a882cbc09e9d05fac33)

12 years agor5781: Fix build.
Tim Potter [Sun, 13 Mar 2005 02:48:16 +0000 (02:48 +0000)]
r5781: Fix build.
(This used to be commit 35354456b2ab2fa173359fa16d8accb13a8fac7d)

12 years agor5780: Remove unused arguments.
Tim Potter [Sun, 13 Mar 2005 02:20:51 +0000 (02:20 +0000)]
r5780: Remove unused arguments.
(This used to be commit 1ee84e373e2b44c96f9353f194b766d6a144e7ce)

12 years agor5779: Remove signal and timeout gubbage from tdb.
Tim Potter [Sun, 13 Mar 2005 01:40:45 +0000 (01:40 +0000)]
r5779: Remove signal and timeout gubbage from tdb.
(This used to be commit dbb56e9a59cf00d57b09ded6d60bf9424d5f1f4c)

12 years agor5778: Remove tdb_set_lock_alarm() function from wrappers at tridge's request.
Tim Potter [Sun, 13 Mar 2005 01:01:24 +0000 (01:01 +0000)]
r5778: Remove tdb_set_lock_alarm() function from wrappers at tridge's request.
(This used to be commit 8b83eca265b6ad5f33e90beac67f3e1621010764)

12 years agor5777: At some stage SIG_ATOMIC_T was renamed to sig_atomic_t. This should
Tim Potter [Sat, 12 Mar 2005 22:24:46 +0000 (22:24 +0000)]
r5777: At some stage SIG_ATOMIC_T was renamed to sig_atomic_t.  This should
fix abartlet's compile problem.
(This used to be commit 170139035ab1e7659a82e1e2d40990f4d7f146c3)

12 years agor5775: Remove some unused functions (unions are no longer as special as they used...
Jelmer Vernooij [Sat, 12 Mar 2005 17:12:52 +0000 (17:12 +0000)]
r5775: Remove some unused functions (unions are no longer as special as they used to be)
Add oxid mapping table support in DCOM
(This used to be commit e193555f0eec2dda8c8760e9668181200fef0a1e)

12 years agor5769: Fix unused variable warning.
Tim Potter [Sat, 12 Mar 2005 09:55:08 +0000 (09:55 +0000)]
r5769: Fix unused variable warning.
(This used to be commit 80dfac3640443a41f7e45e9164ca1a6749494011)

12 years agor5766: get some more DsGetNCChanges stuff parsing correct
Stefan Metzmacher [Sat, 12 Mar 2005 09:25:39 +0000 (09:25 +0000)]
r5766: get some more DsGetNCChanges stuff parsing correct

metze
(This used to be commit 1a4560997d99f2401903f8e466208c001d3ab6c1)

12 years agor5765: remove unused var
Stefan Metzmacher [Sat, 12 Mar 2005 08:51:37 +0000 (08:51 +0000)]
r5765: remove unused var

metze
(This used to be commit a8f7c3e59f35127b51d4afc551b71f21886f4565)

12 years agor5764: add support for embedded ref pointers
Stefan Metzmacher [Sat, 12 Mar 2005 08:29:54 +0000 (08:29 +0000)]
r5764: add support for embedded ref pointers

metze
(This used to be commit 112043b1809a96b1a39ade71ea2885c0d792c79f)

12 years agor5742: - add torture test and idl for DsReplicaUpdateRefs()
Stefan Metzmacher [Fri, 11 Mar 2005 12:15:50 +0000 (12:15 +0000)]
r5742: - add torture test and idl for DsReplicaUpdateRefs()
  (the torture test currently only tests if the idl is correct)

- add start for idl for DsGetNCChanges()
  (if someone didn't noticed the current ethereal trunk code can
   successful decrypt DCERPC and LDAP gsskrb5 encrypted blobs,
   when you provide a keytab and have compiled against heimdal :-)

- add a view bitmaps and enum's for better debugging

metze
(This used to be commit cf7c1352ab2857b80256e02f70ab3fbd5177d596)

12 years agor5737: add some error codes
Stefan Metzmacher [Fri, 11 Mar 2005 10:33:01 +0000 (10:33 +0000)]
r5737: add some error codes

metze
(This used to be commit f543eb4ede54ac361017878574b3f4b6ffc9f2d5)

12 years agor5736: fix to avoid endless recursion in ndr_size_*() calculation
Stefan Metzmacher [Fri, 11 Mar 2005 10:09:16 +0000 (10:09 +0000)]
r5736: fix to avoid endless recursion in ndr_size_*() calculation

metze
(This used to be commit eaac0f214703f91f186eb54f97e15e56461762bd)

12 years agor5730: More fun with delayed write semantics with multiple file handles
Jeremy Allison [Thu, 10 Mar 2005 21:42:20 +0000 (21:42 +0000)]
r5730: More fun with delayed write semantics with multiple file handles
open on the same file on the same connection.
Jeremy.
(This used to be commit 23733abfa201347265f54232989b608b11ad7a85)

12 years agor5716: Add new Unix extensions defines for infolevels
Steve French [Wed, 9 Mar 2005 21:56:00 +0000 (21:56 +0000)]
r5716: Add new Unix extensions defines for infolevels
(This used to be commit 7f6ea98e0f338c3c9f1132c6d64a54266c1b9cfa)

12 years agor5709: Leave out the pull/push call with NDR_BUFFERS for not just
Jelmer Vernooij [Wed, 9 Mar 2005 15:39:55 +0000 (15:39 +0000)]
r5709: Leave out the pull/push call with NDR_BUFFERS for not just
scalars but also for structs/unions containing only scalars.
(This used to be commit a3e136b2f3bd51159775fea25eff0ea81e9716f7)

12 years agor5697: Give an error message when a ref pointer is NULL (requested by tpot)
Jelmer Vernooij [Tue, 8 Mar 2005 22:24:47 +0000 (22:24 +0000)]
r5697: Give an error message when a ref pointer is NULL (requested by tpot)
(This used to be commit 7ecc2e6130d7f284906cbc50dda86c742f139fae)

12 years agor5682: fix the build
Stefan Metzmacher [Mon, 7 Mar 2005 12:45:19 +0000 (12:45 +0000)]
r5682: fix the build

metze
(This used to be commit 67a2b091261d4dee2ed518ae80fdd8c1d9bf0e86)

12 years agor5681: fix the build and compiler wanings
Stefan Metzmacher [Mon, 7 Mar 2005 12:27:03 +0000 (12:27 +0000)]
r5681: fix the build and compiler wanings

metze
(This used to be commit bb2622a0c94127a31855adc41d90289219a1ddd7)

12 years agor5680: Don't crash if none of the predefined keys is available (reported by Alexander)
Jelmer Vernooij [Mon, 7 Mar 2005 12:02:48 +0000 (12:02 +0000)]
r5680: Don't crash if none of the predefined keys is available (reported by Alexander)
(This used to be commit 0d789872a890062b0b95aa039bb853bb6c07b2d0)

12 years agor5679: Complete basic test of rpc_composite_userinfo function (which
Rafal Szczesniak [Mon, 7 Mar 2005 05:12:33 +0000 (05:12 +0000)]
r5679: Complete basic test of rpc_composite_userinfo function (which
btw proves the function is completely broken but that's what
tests are for)

rafal
(This used to be commit 7278c7d8370d52fed1e6a7dfc848a3efa06ccd61)

12 years agor5678: Torture tests require also libnet in order to run NET-* tests.
Rafal Szczesniak [Mon, 7 Mar 2005 05:10:44 +0000 (05:10 +0000)]
r5678: Torture tests require also libnet in order to run NET-* tests.

rafal
(This used to be commit e492a2a604a930690a7cbec8aee17b8229bcf928)

12 years agor5677: Split structure definitions from implementation.
Rafal Szczesniak [Mon, 7 Mar 2005 05:09:37 +0000 (05:09 +0000)]
r5677: Split structure definitions from implementation.

rafal
(This used to be commit ec177c92266713e9a486e536c2d81af4eaa2425e)

12 years agor5676: Fix some alignment issues and IRemoteActivation
Jelmer Vernooij [Mon, 7 Mar 2005 02:14:38 +0000 (02:14 +0000)]
r5676: Fix some alignment issues and IRemoteActivation
(This used to be commit a9b13f67012d235d98920e639f59411d57a79bd7)

12 years agor5675: - More DCOM bug fixes
Jelmer Vernooij [Sun, 6 Mar 2005 22:37:31 +0000 (22:37 +0000)]
r5675: - More DCOM bug fixes
- Keep COM and DCOM more seperated
(This used to be commit f694f484c422d0c86beb58e8f62f134f8676d5e1)

12 years agor5674: - Re-enable DCOM support.
Jelmer Vernooij [Sun, 6 Mar 2005 21:43:54 +0000 (21:43 +0000)]
r5674: - Re-enable DCOM support.
- Always put IID in vtables (useful for asserts)
- Add table to keep track of DCOM proxy classes
- Bunch of smaller bug fixes
(This used to be commit 26d5a0b92c66bc86d0c26f687f83fa712342ac32)

12 years agor5672: Use switch_type() and the token storage mechanism for unions:
Jelmer Vernooij [Sun, 6 Mar 2005 17:02:14 +0000 (17:02 +0000)]
r5672: Use switch_type() and the token storage mechanism for unions:
 - Makes union handling less special
 - Allows unions in arrays, etc
 - Compatible with midl
 - Pidl will warn about switch_type() and the type of the switch_is() variable being different
(This used to be commit dc6b4ffc82a191631bc16a4b93a4916a39183ec6)

12 years agor5671: Bunch of fixes related to arrays and pointers to arrays.
Jelmer Vernooij [Sun, 6 Mar 2005 15:57:08 +0000 (15:57 +0000)]
r5671: Bunch of fixes related to arrays and pointers to arrays.
(This used to be commit 00ef0feaddc096d8f5e2755feecaec37d589a99c)

12 years agor5670: simplify and clarify ldb_modules.c code
Simo Sorce [Sun, 6 Mar 2005 15:33:40 +0000 (15:33 +0000)]
r5670: simplify and clarify ldb_modules.c code
rectify the test schema
correct a glitch in schema module
(This used to be commit 0579b5f7adfe160be8ecf124934b6593a02ed06f)

12 years agor5669: Couple of minor clearifications, simplifications.
Jelmer Vernooij [Sun, 6 Mar 2005 12:33:44 +0000 (12:33 +0000)]
r5669: Couple of minor clearifications, simplifications.
(This used to be commit 09a9222b600d58271f42ee0870e0c933d2e105d0)

12 years agor5668: Add tests to RPC-SAMLOGON to test for user@REALM style logins. These
Andrew Bartlett [Sun, 6 Mar 2005 08:24:34 +0000 (08:24 +0000)]
r5668: Add tests to RPC-SAMLOGON to test for user@REALM style logins.  These
need a NULL domain (or a "" domain, except this breaks NTLMv2, and I
need to look into it a bit more).

Add support to the Samba4 server for these logins.  This will need
extension when we handle trusted domains as a DC, as it is a principal
name, not just another format for the username.

Andrew Bartlett
(This used to be commit de02c7c222a32d2b3fb8ee8b715749b96cb647f9)

12 years agor5667: Move schannel state into libcli/auth (as it belongs with schannel,
Andrew Bartlett [Sun, 6 Mar 2005 06:37:38 +0000 (06:37 +0000)]
r5667: Move schannel state into libcli/auth (as it belongs with schannel,
which will move in with the rest of GENSEC shortly).

Add the RID as another element in the schannel state.

Andrew Bartlett
(This used to be commit 69114b4a8e1c937ab5ff12ca91dd22bd83fd9a3b)

12 years agor5666: winxp will use a NTTIME of -1 to mean "don't change" in setfileinfo
Andrew Tridgell [Sat, 5 Mar 2005 22:50:13 +0000 (22:50 +0000)]
r5666: winxp will use a NTTIME of -1 to mean "don't change" in setfileinfo
basic_info. Add null_nttime() as the equivalent of the existing
null_time() call for cheecking for valid NTTIME values
(This used to be commit 439ce2efbf7d2ba9b17d6b4bfaf651e781140715)

12 years agor5665: the data within el2->values can still be used at this point, so don't free
Andrew Tridgell [Sat, 5 Mar 2005 21:59:48 +0000 (21:59 +0000)]
r5665: the data within el2->values can still be used at this point, so don't free
(This used to be commit 12d03f96637b9298e0cbc7ee544ca97fffcab9f8)

12 years agor5664: simo, please look into this. It is possible for the number of elements
Andrew Tridgell [Sat, 5 Mar 2005 21:59:02 +0000 (21:59 +0000)]
r5664: simo, please look into this. It is possible for the number of elements
in msg[0] to be 0, in which case we crash. This is a workaround.

Also, if you could please split up this function into readable
pieces. It's a bit of a mess at the moment.
(This used to be commit 19a22f78c28a4b265f59df1b43c1bb6c9e58f736)

12 years agor5663: Revert some changes I didn't mean to commit...
Jelmer Vernooij [Sat, 5 Mar 2005 19:26:45 +0000 (19:26 +0000)]
r5663: Revert some changes I didn't mean to commit...
(This used to be commit 54e0be6f1eccbd870eb0e60ae8cdb90d2dc7f657)

12 years agor5662: eventlog uses dom_sid so it depends on security
Jelmer Vernooij [Sat, 5 Mar 2005 19:20:12 +0000 (19:20 +0000)]
r5662: eventlog uses dom_sid so it depends on security
(This used to be commit f9e9ff0d8dc9acd80143e15566811830f9993667)

12 years agor5661: Be a little stricter on syntax regarding arrays. A pointer to an
Jelmer Vernooij [Sat, 5 Mar 2005 18:34:18 +0000 (18:34 +0000)]
r5661: Be a little stricter on syntax regarding arrays. A pointer to an
array can now only be :

 type *name[];

rather then :

 type *name;

which was supported in the past. Warnings will be given when the first
syntax is used. Reasons for this change in behaviour include improved
readability and the fact that the second format makes dealing with multiple
levels of pointers harder.
(This used to be commit a416de5825c540fd3741731c4be05e9a659a6fdb)

12 years agor5660: Reduce number of generated "{}"'s
Jelmer Vernooij [Sat, 5 Mar 2005 16:50:02 +0000 (16:50 +0000)]
r5660: Reduce number of generated "{}"'s
No longer complain about pointers to arrays - we support those.
(This used to be commit 128c0ecf030043e81d73aaeda6afb731075f8f9e)

12 years agor5652: Add libnet tests section to torture test.
Rafal Szczesniak [Fri, 4 Mar 2005 00:25:16 +0000 (00:25 +0000)]
r5652: Add libnet tests section to torture test.

rafal
(This used to be commit f061652b75b1c5a203232c1a440fa9ba3e0bd2c3)

12 years agor5651: A bit more code in userinfo test and hook up test function to
Rafal Szczesniak [Fri, 4 Mar 2005 00:24:21 +0000 (00:24 +0000)]
r5651: A bit more code in userinfo test and hook up test function to
main torture binary.

rafal
(This used to be commit 94955e5325ceddd35673da74afb19d1676b5b23c)

12 years agor5646: state->loadfile might be NULL after allocation so this is really
Alexander Bokovoy [Thu, 3 Mar 2005 09:26:08 +0000 (09:26 +0000)]
r5646: state->loadfile might be NULL after allocation so this is really
should be NT_STATUS_HAVE_NO_MEMORY(state->loadfile) instead of
NT_STATUS_NOT_OK_RETURN(status).
(This used to be commit eb57a587889611bcf39d75d4e15b627f36899a53)

12 years agor5611: Add EnumPrinterDataEx-test (for now just for PrinterDriverData, we need
Günther Deschner [Wed, 2 Mar 2005 00:15:06 +0000 (00:15 +0000)]
r5611: Add EnumPrinterDataEx-test (for now just for PrinterDriverData, we need
to enumerate (recursively!) over all keys with EnumPrinterKey later on.

Guenther
(This used to be commit 46ae4010f2293fb1933aacd2da582fcb1c0a5e1d)

12 years agor5610: Starting libnet test of userinfo call. Unfinished yet, though
Rafal Szczesniak [Tue, 1 Mar 2005 23:53:18 +0000 (23:53 +0000)]
r5610: Starting libnet test of userinfo call. Unfinished yet, though
doesn't break anything at the moment.

rafal
(This used to be commit eb13c1bcfc330b046b76563c4eeb9d1ae438d37b)

12 years agor5603: add "authservice()" property to the interface property list
Stefan Metzmacher [Tue, 1 Mar 2005 16:08:36 +0000 (16:08 +0000)]
r5603: add "authservice()" property to the interface property list
so we can specify allowed target service names in the idl file

the default is "host"

metze
(This used to be commit bf40d5321f3257bf9354a42d31265f1a9b0d53ad)

12 years agor5601: add a gsskrb5 backend that uses lorikeet-heimdal's new gssapi with
Stefan Metzmacher [Tue, 1 Mar 2005 15:19:18 +0000 (15:19 +0000)]
r5601: add a gsskrb5 backend that uses lorikeet-heimdal's new gssapi with
GSS_C_DCE_STYLE support, it's just a start and does work correctly yet

metze
(This used to be commit 87ff661703f467db3dfcb33084041c3e2951e0ee)

12 years agor5598: GTK+ cleanups, remove some globals
Jelmer Vernooij [Tue, 1 Mar 2005 00:10:56 +0000 (00:10 +0000)]
r5598: GTK+ cleanups, remove some globals
(This used to be commit 12bfb37e1b633e8176286601fa38e565dd1f85e2)

12 years agor5588: We currently use a string representing an hex number so conform to that.
Simo Sorce [Sun, 27 Feb 2005 19:57:03 +0000 (19:57 +0000)]
r5588: We currently use a string representing an hex number so conform to that.
But we should move to a signed integer in future to be AD compatible.
(This used to be commit b67512c5139af121b6579a5c6318a489c2132ebb)

12 years agor5587: more work around the samldb module
Simo Sorce [Sun, 27 Feb 2005 16:35:19 +0000 (16:35 +0000)]
r5587: more work around the samldb module
fix the provision.ldif the layout of the @MODULES dn has changed since last commit
(This used to be commit acb99e63d40e71fa843c1b7a1719a350a353ed28)

12 years agor5585: LDB interfaces change:
Simo Sorce [Sun, 27 Feb 2005 11:35:47 +0000 (11:35 +0000)]
r5585: LDB interfaces change:

changes:
- ldb_wrap disappears from code and become a private structure of db_wrap.c
  thanks to our move to talloc in ldb code, we do not need to expose it anymore

- removal of ldb_close() function form the code
  thanks to our move to talloc in ldb code, we do not need it anymore
  use talloc_free() to close and free an ldb database

- some minor updates to ldb modules code to cope with the change and fix some
  bugs I found out during the process
(This used to be commit d58be9e74b786a11a57e89df36081d55730dfe0a)

12 years agor5584: add new experimental ldb module
Simo Sorce [Sun, 27 Feb 2005 11:31:38 +0000 (11:31 +0000)]
r5584: add new experimental ldb module
(This used to be commit e77a070c841c7a1b73dfcea2d43651618557d0f4)

12 years agor5583: some more docs
Simo Sorce [Sun, 27 Feb 2005 11:30:22 +0000 (11:30 +0000)]
r5583: some more docs
(This used to be commit d7751e3181dc82ddd416ccd35c806c6f105b0825)

12 years agor5576: Bunch of fixes pointed by tridge. A few more to come...
Rafal Szczesniak [Sat, 26 Feb 2005 11:39:32 +0000 (11:39 +0000)]
r5576: Bunch of fixes pointed by tridge. A few more to come...

rafal
(This used to be commit e5daf6911b49cd4aa0bff050fe8c559d6604859e)

12 years agor5554: Constants and untested IDL for spoolss_SetPrinter()
Tim Potter [Fri, 25 Feb 2005 06:26:11 +0000 (06:26 +0000)]
r5554: Constants and untested IDL for spoolss_SetPrinter()
(This used to be commit eed816e20f9cfcfc7bc475f1007578dcd2fd8ae0)

12 years agor5553: Add idl and test for spoolss_AddPort(). It always seems to return
Tim Potter [Fri, 25 Feb 2005 06:16:13 +0000 (06:16 +0000)]
r5553: Add idl and test for spoolss_AddPort().  It always seems to return
WERR_NOT_SUPPORTED though.
(This used to be commit ba4730a37838f45db1b77b777af8efdb45a06006)

12 years agor5552: Don't try to read the value of r.out.result when the dcerpc client
Tim Potter [Fri, 25 Feb 2005 05:39:01 +0000 (05:39 +0000)]
r5552: Don't try to read the value of r.out.result when the dcerpc client
function returns non-OK.  If a non-OK status is returned then some or
all or r.out is likely to be uninitialised.
(This used to be commit 0e83a306b06442a1adfe02ea6bdb727a42c7bacf)

12 years agor5551: Protect against falling off the end of the name resolve order list
Tim Potter [Fri, 25 Feb 2005 05:25:17 +0000 (05:25 +0000)]
r5551: Protect against falling off the end of the name resolve order list
if a name is not found.
(This used to be commit c23f767a9f5dd2dcae31bded540263b08876ecc2)

12 years agor5550: Initialise retry count - valgrind was freaking out because this value
Tim Potter [Fri, 25 Feb 2005 04:59:46 +0000 (04:59 +0000)]
r5550: Initialise retry count - valgrind was freaking out because this value
was not set.
(This used to be commit 328f37a3e8d10f97f361fb041be24f1ac88b6b0a)

12 years agor5540: - some more input checking in OpenPrinerEx()
Stefan Metzmacher [Thu, 24 Feb 2005 15:21:46 +0000 (15:21 +0000)]
r5540: - some more input checking in OpenPrinerEx()

- fix EnumPrinters() output

- add dummy EnumPorts

metze
(This used to be commit 6cdc717f3fa61fa053b20bad723d1f62b8d9a57a)

12 years agor5539: more bad name checks and don't check for \\localhost and \\127.0.0.1
Stefan Metzmacher [Thu, 24 Feb 2005 15:06:30 +0000 (15:06 +0000)]
r5539: more bad name checks and don't check for \\localhost and \\127.0.0.1
we maybe use this in the build farm

metze
(This used to be commit 98e32260f5f4bf3b66fd9238c061618a3b49197c)

12 years agor5538: Fix typo in comment -- non-existant constant name mentioned
Alexander Bokovoy [Thu, 24 Feb 2005 14:38:12 +0000 (14:38 +0000)]
r5538: Fix typo in comment -- non-existant constant name mentioned
(This used to be commit 1d033d9dba7bc567b5458c08672ce9e570bb374b)

12 years agor5537: - make use of bitmaps and enums
Stefan Metzmacher [Thu, 24 Feb 2005 14:05:52 +0000 (14:05 +0000)]
r5537: - make use of bitmaps and enums

- add and fix some PrinterInfo levels

- add and fix some DriverInfo levels

- fix EnumPrinterDriver torture test

the curent RPC-SPOOLSS now passes on w2k3

metze
(This used to be commit 14b88ca20dc64702f1c1b457a09b1f13b1964654)

12 years agor5533: Patch to detect infinite loops when traversing a tdb from "Shlomi Yaakobovich...
Jeremy Allison [Thu, 24 Feb 2005 01:10:57 +0000 (01:10 +0000)]
r5533: Patch to detect infinite loops when traversing a tdb from "Shlomi Yaakobovich" <Shlomi@exanet.com>
Jeremy.
(This used to be commit 84f6d2b3dd29c1aa478708db9617a79382158f64)

12 years agor5516: NT4 doesn't support GetPrinterDataEx()
Stefan Metzmacher [Wed, 23 Feb 2005 15:08:41 +0000 (15:08 +0000)]
r5516: NT4 doesn't support GetPrinterDataEx()

metze
(This used to be commit 81f4afcbfa296f54634ba2a88e9ef3e966405fc3)

12 years agor5515: fix PrinterInfo3
Stefan Metzmacher [Wed, 23 Feb 2005 15:06:25 +0000 (15:06 +0000)]
r5515: fix PrinterInfo3

metze
(This used to be commit 0f5b0ec34984d27a33bed3a5c7c627e9a2d96ccc)

12 years agor5506: Simplify the use of subcontexts and make them a bit less a special case.
Jelmer Vernooij [Tue, 22 Feb 2005 19:44:14 +0000 (19:44 +0000)]
r5506: Simplify the use of subcontexts and make them a bit less a special case.
(This used to be commit 48d54a9b57c0b233c7c60392b23876b426bbdec1)

12 years agor5505: make usage of bitmap's :-)
Stefan Metzmacher [Tue, 22 Feb 2005 12:54:13 +0000 (12:54 +0000)]
r5505: make usage of bitmap's :-)

metze
(This used to be commit bc31e19f38319b098402d1f348bb5f5952fdcf40)

12 years agor5504: fix typo
Stefan Metzmacher [Tue, 22 Feb 2005 12:53:02 +0000 (12:53 +0000)]
r5504: fix typo

metze
(This used to be commit 2bb29cc68ae795bbb4baa12501103ae9555f1898)

12 years agor5503: - add torture test which tests for invalid printernames
Stefan Metzmacher [Tue, 22 Feb 2005 11:51:18 +0000 (11:51 +0000)]
r5503: - add torture test which tests for invalid printernames

- add OpenPrinter() server code that just calls OpenPrinterEx()

- fix OpenPrinterEx logic, we pass the invalid printer names test now

metze
(This used to be commit 3085d3728eaf76097319f648ab4bc7f9447bbe10)