summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* Broke out vfs structures to separate header file.Tim Potter1999-04-201-44/+11
| | | | | | | Some cpp hackery to avoid redefining types used by vfs header file. Added a vfs_connection_struct to connection_struct so it can be freed when a VFS share is disconnected.
* Changed arguments to fsync() function to break dependency onTim Potter1999-04-203-18/+22
| | | | connection_struct.
* Broke out of smb.hTim Potter1999-04-201-0/+131
| | | | | Changed arguments to fsync() function to break dependency on connection_struct.
* open_socket_in() takes a different number of parameters in the headAndrew Tridgell1999-04-171-1/+1
| | | | branch. We need that merge soon!
* fixed a typoAndrew Tridgell1999-04-171-1/+1
|
* damn, new files need to be added to the head branch first, I've toldAndrew Tridgell1999-04-172-0/+243
| | | | other people this before then forgot myself :)
* 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().
* Fix compile warning in nametouid().Tim Potter1999-04-121-1/+1
|
* Allow "Yes" and "No" as well as "True" and "False" in the three-stateMatthew Chapman1999-04-111-1/+1
| | | | enumeration.
* Trying to improve DC location & browsing performance for the average userMatthew Chapman1999-04-117-181/+208
| | | | | | | | | | | | | | | | | | | who doesn't know what an LMB or DMB is. * check_master_browser_exists now performs the check the first time around, so if there is indeed no master browser then Samba takes up the job much faster. * Upped default OS level to 32. There is no reason why some stupid little Windows box should become LMB instead of a Samba *server*. * "domain master" now defaults to "auto". Currently this attempts to become DMB iff Samba is the PDC (ala Windows NT). "preferred master" also defaults to "auto", which enables preferred master iff Samba is DMB. * lp_server_role now just returns the predetermined role, rather than working it out each time, since the server role is becoming very heavily used (esp for the BDC code).
* Fixed rpcclient's samuser command.Matthew Chapman1999-04-111-37/+35
|
* Incorrect length (number of unicode characters rather than buffer size)Matthew Chapman1999-04-111-1/+1
| | | | passed to ascii_to_unibuf in make_buffer2 was breaking User Manager.
* Modification to compile under egcs 2.91.63.Tim Potter1999-04-111-3/+6
|
* Put this back after it dropped off.John Terpstra1999-04-091-0/+51
|
* Mainly BDC-related changes.Matthew Chapman1999-04-081-10/+26
| | | | | | | | * Added SEC_CHAN_BDC * Added -b switch to smbpasswd (for a BDC (server) trust account). * Propagate sec_chan into the various functions which change trust account passwords, so they can be used for domain control and inter-domain trusts.
* 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.
* Mainly BDC-related changes.Matthew Chapman1999-04-0810-56/+648
| | | | | | | | | | | | | | | | | | * 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. * Fix for endianness problem reported by Edan Idzerda <edan@mtu.edu>. A BUFFER2 is really a "unibuf" in my terminology and we should treat it as such. * Added some more common NT structures (BIGINT, BUFHDR2, BUFFER4). * Added NET_SAM_SYNC (-> NetDatabaseSync2) RPC for account replication. Still experimental and incomplete, with a few too many NULL security descriptors lying around (must go look at Jeremy's SD code). Haven't worked out password encryption yet either. However, the XXX_INFO structures I've added to rpc_netlogon.h are quite nice as they give some insight into how these objects are stored in the SAM.
* Mainly BDC-related changes.Matthew Chapman1999-04-084-8/+370
| | | | | | | | | | | | | | | * Added SEC_CHAN_BDC * Fix for endianness problem reported by Edan Idzerda <edan@mtu.edu>. A BUFFER2 is really a "unibuf" in my terminology and we should treat it as such. * Added some more common NT structures (BIGINT, BUFHDR2, BUFFER4). * Added NET_SAM_SYNC (-> NetDatabaseSync2) RPC for account replication. Still experimental and incomplete, with a few too many NULL security descriptors lying around (must go look at Jeremy's SD code). Haven't worked out password encryption yet either. However, the XXX_INFO structures I've added to rpc_netlogon.h are quite nice as they give some insight into how these objects are stored in the SAM.
* Fix for endianness problem reported by Edan Idzerda <edan@mtu.edu>. AMatthew Chapman1999-04-081-2/+3
| | | | | BUFFER2 is really a "unibuf" in my terminology and we should treat it as such.
* Always do a compile before CVS commit! )-:Tim Potter1999-04-082-1/+2
|
* Forgot about closedir() function for VFS. Hoo embarassing.Tim Potter1999-04-084-2/+13
|
* Changed calls to strncat() to safe_strcat(). Fix from SAMBA_2_0 branch.Tim Potter1999-04-071-4/+4
|
* Dejan Ilic: spotted "NETLOGON" bug, failure of NT_STATUS WRONG_PASSWORD.Luke Leighton1999-04-061-3/+3
|
* 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
|
* Documentation for VFS construction.Tim Potter1999-04-051-0/+9
|
* Fixed spelling typo in Kerberos configure option.Tim Potter1999-04-041-1/+1
|
* Updated for VFS merge.Tim Potter1999-04-041-6/+47
|
* 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.
* #ifdef'ed out functions obsoleted by VFS:Tim Potter1999-04-041-4/+14
| | | | | | | | dos_opendir dos_readdirname dos_file_exist Added warning comments to dos_mkdir() as it's used in client code.
* Added smbd/vfs.o and smbd/vfs-wrap.o to object list for smbd.Tim Potter1999-04-041-1/+2
|
* 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.
* Use VFS operations for file I/O.Tim Potter1999-04-042-7/+8
|
* Added struct vfs_ops describing virtual filesystem operations.Tim Potter1999-04-041-30/+77
| | | | Created constants for pstring and fstring lengths.
* Added configuration parameter 'vfs object' to specify loadable objectTim Potter1999-04-041-0/+20
| | | | file containing a VFS implementation.
* new files needed by profiling codeAndrew Tridgell1999-04-012-0/+145
|
* Ken McDonell from SGI was interested in adding some profilingAndrew Tridgell1999-04-0112-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.