1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-25 06:04:04 +03:00

1004 Commits

Author SHA1 Message Date
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
Andrew Tridgell
81e8de9ca8 r871: add a comment about how samdb_set_password() works
(This used to be commit 2fdf33c6e5f5666629adaf849b97fa4d4fd5968e)
2007-10-10 12:56:14 -05:00
Andrew Tridgell
a4939a43ff 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)
2007-10-10 12:56:14 -05:00
Stefan Metzmacher
bd0e2417e1 r869: convert SUBSYSTEM PROCESS_MODEL to a *.mk file
metze
(This used to be commit c0269d294e7677d9a561460084a8da00736bfc3a)
2007-10-10 12:56:14 -05:00
Andrew Tridgell
c10c69ba9e 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)
2007-10-10 12:56:14 -05:00
Andrew Tridgell
e6594ed130 r867: removed a couple of unused structures
(This used to be commit a70eb86a3fda6c48389834c442890a73caa155f9)
2007-10-10 12:56:13 -05:00
Stefan Metzmacher
6ac53d211d r866: convert the rest of the binaries to config.mk files
metze
(This used to be commit 0f8c193ac35572862b0d653dc02a71ebc71e88a8)
2007-10-10 12:56:13 -05:00
Jeremy Allison
daa890e2c8 r865: Regression test for attribute-only opens not causing an oplock break.
Samba3 server used to get this wrong.
Jeremy.
(This used to be commit 4120b3bdf6668909efa0af97b2c63adea22c35da)
2007-10-10 12:56:13 -05:00
Stefan Metzmacher
9425495e30 r864: convert the smbd/* code to a config.mk file
and add server_auth, server_smb, server_rpc as server modules

metze
(This used to be commit ecdeedb2ac81a3c816f7d72b6f39f16dd6e6267f)
2007-10-10 12:56:13 -05:00
Jeremy Allison
a96ccb7022 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.
Jeremy.
(This used to be commit 2cb4ed271b87a5c145a5f3f64c7f82c9e73753a1)
2007-10-10 12:56:13 -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
73f1ec5b0c r860: convert SUBSYSTEM TORTURE to a config.mk file
metze
(This used to be commit 485eefcc0d0b6f599ec9bbb97d6d86a29dd5b762)
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
741f0ff16f r854: remove unused file
metze
(This used to be commit 59f9108e2d8f821d30f4f1463444ee8f76d3f16f)
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
f1a8a690fc r852: remove unused utility progs
metze
(This used to be commit 4ef0b3656abdebb698d93936ae6ca492a8d35ef8)
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
454bba05df r850: convert SUBSYSTEM AUTH to a config.mk file
metze
(This used to be commit b29414bd23385ba2502763ed33676a42d176eaf9)
2007-10-10 12:56:11 -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
29a93d26cf r847: convert SMB SERVER SUBSYSTEM to a config.mk file
metze
(This used to be commit 7f2e8a2b843cb58098a841c71764697553c57112)
2007-10-10 12:53:55 -05:00
Stefan Metzmacher
766bf57f9d r846: convert DCESRV subsystem to a config.mk file
metze
(This used to be commit 7fffc124e38a4e5b16d650b1f6d82b24dcfee982)
2007-10-10 12:53:54 -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
Andrew Tridgell
934f6fda20 r839: password set/change in the samr server is complex enough that it
deserves its own C module
(This used to be commit 2ba7ff824c32b3db037263ddcff9c876293ea284)
2007-10-10 12:53:54 -05:00
Andrew Tridgell
b63cd185b9 r838: got rid of rpc_misc.h
(This used to be commit f61d333b2a280434181451ce735a05ad319a2515)
2007-10-10 12:53:54 -05:00
Andrew Tridgell
d62e63304d r837: get rid of some more old rpc headers, and the genparser headers
(This used to be commit 3068b766edb17accbf52f82a81734f6d76e9f9bc)
2007-10-10 12:53:54 -05:00
Andrew Tridgell
fa62ea0853 r836: get rid of SEC_DESC and related structure definitions
(This used to be commit d75fcbf0686f6a05e7996ba356fb5c31fb01a3b3)
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
Stefan Metzmacher
4e9d01c2a7 r822: use 'Last Change Rev:' instead of 'Revision:' from the svn info output
for setting the SVN_REVISION in version.h

metze
(This used to be commit 081f7970dd16215b13fb3ab0630992189a9187be)
2007-10-10 12:53:52 -05:00
Stefan Metzmacher
2941d3233c r821: prompt user for password if not given by -U user%pass
and not as torture:password in smb.conf

metze
(This used to be commit 9de377a914292be19cdffd1020d613d50df7f4e6)
2007-10-10 12:53:52 -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
Andrew Tridgell
c5e11daa8b r818: added server side SMB signing to Samba4
(This used to be commit 8e5ddf5e8eb74f667897f90baa2d00f02ca5818b)
2007-10-10 12:53:52 -05:00
Andrew Bartlett
93076cb9bc r816: - Make use of tridge's new samdb_result_sid_prefix() helper function.
- Remove legacy sid_to_string (which contained a memleak)

 - Remove some unused parts of lib/util_sid.c

Andrew Bartlett
(This used to be commit 7c69a85984e47c004ddfd9bb5eadcb3191b56f9d)
2007-10-10 12:53:52 -05:00
Andrew Tridgell
8222c13ce9 r815: include our netbios name in the negprot response (this matches win2003)
(This used to be commit b4b67c330174ac0570558bedf50729542ea775da)
2007-10-10 12:53:52 -05:00
Andrew Tridgell
39696f7804 r813: gcc has fixed its huge debug sizes with -g now, so drop the -gstabs,
allowing us to use a more standard debug format.

If you want it even smaller than I recommend the
-feliminate-dwarf2-dups option, if your version of gcc supports it.
(This used to be commit a11340a971af24d9dcab720f92483b0dafa01142)
2007-10-10 12:53:52 -05:00
Andrew Tridgell
32de597981 r812: added a new samdb_replace() call that simplifies the code in the main samr server a bit.
(This used to be commit 255d6e77e705bb7a94e6738c9f48f9d8c625883c)
2007-10-10 12:53:51 -05:00
Andrew Tridgell
054453b584 r811: make the ldb_modify REPLACE semantics better match LDAP (ie. no error
on the attribute not existing and allow an empty replace)
(This used to be commit 1418b667d9041430786089713eafee63dd7b4a28)
2007-10-10 12:53:51 -05:00
Simo Sorce
b047b71b45 r808: fix libtdb build by ifedffing out an smb_panic() and copying over CatchSignal fn from lib/signal changing it's name to TdbCatchSignal
(This used to be commit e1afaa1e9c8de5615030015b1360529b450d2047)
2007-10-10 12:53:51 -05:00