| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
|
| |
Modified args to read_predict to pass in fsp.
Renamed sync_file() function to sys_sync_file().
|
|
|
|
|
| |
Modified invocations of fd_attempt_close as it now takes a fsp instead
of a fd.
|
|
|
|
|
|
|
|
| |
dos_opendir
dos_readdirname
dos_file_exist
Added warning comments to dos_mkdir() as it's used in client code.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
tridge telling me why this needed to be done but I have since
forgotten. (-:
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Changed arg to fd_attempt_close() from fd to fsp_struct.
|
|
|
|
|
| |
Pass files_struct and connection_struct to read_predict() and
do_read_prediction() functions, respectively.
|
|
|
|
|
| |
Changed calls to dos_{opendir,readdir} to vfs_{opendir,readdir}
equivalents.
|
| |
|
|
|
|
| |
Created constants for pstring and fstring lengths.
|
|
|
|
| |
file containing a VFS implementation.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
(by tridge, merged from branch)
|
| |
|
|
|
|
|
| |
next problem: user group adding not supported so an "access denied"
message is reported instead of "ok" when a new user is created.
|
| |
|
|
|
|
|
| |
used to add workstation to domain. unix account db not modified: only
SAM password db is used.
|
|
|
|
|
|
| |
* client/clitar.c (ttarf): ditto
* * lib/snprintf.c: support long longs; adapted from Cloyce D. Spradling's
patch <cloyce@headgear.org>
|
|
|
|
| |
by "Welcome to SAMBA Domain".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
----------------------------
- 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.
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
negative response, which tended to crash lsass.exe.
|
| |
|
|
|
|
|
| |
rather than 0x18. Rather nasty, I doubt the client ever worked for multiple
PDU's.
|
|
|
|
| |
anywhere.
|
|
|
|
| |
an hour tracking it down in HEAD so I'm going to commit it here as well.
|
|
|
|
| |
should instead have &&.
|
| |
|
|
|
|
|
|
| |
transmitted.
Such a problem was crashing Server Manager.
|
|
|
|
|
|
|
|
|
|
| |
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);
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
my corrections :)
|
|
|
|
|
|
| |
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.
|