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

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

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

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

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

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

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

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

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

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

14 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

(This used to be commit d1ab26b907f1eb2be31fe6946ffa5b8255fc6ac9)

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

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

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

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

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

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

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

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

Stefan Metzmacher [Fri, 4 Jun 2004 20:36:44 +0000 (20:36 +0000)]
in rpc server code!

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

(This used to be commit e21f8a343022424097ff53cd8d5e16ac46fff772)

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

(This used to be commit 90f4777dfcb141b646063128c82f4c03bd176413)

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

14 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

(This used to be commit 20f848aeef19c7694cc5435287ec9235419741fc)

14 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

(This used to be commit 49118189444e020b4d3159b6edbc6f7559dbb1a6)

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

(This used to be commit d09abeb686c43c62322205689273d1b417113004)

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

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

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

(This used to be commit ac5f6f7e511a730448012c8a709887827aea2281)

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

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

(This used to be commit 4c1c9f59ccea8b6cd7edf3bad8acb9cd8c772670)

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

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

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

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

14 years agor975: slight improvemet to nt_errstr(), still needs to be fixed properly
Andrew Tridgell [Wed, 2 Jun 2004 08:31:47 +0000 (08:31 +0000)]
r975: slight improvemet to nt_errstr(), still needs to be fixed properly
(getting rid of the static buffer)
(This used to be commit 86a6236c2ad14fe94f5d7c488bfdbfb329d2a0bb)

14 years agor970: - remove unused wchar_t check
Stefan Metzmacher [Tue, 1 Jun 2004 16:23:29 +0000 (16:23 +0000)]
r970: - remove unused wchar_t check
- move immediate structures check to the compiler checks

(This used to be commit e2a322aa116de9977f6438f9eb6d2af42799ab83)

14 years agor969: remove some unused checks
Stefan Metzmacher [Tue, 1 Jun 2004 16:17:51 +0000 (16:17 +0000)]
r969: remove some unused checks

(This used to be commit 5357700fc526663eeec27b3bfd28dda13430e7e0)

14 years agor968: use sinlcude() and no function, that's more portable between
Stefan Metzmacher [Tue, 1 Jun 2004 15:56:22 +0000 (15:56 +0000)]
r968: use sinlcude() and no function, that's more portable between
autoconf versions

(This used to be commit 9fa83ca022f2ca2e9e5d3d738beefcf9f90cfcff)

14 years agor967: move some configure checks to seperate files
Stefan Metzmacher [Tue, 1 Jun 2004 15:13:27 +0000 (15:13 +0000)]
r967: move some configure checks to seperate files

(This used to be commit 2d109074e8be712a6eb0cfc76439176e3dcdee3a)

14 years agor963: Tridge, according to ethereal this is an 'Acct Ctrl' field. My tests also
Volker Lendecke [Tue, 1 Jun 2004 14:36:43 +0000 (14:36 +0000)]
r963: Tridge, according to ethereal this is an 'Acct Ctrl' field. My tests also
indicate this although I could not find any consistent pattern.

I found this as 'net rpc group list local' in Samba3 sets this to 250 and only
gets a fixed, but incomplete list of groups out of W2k3.

I tried to correlate the results I got from w2k3 with the LDAP contents of the
corresponding entries, but I could not find anything. Ethereal only decodes
the lower byte, but to get all it seems necessary to have 0xffff here.

If you have time, could you might want to spend some of it decoding the bits
for SAMR completeness....

(This used to be commit 74e59c45603a9f897a24e37fc7626cf8ffc81403)

14 years agor962: convert 'unsigned' and 'unsigned int' to uint_t
Stefan Metzmacher [Tue, 1 Jun 2004 10:12:52 +0000 (10:12 +0000)]
r962: convert 'unsigned' and 'unsigned int' to uint_t

(This used to be commit 57151e80eb1090281401930c8fe25b20a8cf3a38)

14 years agor961: convert 'uchar' to 'uint8_t'
Stefan Metzmacher [Tue, 1 Jun 2004 08:30:34 +0000 (08:30 +0000)]
r961: convert 'uchar' to 'uint8_t'

(This used to be commit 9f914e4af99e18b469d4cf9d8b1514a2bd28ddec)

14 years agor960: convert 'unsigned int' to uint_t in the most places
Stefan Metzmacher [Tue, 1 Jun 2004 08:12:45 +0000 (08:12 +0000)]
r960: convert 'unsigned int' to uint_t in the most places

(This used to be commit 18062d2ed9fc9224c43143c10efbf2f6f1f5bbe0)

14 years agor959: - a static WERROR function should return a WERROR:-)
Stefan Metzmacher [Tue, 1 Jun 2004 07:23:51 +0000 (07:23 +0000)]
r959: - a static WERROR function should return a WERROR:-)

- some minor format fixes

(This used to be commit 72d9c70fdd21101744f6fad230c75b6a13105696)

14 years agor956: More debian updates:
Jelmer Vernooij [Mon, 31 May 2004 18:26:53 +0000 (18:26 +0000)]
r956: More debian updates:
 - add 'pidl' package
 - include manpages
(This used to be commit f80d5dca12790a39cee88bae986100b2ad67b4b5)

14 years agor955: Update debian package rules... builds now
Jelmer Vernooij [Mon, 31 May 2004 17:14:27 +0000 (17:14 +0000)]
r955: Update debian package rules... builds now
(This used to be commit 3df8ff6cf111c6601554bffb411506bd43f726c7)

14 years agor954: Start working on typedef parsing.
Tim Potter [Mon, 31 May 2004 03:38:46 +0000 (03:38 +0000)]
r954: Start working on typedef parsing.
(This used to be commit 877f7c32a89218fb59adc48bd2c2f331b9600d12)

14 years agor953: Remove unused Pull and Print parse functions. Remove Push from
Tim Potter [Mon, 31 May 2004 03:27:28 +0000 (03:27 +0000)]
r953: Remove unused Pull and Print parse functions.  Remove Push from
remaining parse function names.

Add some debug comments in parser output to aid in debugging.
(This used to be commit 8225a3245a2b399ea4a9d8515e299ae5f10dff8c)

14 years agor952: fixed schannel from my last commit
Andrew Tridgell [Sun, 30 May 2004 13:44:40 +0000 (13:44 +0000)]
r952: fixed schannel from my last commit
(This used to be commit 05b69d9fff0922e2864a336f203bf2afc932d1b9)

14 years agor951: from w2k3 behaviour, the netlogon server is supposed to give back the negotiate...
Andrew Tridgell [Sun, 30 May 2004 13:27:14 +0000 (13:27 +0000)]
r951: from w2k3 behaviour, the netlogon server is supposed to give back the negotiate flags it can support.
(This used to be commit 7ad56fc4db37009dc2dba376724fdfb650f65611)

14 years agor950: - added netr_ServerAuthenticate3(). This is used by WinXP clients who try to...
Andrew Tridgell [Sun, 30 May 2004 13:15:15 +0000 (13:15 +0000)]
r950: - added netr_ServerAuthenticate3(). This is used by WinXP clients who try to login to Samba4, as
  WinXP sees us as an ADS server.

Unfortunately WinXP also uses a set of negotiate_flags that we don't
support yet. Some crypto work needed.
(This used to be commit 2d740b65706fb5b4ebc138587472a885d680517f)

14 years agor948: Tridge suggested that the best way to write the ethereal parser is to
Tim Potter [Sun, 30 May 2004 12:02:57 +0000 (12:02 +0000)]
r948: Tridge suggested that the best way to write the ethereal parser is to
base it on the generator for the ndr pull/push code rather than trying
to get all the alignment and other junk sorted out by hand.

This commit (nearly) gets eparser to the same state it previously was
but based on parser.pm.  We correctly parse simple types, strings and
(This used to be commit 6739cd5fdd353c575626cbfbc6339a8a6908daf7)

14 years agor946: Updated attribute only oplock tester to cover more cases.
Jeremy Allison [Sun, 30 May 2004 08:12:17 +0000 (08:12 +0000)]
r946: Updated attribute only oplock tester to cover more cases.
(This used to be commit 6c9d32173b26353e8ae00f7f6b666290651883e6)

14 years agor943: change samba4 to use 'uint8_t' instead of 'unsigned char'
Stefan Metzmacher [Sat, 29 May 2004 08:11:46 +0000 (08:11 +0000)]
r943: change samba4 to use 'uint8_t' instead of 'unsigned char'

(This used to be commit b5378803fdcb3b3afe7c2932a38828e83470f61a)

14 years agor937: - added a simple QuerySecurity implementation in samr server
Andrew Tridgell [Fri, 28 May 2004 13:23:30 +0000 (13:23 +0000)]
r937:  - added a simple QuerySecurity implementation in samr server

 - moved some sec desc defines into misc.idl

 - fixed pw_len field in UserInfo26

 - made some pipes available on TCP

 - added netr_DsrEnumerateDomainTrusts() to netlogon

 - added templates for remaining netlogon IDL calls (from ethereal)

 - added a unistr_noterm vs unistr error detector in ndr basic decoder

 - added torture test for netr_DsrEnumerateDomainTrusts()
(This used to be commit ae5a5113fb83640dcb9ae4642c1b9eaf28487956)

14 years agor935: remove unused variable
Andrew Tridgell [Fri, 28 May 2004 03:11:35 +0000 (03:11 +0000)]
r935: remove unused variable
(This used to be commit a8056e329484256ffb51e823296b87979ef9221f)

14 years agor934: on ascii strings STR_TERMINATE_ASCII should trigger STR_TERMINATE behaviour
Andrew Tridgell [Fri, 28 May 2004 03:11:14 +0000 (03:11 +0000)]
r934: on ascii strings STR_TERMINATE_ASCII should trigger STR_TERMINATE behaviour
(This used to be commit b7935c96742a3c09ee4bf69f708b19095f497be1)

14 years agor929: Remove more unused code from util_sid.c (the old-style sid code is
Andrew Bartlett [Thu, 27 May 2004 23:35:02 +0000 (23:35 +0000)]
r929: Remove more unused code from util_sid.c (the old-style sid code is
almost gone).
(This used to be commit 82d68e8a4472906f2a2036c13a0301055740641a)

14 years agor924: got rid of the global well-known SIDs, instead using const defines in misc.idl
Andrew Tridgell [Thu, 27 May 2004 13:21:35 +0000 (13:21 +0000)]
r924: got rid of the global well-known SIDs, instead using const defines in misc.idl
(This used to be commit ce7920a5fac0dbccb01402129c341b410a032e60)

14 years agor920: a placeholder lsads.idl file (lack of this is why the build farm is unhappy...
Andrew Tridgell [Thu, 27 May 2004 06:36:50 +0000 (06:36 +0000)]
r920: a placeholder lsads.idl file (lack of this is why the build farm is unhappy for samba4)
(This used to be commit 35dfa3e07b2e4d200d9f6ab1aea27a6471d5e546)

14 years agor919: - added lsa_QueryInfoPolicy2() to IDL, test suite and server
Andrew Tridgell [Thu, 27 May 2004 06:27:21 +0000 (06:27 +0000)]
r919: - added lsa_QueryInfoPolicy2() to IDL, test suite and server

- added lsa_OpenPolicy2() to server

- added guid handling in samdb

- added a couple more info policy levels in lsa server

- added some DNS info in the provisioning template and script

With the above changes WinXP professional can join a Samba4 domain
(This used to be commit d6dca96352144d6061175c964069ed54d942b9c2)

14 years agor918: - dcerpc endpoint name are case insensitive
Andrew Tridgell [Thu, 27 May 2004 05:24:32 +0000 (05:24 +0000)]
r918:  - dcerpc endpoint name are case insensitive

this fix allows samba3 to join a samba4 domain using "net rpc join"
(This used to be commit 876a6eecc3db99a137b58993ce7cf69f277e7499)

14 years agor917: - added the start of a LSA server to samba4.
Andrew Tridgell [Thu, 27 May 2004 04:13:58 +0000 (04:13 +0000)]
r917: - added the start of a LSA server to samba4.

- added start of QueryDomainInfo in samr server

"net rpc info" from samba3 now works against a samba4 server. I
suspect join will work fairly soon.
(This used to be commit 0a2c6a1062d0e364356853001f5f39bdb542f453)

14 years agor904: - fixed account expiry testing in auth_sam
Andrew Tridgell [Wed, 26 May 2004 08:02:20 +0000 (08:02 +0000)]
r904: - fixed account expiry testing in auth_sam

- added printf style format attribute checking to samdb varargs fns

- fix nt_time_to_unix() for zero and -1 times
(This used to be commit 41f9b144f9fe77e92f960bd11b1df397a63fd2d5)

14 years agor903: used samdb_result_passwords() in samr_ChangePasswordUser2() and fix the error...
Andrew Tridgell [Wed, 26 May 2004 07:34:49 +0000 (07:34 +0000)]
r903: used samdb_result_passwords() in samr_ChangePasswordUser2() and fix the error handling on a bad change.

With this change WinXP can now successfully change the password on a
Samba4 server via SAMR. After the change you can't login because the
handling of much_change_time seems to be broken in the auth code, but
that should be easy to fix.
(This used to be commit 8feeecf30377e4699df26d1c5c02d24a8ab021be)

14 years agor902: added torture tests for sending rubbish in the domain name field of GetDomPwInfo
Andrew Tridgell [Wed, 26 May 2004 07:33:05 +0000 (07:33 +0000)]
r902: added torture tests for sending rubbish in the domain name field of GetDomPwInfo
(This used to be commit 00096609978e829b5da36040c15afa087e71eaa5)

14 years agor901: w2k3 completely ignores the domain name argument to GetDomPwInfo,
Andrew Tridgell [Wed, 26 May 2004 07:32:30 +0000 (07:32 +0000)]
r901: w2k3 completely ignores the domain name argument to GetDomPwInfo,
always returning the info for the primary domain. I noticed this
because WinXP sends the wrong information in this field (it sends
\\server_name) and gets away with it
(This used to be commit e128bcca562960afe75bf14dd775113e1dd7b213)

14 years agor900: when DEBUGLEVEL > 10 print the full deocde of all RPC calls in the server
Andrew Tridgell [Wed, 26 May 2004 07:31:19 +0000 (07:31 +0000)]
r900: when DEBUGLEVEL > 10 print the full deocde of all RPC calls in the server
(This used to be commit ee65e43d4dd0bf78a877b918991aa60f44f435b5)

14 years agor899: remove the weird shell patterns from the makerules
Stefan Metzmacher [Wed, 26 May 2004 06:31:24 +0000 (06:31 +0000)]
r899: remove the weird shell patterns from the makerules

they slowdown the build

(This used to be commit 6123a1ee7cd9b21824c6e5b6abf58293ff9f3dcd)

14 years agor898: - remove some unused macros
Andrew Tridgell [Wed, 26 May 2004 05:40:33 +0000 (05:40 +0000)]
r898: - remove some unused macros

- remove unused lib/smbpasswd.c

- don't set the pkt size twice when doing SMB signing
(This used to be commit 69a2942f7987647a32d43c71f41ac1a82a82ccda)

14 years agor897: - user/group creation needs to create unique names across both the
Andrew Tridgell [Wed, 26 May 2004 04:20:17 +0000 (04:20 +0000)]
r897: - user/group creation needs to create unique names across both the
  Builtin and local domain, as some calls (notably password change
  calls) don't specify a domain name, they just specifiy an account

- added the remaining password set levels to SetUserInfo in the samr
  server. We now support all of the password set and change levels
  that we know about in SAMR.
(This used to be commit 965748cbee7853238e9e5f4a4d75780f206d492e)

14 years agor896: - use andrews samdb_result_passwords() for the remaining password change mechanisms
Andrew Tridgell [Wed, 26 May 2004 01:16:30 +0000 (01:16 +0000)]
r896: - use andrews samdb_result_passwords() for the remaining password change mechanisms

- added samr_ChangePasswordUser2() (just a subset of samr_ChangePasswordUser3)
(This used to be commit b5324a4b802e793a49a40a7d57f77f7410397bb3)

14 years agor895: use _t in base ndr fns
Andrew Tridgell [Wed, 26 May 2004 01:14:56 +0000 (01:14 +0000)]
r895: use _t in base ndr fns
(This used to be commit b3c00acdf0e85563b5d5ce1f9bc86cc2e781d53e)

14 years agor894: use _t in generated pidl code
Andrew Tridgell [Wed, 26 May 2004 01:14:26 +0000 (01:14 +0000)]
r894: use _t in generated pidl code
(This used to be commit 20cc981e3338200aea6e005ed69dbe5b5b102bbb)

14 years agor893: a few more _t conversions
Andrew Tridgell [Wed, 26 May 2004 01:13:12 +0000 (01:13 +0000)]
r893: a few more _t conversions
(This used to be commit 66eb46dbb1486c5916194bf6b303cf16373a272a)

14 years agor892: Actually add the NTLMSSP self-check torture code this time...
Andrew Bartlett [Tue, 25 May 2004 23:12:52 +0000 (23:12 +0000)]
r892: Actually add the NTLMSSP self-check torture code this time...

Andrew Bartlett
(This used to be commit 9df5cbbd7694202c17a7c47ed0469d6f80412c54)

14 years agor891: fix compile
Gerald Carter [Tue, 25 May 2004 18:12:55 +0000 (18:12 +0000)]
r891: fix compile
(This used to be commit 8b6c048a02b4be0ba9c67ed82973041dccdd5c51)

14 years agor890: convert samba4 to use [u]int8_t instead of [u]int8
Stefan Metzmacher [Tue, 25 May 2004 17:50:17 +0000 (17:50 +0000)]
r890: convert samba4 to use [u]int8_t instead of [u]int8

(This used to be commit 2986c5f08c8f0c26a2ea7b6ce20aae025183109f)

14 years agor889: convert samba4 to use [u]int16_t instead of [u]int16
Stefan Metzmacher [Tue, 25 May 2004 17:24:24 +0000 (17:24 +0000)]
r889: convert samba4 to use [u]int16_t instead of [u]int16

(This used to be commit af6f1f8a01bebbecd99bc8c066519e89966e65e3)

14 years agor888: more ..int32 -> ..int32_t stuff
Stefan Metzmacher [Tue, 25 May 2004 16:50:09 +0000 (16:50 +0000)]
r888: more ..int32 -> ..int32_t stuff

(This used to be commit f3b1d3bdc74f08ee2a1d22102d57bff94f71f5a5)

14 years agor884: convert samba4 to use [u]int32_t instead of [u]int32
Stefan Metzmacher [Tue, 25 May 2004 16:24:13 +0000 (16:24 +0000)]
r884: convert samba4 to use [u]int32_t instead of [u]int32

(This used to be commit 0e5517d937a2eb7cf707991d1c7498c1ab456095)

14 years agor882: - create TORTURE_AUTH SUBSYSTEM
Stefan Metzmacher [Tue, 25 May 2004 15:56:02 +0000 (15:56 +0000)]
- fix the build because of the missing torture/ntlmssp.c
- this file should go into torture/auth/ !

(This used to be commit ad662fddcd1082d040b7c06ce809e0b4c441c1df)

14 years agor879: fixed a typo in the password fetch wrapper
Andrew Tridgell [Tue, 25 May 2004 14:21:09 +0000 (14:21 +0000)]
r879: fixed a typo in the password fetch wrapper
(This used to be commit c75b763f41cb6d9dde9497c4b7443fe89ab5d256)

14 years agor877: This attempt at IDL was accidently included in the pervious commit.
Andrew Bartlett [Tue, 25 May 2004 14:11:39 +0000 (14:11 +0000)]
r877: This attempt at IDL was accidently included in the pervious commit.

Andrew Bartlett
(This used to be commit 6b91ab152d7bfadc113b6f206fcce4db54429871)

14 years agor874: This patch is a pile of work on NTLMSSP:
Andrew Bartlett [Tue, 25 May 2004 14:06:28 +0000 (14:06 +0000)]
r874: This patch is a pile of work on NTLMSSP:

Samba's NTLMSSP code is now fully talloc based, which should go a long
way to cleaning up the memory leaks in this code.  This also avoids a
lot of extra copies of data, as we now allocate the 'return' blobs on
a caller-supplied context.

I have also been doing a lot of work towards NTLM2 signing and
sealing.  I have this working for sealing, but not for the verifier
(MD5 integrity check on the stream) which is still incorrect.

(I can aim a rpcecho sinkdata from a Win2k3 box to my server, and the
data arrives intact, but the signature check fails.  It does however
match the test values I have...).

The new torture test is cludged in - when we get a unit test suite
back, I'll happliy put it in the 'right' place....

Andrew Bartlett
(This used to be commit 399e2e2b1149b8d1c070aa7f0d5131c0b577d2b9)

14 years agor873: converted samba4 to use real 64 bit integers instead of
Andrew Tridgell [Tue, 25 May 2004 13:57:39 +0000 (13:57 +0000)]
r873: converted samba4 to use real 64 bit integers instead of
structures. This was suggested by metze recently.

I checked on the build farm and all the machines we have support 64
bit ints, and support the LL suffix for 64 bit constants. I suspect
some won't support strtoll() and related functions, so we will
probably need replacements for those.
(This used to be commit 9a9244a1c66654c12abe4379661cba83a73c4c21)

14 years agor871: add a comment about how samdb_set_password() works
Andrew Tridgell [Tue, 25 May 2004 03:31:46 +0000 (03:31 +0000)]
r871: add a comment about how samdb_set_password() works
(This used to be commit 2fdf33c6e5f5666629adaf849b97fa4d4fd5968e)

14 years agor870: we should issue a rpc fault OP_RANGE_ERROR not a WERR_NOT_SUPPORTED for
Andrew Tridgell [Tue, 25 May 2004 03:04:26 +0000 (03:04 +0000)]
r870: we should issue a rpc fault OP_RANGE_ERROR not a WERR_NOT_SUPPORTED for
functions we don't implement yet so that we don't put uninitialised
result data on the wire (found with valgrind)
(This used to be commit abe90bc7ba8d38d1f7c641494463236b0fd3f41f)

14 years agor869: convert SUBSYSTEM PROCESS_MODEL to a *.mk file
Stefan Metzmacher [Tue, 25 May 2004 01:11:46 +0000 (01:11 +0000)]
r869: convert SUBSYSTEM PROCESS_MODEL to a *.mk file

(This used to be commit c0269d294e7677d9a561460084a8da00736bfc3a)

14 years agor868: we should issue a rpc fault OP_RANGE_ERROR not a WERR_NOT_SUPPORTED for
Andrew Tridgell [Tue, 25 May 2004 00:51:47 +0000 (00:51 +0000)]
r868: we should issue a rpc fault OP_RANGE_ERROR not a WERR_NOT_SUPPORTED for
functions we don't implement yet so that we don't put uninitialised
result data on the wire (found with valgrind)
(This used to be commit 2712e26a5d08afd9bf8c6957f75be522966b5062)

14 years agor867: removed a couple of unused structures
Andrew Tridgell [Tue, 25 May 2004 00:50:41 +0000 (00:50 +0000)]
r867: removed a couple of unused structures
(This used to be commit a70eb86a3fda6c48389834c442890a73caa155f9)

14 years agor866: convert the rest of the binaries to config.mk files
Stefan Metzmacher [Tue, 25 May 2004 00:20:19 +0000 (00:20 +0000)]
r866: convert the rest of the binaries to config.mk files

(This used to be commit 0f8c193ac35572862b0d653dc02a71ebc71e88a8)

14 years agor865: Regression test for attribute-only opens not causing an oplock break.
Jeremy Allison [Tue, 25 May 2004 00:05:51 +0000 (00:05 +0000)]
r865: Regression test for attribute-only opens not causing an oplock break.
Samba3 server used to get this wrong.
(This used to be commit 4120b3bdf6668909efa0af97b2c63adea22c35da)

14 years agor864: convert the smbd/* code to a config.mk file
Stefan Metzmacher [Mon, 24 May 2004 23:57:53 +0000 (23:57 +0000)]
r864: convert the smbd/* code to a config.mk file

and add server_auth, server_smb, server_rpc as server modules

(This used to be commit ecdeedb2ac81a3c816f7d72b6f39f16dd6e6267f)

14 years agor863: Added test to ensure an open and locked file can be truncated by a second open.
Jeremy Allison [Mon, 24 May 2004 23:40:50 +0000 (23:40 +0000)]
r863: Added test to ensure an open and locked file can be truncated by a second open.
This was something the Samba3 server previously got wrong.
(This used to be commit 2cb4ed271b87a5c145a5f3f64c7f82c9e73753a1)

14 years agor862: remove acl and sendfile stuff
Stefan Metzmacher [Mon, 24 May 2004 23:01:20 +0000 (23:01 +0000)]
r862: remove acl and sendfile stuff
it will be readded inside the ntvfs_posix module

(This used to be commit ec624aefa86934da23105a5c014080b464efac28)

14 years agor861: remove the next round of unused stuff
Stefan Metzmacher [Mon, 24 May 2004 22:05:06 +0000 (22:05 +0000)]
r861: remove the next round of unused stuff

(This used to be commit 8f59daba0d03a2c58f7f23655153de05cbe47e81)

14 years agor860: convert SUBSYSTEM TORTURE to a config.mk file
Stefan Metzmacher [Mon, 24 May 2004 22:00:40 +0000 (22:00 +0000)]
r860: convert SUBSYSTEM TORTURE to a config.mk file

(This used to be commit 485eefcc0d0b6f599ec9bbb97d6d86a29dd5b762)

14 years agor858: - remove unused account policy stuff it's in our sam.ldb now:-)
Stefan Metzmacher [Mon, 24 May 2004 20:52:03 +0000 (20:52 +0000)]
r858: - remove unused account policy stuff it's in our sam.ldb now:-)
- don't link lib/ldap_escape.c it's currently unused

(This used to be commit be472beea3a7ae60cbacada8047b13d4de30643e)

14 years agor857: fix the build of gregedit (typo:-)
Stefan Metzmacher [Mon, 24 May 2004 18:13:24 +0000 (18:13 +0000)]
r857: fix the build of gregedit (typo:-)

(This used to be commit 44de741038ccdbca1e3c950670748e99483a7417)