Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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. | |||||
* | oh dear, it's this one again. removed check for MAILSLOT\NTLOGON because | Luke Leighton | 1999-03-09 | 1 | -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. | |||||
* | oops, IS_BITS_CLR_ALL() macro was wrong! | Luke Leighton | 1999-03-09 | 1 | -1/+1 | |
| | ||||||
* | reverted access control flags in enum commands. | Luke Leighton | 1999-03-09 | 1 | -3/+3 | |
| | ||||||
* | - todd sabin spotted bugs in samr enum dom users / groups / aliases code: | Luke Leighton | 1999-03-08 | 2 | -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. | |||||
* | pass_check.c could receive encrypted password: printing it out as a %s | Luke Leighton | 1999-03-08 | 2 | -2/+4 | |
| | | | | | results in garbage. with no password length argument doing dump_data( 100, password, strlen(password)) is the next best alternative. | |||||
* | oops, accidentally committed clear-text password reading last week. | Luke Leighton | 1999-03-08 | 1 | -1/+1 | |
| | ||||||
* | Bejamin Kuit. #define MYSQL and MYSQL_ROW to void iff <mysql.h> not found. | Luke Leighton | 1999-03-08 | 2 | -0/+13 | |
| | ||||||
* | spelling mistake, #ifdef'd out for non-developers (oops!) | Luke Leighton | 1999-03-05 | 1 | -0/+5 | |
| | ||||||
* | oops, put -DDEBUG_PASSWORD in wrong place. | Luke Leighton | 1999-03-05 | 1 | -1/+1 | |
| | ||||||
* | Benjamin Kuit's mods. | Luke Leighton | 1999-03-05 | 3 | -3/+36 | |
| | ||||||
* | Benjamin Kuit's latest mysql mods. issue with "make proto" needs to be | Luke Leighton | 1999-03-03 | 6 | -93/+165 | |
| | | | | resolved. | |||||
* | added <mysql.h> autoconf test. | Luke Leighton | 1999-03-02 | 5 | -33/+10 | |
| | ||||||
* | Benjamin Kuit's MYSQL SAM Database implementation. | Luke Leighton | 1999-03-01 | 8 | -2/+1335 | |
| | | | | Copyright (C) Benjamin Kuit <bj@mcs.uts.edu.au> 1999. | |||||
* | improving syntax / useability of rpcclient "shutdown" command: | Luke Leighton | 1999-03-01 | 2 | -10/+26 | |
| | | | | rpcclient [-m messsage] [-t timeout] [-r or --reboot]. | |||||
* | Return either STATUS_BUFFER_OVERFLOW or ERRDOS/ERRmoredata depending on | Matthew Chapman | 1999-02-24 | 1 | -7/+10 | |
| | | | | whether the client supports 32-bit error codes. | |||||
* | Added "lookupdomain" rpcclient command. Not particularly useful currently | Matthew Chapman | 1999-02-24 | 1 | -0/+1 | |
| | | | | | | (you can do "lookupdomain MYDOMAIN" and "lookupdomain BUILTIN" and the results won't be too surprising), but it will come in useful testing the new password database code I'm working on. | |||||
* | Win9x user level security. | Matthew Chapman | 1999-02-24 | 7 | -429/+1096 | |
| | | | | | | | | | | | | | | | | | | | | | | | | * Added SAMR_LOOKUP_DOMAIN (-> SamrLookupDomainInSamServer) * Added real SAMR_ENUM_DOM_GROUPS (corresponding to SamrEnumerateGroupsInDomain). The existing one is just an alias for SamrQueryDisplayInformation (see below). * Added three extra info levels to SAMR_QUERY_DISPINFO. Info level 3 is what was previously SAMR_ENUM_DOM_GROUPS; info levels 4 and 5 are simple user/group list requests used by Win9x and I suspect (haven't checked) the "low speed connection" User Manager. * Added another two aliases for SAMR_QUERY_DISPINFO, opcodes 0x30 and 0x33. Usually the first is with info level 3 and the second 4 but there is some overlap so indeed these should be implemented as just aliases. * Return ERRDOS/ERRmoredata on extra data instead of STATUS_BUFFER_OVERFLOW for Win95's benefit. On a named pipe this results in an SMBreadX as usual. Still need to fix SAMR_QUERY_DOMAIN_INFO which has a hard-coded number of users and groups - which Win95 proceeds to truncate at. | |||||
* | added jeremy's new c++-like code for parsing of security descriptors. | Luke Leighton | 1999-02-23 | 10 | -330/+497 | |
| | ||||||
* | samr_lookup_names "none found" error needed corrections with empty lists. | Luke Leighton | 1999-02-19 | 1 | -2/+2 | |
| | ||||||
* | last unix group not being listed. spotted by jacques sansdrap. | Luke Leighton | 1999-02-19 | 3 | -3/+3 | |
| | ||||||
* | problem been there for months: reg_r_info not aligning after string buffer. | Luke Leighton | 1999-02-18 | 1 | -0/+1 | |
| | ||||||
* | Got to the bottom of another weird one... | Michael Warfield | 1999-02-18 | 1 | -1/+5 | |
| | | | | | | | | | | Piping the output of smbmount back to autofs/automount was causing the automount process to hang. Reason was that automount was depending on the pipe to close to continue on, rather than detecting the child signal. This occured with debug enabled and the daemon process was not closing the stdout process. Disabling debuging avoids the problem. Debugging is turned off in the cvs repository and a warning placed over the debugging option. | |||||
* | rpcclient shutdown command | Luke Leighton | 1999-02-16 | 7 | -2/+203 | |
| | ||||||
* | bitmap to strings | Luke Leighton | 1999-02-16 | 2 | -16/+84 | |
| |