summaryrefslogtreecommitdiffstats
path: root/source/smbd
Commit message (Collapse)AuthorAgeFilesLines
...
* Jean-Francois Micouleau's rewrite of Nigel William's DFS supportLuke Leighton1999-07-121-0/+215
|
* lengths of NT passwords when "encrypt passwords = no" can be completelyLuke Leighton1999-07-121-1/+1
| | | | | | random. values seen can be as high as 18255. this fails the check of <= 24 which sets NT password length to 0, effectively ignoring it. the <= 24 was removed in reply_sesssetup_X.
* Jean-Francois Micouleau's rewritten DFS patch, originally written byLuke Leighton1999-07-126-67/+354
| | | | | Nigel Williams. despite the data format being *exactly* the same as NT's, this still doesn't work yet. more work needed.
* oops, refused lm when ntlmv2 was true not false/auto. oops!Luke Leighton1999-07-071-1/+1
|
* reporting failure to accept ntlmv2 (only) with down-level protocols (LANMAN1Luke Leighton1999-07-061-3/+13
| | | | and below).
* smb_password_ok() checking incorrectly whether lm password exists.Luke Leighton1999-07-061-13/+16
| | | | when lmcompatibilitylevel=0x2 on nt sp4+ clients, lm# is not sent.
* improving authentication code (tidyup).Luke Leighton1999-06-293-50/+109
|
* debugging of NBT messages added.Luke Leighton1999-06-241-0/+3
|
* Moved code that changes the pw_passwd entry (i.e shadow password andTim Potter1999-06-135-6/+6
| | | | | | | | weird unixware stuff) into _Get_Pwnam() to fix a memory allocation bug. Note that the Get_Pwnam() function now returns a const struct passwd * as a hint to other developers not to change entries in the struct passwd.
* Fixing core dump bug with unix password sync, caused by a NULLMatthew Chapman1999-06-021-5/+7
| | | | | | connection_struct in a call to OpenDir. JF, you fixed a similar bug in printing/nt_printing.c, I think your fix is incorrect as global configuration files should not go through a VFS.
* Fix compiler warning.Tim Potter1999-05-061-3/+104
| | | | | | Added checks to panic if VFS functions are passed NULL pointers. This may expose some bugs that have been lurking about. Checks can be easily removed later.
* Jani Jaakkola's "getpwuid() / getpwnam()" hash-cache-hackLuke Leighton1999-05-061-1/+1
|
* added server ntlmv2 false/auto/true parameter, defaults to off.Luke Leighton1999-05-011-13/+20
|
* rpc_parse/parse_misc.c : defined a new BUFFER5 structJean-François Micouleau1999-04-272-0/+2
| | | | | | | | | | | | | | | | | | | | include/ntdomain.h : added rpc_spoolss.h include statement include/proto.h include/rpc_dce.h : added definition of RPC_ALTER_CONTEXT request & reply param/loadparm.c : 2 new options for NT printing support and some changes to initial values in the LPRNG case. rpc_parse/parse_prs.c : added prs_uint16s() rpc_parse/parse_rpc.c : added SYNT_SPOOLSS_V1 and code for the alter-context support. rpc_server/srv_pipe.c : alter-context support smbd/nttrans.c smbd/server.c include/rpc_misc.h Makefile.in include/smb.h Jean Francois
* Rewrite of VFS initialisation routines.Tim Potter1999-04-201-101/+114
|
* Added dummy connect and disconnect VFS operations to avoid theTim Potter1999-04-201-2/+17
| | | | | | | possibilty of NULL function pointers being called. Changed arguments to fsync() function to break dependency on connection_struct.
* Changed the way a VFS is initialised. The vfs_init() function isTim Potter1999-04-201-4/+51
| | | | | | | | | | | | executed from the VFS object file and it returns a pointer to a vfs_ops structure. If any of the function pointers in vfs_ops are NULL, then they are replaced with the standard disk functions. This should allow disk-related VFS modules to be easily added. I've written an auditing VFS module which logs various calls (connect, disconnect, mkdir, rmdir, open and a few others) to syslog in a couple of pages of code. Thanks to tridge for various useful suggestions.
* Changed arguments to fsync() function to break dependency onTim Potter1999-04-203-18/+22
| | | | connection_struct.
* Removed unused vfs_read_data() function at the request of tridge.Tim Potter1999-04-141-49/+0
| | | | Removed unnecessary SSL stuff from vfs_write_data().
* Mainly BDC-related changes.Matthew Chapman1999-04-081-1/+5
| | | | | | | * Added SEC_CHAN_BDC * Propagate sec_chan into the various functions which change trust account passwords, so they can be used for domain control and inter-domain trusts.
* Always do a compile before CVS commit! )-:Tim Potter1999-04-081-1/+1
|
* Forgot about closedir() function for VFS. Hoo embarassing.Tim Potter1999-04-083-2/+12
|
* Under IRIX, a void function may return a value, even if that value isTim Potter1999-04-051-1/+1
| | | | void!
* Fix incorrect conversion of fd_attempt_open() calls to vfs_ops.open().Tim Potter1999-04-051-9/+12
| | | | Use VFS I/O for fd_attempt_open() and check_access_allowed_for_current_user().
* Use VFS I/O for stat_cache_lookup()Tim Potter1999-04-051-3/+5
|
* Disable VFS routines if no libdl available.Tim Potter1999-04-052-3/+13
|
* Fixed up incorrect calls to read_file().Tim Potter1999-04-041-2/+2
|
* Use VFS operations for file I/O.Tim Potter1999-04-041-8/+7
| | | | | | Modified args to read_predict to pass in fsp. Renamed sync_file() function to sys_sync_file().
* Use VFS operations for file I/O.Tim Potter1999-04-041-3/+2
| | | | | Modified invocations of fd_attempt_close as it now takes a fsp instead of a fd.
* Wrote VFS initialisation routines.Tim Potter1999-04-041-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.
* Wrapped up all VFS disk I/O functions for portability. I rememberTim Potter1999-04-041-0/+180
| | | | | tridge telling me why this needed to be done but I have since forgotten. (-:
* Use VFS operations for file I/O.Tim Potter1999-04-047-110/+126
|
* Call VFS initialisation, share connect and share disconnect functions.Tim Potter1999-04-041-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.
* Use VFS operations for file I/O.Tim Potter1999-04-041-22/+32
| | | | Changed arg to fd_attempt_close() from fd to fsp_struct.
* Use VFS operations for file I/O.Tim Potter1999-04-041-5/+5
| | | | | Pass files_struct and connection_struct to read_predict() and do_read_prediction() functions, respectively.
* Use VFS operations for file I/O.Tim Potter1999-04-041-3/+3
| | | | | Changed calls to dos_{opendir,readdir} to vfs_{opendir,readdir} equivalents.
* Ken McDonell from SGI was interested in adding some profilingAndrew Tridgell1999-04-013-1/+16
| | | | | | | | | | | | 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.
* SAM database "set user info".Luke Leighton1999-03-254-41/+66
| | | | | | | | | | | | | | | | | | | | | | | ---------------------------- - 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.
* going to start adding inter-domain trust logons soon.Luke Leighton1999-03-191-123/+130
|
* Beau Kuiper: provided patch so that passwords could only be changed byLuke Leighton1999-03-191-0/+8
| | | | | | 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.
* cli_setup_creds new arguments added.Luke Leighton1999-03-121-1/+3
|
* Return either STATUS_BUFFER_OVERFLOW or ERRDOS/ERRmoredata depending onMatthew Chapman1999-02-241-7/+10
| | | | whether the client supports 32-bit error codes.
* Win9x user level security.Matthew Chapman1999-02-241-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Always null-terminate strings.Matthew Chapman1999-02-151-3/+3
| | | | Also some string length and sizeof(pointer) corrections.
* UNICODE cleanup (see lib/util_unistr.c).Matthew Chapman1999-02-122-9/+8
| | | | | | No more ugly static library buffers and all functions take a destination string length (especially unistrcpy was rather dangerous; we were only saved by the fact that datagrams are limited in size).
* UNICODE issues.Luke Leighton1999-02-111-1/+1
|
* use jeremy's versions of the UNICODE routines.Luke Leighton1999-02-101-1/+1
|
* when multiple independent large rpc calls come in on the same pipe,Luke Leighton1999-02-091-1/+2
| | | | prev_pdu_file_offset was not being re-initialised to zero.
* UNICODE byte ordering issue: typecast to uint16* replaced with SSVAL()Luke Leighton1999-02-081-1/+1
|
* reload_services needs to be called prior to init_files but afterLuke Leighton1999-02-081-4/+4
| | | | get_myname.