Jelmer Vernooij [Mon, 31 May 2004 18:26:53 +0000 (18:26 +0000)]
r956: More debian updates:
- add 'pidl' package
- include manpages
Jelmer Vernooij [Mon, 31 May 2004 17:14:27 +0000 (17:14 +0000)]
r955: Update debian package rules... builds now
Tim Potter [Mon, 31 May 2004 03:38:46 +0000 (03:38 +0000)]
r954: Start working on typedef parsing.
Tim Potter [Mon, 31 May 2004 03:27:28 +0000 (03:27 +0000)]
r953: Remove unused Pull and Print parse functions. Remove Push from
remaining parse function names.
Add some debug comments in parser output to aid in debugging.
Andrew Tridgell [Sun, 30 May 2004 13:44:40 +0000 (13:44 +0000)]
r952: fixed schannel from my last commit
Andrew Tridgell [Sun, 30 May 2004 13:27:14 +0000 (13:27 +0000)]
r951: from w2k3 behaviour, the netlogon server is supposed to give back the negotiate flags it can support.
Andrew Tridgell [Sun, 30 May 2004 13:15:15 +0000 (13:15 +0000)]
r950: - added netr_ServerAuthenticate3(). This is used by WinXP clients who try to login to Samba4, as
WinXP sees us as an ADS server.
Unfortunately WinXP also uses a set of negotiate_flags that we don't
support yet. Some crypto work needed.
Tim Potter [Sun, 30 May 2004 12:02:57 +0000 (12:02 +0000)]
r948: Tridge suggested that the best way to write the ethereal parser is to
base it on the generator for the ndr pull/push code rather than trying
to get all the alignment and other junk sorted out by hand.
This commit (nearly) gets eparser to the same state it previously was
but based on parser.pm. We correctly parse simple types, strings and
sids.
Jeremy Allison [Sun, 30 May 2004 08:12:17 +0000 (08:12 +0000)]
r946: Updated attribute only oplock tester to cover more cases.
Jeremy.
Stefan Metzmacher [Sat, 29 May 2004 08:11:46 +0000 (08:11 +0000)]
r943: change samba4 to use 'uint8_t' instead of 'unsigned char'
metze
Andrew Tridgell [Fri, 28 May 2004 13:23:30 +0000 (13:23 +0000)]
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()
Andrew Tridgell [Fri, 28 May 2004 03:11:35 +0000 (03:11 +0000)]
r935: remove unused variable
Andrew Tridgell [Fri, 28 May 2004 03:11:14 +0000 (03:11 +0000)]
r934: on ascii strings STR_TERMINATE_ASCII should trigger STR_TERMINATE behaviour
Andrew Bartlett [Thu, 27 May 2004 23:35:02 +0000 (23:35 +0000)]
r929: Remove more unused code from util_sid.c (the old-style sid code is
almost gone).
Andrew Tridgell [Thu, 27 May 2004 13:21:35 +0000 (13:21 +0000)]
r924: got rid of the global well-known SIDs, instead using const defines in misc.idl
Andrew Tridgell [Thu, 27 May 2004 06:36:50 +0000 (06:36 +0000)]
r920: a placeholder lsads.idl file (lack of this is why the build farm is unhappy for samba4)
Andrew Tridgell [Thu, 27 May 2004 06:27:21 +0000 (06:27 +0000)]
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
Andrew Tridgell [Thu, 27 May 2004 05:24:32 +0000 (05:24 +0000)]
r918: - dcerpc endpoint name are case insensitive
this fix allows samba3 to join a samba4 domain using "net rpc join"
Andrew Tridgell [Thu, 27 May 2004 04:13:58 +0000 (04:13 +0000)]
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.
Andrew Tridgell [Wed, 26 May 2004 08:02:20 +0000 (08:02 +0000)]
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
Andrew Tridgell [Wed, 26 May 2004 07:34:49 +0000 (07:34 +0000)]
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.
Andrew Tridgell [Wed, 26 May 2004 07:33:05 +0000 (07:33 +0000)]
r902: added torture tests for sending rubbish in the domain name field of GetDomPwInfo
Andrew Tridgell [Wed, 26 May 2004 07:32:30 +0000 (07:32 +0000)]
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
Andrew Tridgell [Wed, 26 May 2004 07:31:19 +0000 (07:31 +0000)]
r900: when DEBUGLEVEL > 10 print the full deocde of all RPC calls in the server
Stefan Metzmacher [Wed, 26 May 2004 06:31:24 +0000 (06:31 +0000)]
r899: remove the weird shell patterns from the makerules
they slowdown the build
metze
Andrew Tridgell [Wed, 26 May 2004 05:40:33 +0000 (05:40 +0000)]
r898: - remove some unused macros
- remove unused lib/smbpasswd.c
- don't set the pkt size twice when doing SMB signing
Andrew Tridgell [Wed, 26 May 2004 04:20:17 +0000 (04:20 +0000)]
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.
Andrew Tridgell [Wed, 26 May 2004 01:16:30 +0000 (01:16 +0000)]
r896: - use andrews samdb_result_passwords() for the remaining password change mechanisms
- added samr_ChangePasswordUser2() (just a subset of samr_ChangePasswordUser3)
Andrew Tridgell [Wed, 26 May 2004 01:14:56 +0000 (01:14 +0000)]
r895: use _t in base ndr fns
Andrew Tridgell [Wed, 26 May 2004 01:14:26 +0000 (01:14 +0000)]
r894: use _t in generated pidl code
Andrew Tridgell [Wed, 26 May 2004 01:13:12 +0000 (01:13 +0000)]
r893: a few more _t conversions
Andrew Bartlett [Tue, 25 May 2004 23:12:52 +0000 (23:12 +0000)]
r892: Actually add the NTLMSSP self-check torture code this time...
Andrew Bartlett
Gerald Carter [Tue, 25 May 2004 18:12:55 +0000 (18:12 +0000)]
r891: fix compile
Stefan Metzmacher [Tue, 25 May 2004 17:50:17 +0000 (17:50 +0000)]
r890: convert samba4 to use [u]int8_t instead of [u]int8
metze
Stefan Metzmacher [Tue, 25 May 2004 17:24:24 +0000 (17:24 +0000)]
r889: convert samba4 to use [u]int16_t instead of [u]int16
metze
Stefan Metzmacher [Tue, 25 May 2004 16:50:09 +0000 (16:50 +0000)]
r888: more ..int32 -> ..int32_t stuff
metze
Stefan Metzmacher [Tue, 25 May 2004 16:24:13 +0000 (16:24 +0000)]
r884: convert samba4 to use [u]int32_t instead of [u]int32
metze
Stefan Metzmacher [Tue, 25 May 2004 15:56:02 +0000 (15:56 +0000)]
r882: - create TORTURE_AUTH SUBSYSTEM
- fix the build because of the missing torture/ntlmssp.c
- this file should go into torture/auth/ !
metze
Andrew Tridgell [Tue, 25 May 2004 14:21:09 +0000 (14:21 +0000)]
r879: fixed a typo in the password fetch wrapper
Andrew Bartlett [Tue, 25 May 2004 14:11:39 +0000 (14:11 +0000)]
r877: This attempt at IDL was accidently included in the pervious commit.
Andrew Bartlett
Andrew Bartlett [Tue, 25 May 2004 14:06:28 +0000 (14:06 +0000)]
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
Andrew Tridgell [Tue, 25 May 2004 13:57:39 +0000 (13:57 +0000)]
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.
Andrew Tridgell [Tue, 25 May 2004 03:31:46 +0000 (03:31 +0000)]
r871: add a comment about how samdb_set_password() works
Andrew Tridgell [Tue, 25 May 2004 03:04:26 +0000 (03:04 +0000)]
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)
Stefan Metzmacher [Tue, 25 May 2004 01:11:46 +0000 (01:11 +0000)]
r869: convert SUBSYSTEM PROCESS_MODEL to a *.mk file
metze
Andrew Tridgell [Tue, 25 May 2004 00:51:47 +0000 (00:51 +0000)]
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)
Andrew Tridgell [Tue, 25 May 2004 00:50:41 +0000 (00:50 +0000)]
r867: removed a couple of unused structures
Stefan Metzmacher [Tue, 25 May 2004 00:20:19 +0000 (00:20 +0000)]
r866: convert the rest of the binaries to config.mk files
metze
Jeremy Allison [Tue, 25 May 2004 00:05:51 +0000 (00:05 +0000)]
r865: Regression test for attribute-only opens not causing an oplock break.
Samba3 server used to get this wrong.
Jeremy.
Stefan Metzmacher [Mon, 24 May 2004 23:57:53 +0000 (23:57 +0000)]
r864: convert the smbd/* code to a config.mk file
and add server_auth, server_smb, server_rpc as server modules
metze
Jeremy Allison [Mon, 24 May 2004 23:40:50 +0000 (23:40 +0000)]
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.
Stefan Metzmacher [Mon, 24 May 2004 23:01:20 +0000 (23:01 +0000)]
r862: remove acl and sendfile stuff
it will be readded inside the ntvfs_posix module
metze
Stefan Metzmacher [Mon, 24 May 2004 22:05:06 +0000 (22:05 +0000)]
r861: remove the next round of unused stuff
metze
Stefan Metzmacher [Mon, 24 May 2004 22:00:40 +0000 (22:00 +0000)]
r860: convert SUBSYSTEM TORTURE to a config.mk file
metze
Stefan Metzmacher [Mon, 24 May 2004 20:52:03 +0000 (20:52 +0000)]
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
Stefan Metzmacher [Mon, 24 May 2004 18:13:24 +0000 (18:13 +0000)]
r857: fix the build of gregedit (typo:-)
metze
Stefan Metzmacher [Mon, 24 May 2004 17:43:34 +0000 (17:43 +0000)]
r854: remove unused file
metze
Stefan Metzmacher [Mon, 24 May 2004 17:41:47 +0000 (17:41 +0000)]
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
Stefan Metzmacher [Mon, 24 May 2004 17:28:29 +0000 (17:28 +0000)]
r852: remove unused utility progs
metze
Stefan Metzmacher [Mon, 24 May 2004 17:18:00 +0000 (17:18 +0000)]
r851: convert lib/registry/ to a config.mk file
metze
Stefan Metzmacher [Mon, 24 May 2004 16:54:41 +0000 (16:54 +0000)]
r850: convert SUBSYSTEM AUTH to a config.mk file
metze
Stefan Metzmacher [Mon, 24 May 2004 16:39:19 +0000 (16:39 +0000)]
r849: move tdb/tools/Makefile to tdb/Makefile.tdb
like in ldb
also fix the makefile to let it compile the tools fine
metze
Stefan Metzmacher [Mon, 24 May 2004 16:27:23 +0000 (16:27 +0000)]
r848: convert lib/tdb into the same layout as lib/ldb
metze
Stefan Metzmacher [Mon, 24 May 2004 16:09:08 +0000 (16:09 +0000)]
r847: convert SMB SERVER SUBSYSTEM to a config.mk file
metze
Stefan Metzmacher [Mon, 24 May 2004 16:02:40 +0000 (16:02 +0000)]
r846: convert DCESRV subsystem to a config.mk file
metze
Stefan Metzmacher [Mon, 24 May 2004 15:45:37 +0000 (15:45 +0000)]
r845: convert SUBSYSTEM LIBBASIC to a .mk file
metze
Andrew Tridgell [Mon, 24 May 2004 05:35:59 +0000 (05:35 +0000)]
r839: password set/change in the samr server is complex enough that it
deserves its own C module
Andrew Tridgell [Mon, 24 May 2004 05:07:04 +0000 (05:07 +0000)]
r838: got rid of rpc_misc.h
Andrew Tridgell [Mon, 24 May 2004 05:01:34 +0000 (05:01 +0000)]
r837: get rid of some more old rpc headers, and the genparser headers
Andrew Tridgell [Mon, 24 May 2004 04:53:12 +0000 (04:53 +0000)]
r836: get rid of SEC_DESC and related structure definitions
Jelmer Vernooij [Sun, 23 May 2004 14:18:08 +0000 (14:18 +0000)]
r834: Fix gconf and dir backends
Jelmer Vernooij [Sun, 23 May 2004 13:55:52 +0000 (13:55 +0000)]
r833: Compile error
Jelmer Vernooij [Sun, 23 May 2004 13:50:56 +0000 (13:50 +0000)]
r832: Only show menu items for backends if they're present
Andrew Bartlett [Sun, 23 May 2004 12:44:53 +0000 (12:44 +0000)]
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
Jelmer Vernooij [Sun, 23 May 2004 12:37:55 +0000 (12:37 +0000)]
r830: Use pull_ucs2_talloc() instead of acnv_u2ux() and fix a memory leak.
Jelmer Vernooij [Sun, 23 May 2004 12:12:50 +0000 (12:12 +0000)]
r829: Implement 'hive' command
Jelmer Vernooij [Sun, 23 May 2004 12:01:20 +0000 (12:01 +0000)]
r828: Some fixes in the core and regshell concerning hives and
unicode
Andrew Tridgell [Sun, 23 May 2004 00:40:25 +0000 (00:40 +0000)]
r827: remove a few more unused functions that we are unlikely to use again
Andrew Tridgell [Sun, 23 May 2004 00:30:17 +0000 (00:30 +0000)]
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
Jelmer Vernooij [Sat, 22 May 2004 18:49:25 +0000 (18:49 +0000)]
r825: - Introduce support for multiple roots (or 'hives')
- Clean up rpc backend (possible now that multiple hives are supported)
Stefan Metzmacher [Sat, 22 May 2004 14:48:26 +0000 (14:48 +0000)]
r822: use 'Last Change Rev:' instead of 'Revision:' from the svn info output
for setting the SVN_REVISION in version.h
metze
Stefan Metzmacher [Sat, 22 May 2004 14:40:49 +0000 (14:40 +0000)]
r821: prompt user for password if not given by -U user%pass
and not as torture:password in smb.conf
metze
Jelmer Vernooij [Sat, 22 May 2004 11:36:20 +0000 (11:36 +0000)]
r819: Fix seg fault in rpc backend, found by Andrew Bartlett
Andrew Tridgell [Sat, 22 May 2004 11:16:21 +0000 (11:16 +0000)]
r818: added server side SMB signing to Samba4
Andrew Bartlett [Sat, 22 May 2004 07:55:48 +0000 (07:55 +0000)]
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
Andrew Tridgell [Sat, 22 May 2004 07:38:15 +0000 (07:38 +0000)]
r815: include our netbios name in the negprot response (this matches win2003)
Andrew Tridgell [Sat, 22 May 2004 01:29:42 +0000 (01:29 +0000)]
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.
Andrew Tridgell [Sat, 22 May 2004 00:53:57 +0000 (00:53 +0000)]
r812: added a new samdb_replace() call that simplifies the code in the main samr server a bit.
Andrew Tridgell [Sat, 22 May 2004 00:52:04 +0000 (00:52 +0000)]
r811: make the ldb_modify REPLACE semantics better match LDAP (ie. no error
on the attribute not existing and allow an empty replace)
Simo Sorce [Fri, 21 May 2004 16:39:12 +0000 (16:39 +0000)]
r808: fix libtdb build by ifedffing out an smb_panic() and copying over CatchSignal fn from lib/signal changing it's name to TdbCatchSignal
Stefan Metzmacher [Fri, 21 May 2004 16:02:24 +0000 (16:02 +0000)]
r807: compile with PICFLAG by default
(ask tridge why this is better than recompiling only the
files we need for libraries with PICFLAG)
metze
Tim Potter [Fri, 21 May 2004 12:15:04 +0000 (12:15 +0000)]
r806: Checkin of workarea - tridge gave me some good ideas today for a better
way to do this.
Jelmer Vernooij [Thu, 20 May 2004 20:44:53 +0000 (20:44 +0000)]
r803: Add README file about building the debian package
Andrew Tridgell [Thu, 20 May 2004 13:44:46 +0000 (13:44 +0000)]
r796: fixed samr_OemChangePasswordUser2() to replace attributes, not add
Andrew Tridgell [Thu, 20 May 2004 13:29:38 +0000 (13:29 +0000)]
r793: - don't make templates members of any class that would make them show
up in searches like "objectclass=user"
- auto-add the computer objectclass for computer accounts on create
- added two types of password change call in samr server
- reset last_fault_code before each dcerpc call
Andrew Tridgell [Thu, 20 May 2004 13:25:06 +0000 (13:25 +0000)]
r792: - changed the ldb ldif_* functions to be in the ldb_ namespace
- added better error reporting in ldbdel
- fixed a bug in handling packing of records which contain elements
with no values (it caused db corruption)
- allow search with "dn" as target attribute
Andrew Tridgell [Thu, 20 May 2004 13:21:30 +0000 (13:21 +0000)]
r791: added ldb man page build to ldb makefile
Andrew Tridgell [Thu, 20 May 2004 13:20:30 +0000 (13:20 +0000)]
r790: started working on some documentation (manual pages) for ldb
Simo Sorce [Thu, 20 May 2004 07:49:34 +0000 (07:49 +0000)]
r789: we return wrong number of entries
Andrew Tridgell [Wed, 19 May 2004 14:43:58 +0000 (14:43 +0000)]
r782: added torture test for level 6 logon level in netr_LogonSamLogon