summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1999-04-04Added smbd/vfs.o and smbd/vfs-wrap.o to object list for smbd.Tim Potter1-1/+2
(This used to be commit db60aa209c43126d61a798dec69d4f4f5cbcaf37)
1999-04-04Wrote VFS initialisation routines.Tim Potter1-0/+407
Converted some useful routines from doscalls.c and changed them to use VFS I/O functions: dos_file_exist dos_read_data dos_write_data dos_transfer_file dos_readdirname Some of these functions have been #ifdef'ed out of doscalls.c as they are not used anywhere else. Not sure whether they should be deleted or not. The remaining dos_* calls seem to be used by clients and for locking stuff. This should be cleaned up sometime. (This used to be commit ddde0ab9a1e1b90c2a96103721056eb035dcd49d)
1999-04-04Wrapped up all VFS disk I/O functions for portability. I rememberTim Potter1-0/+180
tridge telling me why this needed to be done but I have since forgotten. (-: (This used to be commit 6e607ef760bd2c0eb3ac31252601ab30de626270)
1999-04-04Use VFS operations for file I/O.Tim Potter7-110/+126
(This used to be commit cfddbdb62485256a947a30e04c753200451cbe1c)
1999-04-04Call VFS initialisation, share connect and share disconnect functions.Tim Potter1-1/+35
Initialise VFS function pointers with symbols from the 'vfs object' file, use disk pointers otherwise. Added a hook to check for a 'default' VFS share (like the [homes] section). Currently empty - I'm unsure whether this will be useful or not. (This used to be commit 15805164fe77b127372eba1ec51c70758467adee)
1999-04-04Use VFS operations for file I/O.Tim Potter1-22/+32
Changed arg to fd_attempt_close() from fd to fsp_struct. (This used to be commit c40124bc9a2ebccf0bb56b1fafa81a551d934aa5)
1999-04-04Use VFS operations for file I/O.Tim Potter1-5/+5
Pass files_struct and connection_struct to read_predict() and do_read_prediction() functions, respectively. (This used to be commit 6479abc5b985981f571cb1ee16a0dbb843fcd270)
1999-04-04Use VFS operations for file I/O.Tim Potter1-3/+3
Changed calls to dos_{opendir,readdir} to vfs_{opendir,readdir} equivalents. (This used to be commit 5051a210619374639121124e32d24217255e992e)
1999-04-04Use VFS operations for file I/O.Tim Potter2-7/+8
(This used to be commit 20bfa71c951a6e6018aafbd43946d1e0669feacb)
1999-04-04Added struct vfs_ops describing virtual filesystem operations.Tim Potter1-30/+77
Created constants for pstring and fstring lengths. (This used to be commit 6998bdbfa886de7feda96a6913024deb723ff13b)
1999-04-04Added configuration parameter 'vfs object' to specify loadable objectTim Potter1-0/+20
file containing a VFS implementation. (This used to be commit a7af7193e3c38d1303919b31a73eea77d0dfa92f)
1999-04-01new files needed by profiling codeAndrew Tridgell2-0/+145
(This used to be commit cae71af4536ff8bd15080f22f9a559f72ff44c68)
1999-04-01Ken McDonell from SGI was interested in adding some profilingAndrew Tridgell12-629/+870
capabilities to Samba so that Samba could talk to the SGI PCP (Performance Co-Pilot) apps. This change adds a profiling shared memory area and uses it to count two fairly trivial things, the number of uid switches and the number of SMB packets processes. To add more just edit include/profile.h and then increment it at the right place. I've also added a -P switch to smbstatus to dump the profile area. (This used to be commit ef3d61a80ad0b87c196a63ef2bd4fe8fc3863bd0)
1999-03-30declare ttarf as double, as in client.cAlexandre Oliva1-1/+1
(This used to be commit dfcfeb743a7667c9dedf3d2b04587c497af12893)
1999-03-30use double instead of SMB_BIG_UINT for dir_total and ttarfAlexandre Oliva2-4/+4
(by tridge, merged from branch) (This used to be commit b482ac8fc4948ead79be8dd08c8386449f12e5f6)
1999-03-29added SamrQueryDomainInfo call info level 0x3 for kix32.exe supportLuke Leighton4-10/+57
(This used to be commit ac070dfd39bfa9b60680855585155ce528ab7691)
1999-03-25"User Manager" - create user + change password now work.Luke Leighton3-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. (This used to be commit f5f61bd477b4910cb90675c926381342c30a5b16)
1999-03-25SMB_BIG_INT dir_total incompatible with %d: must use %llu (line 446)Luke Leighton1-1/+1
(This used to be commit 1cece2124601fad6f5f9e3e16c4b0848ec9be249)
1999-03-25fixed issues with "Welcome to SAMBA Domain" for when admin user/pass isLuke Leighton5-12/+174
used to add workstation to domain. unix account db not modified: only SAM password db is used. (This used to be commit 129a9a4d4b74897ed753a697a3aed9b194c25568)
1999-03-25* client/client.c (dir_total): use SMB_BIG_UINTAlexandre Oliva3-6/+31
* client/clitar.c (ttarf): ditto * * lib/snprintf.c: support long longs; adapted from Cloyce D. Spradling's patch <cloyce@headgear.org> (This used to be commit 29581f8486e221f41669c2ca268c282f36a496ce)
1999-03-25added SAMR_USER_INFO_24 info level to samr_set_userinfo. this is usedLuke Leighton4-0/+89
by "Welcome to SAMBA Domain". (This used to be commit 4aed18b5e1e2309c0f6931fbfdd604b01cb9498a)
1999-03-25SAM database "set user info".Luke Leighton18-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. (This used to be commit 2e58ed742435befe419aa366c4052019fede8c23)
1999-03-24NULL pointer handling in nt_lm_owf_genLuke Leighton1-1/+4
(This used to be commit 68841eeb64df5958a90a6471fd17e6e56fba7c67)
1999-03-24matt, you had removed a "pointer" from DOM_R_REF structure which made itLuke Leighton1-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. (This used to be commit 9092368af8adbf412c71af7216365e926593d54d)
1999-03-24removed 2 unnecessary args from make_uni_hdr.Luke Leighton9-73/+111
(This used to be commit f84dede27e16a5f02ee6d02fe2d16f2661c65470)
1999-03-24Fixed LSA Lookup Names. There were a few too many NULL pointers in aMatthew Chapman5-37/+86
negative response, which tended to crash lsass.exe. (This used to be commit 6d03f61d2536630968007958345cf44a42b03584)
1999-03-23dynamic memory allocation in samr enum dom users. works with 849 entries now.Luke Leighton4-21/+42
(This used to be commit 103557e26b071bf1e65e025ef5a52ccdbf483d02)
1999-03-23Fixed a typo where the RPC header mem_buffer was initialised as 0x8 bytes longMatthew Chapman1-1/+1
rather than 0x18. Rather nasty, I doubt the client ever worked for multiple PDU's. (This used to be commit 90b6fce780c8dff37a389493be0568923b189ff0)
1999-03-23ERRmoredata is informational and should not be treated as a hard errorMatthew Chapman1-7/+6
anywhere. (This used to be commit 71b861f7468d7950bedb61dd18a4b9d830bf8628)
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)