Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | declare ttarf as double, as in client.c | Alexandre Oliva | 1999-03-30 | 1 | -1/+1 | |
| | ||||||
* | use double instead of SMB_BIG_UINT for dir_total and ttarf | Alexandre Oliva | 1999-03-30 | 2 | -4/+4 | |
| | | | | (by tridge, merged from branch) | |||||
* | added SamrQueryDomainInfo call info level 0x3 for kix32.exe support | Luke Leighton | 1999-03-29 | 4 | -10/+57 | |
| | ||||||
* | "User Manager" - create user + change password now work. | Luke Leighton | 1999-03-25 | 3 | -7/+68 | |
| | | | | | next problem: user group adding not supported so an "access denied" message is reported instead of "ok" when a new user is created. | |||||
* | SMB_BIG_INT dir_total incompatible with %d: must use %llu (line 446) | Luke Leighton | 1999-03-25 | 1 | -1/+1 | |
| | ||||||
* | fixed issues with "Welcome to SAMBA Domain" for when admin user/pass is | Luke Leighton | 1999-03-25 | 5 | -12/+174 | |
| | | | | | used to add workstation to domain. unix account db not modified: only SAM password db is used. | |||||
* | * client/client.c (dir_total): use SMB_BIG_UINT | Alexandre Oliva | 1999-03-25 | 3 | -6/+31 | |
| | | | | | | * client/clitar.c (ttarf): ditto * * lib/snprintf.c: support long longs; adapted from Cloyce D. Spradling's patch <cloyce@headgear.org> | |||||
* | added SAMR_USER_INFO_24 info level to samr_set_userinfo. this is used | Luke Leighton | 1999-03-25 | 4 | -0/+89 | |
| | | | | by "Welcome to SAMBA Domain". | |||||
* | SAM database "set user info". | Luke Leighton | 1999-03-25 | 18 | -170/+772 | |
| | | | | | | | | | | | | | | | | | | | | | | | ---------------------------- - removed DOM_RID4 - removed SAMR_UNKNOWN_32 - added SAMR_SET_USERINFO (opcode 0x32) - added level 0x1 to SAMR_QUERY_DOM_INFO (needed for create user) - fixed pwdb_gethexpwd() it was failing on XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - added mod_sam21pwd_entry() - preparing to call mod_sam21pwd_entry() - added "user session key" to user_struct.dc. this is md4(nt#) and is needed to decode user's clear-text passwords in SAMR_SET_USERINFO. - split code out in chgpasswd.c to decode 516 byte password buffers. | |||||
* | NULL pointer handling in nt_lm_owf_gen | Luke Leighton | 1999-03-24 | 1 | -1/+4 | |
| | ||||||
* | matt, you had removed a "pointer" from DOM_R_REF structure which made it | Luke Leighton | 1999-03-24 | 1 | -1/+5 | |
| | | | | | possible to fix lsa_r_lookup_names, but forgot to add that pointer in to lsa_r_lookup_sids, where DOM_R_REF was also being used. | |||||
* | removed 2 unnecessary args from make_uni_hdr. | Luke Leighton | 1999-03-24 | 9 | -73/+111 | |
| | ||||||
* | Fixed LSA Lookup Names. There were a few too many NULL pointers in a | Matthew Chapman | 1999-03-24 | 5 | -37/+86 | |
| | | | | negative response, which tended to crash lsass.exe. | |||||
* | dynamic memory allocation in samr enum dom users. works with 849 entries now. | Luke Leighton | 1999-03-23 | 4 | -21/+42 | |
| | ||||||
* | Fixed a typo where the RPC header mem_buffer was initialised as 0x8 bytes long | Matthew Chapman | 1999-03-23 | 1 | -1/+1 | |
| | | | | | rather than 0x18. Rather nasty, I doubt the client ever worked for multiple PDU's. | |||||
* | ERRmoredata is informational and should not be treated as a hard error | Matthew Chapman | 1999-03-23 | 1 | -7/+6 | |
| | | | | anywhere. | |||||
* | Same infinite loop bug as I fixed in SAMBA_2_0, but I just spent half | Matthew Chapman | 1999-03-23 | 1 | -4/+4 | |
| | | | | an hour tracking it down in HEAD so I'm going to commit it here as well. | |||||
* | #if defined(HAVE_MYSQL_H) || defined(WITH_MYSQLSAM) | Matthew Chapman | 1999-03-23 | 1 | -1/+1 | |
| | | | | should instead have &&. | |||||
* | Another UNICODE issue - this time BUFFER2 was being transmitted incorrectly. | Matthew Chapman | 1999-03-23 | 3 | -46/+10 | |
| | ||||||
* | If a buffer pointer is NULL then its length_is() attribute should not be | Matthew Chapman | 1999-03-23 | 1 | -4/+19 | |
| | | | | | | transmitted. Such a problem was crashing Server Manager. | |||||
* | The line: | Matthew Chapman | 1999-03-21 | 1 | -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); | |||||
* | Ensuring return status is aligned in SAMR_QUERY_DISPINFO response. | Matthew Chapman | 1999-03-21 | 1 | -0/+1 | |
| | ||||||
* | added a "createuser" command. | Luke Leighton | 1999-03-19 | 6 | -34/+326 | |
| | ||||||
* | value->enc_secret not value->secret | Luke Leighton | 1999-03-19 | 1 | -6/+4 | |
| | ||||||
* | const char* instead of char* for input | Luke Leighton | 1999-03-19 | 1 | -1/+1 | |
| | ||||||
* | return type of nt_decrypt_string2 set to BOOL. | Luke Leighton | 1999-03-19 | 2 | -6/+40 | |
| | ||||||
* | going to start adding inter-domain trust logons soon. | Luke Leighton | 1999-03-19 | 1 | -123/+130 | |
| | ||||||
* | valid_pol in lsa_query_secret() needed to be initialised to False. | Luke Leighton | 1999-03-19 | 1 | -1/+1 | |
| | ||||||
* | querysecret now shows the real, fairdinkum, decrypted secret :-) | Matthew Chapman | 1999-03-19 | 2 | -12/+14 | |
| | ||||||
* | Implemented encryption algorithm used for a number of RPC buffers. | Matthew Chapman | 1999-03-19 | 4 | -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. | |||||
* | Beau Kuiper: provided patch so that passwords could only be changed by | Luke Leighton | 1999-03-19 | 4 | -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. | |||||
* | double-checked the return results from new querysecret command, corrected | Luke Leighton | 1999-03-18 | 1 | -2/+2 | |
| | | | | my corrections :) | |||||
* | matt, | Luke Leighton | 1999-03-18 | 1 | -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. | |||||
* | Added SVC_START_SERVICE rpc. An NT PDC will attempt to start the NETLOGON | Matthew Chapman | 1999-03-18 | 4 | -0/+109 | |
| | | | | | service on its BDC's prior to initiating SAM replication. For now just return success. | |||||
* | Changed hard-coded number of users/groups in SAMR_QUERY_DOMAIN_INFO | Matthew Chapman | 1999-03-18 | 1 | -3/+3 | |
| | | | | | to MAX_SAM_ENTRIES to prevent truncation of user lists. A proper implementation is not important right now. | |||||
* | Adding LSA_OPENSECRET (-> LsarOpenSecret) and LSA_QUERYSECRET | Matthew Chapman | 1999-03-18 | 8 | -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. | |||||
* | SAMLOGON query - alignment issue is beginning to get to me. | Luke Leighton | 1999-03-17 | 1 | -0/+2 | |
| | ||||||
* | Stefan Walters: purify spotted rverf should be alloc'd to 16 bytes not 8. | Luke Leighton | 1999-03-17 | 2 | -1/+36 | |
| | ||||||
* | alignment issue for UDP SAMLOGON response. | Luke Leighton | 1999-03-17 | 1 | -2/+2 | |
| | ||||||
* | Added SVC_QUERY_DISP_NAME (corresponding to the GetServiceDisplayName API). | Matthew Chapman | 1999-03-16 | 4 | -0/+122 | |
| | | | | Needed during preliminary part of SAM replication. | |||||
* | Don't forget to make proto. | Matthew Chapman | 1999-03-14 | 1 | -37/+4 | |
| | ||||||
* | Stefan Walter: spotted *p_group == NULL which should be p_group == ↵ | Luke Leighton | 1999-03-12 | 1 | -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. | |||||
* | cli_setup_creds new arguments added. | Luke Leighton | 1999-03-12 | 1 | -1/+3 | |
| | ||||||
* | new "domtrust" test command. r&d into inter-domain trust accounts. | Luke Leighton | 1999-03-12 | 8 | -26/+82 | |
| | ||||||
* | check for exactly _one_ key: for USRMGR.EXE. | Luke Leighton | 1999-03-12 | 1 | -0/+4 | |
| | ||||||
* | static password space needed. | Luke Leighton | 1999-03-10 | 1 | -3/+3 | |
| | ||||||
* | Greg Dickie: spotted bug where smb_nt_passwd could be NULL. | Luke Leighton | 1999-03-10 | 1 | -1/+8 | |
| | ||||||
* | Greg Dickie spotted some wierd memory corruption problem with group | Luke Leighton | 1999-03-09 | 3 | -21/+21 | |
| | | | | database enumeration. | |||||
* | alignment issue in UDP SAMLOGON response. | Luke Leighton | 1999-03-09 | 1 | -3/+6 | |
| | ||||||
* | mods to allow inter-domain trust accounts to be added to SAM database | Luke Leighton | 1999-03-09 | 7 | -220/+318 | |
| | | | | using smbpasswd command. |