gd/samba-autobuild/.git
16 years agor1147: Support enumerating values
Jelmer Vernooij [Mon, 14 Jun 2004 13:56:52 +0000 (13:56 +0000)]
r1147: Support enumerating values
(This used to be commit 3af8419fa4053a3b2887e91b4bda5c93327efad4)

16 years agor1146: initially zero server info
Andrew Tridgell [Mon, 14 Jun 2004 13:22:03 +0000 (13:22 +0000)]
r1146: initially zero server info
(This used to be commit c1aeaf97b39e1769bd43b21225094bb5128eaab4)

16 years agor1145: added server support for logon level 5 in sam logon
Andrew Tridgell [Mon, 14 Jun 2004 13:21:37 +0000 (13:21 +0000)]
r1145: added server support for logon level 5 in sam logon
(This used to be commit cb3d3b5e51dc9d52854c922b0c50686284ac8f1b)

16 years agor1144: added logon level 5 for sam logon
Andrew Tridgell [Mon, 14 Jun 2004 13:21:11 +0000 (13:21 +0000)]
r1144: added logon level 5 for sam logon
(This used to be commit eb13fc6c3b482d49a2cfaf13d290f1e54a2f1865)

16 years agor1143: fixed spelling of sAMAccountName
Andrew Tridgell [Mon, 14 Jun 2004 13:20:33 +0000 (13:20 +0000)]
r1143: fixed spelling of sAMAccountName
(This used to be commit aadfbcee76a9181a540620f3b0827a3268b63a0e)

16 years agor1142: I think this should fix the interactive logins for tridge - don't take
Andrew Bartlett [Mon, 14 Jun 2004 12:31:04 +0000 (12:31 +0000)]
r1142: I think this should fix the interactive logins for tridge - don't take
sizeof() a pointer...

Andrew Bartlett
(This used to be commit c1019e6df6aa4fcce7dc2ccbd404a4254ab5d1fb)

16 years agor1141: - consolidated the netr_SamInfo structures using a netr_SamBaseInfo
Andrew Tridgell [Mon, 14 Jun 2004 12:06:53 +0000 (12:06 +0000)]
r1141: - consolidated the netr_SamInfo structures using a netr_SamBaseInfo
  structure (andrew, this is the type of structure consolidation I think
  you were asking about. It's possible here in NDR as it isn't in the
  top level fn code)

- added validation level 6 in sam logon

With these changes I can successfully authentication smbclient to a
winxp server, with the winxp server using a Samba4 ADS DC for account
auth
(This used to be commit 705205083a6e2430c420f44436a1d1ff8826bc73)

16 years agor1140: added IDL and test code for validation level 6 in sam logon
Andrew Tridgell [Mon, 14 Jun 2004 11:33:28 +0000 (11:33 +0000)]
r1140: added IDL and test code for validation level 6 in sam logon
(This used to be commit c8541098436d2cd83538375889560405ecb50034)

16 years agor1139: added IDL and server code for netr_LogonSamLogonWithFlags()
Andrew Tridgell [Mon, 14 Jun 2004 09:31:47 +0000 (09:31 +0000)]
r1139: added IDL and server code for netr_LogonSamLogonWithFlags()
(This used to be commit 4eac7340d8d7a109bed8fe7bb7cf663d6e7f0a56)

16 years agor1138: allow for a user in no groups
Andrew Tridgell [Mon, 14 Jun 2004 09:30:54 +0000 (09:30 +0000)]
r1138: allow for a user in no groups
(This used to be commit f9c1e12594e58b7e663ca099929eab8867b82a0c)

16 years agor1137: - added torture test for netr_LogonGetDomainInfo() call
Andrew Tridgell [Mon, 14 Jun 2004 08:15:31 +0000 (08:15 +0000)]
r1137: - added torture test for netr_LogonGetDomainInfo() call
(This used to be commit fdf6e4169d531c4a7d4e1b937abd3eb3af03c860)

16 years agor1136: - added IDL for netr_LogonGetDomainInfo()
Andrew Tridgell [Mon, 14 Jun 2004 08:12:50 +0000 (08:12 +0000)]
r1136: - added IDL for netr_LogonGetDomainInfo()

- added workstation to auth_session_info in rpc servers

- added session key fetch hook in crypto backends in dcesrv

- store and fetch seed as well as a session key in schannel ldb

- when a client uses schannel to setup a netlogon pipe connection we
  also need to setup the credentials from the schannel negotiation so
  credentials chaining works

- added server side netr_LogonGetDomainInfo() call
(This used to be commit a35459387de3b6a422c5af6f658338fc7e4314b0)

16 years agor1135: - allow integer function numbers in ndrdump
Andrew Tridgell [Mon, 14 Jun 2004 08:07:26 +0000 (08:07 +0000)]
r1135:  - allow integer function numbers in ndrdump

 - dump unused data in ndrdump
(This used to be commit 65c5590bd0cd23c65a94786846740180c7f175ba)

16 years agor1134: added a TODO regarding schannel credentials
Andrew Tridgell [Mon, 14 Jun 2004 07:28:05 +0000 (07:28 +0000)]
r1134: added a TODO regarding schannel credentials
(This used to be commit 17dacf494ac25bb6d9f6dea8cb81968ea2b84c55)

16 years agor1133: - add ndr_pull_ptr() as a separate call instead of ndr_pull_uint32()
Andrew Tridgell [Mon, 14 Jun 2004 07:27:22 +0000 (07:27 +0000)]
r1133: - add ndr_pull_ptr() as a separate call instead of ndr_pull_uint32()
  (useful for debugging IDL)

- fixed a couple of places that auto-generate incorrect printf style arguments
  for ndr_pull_error()
(This used to be commit ad3324a79ce030df4c5ed46408e662b46588f89f)

16 years agor1132: add a PRINTF_ATTRIBUTE to ndr_pull_error() to catch printf style coding errors
Andrew Tridgell [Mon, 14 Jun 2004 07:25:38 +0000 (07:25 +0000)]
r1132: add a PRINTF_ATTRIBUTE to ndr_pull_error() to catch printf style coding errors
(This used to be commit f0940f19129f0f2eccc3bb5130b8d2dd0b60f83f)

16 years agor1131: remove an error msg for failing to open unexpected.tdb
Andrew Tridgell [Mon, 14 Jun 2004 07:24:52 +0000 (07:24 +0000)]
r1131: remove an error msg for failing to open unexpected.tdb
(This used to be commit ae393c2ed6b6039d28bb02d5e5104a6d25368ce6)

16 years agor1130: remove some pointless debug messages
Andrew Tridgell [Mon, 14 Jun 2004 07:24:13 +0000 (07:24 +0000)]
r1130: remove some pointless debug messages
(This used to be commit 260be3fbef5a198621274cfe0c0250f292d819ca)

16 years agor1129: Remove unused function.
Andrew Bartlett [Mon, 14 Jun 2004 06:49:18 +0000 (06:49 +0000)]
r1129: Remove unused function.

Andrew Bartlett
(This used to be commit 4d23b9e039872273f3ef433d94d24759bcb87c30)

16 years agor1123: Make all lp_ string functions return 'const char *'.
Andrew Bartlett [Sun, 13 Jun 2004 23:50:55 +0000 (23:50 +0000)]
r1123: Make all lp_ string functions return 'const char *'.

Fix other 'const' warnings in the torture code.

Andrew Bartlett
(This used to be commit 5d39d7497f189da15d659b3f83b7314026040a15)

16 years agor1119: Saner keyboard shortcuts
Jelmer Vernooij [Sat, 12 Jun 2004 17:51:22 +0000 (17:51 +0000)]
r1119: Saner keyboard shortcuts
(This used to be commit 971941acc7e75da89b1bdc612fd476a7f6124dcb)

16 years agor1118: Read-only enumeration of keys in the LDB backend works now :-)
Jelmer Vernooij [Sat, 12 Jun 2004 15:12:23 +0000 (15:12 +0000)]
r1118: Read-only enumeration of keys in the LDB backend works now :-)
(This used to be commit 456f97eed05047b20acceb50708b47209c37ca20)

16 years agor1113: Test for wildcards in chkpath.
Jeremy Allison [Thu, 10 Jun 2004 23:17:22 +0000 (23:17 +0000)]
r1113: Test for wildcards in chkpath.
Jeremy.
(This used to be commit 14cf961b7f8d273604e53ba9a889bb18cd8054d8)

16 years agor1100: Comment out functions that we now get from other sources (misc.idl and
Tim Potter [Thu, 10 Jun 2004 07:04:02 +0000 (07:04 +0000)]
r1100: Comment out functions that we now get from other sources (misc.idl and
lsarpc.idl).

Add stub for ndr_pull_relative() function.
(This used to be commit b3bc3d2ef41e2c5948a05d0c10591befdb2444a5)

16 years agor1099: Set $module variable to name of module.
Tim Potter [Thu, 10 Jun 2004 06:56:36 +0000 (06:56 +0000)]
r1099: Set $module variable to name of module.

Only generate code for module registration if we could find a UUID.

Tweaks to get [relative] compiling.
(This used to be commit 19442e07d080f4965ece5eacd8724e325266ec0c)

16 years agor1098: Extended raw chkpath to catch regressions.
Jeremy Allison [Thu, 10 Jun 2004 01:08:54 +0000 (01:08 +0000)]
r1098: Extended raw chkpath to catch regressions.
Jeremy.
(This used to be commit 37d1fa1684b4cca125ae2cf6039f8b12e7ae1b89)

16 years agor1091: Added in timing tests for deferred opens. Added extra debug info to signing
Jeremy Allison [Wed, 9 Jun 2004 00:07:59 +0000 (00:07 +0000)]
r1091: Added in timing tests for deferred opens. Added extra debug info to signing
mistakes.
Jeremy.
(This used to be commit 5c3a2417cfe1bdbdfb35d933d49f77f6696790b3)

16 years agor1086: Add defer open test to check timeout on sharing violation open.
Jeremy Allison [Tue, 8 Jun 2004 19:25:26 +0000 (19:25 +0000)]
r1086: Add defer open test to check timeout on sharing violation open.
This has found some signing errors in the Samba3.0 implementation
of the deferred open code. Still working on these...
Jeremy
(This used to be commit 0068cb12ef91515a95f17a1be7dfbc83fbb89eba)

16 years agor1083: Generate prototypes for structs and unions marked "public" in the idl.
Tim Potter [Tue, 8 Jun 2004 12:33:47 +0000 (12:33 +0000)]
r1083: Generate prototypes for structs and unions marked "public" in the idl.

Delete various hacks to work around not doing this before.
(This used to be commit 5c3c3d3e72d8dd5d995a5bc5b2c7d7217b7c0432)

16 years agor1080: Make sure to initialise all the returned elements in the SamLogon
Andrew Bartlett [Mon, 7 Jun 2004 22:17:51 +0000 (22:17 +0000)]
r1080: Make sure to initialise all the returned elements in the SamLogon
reply also initialise the LM session key, when we have it (was failing
because the auth code was setting it's length wrong).

Andrew Bartlett
(This used to be commit de97d9df224f769953e850a276515923a830839c)

16 years agor1078: the dxesrv_crypto_* implementations should now explicit set
Stefan Metzmacher [Mon, 7 Jun 2004 21:34:32 +0000 (21:34 +0000)]
r1078: the dxesrv_crypto_* implementations should now explicit set
the dce_conn->auth_state.session_info
( the ntlmssp one works fine, but the schannel one isn't implemented yet)

this is also set by the ntvfs_ipc backend on the endpoint connect.

metze
(This used to be commit ad3dd1789e9f124493519cb4731d9f5a563fd051)

16 years agor1077: fix segfault in schannel over ncacn_ip_tcp
Stefan Metzmacher [Mon, 7 Jun 2004 21:30:17 +0000 (21:30 +0000)]
r1077: fix segfault in schannel over ncacn_ip_tcp

metze
(This used to be commit 9e9a52692ebe9d47f1a08740ea1dcb8f46041211)

16 years agor1073: import DYNEXP flags to smb_build
Stefan Metzmacher [Mon, 7 Jun 2004 18:31:38 +0000 (18:31 +0000)]
r1073: import DYNEXP flags to smb_build

and use @{$SMB_BUILD_CTX->{BUILD_ENV}{LD}{DYNEXP}} for the flags

I'll use this for all vars which are currently using AC_SUBST(),
so we can skip Makefile.in...

(this should fix the build on us4...)

metze
(This used to be commit 798cbed5a328bd773447f1ee0b4f6ea751062e7e)

16 years agor1068: make the dcerpc client side auth/crypto code much more generic
Stefan Metzmacher [Mon, 7 Jun 2004 12:30:22 +0000 (12:30 +0000)]
r1068: make the dcerpc client side auth/crypto code much more generic

metze
(This used to be commit 1706ff88a72c6578a109c2cf24f2f009812c3892)

16 years agor1067: fix compiler warnings
Stefan Metzmacher [Mon, 7 Jun 2004 12:17:29 +0000 (12:17 +0000)]
r1067: fix compiler warnings

metze
(This used to be commit e5d338821e590c49947a18a5d5c361122571988d)

16 years agor1066: fix compiler warning
Stefan Metzmacher [Mon, 7 Jun 2004 12:07:08 +0000 (12:07 +0000)]
r1066: fix compiler warning

metze
(This used to be commit 6f8b51e290d44a7c4e039dc6e93c7911a0316009)

16 years agor1065: some header file cleanups
Stefan Metzmacher [Mon, 7 Jun 2004 12:06:26 +0000 (12:06 +0000)]
r1065: some header file cleanups

smb.h should end with only smb protocol specific stuff in it

metze
(This used to be commit fda8e59f3d057bf849598f96f78f50f62d8514fe)

16 years agor1064: Remove the unused userdom_struct from the user_context struct
Andrew Bartlett [Mon, 7 Jun 2004 09:16:36 +0000 (09:16 +0000)]
r1064: Remove the unused userdom_struct from the user_context struct

Andrew Bartlett
(This used to be commit e975f63a2d5adadfba8d5e53c4817286e08b7e1d)

16 years agor1063: userdom_struct dies!
Andrew Bartlett [Mon, 7 Jun 2004 09:08:39 +0000 (09:08 +0000)]
r1063: userdom_struct dies!

(Cleanup unused header definitions)

Andrew Bartlett
(This used to be commit 5941873f558c2af6ab5ef64e468acc8fab96ac01)

16 years agor1062: fix typo, found by valgrind
Stefan Metzmacher [Mon, 7 Jun 2004 09:01:40 +0000 (09:01 +0000)]
r1062: fix typo, found by valgrind

metze
(This used to be commit f65cba9047c6a206e5aaade15b157e07fe4c8bd2)

16 years agor1061: The start of the SamLogon call for the NETLOGON pipe.
Andrew Bartlett [Mon, 7 Jun 2004 08:54:49 +0000 (08:54 +0000)]
r1061: The start of the SamLogon call for the NETLOGON pipe.

Changes:

- Check for a valid 'pipe_state' in netr_ServerAuthenticate3 before
  we dereference it

- removes the expansionroom[7] in the netr_SamInfo* structs to 7
individual elements.
- renames netr_SamInfo -> netr_SamInfo2
          netr_SamInfo2 -> netr_SamInfo3
  - Having the thing we always called an 'info3' being 'netr_SamInfo2'
    was just too confusing.

- Expand and fill in extra details about users from the SAM, into
  the server_info, for processing into the SamLogon reply.

- Add a dum_sid_dup() function to duplicate a struct dom_sid

The SamLogon code currently does not return supplementary groups, and is
only tested with Samba4 smbtorture.

Andrew Bartlett
(This used to be commit 6c92563b7961f15fc74b02601e105d5e1d04f04d)

16 years agor1060: check for an invalid session key in samr_set_password()
Andrew Tridgell [Mon, 7 Jun 2004 08:50:21 +0000 (08:50 +0000)]
r1060: check for an invalid session key in samr_set_password()
(This used to be commit 5a90187c2cb7521cb7931355e5cf2f11d55a4ad0)

16 years agor1059: add dcesrv_crypto_schannel_session_info() dummy function.
Stefan Metzmacher [Mon, 7 Jun 2004 07:07:27 +0000 (07:07 +0000)]
r1059: add dcesrv_crypto_schannel_session_info() dummy function.

every backend must implement all functions!

metze
(This used to be commit d62c0661f9234418478873dfc9ba244bdf5c36c0)

16 years agor1058: The start of work on the SamLogon call for NETLOGON.
Andrew Bartlett [Mon, 7 Jun 2004 03:46:32 +0000 (03:46 +0000)]
r1058: The start of work on the SamLogon call for NETLOGON.

This starts to store information about the user in the server_info
struct - like the account name, the full name etc.

Also, continue to make the names of the structure elements in the
logon reply more consistant with those in the SAMR pipe.

Andrew Bartlett
(This used to be commit 3ccd96bd945e0fd95e42c69ad8ff07055af2e62b)

16 years agor1057: added rpc packet logging for packets that generate rpc faults. This
Andrew Tridgell [Mon, 7 Jun 2004 03:13:38 +0000 (03:13 +0000)]
r1057: added rpc packet logging for packets that generate rpc faults. This
makes it much easier to develop the IDL for new requests, especially
for sealed pipes, where ethereal cannot easily extract the data.
(This used to be commit 0cde043592d2d2439cf0cd8bf113545e78be5dfd)

16 years agor1056: fixed a comment on handling of the initial challenge in the ntlmssp rpc server...
Andrew Tridgell [Mon, 7 Jun 2004 03:12:11 +0000 (03:12 +0000)]
r1056: fixed a comment on handling of the initial challenge in the ntlmssp rpc server backend
(This used to be commit 536aa86aa92e3cf9fb99d5939cdceff637c72668)

16 years agor1055: Standalone build fixes for ldb:
Tim Potter [Mon, 7 Jun 2004 01:59:23 +0000 (01:59 +0000)]
r1055: Standalone build fixes for ldb:

  - Various Makefile fixes

  - #include <stdint.h>

ldb still needs a proper build system though.  (-:
(This used to be commit 52e4fe8ce9142c4002263686c8043d94b37d7a9c)

16 years agor1054: Build extra binaries in bin directory like ldb does.
Tim Potter [Mon, 7 Jun 2004 01:53:55 +0000 (01:53 +0000)]
r1054: Build extra binaries in bin directory like ldb does.
(This used to be commit 6c15d5f31bdb2559656c96ae7f01f99d1ab9cb36)

16 years agor1053: Make tdb build standalone:
Tim Potter [Mon, 7 Jun 2004 01:51:04 +0000 (01:51 +0000)]
r1053: Make tdb build standalone:

  - #include <stdint.h>

  - uint_t isn't a valid type, change back to unsigned int
(This used to be commit f690325565d2393bba3cb9f6e7cdf3753cbd4423)

16 years agor1052: Remove autogenerated file.
Tim Potter [Mon, 7 Jun 2004 01:40:30 +0000 (01:40 +0000)]
r1052: Remove autogenerated file.
(This used to be commit 108efcc002c2eccfd1da30fff5c11aa67af09f9e)

16 years agor1048: - moved the schannel definitions into a separate schannel.idl
Andrew Tridgell [Sun, 6 Jun 2004 12:59:14 +0000 (12:59 +0000)]
r1048: - moved the schannel definitions into a separate schannel.idl

- added server side support for schannel type 23. This allows WinXP to establish a schannel connection
  to Samba4 as an ADS DC

- added client side support for schannel type 23, but disabled it as currently the client
  code has now way of getting the fully qualified domain name (which is needed)

- report dcerpc faults in the server code in the log
(This used to be commit 55e0b014fe14ca8811b55887208a1c3147ddb0d2)

16 years agor1047: Now samr eparser compiles, links and doesn't crash ethereal.
Tim Potter [Sun, 6 Jun 2004 11:18:38 +0000 (11:18 +0000)]
r1047: Now samr eparser compiles, links and doesn't crash ethereal.
(This used to be commit f18dc9eb887034171dcf28a1f309a69e9088604e)

16 years agor1046: initialise a structure element caught by valgrind
Andrew Tridgell [Sun, 6 Jun 2004 10:49:26 +0000 (10:49 +0000)]
r1046: initialise a structure element caught by valgrind
(This used to be commit 4daab1eaec633d97974d7d02f5c1a9e908392a7a)

16 years agor1045: Wow - we actually compile (but not link) the autogenerated parser from
Tim Potter [Sun, 6 Jun 2004 10:25:54 +0000 (10:25 +0000)]
r1045: Wow - we actually compile (but not link) the autogenerated parser from
samr.  The array handling is a bit of a mess though.
(This used to be commit 7ff7737832e0e5877ce8bcf329a123a2bce05370)

16 years agor1044: don't use sub_get_remote_machine()
Andrew Tridgell [Sun, 6 Jun 2004 08:30:54 +0000 (08:30 +0000)]
r1044: don't use sub_get_remote_machine()
(This used to be commit be75cdc1bf5558cb7da50b15bf1fd629a0c44dc2)

16 years agor1043: allocate signature from the right mem_ctx. Samba4 now passes the schannel...
Andrew Tridgell [Sun, 6 Jun 2004 08:28:51 +0000 (08:28 +0000)]
r1043: allocate signature from the right mem_ctx. Samba4 now passes the schannel torture test.
(This used to be commit 95599e3ef79bf5cafb556121c99ffc5c3a8f3314)

16 years agor1042: added testing of 128 bit schannel session keys
Andrew Tridgell [Sun, 6 Jun 2004 07:58:16 +0000 (07:58 +0000)]
r1042: added testing of 128 bit schannel session keys
(This used to be commit 96fc2b6f1e7372cc3646bd52172187b8a689c15a)

16 years agor1041: - pulled the domain join code out of the netlogon test and made it a separate...
Andrew Tridgell [Sun, 6 Jun 2004 07:14:10 +0000 (07:14 +0000)]
r1041: - pulled the domain join code out of the netlogon test and made it a separate utility function, to allow
  multiple torture tests to temporarily join a domain

- fixed a session key size problem

- added a schannel test suite

- allow schannel to work with ncacn_ip_tcp
(This used to be commit 36f05e4d575099fcb957b8a55781c38dcd2e1177)

16 years agor1040: make sure main() doesn't get auto-prototyped
Andrew Tridgell [Sun, 6 Jun 2004 07:10:58 +0000 (07:10 +0000)]
r1040: make sure main() doesn't get auto-prototyped
(This used to be commit 7c2279e4bc631d88e402ac82c6c17fb811785394)

16 years agor1039: Remove description of unexisting option.
Jelmer Vernooij [Sat, 5 Jun 2004 23:25:58 +0000 (23:25 +0000)]
r1039: Remove description of unexisting option.
(This used to be commit c085b1f94e42f6fc11e72344652019dde5036e60)

16 years agor1038: Check whether a module actually exists before attempting to load it...
Jelmer Vernooij [Sat, 5 Jun 2004 20:53:18 +0000 (20:53 +0000)]
r1038: Check whether a module actually exists before attempting to load it...
(This used to be commit c8e3fd75e594c8fc841337234e99be288180822f)

16 years agor1037: Always export all symbols
Jelmer Vernooij [Sat, 5 Jun 2004 20:33:11 +0000 (20:33 +0000)]
r1037: Always export all symbols
(This used to be commit 0209dce1eb9c62c0e454906d9ba015d8c5f5abf6)

16 years agor1036: Get module initialisation function correct when building shared
Jelmer Vernooij [Sat, 5 Jun 2004 19:46:27 +0000 (19:46 +0000)]
r1036: Get module initialisation function correct when building shared
(This used to be commit 8238acef47b754f91645c51326451c7ca153d992)

16 years agor1035: Support shared modules again
Jelmer Vernooij [Sat, 5 Jun 2004 19:30:13 +0000 (19:30 +0000)]
r1035: Support shared modules again
(This used to be commit 7949dc25ab05f7d5ad6217a6304e1f50b8b5dc41)

16 years agor1034: Couple of small (popt) fixes
Jelmer Vernooij [Sat, 5 Jun 2004 19:24:48 +0000 (19:24 +0000)]
r1034: Couple of small (popt) fixes
(This used to be commit 6fa0baa1c33b487f5f693483dd9b2664a0093b12)

16 years agor1033: Include new manpages
Jelmer Vernooij [Sat, 5 Jun 2004 19:06:43 +0000 (19:06 +0000)]
r1033: Include new manpages
(This used to be commit 17bf1b591ea21b487c6723f7f03a1f8b9b613097)

16 years agor1032: Fix RPC backend segfault
Jelmer Vernooij [Sat, 5 Jun 2004 18:45:27 +0000 (18:45 +0000)]
r1032: Fix RPC backend segfault
(This used to be commit db902bff3c5eb54d6b1035d009948ff316cffa94)

16 years agor1031: Move more code dealing with passwords to struct samr_Password.
Andrew Bartlett [Sat, 5 Jun 2004 14:04:45 +0000 (14:04 +0000)]
r1031: Move more code dealing with passwords to struct samr_Password.

Andrew Bartlett
(This used to be commit 88222b5da9a005e48477d2bfd98a488e4442b5f6)

16 years agor1030: added server side schannel support
Andrew Tridgell [Sat, 5 Jun 2004 05:01:38 +0000 (05:01 +0000)]
r1030: added server side schannel support
(This used to be commit 2ac79dfba0e64056a680f21d7dd0c007f79d4a70)

16 years agor1029: cope wiith samdb_result_passwords() returning a null machine password
Andrew Tridgell [Sat, 5 Jun 2004 04:51:24 +0000 (04:51 +0000)]
r1029: cope wiith samdb_result_passwords() returning a null machine password
(This used to be commit ee6c17f3735381568d38e6c2df80bec687d00fbb)

16 years agor1028: More consistancy fixes, which should also fix the build.
Andrew Bartlett [Sat, 5 Jun 2004 04:32:50 +0000 (04:32 +0000)]
r1028: More consistancy fixes, which should also fix the build.

Andrew Bartlett
(This used to be commit 0d2ae66d3a82134d86084f63c05214e03dfcb48b)

16 years agor1027: More rename:
Andrew Bartlett [Sat, 5 Jun 2004 03:43:00 +0000 (03:43 +0000)]
r1027: More rename:

pwd -> password

(should fix the build).

Andrew Bartlett
(This used to be commit f9280f956eef19ad1a39e120cb3ed0e3982fe7d5)

16 years agor1026: Spelling.
Tim Potter [Sat, 5 Jun 2004 03:37:27 +0000 (03:37 +0000)]
r1026: Spelling.
(This used to be commit b7fe73613acf5423b77fd91c56849351bf386960)

16 years agor1025: Rename (across the samr and netlogon pipes, so far)
Andrew Bartlett [Sat, 5 Jun 2004 03:22:10 +0000 (03:22 +0000)]
r1025: Rename (across the samr and netlogon pipes, so far)

pwd -> password
passwd -> password

username -> account_name

Also work on consistant structure feild names between these two pipes,
and fix up some callers to use samr_Password for the netlogon
credential code.

Andrew Bartlett
(This used to be commit 4e35418c2776f7b79be5b358ffd077754685d1ac)

16 years agor1024: Use samr_Password for the machine password here - this ensures we can
Andrew Bartlett [Sat, 5 Jun 2004 03:14:59 +0000 (03:14 +0000)]
r1024: Use samr_Password for the machine password here - this ensures we can
never pass in something of the wrong length.

Andrew Bartlett
(This used to be commit d6999ea9c07d8652b0d63147e7294bc35e7063fe)

16 years agor1023: Prepare the auth subsystem interfaces for netlogon SamLogon to use.
Andrew Bartlett [Sat, 5 Jun 2004 03:09:38 +0000 (03:09 +0000)]
r1023: Prepare the auth subsystem interfaces for netlogon SamLogon to use.

Andrew Bartlett
(This used to be commit b5fa2baaa9e110aa93107b13744e1fc5a64adbb5)

16 years agor1022: add the session_info() call to the dcerpc server auth backends
Stefan Metzmacher [Sat, 5 Jun 2004 02:27:30 +0000 (02:27 +0000)]
r1022: add the session_info() call to the dcerpc server auth backends

metze
(This used to be commit d1ab26b907f1eb2be31fe6946ffa5b8255fc6ac9)

16 years agor1021: Because auth_serversupplied_info is not reference counted, this may
Andrew Bartlett [Sat, 5 Jun 2004 02:00:02 +0000 (02:00 +0000)]
r1021: Because auth_serversupplied_info is not reference counted, this may
only be called once per authentication.

Andrew Bartlett
(This used to be commit 9a5de8de952a4e5c3eadccf42d034fa7cfd55171)

16 years agor1020: Add an (untested, until the other end is hooked in) method for
Andrew Bartlett [Sat, 5 Jun 2004 01:54:16 +0000 (01:54 +0000)]
r1020: Add an (untested, until the other end is hooked in) method for
obtaining the session_info from an NTLMSSP authenticated user.

Andrew Bartlett
(This used to be commit 7961f1a18d67a6a0cf2c61bcc1c3b42ed06176f7)

16 years agor1019: Push the auth subsystem away from using typedef, and over to the 'all
Andrew Bartlett [Sat, 5 Jun 2004 01:39:08 +0000 (01:39 +0000)]
r1019: Push the auth subsystem away from using typedef, and over to the 'all
goodness and light' struct ;-)

Break apart the auth subsystem's return strucutres, into the parts
that a netlogon call cares about, and the parts that are for a local
session.  This is the 'struct session_info' and it will almost
completly replace the current information stored on a vuid, but be
generic to all login methods (RPC over TCP, for example).

Andrew Bartlett
(This used to be commit d199697014d9562f9439a30b950fda798c5ef419)

16 years agor1018: fix a const and unsigned int problem in ldb
Andrew Tridgell [Sat, 5 Jun 2004 01:30:27 +0000 (01:30 +0000)]
r1018: fix a const and unsigned int problem in ldb
(This used to be commit 3d52ca93731ad67c14ac42f627e3feb1a964b29a)

16 years agor1017: - move to a centralised way of handling talloc/ldb interaction
Andrew Tridgell [Sat, 5 Jun 2004 01:29:49 +0000 (01:29 +0000)]
r1017: - move to a centralised way of handling talloc/ldb interaction
(This used to be commit 363cb3377a0eca5bfef71a02dcdc21c5fadbaf32)

16 years agor1016: - store the schannel session key after it is established
Andrew Tridgell [Sat, 5 Jun 2004 01:29:20 +0000 (01:29 +0000)]
r1016: - store the schannel session key after it is established

- move to a centralised way of handling talloc/ldb interaction
(This used to be commit 2b9b752875ba5e03e82f40e31f26bc1f245b3825)

16 years agor1015: commit the schannel session key handling code now, so abartlet and
Andrew Tridgell [Sat, 5 Jun 2004 01:27:02 +0000 (01:27 +0000)]
r1015: commit the schannel session key handling code now, so abartlet and
metze can have a look. Not tested yet, as I'm still writing the server
side schannel code.
(This used to be commit 768cc0193a1267274f297c47a36bef4acd391e83)

16 years agor1014: change the handling of r->out to auto-zero the structure, and auto-copy
Andrew Tridgell [Sat, 5 Jun 2004 01:13:27 +0000 (01:13 +0000)]
r1014: change the handling of r->out to auto-zero the structure, and auto-copy
in,out,ref vars
(This used to be commit dffe9165164a111313d744d942645ad2df83d5f3)

16 years agor1013: WE NEED ALWAYS TO INIT THE OUTPUT VARS!
Stefan Metzmacher [Fri, 4 Jun 2004 20:36:44 +0000 (20:36 +0000)]
r1013: WE NEED ALWAYS TO INIT THE OUTPUT VARS!
in rpc server code!

add missing ZERO_STRUCT(r->out.info);
in samr_GetDomPwInfo

metze
(This used to be commit e21f8a343022424097ff53cd8d5e16ac46fff772)

16 years agor1010: make the dcesrv_crypto code a bit more generic...
Stefan Metzmacher [Fri, 4 Jun 2004 12:32:37 +0000 (12:32 +0000)]
r1010: make the dcesrv_crypto code a bit more generic...
fix type 'cyrpto' -> 'crypto'

metze
(This used to be commit 90f4777dfcb141b646063128c82f4c03bd176413)

16 years agor1009: Make all users of NT and LM passwords use the samr_Password structure.
Andrew Bartlett [Fri, 4 Jun 2004 11:58:46 +0000 (11:58 +0000)]
r1009: Make all users of NT and LM passwords use the samr_Password structure.

This includes the netlogon pipe, for the machine account password
change system.

Andrew Bartlett
(This used to be commit 49d545a82057ee8b60d50aa55e908efe59875150)

16 years agor1006: print out the SVN revision by configure,
Stefan Metzmacher [Fri, 4 Jun 2004 11:25:45 +0000 (11:25 +0000)]
r1006: print out the SVN revision by configure,
so that the build farm can use it

metze
(This used to be commit 20f848aeef19c7694cc5435287ec9235419741fc)

16 years agor1005: there was one NTLMSSP_STATE left in:-(
Stefan Metzmacher [Fri, 4 Jun 2004 09:52:35 +0000 (09:52 +0000)]
r1005: there was one NTLMSSP_STATE left in:-(
...fix the build

metze
(This used to be commit 49118189444e020b4d3159b6edbc6f7559dbb1a6)

16 years agor1004: continue tridge's work on dcerpc server auth/crypto code
Stefan Metzmacher [Fri, 4 Jun 2004 09:46:46 +0000 (09:46 +0000)]
r1004: continue tridge's work on dcerpc server auth/crypto code
I made it much more generic, and we should be able to add a
module interface to this code, so that other DCERPC_AUTH types can be added
via modules...

metze
(This used to be commit d09abeb686c43c62322205689273d1b417113004)

16 years agor1003: Removed e_ndr stuff - too verbose.
Tim Potter [Fri, 4 Jun 2004 08:00:51 +0000 (08:00 +0000)]
r1003: Removed e_ndr stuff - too verbose.

Merged across populating %needed with hf index members for functions
from old version of eparser.
(This used to be commit fc3c5d6fabf397106520ed25a564229ee4853521)

16 years agor1002: Add helper files for eparser output.
Tim Potter [Fri, 4 Jun 2004 07:59:54 +0000 (07:59 +0000)]
r1002: Add helper files for eparser output.
(This used to be commit 595b6e0f2c9832b3e4a8eaa24d64f32d6a693ff3)

16 years agor1001: in samba4 we don't(shouldn't) use typedef's anymore...
Stefan Metzmacher [Fri, 4 Jun 2004 07:46:24 +0000 (07:46 +0000)]
r1001: in samba4 we don't(shouldn't) use typedef's anymore...

metze
(This used to be commit ac5f6f7e511a730448012c8a709887827aea2281)

16 years agor995: - renamed many of our crypto routines to use the industry standard
Andrew Tridgell [Thu, 3 Jun 2004 23:15:16 +0000 (23:15 +0000)]
r995: - renamed many of our crypto routines to use the industry standard
  names rather than our crazy naming scheme. So DES is now called
  des_crypt() rather than smbhash()

- added the code from the solution of the ADS crypto challenge that
  allows Samba to correctly handle a 128 bit session key in all of the
  netr_ServerAuthenticateX() varients. A huge thanks to Luke Howard
  from PADL for solving this one!

- restructured the server side rpc authentication to allow for other
  than NTLMSSP sign and seal. This commit just adds the structure, the
  next commit will add schannel server side support.

- added 128 bit session key support to our client side code, and
  testing against w2k3 with smbtorture. Works well.
(This used to be commit 729b2f41c924a0b435d44a14209e6dacc2304cee)

16 years agor990: fix tdb standalone build
Stefan Metzmacher [Thu, 3 Jun 2004 15:59:26 +0000 (15:59 +0000)]
r990: fix tdb standalone build

metze
(This used to be commit 4c1c9f59ccea8b6cd7edf3bad8acb9cd8c772670)

16 years agor987: Start replacing ndr_* functions with e_ndr_* and removing stuff related
Tim Potter [Thu, 3 Jun 2004 07:33:36 +0000 (07:33 +0000)]
r987: Start replacing ndr_* functions with e_ndr_* and removing stuff related
to storing data in structure members.
(This used to be commit 60942eaa3a8a56b5823bfcb736d25c00b17fec50)

16 years agor986: Attempt #3 at eparser. This time use the 'pull' code as a base as it's
Tim Potter [Thu, 3 Jun 2004 06:58:28 +0000 (06:58 +0000)]
r986: Attempt #3 at eparser.  This time use the 'pull' code as a base as it's
closer to what ethereal does.  Also try to keep as much of the generated
structure wrt pointers/structs/alignment as possible.
(This used to be commit 8ad93f03d64befdee67a1b0a0ff9d7c3dfaac9ea)

16 years agor985: Add stub function for dumping enums to prevent perl warnings in eparser.
Tim Potter [Thu, 3 Jun 2004 00:53:09 +0000 (00:53 +0000)]
r985: Add stub function for dumping enums to prevent perl warnings in eparser.
(This used to be commit 12c7d3a464fea87c3289f2914ee9696a17ce5a81)

16 years agor976: - added -W for workgroup to locktest
Andrew Tridgell [Wed, 2 Jun 2004 08:33:29 +0000 (08:33 +0000)]
r976:  - added -W for workgroup to locktest

 - retry connections a few times when reconnecting
(This used to be commit d0d0734845e37a2639ade2545bccef1615e17d63)