1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-22 16:23:49 +03:00
Commit Graph

1025 Commits

Author SHA1 Message Date
Andrew Tridgell
41f9b144f9 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
2007-10-10 12:56:19 -05:00
Andrew Tridgell
8feeecf303 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.
2007-10-10 12:56:19 -05:00
Andrew Tridgell
0009660997 r902: added torture tests for sending rubbish in the domain name field of GetDomPwInfo 2007-10-10 12:56:19 -05:00
Andrew Tridgell
e128bcca56 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
2007-10-10 12:56:19 -05:00
Andrew Tridgell
ee65e43d4d r900: when DEBUGLEVEL > 10 print the full deocde of all RPC calls in the server 2007-10-10 12:56:19 -05:00
Stefan Metzmacher
6123a1ee7c r899: remove the weird shell patterns from the makerules
they slowdown the build

metze
2007-10-10 12:56:18 -05:00
Andrew Tridgell
69a2942f79 r898: - remove some unused macros
- remove unused lib/smbpasswd.c

- don't set the pkt size twice when doing SMB signing
2007-10-10 12:56:18 -05:00
Andrew Tridgell
965748cbee 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.
2007-10-10 12:56:18 -05:00
Andrew Tridgell
b5324a4b80 r896: - use andrews samdb_result_passwords() for the remaining password change mechanisms
- added samr_ChangePasswordUser2() (just a subset of samr_ChangePasswordUser3)
2007-10-10 12:56:18 -05:00
Andrew Tridgell
b3c00acdf0 r895: use _t in base ndr fns 2007-10-10 12:56:18 -05:00
Andrew Tridgell
20cc981e33 r894: use _t in generated pidl code 2007-10-10 12:56:18 -05:00
Andrew Tridgell
66eb46dbb1 r893: a few more _t conversions 2007-10-10 12:56:18 -05:00
Andrew Bartlett
9df5cbbd76 r892: Actually add the NTLMSSP self-check torture code this time...
Andrew Bartlett
2007-10-10 12:56:18 -05:00
Gerald Carter
8b6c048a02 r891: fix compile 2007-10-10 12:56:17 -05:00
Stefan Metzmacher
2986c5f08c r890: convert samba4 to use [u]int8_t instead of [u]int8
metze
2007-10-10 12:56:16 -05:00
Stefan Metzmacher
af6f1f8a01 r889: convert samba4 to use [u]int16_t instead of [u]int16
metze
2007-10-10 12:56:16 -05:00
Stefan Metzmacher
f3b1d3bdc7 r888: more ..int32 -> ..int32_t stuff
metze
2007-10-10 12:56:16 -05:00
Stefan Metzmacher
0e5517d937 r884: convert samba4 to use [u]int32_t instead of [u]int32
metze
2007-10-10 12:56:15 -05:00
Stefan Metzmacher
ad662fddcd r882: - create TORTURE_AUTH SUBSYSTEM
- fix the build because of the missing torture/ntlmssp.c
- this file should go into torture/auth/ !

metze
2007-10-10 12:56:15 -05:00
Andrew Tridgell
c75b763f41 r879: fixed a typo in the password fetch wrapper 2007-10-10 12:56:15 -05:00
Andrew Bartlett
6b91ab152d r877: This attempt at IDL was accidently included in the pervious commit.
Andrew Bartlett
2007-10-10 12:56:15 -05:00
Andrew Bartlett
399e2e2b11 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
2007-10-10 12:56:14 -05:00
Andrew Tridgell
9a9244a1c6 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.
2007-10-10 12:56:14 -05:00
Andrew Tridgell
2fdf33c6e5 r871: add a comment about how samdb_set_password() works 2007-10-10 12:56:14 -05:00
Andrew Tridgell
abe90bc7ba 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)
2007-10-10 12:56:14 -05:00
Stefan Metzmacher
c0269d294e r869: convert SUBSYSTEM PROCESS_MODEL to a *.mk file
metze
2007-10-10 12:56:14 -05:00
Andrew Tridgell
2712e26a5d 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)
2007-10-10 12:56:14 -05:00
Andrew Tridgell
a70eb86a3f r867: removed a couple of unused structures 2007-10-10 12:56:13 -05:00
Stefan Metzmacher
0f8c193ac3 r866: convert the rest of the binaries to config.mk files
metze
2007-10-10 12:56:13 -05:00
Jeremy Allison
4120b3bdf6 r865: Regression test for attribute-only opens not causing an oplock break.
Samba3 server used to get this wrong.
Jeremy.
2007-10-10 12:56:13 -05:00
Stefan Metzmacher
ecdeedb2ac r864: convert the smbd/* code to a config.mk file
and add server_auth, server_smb, server_rpc as server modules

metze
2007-10-10 12:56:13 -05:00
Jeremy Allison
2cb4ed271b 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.
2007-10-10 12:56:13 -05:00
Stefan Metzmacher
ec624aefa8 r862: remove acl and sendfile stuff
it will be readded inside the ntvfs_posix module

metze
2007-10-10 12:56:13 -05:00
Stefan Metzmacher
8f59daba0d r861: remove the next round of unused stuff
metze
2007-10-10 12:56:13 -05:00
Stefan Metzmacher
485eefcc0d r860: convert SUBSYSTEM TORTURE to a config.mk file
metze
2007-10-10 12:56:13 -05:00
Stefan Metzmacher
be472beea3 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
2007-10-10 12:56:12 -05:00
Stefan Metzmacher
44de741038 r857: fix the build of gregedit (typo:-)
metze
2007-10-10 12:56:12 -05:00
Stefan Metzmacher
59f9108e2d r854: remove unused file
metze
2007-10-10 12:56:12 -05:00
Stefan Metzmacher
972598d511 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
2007-10-10 12:56:12 -05:00
Stefan Metzmacher
4ef0b3656a r852: remove unused utility progs
metze
2007-10-10 12:56:12 -05:00
Stefan Metzmacher
b556760146 r851: convert lib/registry/ to a config.mk file
metze
2007-10-10 12:56:12 -05:00
Stefan Metzmacher
b29414bd23 r850: convert SUBSYSTEM AUTH to a config.mk file
metze
2007-10-10 12:56:11 -05:00
Stefan Metzmacher
e3191b54ea r849: move tdb/tools/Makefile to tdb/Makefile.tdb
like in ldb

also fix the makefile to let it compile the tools fine

metze
2007-10-10 12:56:11 -05:00
Stefan Metzmacher
bacab322ce r848: convert lib/tdb into the same layout as lib/ldb
metze
2007-10-10 12:56:02 -05:00
Stefan Metzmacher
7f2e8a2b84 r847: convert SMB SERVER SUBSYSTEM to a config.mk file
metze
2007-10-10 12:53:55 -05:00
Stefan Metzmacher
7fffc124e3 r846: convert DCESRV subsystem to a config.mk file
metze
2007-10-10 12:53:54 -05:00
Stefan Metzmacher
81f50fbc95 r845: convert SUBSYSTEM LIBBASIC to a .mk file
metze
2007-10-10 12:53:54 -05:00
Andrew Tridgell
2ba7ff824c r839: password set/change in the samr server is complex enough that it
deserves its own C module
2007-10-10 12:53:54 -05:00
Andrew Tridgell
f61d333b2a r838: got rid of rpc_misc.h 2007-10-10 12:53:54 -05:00
Andrew Tridgell
3068b766ed r837: get rid of some more old rpc headers, and the genparser headers 2007-10-10 12:53:54 -05:00