summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1999-03-23Same infinite loop bug as I fixed in SAMBA_2_0, but I just spent halfMatthew Chapman1-4/+4
an hour tracking it down in HEAD so I'm going to commit it here as well. (This used to be commit 9a482aedb2c4eb7439e2edc092642d315d2a595b)
1999-03-23#if defined(HAVE_MYSQL_H) || defined(WITH_MYSQLSAM)Matthew Chapman1-1/+1
should instead have &&. (This used to be commit 1143fd4297b946d4ffd3c6ca104188cdcb48fac8)
1999-03-23Another UNICODE issue - this time BUFFER2 was being transmitted incorrectly.Matthew Chapman3-46/+10
(This used to be commit 73730f6004c7eca1d852a569dede94095a396dca)
1999-03-23If a buffer pointer is NULL then its length_is() attribute should not beMatthew Chapman1-4/+19
transmitted. Such a problem was crashing Server Manager. (This used to be commit 402ed18188dd058ebed2ffc2af9840c04533dc8f)
1999-03-21The line:Matthew Chapman1-2/+2
this_pdu_data_pos = data_pos - p->prev_pdu_file_offset; is correct for first two PDU's only, after that it results in extra garbage after each fragment and hence "Protocol Error" messages from NT4 SP4. Changed to: this_pdu_data_pos = (pdu_data_sent == 0) ? 0 : (pdu_data_sent - 0x18); (This used to be commit b9e8a3ef3a25a81c4bb125bdd4f4d8334a578c85)
1999-03-21Ensuring return status is aligned in SAMR_QUERY_DISPINFO response.Matthew Chapman1-0/+1
(This used to be commit 1e17c2529c5162ea79fe2331ca2162ffb98bd6c2)
1999-03-19added a "createuser" command.Luke Leighton6-34/+326
(This used to be commit fefb4bf19181714cb73414febd6ee2ec10356cbe)
1999-03-19value->enc_secret not value->secretLuke Leighton1-6/+4
(This used to be commit d6cee14f8049471b14337681cbeac115958fbac0)
1999-03-19const char* instead of char* for inputLuke Leighton1-1/+1
(This used to be commit b51574174c5bbc554eb1c697cb22b2b73af44306)
1999-03-19return type of nt_decrypt_string2 set to BOOL.Luke Leighton2-6/+40
(This used to be commit 674e4a3a73cd601c647a5069e2af943a6321ac06)
1999-03-19going to start adding inter-domain trust logons soon.Luke Leighton1-123/+130
(This used to be commit f9f594c03e220a0d902c5c3c5835948348b19fee)
1999-03-19valid_pol in lsa_query_secret() needed to be initialised to False.Luke Leighton1-1/+1
(This used to be commit 96e358a2f00ac603c95bc922e488ea2b64aeb829)
1999-03-19querysecret now shows the real, fairdinkum, decrypted secret :-)Matthew Chapman2-12/+14
(This used to be commit 5951e16a1134a559abefdd400e7a17627338f368)
1999-03-19Implemented encryption algorithm used for a number of RPC buffers.Matthew Chapman4-4/+51
(actually, decryption only currently because I need to get some sleep). Basically another Microsoft twist on DES; the "master key" is the user's NT hash MD4'd and subsets of this are chosen as the 56-bit DES keys. (This used to be commit f09388fa6f41a13ca035b5b2ff40be804608f619)
1999-03-19Beau Kuiper: provided patch so that passwords could only be changed byLuke Leighton4-3/+40
root if the ACB_PWLOCK bit is set (on a per-user basis). he also added an extra smbpasswd option so that this bit can be modified from command-line. (This used to be commit 534fe319d9de8da2ed7e911dbba3c7df08193efa)
1999-03-18double-checked the return results from new querysecret command, correctedLuke Leighton1-2/+2
my corrections :) (This used to be commit 082109369b981713f68c13053b6419686f69ef26)
1999-03-18matt,Luke Leighton1-1/+1
remember: only close handles that you've previously opened. if the lsa_open_secret() succeeds then and only then can you close it. if the lsa_open_policy2() succeeds then and only then can you close it. (This used to be commit 60da0a12555a2e12e27ff2af24e1068a515469c0)
1999-03-18Added SVC_START_SERVICE rpc. An NT PDC will attempt to start the NETLOGONMatthew Chapman4-0/+109
service on its BDC's prior to initiating SAM replication. For now just return success. (This used to be commit 113d03a38a34e5c4115dab59349078093bcd4888)
1999-03-18Changed hard-coded number of users/groups in SAMR_QUERY_DOMAIN_INFOMatthew Chapman1-3/+3
to MAX_SAM_ENTRIES to prevent truncation of user lists. A proper implementation is not important right now. (This used to be commit 900238a66153c276d63780e3264651089291d185)
1999-03-18Adding LSA_OPENSECRET (-> LsarOpenSecret) and LSA_QUERYSECRETMatthew Chapman8-36/+467
(-> LsarQuerySecret) on client side, including rpcclient command "querysecret" for others to play with. The major obstacle is working out the encryption algorithm used for the secret value. It definitely uses the NT hash as part of the key, and it seems the block size is 64 bits - probably DES based - but I can't work out what's done in between. Help required. (This used to be commit 365fa3b5fbf551670acc91f593138a7e91a5f7fa)
1999-03-17SAMLOGON query - alignment issue is beginning to get to me.Luke Leighton1-0/+2
(This used to be commit baf55934dc5118f8c423fe05c0e4b8d7c018fa14)
1999-03-17Stefan Walters: purify spotted rverf should be alloc'd to 16 bytes not 8.Luke Leighton2-1/+36
(This used to be commit 4bb74fcc714fccac791ce86c8882d19d704b17a1)
1999-03-17alignment issue for UDP SAMLOGON response.Luke Leighton1-2/+2
(This used to be commit 9d01e9d86a8d22a283a8377a12bb175398547d78)
1999-03-16Added SVC_QUERY_DISP_NAME (corresponding to the GetServiceDisplayName API).Matthew Chapman4-0/+122
Needed during preliminary part of SAM replication. (This used to be commit 03e722cdf502491d09d4c5eb9024d837ae10ab32)
1999-03-14Don't forget to make proto.Matthew Chapman1-37/+4
(This used to be commit c95520eae9eecc2ec0a347dc0212d6983c5c7f2c)
1999-03-12Stefan Walter: spotted *p_group == NULL which should be p_group == ↵Luke Leighton1-2/+14
NULL.Stefan Walter: spotted *p_group == NULL which should be p_group == NULL.Stefan Walter: spotted *p_group == NULL which should be p_group == NULL.Stefan Walter: spotted *p_group == NULL which should be p_group == NULL.Stefan Walter: spotted *p_group == NULL which should be p_group == NULL.Stefan Walter: spotted *p_group == NULL which should be p_group == NULL.Stefan Walter: spotted *p_group == NULL which should be p_group == NULL. (This used to be commit 81b5304fe5ea518680b2516e2da39f31c1d05afb)
1999-03-12cli_setup_creds new arguments added.Luke Leighton1-1/+3
(This used to be commit 5fa3a3f710cfd3a51641d560a96bd08f92afca32)
1999-03-12new "domtrust" test command. r&d into inter-domain trust accounts.Luke Leighton8-26/+82
(This used to be commit 65b0abe8b7594ff6c662da86dc2e35bd83a2d13d)
1999-03-12check for exactly _one_ key: for USRMGR.EXE.Luke Leighton1-0/+4
(This used to be commit 478d9ddfcf59e3d847d83947c8d4f0bf84f26833)
1999-03-10static password space needed.Luke Leighton1-3/+3
(This used to be commit 5b1d0789007bfcb09326643eb271746cee386846)
1999-03-10Greg Dickie: spotted bug where smb_nt_passwd could be NULL.Luke Leighton1-1/+8
(This used to be commit d8946f1cc7b77b06f346344ffdb4772e6d225396)
1999-03-09Greg Dickie spotted some wierd memory corruption problem with groupLuke Leighton3-21/+21
database enumeration. (This used to be commit b0381bb262f51fca916fb951fc0c7e54a58e2dd3)
1999-03-09alignment issue in UDP SAMLOGON response.Luke Leighton1-3/+6
(This used to be commit de290627f06915d420d37d2a3ac2f736c4cf8d74)
1999-03-09mods to allow inter-domain trust accounts to be added to SAM databaseLuke Leighton7-220/+318
using smbpasswd command. (This used to be commit 62d499f83256c6e8b3308dc4bd8e9f5df873b14b)
1999-03-09oh dear, it's this one again. removed check for MAILSLOT\NTLOGON becauseLuke Leighton1-14/+12
it's wrong. i've seen a packet from nt client on MAILSLOT\NETLOGON with appended undocumented unicode tacked on the end and the response contained undocumented unicode tacked on the end. (This used to be commit 74c7d626cd85189c902489d220c3eca30a4b1bb1)
1999-03-09oops, IS_BITS_CLR_ALL() macro was wrong!Luke Leighton1-1/+1
(This used to be commit a32a6f64b187e82f88eaccb6a2a88902be5cc4e0)
1999-03-09reverted access control flags in enum commands.Luke Leighton1-3/+3
(This used to be commit 97a0b24955b45e434e34510f65afdde7bfdf3183)
1999-03-08- todd sabin spotted bugs in samr enum dom users / groups / aliases code:Luke Leighton2-130/+159
last count (probably an ENUM / resume handle) should always be returned even if there are no items being returned. - got fed up of seven intendation levels in cmd_samr.c, maximum recommended in *any* code is three! made some sub-fns instead. (This used to be commit 1c330d568225759950401cfb98fe9e99db81419c)
1999-03-08pass_check.c could receive encrypted password: printing it out as a %sLuke Leighton2-2/+4
results in garbage. with no password length argument doing dump_data( 100, password, strlen(password)) is the next best alternative. (This used to be commit 073c8652c13408b883fc73203e5558b1a9a64d62)
1999-03-08oops, accidentally committed clear-text password reading last week.Luke Leighton1-1/+1
(This used to be commit e0b5a866ce2628a5e152af3ef817ee3124e60500)
1999-03-08Bejamin Kuit. #define MYSQL and MYSQL_ROW to void iff <mysql.h> not found.Luke Leighton2-0/+13
(This used to be commit 188d9a75edb41e8a0cc0ea6e17c9497771cf3b96)
1999-03-05spelling mistake, #ifdef'd out for non-developers (oops!)Luke Leighton1-0/+5
(This used to be commit 167b0b20e33bef4af5deaff961937dd5fadf481d)
1999-03-05oops, put -DDEBUG_PASSWORD in wrong place.Luke Leighton1-1/+1
(This used to be commit 4e89fbb7d9c2c8e776ab0a819cbf1a1294f07c1b)
1999-03-05Benjamin Kuit's mods.Luke Leighton3-3/+36
(This used to be commit eb63fbdb68f1189593e68272e05d7ebf76652c4c)
1999-03-03Benjamin Kuit's latest mysql mods. issue with "make proto" needs to beLuke Leighton6-93/+165
resolved. (This used to be commit d59a2e669aed7ee33fdca8b8ec126b1c0a984981)
1999-03-02added <mysql.h> autoconf test.Luke Leighton5-33/+10
(This used to be commit 511ef8a58ccfc04d0744f28753bb48d848851980)
1999-03-01Benjamin Kuit's MYSQL SAM Database implementation.Luke Leighton8-2/+1335
Copyright (C) Benjamin Kuit <bj@mcs.uts.edu.au> 1999. (This used to be commit fdf61e1dabc2c977ee5cf1e9d60e3380f19840da)
1999-03-01improving syntax / useability of rpcclient "shutdown" command:Luke Leighton2-10/+26
rpcclient [-m messsage] [-t timeout] [-r or --reboot]. (This used to be commit 8b859797aaa1b88cb1a932fed97b4c3ea2dbdde2)
1999-02-25referred reader to NT Domain FAQ for more info (copy of update to 2.0)Gerald Carter1-109/+10
(This used to be commit 644cda5d807d875c956e71a6e49d65c2d7f0d61e)
1999-02-24Return either STATUS_BUFFER_OVERFLOW or ERRDOS/ERRmoredata depending onMatthew Chapman1-7/+10
whether the client supports 32-bit error codes. (This used to be commit cb5428308d6978f7bd76c1b878dd4a43135a274d)