1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-28 17:47:29 +03:00

5183 Commits

Author SHA1 Message Date
Andrew Bartlett
e8524d731a r1163: Add const.
Andrew Bartlett
(This used to be commit 4a445fce7fcc09049b97bcde61fa5ed1a945757d)
2007-10-10 12:56:42 -05:00
Jelmer Vernooij
0b817ae851 r1147: Support enumerating values
(This used to be commit 3af8419fa4053a3b2887e91b4bda5c93327efad4)
2007-10-10 12:56:41 -05:00
Andrew Tridgell
7de7dafcc4 r1130: remove some pointless debug messages
(This used to be commit 260be3fbef5a198621274cfe0c0250f292d819ca)
2007-10-10 12:56:39 -05:00
Andrew Bartlett
b1268fc445 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)
2007-10-10 12:56:38 -05:00
Jelmer Vernooij
8dcb4aa084 r1119: Saner keyboard shortcuts
(This used to be commit 971941acc7e75da89b1bdc612fd476a7f6124dcb)
2007-10-10 12:56:38 -05:00
Jelmer Vernooij
9503af8d64 r1118: Read-only enumeration of keys in the LDB backend works now :-)
(This used to be commit 456f97eed05047b20acceb50708b47209c37ca20)
2007-10-10 12:56:38 -05:00
Jeremy Allison
a125e49d67 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)
2007-10-10 12:56:37 -05:00
Tim Potter
8a01231a8b 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)
2007-10-10 12:56:35 -05:00
Tim Potter
f63cd117ae r1054: Build extra binaries in bin directory like ldb does.
(This used to be commit 6c15d5f31bdb2559656c96ae7f01f99d1ab9cb36)
2007-10-10 12:56:35 -05:00
Tim Potter
b619abb98e 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)
2007-10-10 12:56:34 -05:00
Tim Potter
cfb25947f2 r1052: Remove autogenerated file.
(This used to be commit 108efcc002c2eccfd1da30fff5c11aa67af09f9e)
2007-10-10 12:56:34 -05:00
Andrew Tridgell
42eadaf3d9 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)
2007-10-10 12:56:34 -05:00
Andrew Tridgell
7ea6a0b1fc r1040: make sure main() doesn't get auto-prototyped
(This used to be commit 7c2279e4bc631d88e402ac82c6c17fb811785394)
2007-10-10 12:56:33 -05:00
Jelmer Vernooij
439a780146 r1038: Check whether a module actually exists before attempting to load it...
(This used to be commit c8e3fd75e594c8fc841337234e99be288180822f)
2007-10-10 12:56:33 -05:00
Jelmer Vernooij
39e465a096 r1035: Support shared modules again
(This used to be commit 7949dc25ab05f7d5ad6217a6304e1f50b8b5dc41)
2007-10-10 12:56:31 -05:00
Jelmer Vernooij
fe3bcd4588 r1032: Fix RPC backend segfault
(This used to be commit db902bff3c5eb54d6b1035d009948ff316cffa94)
2007-10-10 12:56:31 -05:00
Andrew Tridgell
b553acce4b r1018: fix a const and unsigned int problem in ldb
(This used to be commit 3d52ca93731ad67c14ac42f627e3feb1a964b29a)
2007-10-10 12:56:28 -05:00
Andrew Tridgell
e06d8e94a9 r1017: - move to a centralised way of handling talloc/ldb interaction
(This used to be commit 363cb3377a0eca5bfef71a02dcdc21c5fadbaf32)
2007-10-10 12:56:28 -05:00
Andrew Tridgell
8087d844ef 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)
2007-10-10 12:56:25 -05:00
Stefan Metzmacher
4309727424 r990: fix tdb standalone build
metze
(This used to be commit 4c1c9f59ccea8b6cd7edf3bad8acb9cd8c772670)
2007-10-10 12:56:25 -05:00
Stefan Metzmacher
770e3307ce r962: convert 'unsigned' and 'unsigned int' to uint_t
metze
(This used to be commit 57151e80eb1090281401930c8fe25b20a8cf3a38)
2007-10-10 12:56:23 -05:00
Stefan Metzmacher
98d291423f r961: convert 'uchar' to 'uint8_t'
metze
(This used to be commit 9f914e4af99e18b469d4cf9d8b1514a2bd28ddec)
2007-10-10 12:56:23 -05:00
Stefan Metzmacher
fa2e9ec311 r960: convert 'unsigned int' to uint_t in the most places
metze
(This used to be commit 18062d2ed9fc9224c43143c10efbf2f6f1f5bbe0)
2007-10-10 12:56:23 -05:00
Stefan Metzmacher
b88fc7a391 r959: - a static WERROR function should return a WERROR:-)
- some minor format fixes

metze
(This used to be commit 72d9c70fdd21101744f6fad230c75b6a13105696)
2007-10-10 12:56:23 -05:00
Jelmer Vernooij
9fba08b621 r955: Update debian package rules... builds now
(This used to be commit 3df8ff6cf111c6601554bffb411506bd43f726c7)
2007-10-10 12:56:22 -05:00
Stefan Metzmacher
45e93c19ef r943: change samba4 to use 'uint8_t' instead of 'unsigned char'
metze
(This used to be commit b5378803fdcb3b3afe7c2932a38828e83470f61a)
2007-10-10 12:56:21 -05:00
Andrew Tridgell
d9538e7412 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)
2007-10-10 12:56:20 -05:00
Andrew Tridgell
90341da78b r935: remove unused variable
(This used to be commit a8056e329484256ffb51e823296b87979ef9221f)
2007-10-10 12:56:20 -05:00
Andrew Tridgell
7cd74a596e r934: on ascii strings STR_TERMINATE_ASCII should trigger STR_TERMINATE behaviour
(This used to be commit b7935c96742a3c09ee4bf69f708b19095f497be1)
2007-10-10 12:56:20 -05:00
Andrew Bartlett
c5cd8680ab r929: Remove more unused code from util_sid.c (the old-style sid code is
almost gone).
(This used to be commit 82d68e8a4472906f2a2036c13a0301055740641a)
2007-10-10 12:56:20 -05:00
Andrew Tridgell
56e74a7c3f r924: got rid of the global well-known SIDs, instead using const defines in misc.idl
(This used to be commit ce7920a5fac0dbccb01402129c341b410a032e60)
2007-10-10 12:56:20 -05:00
Andrew Tridgell
39a236883e 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)
2007-10-10 12:56:19 -05:00
Andrew Tridgell
8b3f08cefc 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)
2007-10-10 12:56:18 -05:00
Andrew Tridgell
47864891ff r893: a few more _t conversions
(This used to be commit 66eb46dbb1486c5916194bf6b303cf16373a272a)
2007-10-10 12:56:18 -05:00
Stefan Metzmacher
fcd718c7d8 r890: convert samba4 to use [u]int8_t instead of [u]int8
metze
(This used to be commit 2986c5f08c8f0c26a2ea7b6ce20aae025183109f)
2007-10-10 12:56:16 -05:00
Stefan Metzmacher
f88bf54c7f r889: convert samba4 to use [u]int16_t instead of [u]int16
metze
(This used to be commit af6f1f8a01bebbecd99bc8c066519e89966e65e3)
2007-10-10 12:56:16 -05:00
Stefan Metzmacher
f2ad98a165 r888: more ..int32 -> ..int32_t stuff
metze
(This used to be commit f3b1d3bdc74f08ee2a1d22102d57bff94f71f5a5)
2007-10-10 12:56:16 -05:00
Stefan Metzmacher
f9d8f8843d r884: convert samba4 to use [u]int32_t instead of [u]int32
metze
(This used to be commit 0e5517d937a2eb7cf707991d1c7498c1ab456095)
2007-10-10 12:56:15 -05:00
Andrew Bartlett
5b0ab386cb 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)
2007-10-10 12:56:14 -05:00
Andrew Tridgell
579c13da43 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)
2007-10-10 12:56:14 -05:00
Stefan Metzmacher
b744493be5 r862: remove acl and sendfile stuff
it will be readded inside the ntvfs_posix module

metze
(This used to be commit ec624aefa86934da23105a5c014080b464efac28)
2007-10-10 12:56:13 -05:00
Stefan Metzmacher
1f033febfe r861: remove the next round of unused stuff
metze
(This used to be commit 8f59daba0d03a2c58f7f23655153de05cbe47e81)
2007-10-10 12:56:13 -05:00
Stefan Metzmacher
2fbe37362f r858: - remove unused account policy stuff it's in our sam.ldb now:-)
- don't link lib/ldap_escape.c it's currently unused

metze
(This used to be commit be472beea3a7ae60cbacada8047b13d4de30643e)
2007-10-10 12:56:12 -05:00
Stefan Metzmacher
69e40486f9 r857: fix the build of gregedit (typo:-)
metze
(This used to be commit 44de741038ccdbca1e3c950670748e99483a7417)
2007-10-10 12:56:12 -05:00
Stefan Metzmacher
7fb1be7373 r853: remove a real big bunch of unused code
I really think that this is needed to get a better overview of what is currently used
Also this stuff is really out of date

so if we really ever need some of this stuff back,
a 'svn copy' from the SAMBA_3_0 branch should be no big problem...

metze
(This used to be commit 972598d511c64f29bdc849fe58c9c82fbcf6a4a2)
2007-10-10 12:56:12 -05:00
Stefan Metzmacher
d17ca56aed r851: convert lib/registry/ to a config.mk file
metze
(This used to be commit b5567601464a649374e0ef280661292322b3334c)
2007-10-10 12:56:12 -05:00
Stefan Metzmacher
1c43e84766 r849: move tdb/tools/Makefile to tdb/Makefile.tdb
like in ldb

also fix the makefile to let it compile the tools fine

metze
(This used to be commit e3191b54ea583913a9fd21eeb4e57d82e996c847)
2007-10-10 12:56:11 -05:00
Stefan Metzmacher
a3d61e0485 r848: convert lib/tdb into the same layout as lib/ldb
metze
(This used to be commit bacab322ce89979f0ad0811cd15b73d81eceb69d)
2007-10-10 12:56:02 -05:00
Stefan Metzmacher
ea0717b2e2 r845: convert SUBSYSTEM LIBBASIC to a .mk file
metze
(This used to be commit 81f50fbc95c8c81a18dc1e87a76c53657a24af7b)
2007-10-10 12:53:54 -05:00
Jelmer Vernooij
25ed82e7ee r834: Fix gconf and dir backends
(This used to be commit fe5166ee88d401cdd493644af4876e803f546aef)
2007-10-10 12:53:54 -05:00