1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-20 14:03:59 +03:00

423 Commits

Author SHA1 Message Date
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
Jelmer Vernooij
f0d7ae39c0 r833: Compile error
(This used to be commit e4f6ca85223b86beac237398ea5474f4f56404a2)
2007-10-10 12:53:54 -05:00
Jelmer Vernooij
b4c23f5a52 r832: Only show menu items for backends if they're present
(This used to be commit 9228aeeafd956a2885b5f1dfaa6feacb555b7483)
2007-10-10 12:53:54 -05:00
Andrew Bartlett
5b5e793d16 r831: These functions duplicate the push/pull charcnv interfaces that we use
everywhere else in the Samba code, so remove them for clarity.

(ok, so  also just never liked the names  ;-)

Andrew Bartlett
(This used to be commit 5f5786ad5ff6cc133a143476e8968b00ed057a62)
2007-10-10 12:53:53 -05:00
Jelmer Vernooij
a64be8dbdd r830: Use pull_ucs2_talloc() instead of acnv_u2ux() and fix a memory leak.
(This used to be commit ad88561becf59cd38a3e329e68cbe5518a3373d7)
2007-10-10 12:53:53 -05:00
Jelmer Vernooij
4a137a7cf1 r829: Implement 'hive' command
(This used to be commit 2a87981bd0a79f0d685441d690e2f810d6ed86d0)
2007-10-10 12:53:53 -05:00
Jelmer Vernooij
f371d24542 r828: Some fixes in the core and regshell concerning hives and
unicode
(This used to be commit 25c27b176c9905f3968e955f33a6db41b0102a38)
2007-10-10 12:53:53 -05:00
Andrew Tridgell
f7a7192eff r827: remove a few more unused functions that we are unlikely to use again
(This used to be commit 121dd9ba0038f6e076c464cddad0b788fe6076fa)
2007-10-10 12:53:53 -05:00
Andrew Tridgell
f11cc69df3 r826: removed a pile of old code, in preparation for a new ACL handling system. I'd like to get rid of DOM_SID completely soon
(This used to be commit e306e27cf333e176195a47b19e3de591b4a59650)
2007-10-10 12:53:53 -05:00
Jelmer Vernooij
bf52e242f5 r825: - Introduce support for multiple roots (or 'hives')
- Clean up rpc backend (possible now that multiple hives are supported)
(This used to be commit 8cd1b6bc70510fe576135a66351e9e3ea895c9ff)
2007-10-10 12:53:53 -05:00
Jelmer Vernooij
1ca75ec3bb r819: Fix seg fault in rpc backend, found by Andrew Bartlett
(This used to be commit d4cc4b3d682eb828208a621fe6b795f3e77c746a)
2007-10-10 12:53:52 -05:00