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

1180 Commits

Author SHA1 Message Date
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
2b63af8248 r920: a placeholder lsads.idl file (lack of this is why the build farm is unhappy for samba4)
(This used to be commit 35dfa3e07b2e4d200d9f6ab1aea27a6471d5e546)
2007-10-10 12:56:20 -05:00
Andrew Tridgell
7f3d4cc980 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)
2007-10-10 12:56:20 -05:00
Andrew Tridgell
7a6d86fbc9 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)
2007-10-10 12:56:19 -05:00
Andrew Tridgell
db3c011977 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)
2007-10-10 12:56:19 -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
0eb7588cc4 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)
2007-10-10 12:56:19 -05:00
Andrew Tridgell
efc29ecc21 r902: added torture tests for sending rubbish in the domain name field of GetDomPwInfo
(This used to be commit 00096609978e829b5da36040c15afa087e71eaa5)
2007-10-10 12:56:19 -05:00
Andrew Tridgell
d66c2b477d 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)
2007-10-10 12:56:19 -05:00
Andrew Tridgell
766ce9a057 r900: when DEBUGLEVEL > 10 print the full deocde of all RPC calls in the server
(This used to be commit ee65e43d4dd0bf78a877b918991aa60f44f435b5)
2007-10-10 12:56:19 -05:00
Stefan Metzmacher
330f302a9e r899: remove the weird shell patterns from the makerules
they slowdown the build

metze
(This used to be commit 6123a1ee7cd9b21824c6e5b6abf58293ff9f3dcd)
2007-10-10 12:56:18 -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
406f345d88 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
  name.

- 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)
2007-10-10 12:56:18 -05:00
Andrew Tridgell
36c4cf24f0 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)
2007-10-10 12:56:18 -05:00
Andrew Tridgell
17b5630bf7 r895: use _t in base ndr fns
(This used to be commit b3c00acdf0e85563b5d5ce1f9bc86cc2e781d53e)
2007-10-10 12:56:18 -05:00
Andrew Tridgell
5765abf1b8 r894: use _t in generated pidl code
(This used to be commit 20cc981e3338200aea6e005ed69dbe5b5b102bbb)
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
Andrew Bartlett
e754760d23 r892: Actually add the NTLMSSP self-check torture code this time...
Andrew Bartlett
(This used to be commit 9df5cbbd7694202c17a7c47ed0469d6f80412c54)
2007-10-10 12:56:18 -05:00
Gerald Carter
e80dad7561 r891: fix compile
(This used to be commit 8b6c048a02b4be0ba9c67ed82973041dccdd5c51)
2007-10-10 12:56:17 -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
Stefan Metzmacher
59e739a2f9 r882: - create TORTURE_AUTH SUBSYSTEM
- fix the build because of the missing torture/ntlmssp.c
- this file should go into torture/auth/ !

metze
(This used to be commit ad662fddcd1082d040b7c06ce809e0b4c441c1df)
2007-10-10 12:56:15 -05:00
Andrew Tridgell
735e64cff9 r879: fixed a typo in the password fetch wrapper
(This used to be commit c75b763f41cb6d9dde9497c4b7443fe89ab5d256)
2007-10-10 12:56:15 -05:00
Andrew Bartlett
56d0bd3062 r877: This attempt at IDL was accidently included in the pervious commit.
Andrew Bartlett
(This used to be commit 6b91ab152d7bfadc113b6f206fcce4db54429871)
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
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