summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1999-04-27rpc_parse/parse_misc.c : defined a new BUFFER5 structJean-François Micouleau13-15/+323
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 (This used to be commit 4c515804b70254248e378a3f90f47e4c32639d29)
1999-04-27Adding RPC spoolss code support and some new low-level printing functions.Jean-François Micouleau5-0/+9608
Jean Francois (This used to be commit 9e8192cc674db7551569d23982877dd25c488b50)
1999-04-23Adding scheduler control pipe (\atsvc), client-side routines, and rpcclientMatthew Chapman1-0/+155
command "at" (compatible with NT's "at" command - see rpcclient commit) - useful for remote NT administration. (This used to be commit 568c40cc65e46590ba1e9850662934f1a28bd83d)
1999-04-23New rpcclient command "at" for NT scheduler control, a slightly improvedMatthew Chapman3-0/+494
version of the NT command. at { time [/INTERACTIVE] [{/EVERY|/NEXT}:5,Sun,...] command | [/DEL] [jobid] } Examples (options used in abbreviated form): at ; Shows all jobs at 1 ; Detail on job 1 at /D ; Deletes all jobs at /D 1 ; Deletes job 1 at 11:11:11AM /I /N:1 d:\humour\silly.exe ; First of next month at 9:00AM /E:M,T,W,Th,F net send MATTY Hi ; Each weekday at 11:00PM /E c:\winnt\backup.exe ; Every day (This used to be commit cf8c476d2eec24c150877b6bb8af7f7875cc1840)
1999-04-23Added new define NT_STATUS_MORE_ENTRIES = 0x105.Matthew Chapman1-1/+1
(This used to be commit 52b4fd5b55c22deb691124b743ae9d3beb33b39e)
1999-04-23Adding scheduler control pipe (\atsvc), client-side routines, and rpcclientMatthew Chapman9-5/+575
command "at" (compatible with NT's "at" command - see rpcclient commit) - useful for remote NT administration. (This used to be commit cf30a472f702d7b50c3a85e2cf2f55b46a2bd452)
1999-04-20Make proto for VFS init changes and VFS fsync() stuff.Tim Potter1-7/+8
(This used to be commit fc53314032ddfb6c2baf128399f43b42316417eb)
1999-04-20Rewrite of VFS initialisation routines.Tim Potter1-101/+114
(This used to be commit acc1c9e49cd40a600479a1a586d314b42e2cdf77)
1999-04-20Added dummy connect and disconnect VFS operations to avoid theTim Potter1-2/+17
possibilty of NULL function pointers being called. Changed arguments to fsync() function to break dependency on connection_struct. (This used to be commit f6d0b55e92cc5250dc65f65c8689bf96cf7001df)
1999-04-20Changed the way a VFS is initialised. The vfs_init() function isTim Potter1-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. (This used to be commit 346c78d7078d87bc95abc274f2bc66476aeee54c)
1999-04-20Broke out vfs structures to separate header file.Tim Potter1-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. (This used to be commit c72de36748aedb6b478fe32d18e77f85e34abfb0)
1999-04-20Changed arguments to fsync() function to break dependency onTim Potter3-18/+22
connection_struct. (This used to be commit ee6f826ccc0897a4538f6f9a560127c54a4c4038)
1999-04-20Broke out of smb.hTim Potter1-0/+131
Changed arguments to fsync() function to break dependency on connection_struct. (This used to be commit 373ffe77599275b5cb17fed90ca0737785133b54)
1999-04-17open_socket_in() takes a different number of parameters in the headAndrew Tridgell1-1/+1
branch. We need that merge soon! (This used to be commit 5fb06c603efe08ea64da602de848b79fea6505c0)
1999-04-17fixed a typoAndrew Tridgell1-1/+1
(This used to be commit 12d55d208a04b6466035be425173f20c24be094a)
1999-04-17damn, new files need to be added to the head branch first, I've toldAndrew Tridgell2-0/+243
other people this before then forgot myself :) (This used to be commit a116228d37fdd18979caec6765394e79be49fa99)
1999-04-14Removed unused vfs_read_data() function at the request of tridge.Tim Potter1-49/+0
Removed unnecessary SSL stuff from vfs_write_data(). (This used to be commit fdbe79c1c3061c844c1eb859e3e40634a098a8f3)
1999-04-12Fix compile warning in nametouid().Tim Potter1-1/+1
(This used to be commit deb6dfb4e0c975a93a7bb3f93265c678eb35bd76)
1999-04-11Allow "Yes" and "No" as well as "True" and "False" in the three-stateMatthew Chapman1-1/+1
enumeration. (This used to be commit 4ed67ccf1cdfd064cf2b2949020feb5afcb76b9d)
1999-04-11Trying to improve DC location & browsing performance for the average userMatthew Chapman7-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). (This used to be commit 4a23a358b5ad8873acb7db11f27b87d2a016bec1)
1999-04-11Fixed rpcclient's samuser command.Matthew Chapman1-37/+35
(This used to be commit 60a8b478ac6c96e6cc6f1f2a299ac2200e19fc6c)
1999-04-11Incorrect length (number of unicode characters rather than buffer size)Matthew Chapman1-1/+1
passed to ascii_to_unibuf in make_buffer2 was breaking User Manager. (This used to be commit c518cef78d53a76451e5ea0ac93d75930306fa47)
1999-04-11Modification to compile under egcs 2.91.63.Tim Potter1-3/+6
(This used to be commit d04c530836202ca2277176341261b3ac78f4956a)
1999-04-09Put this back after it dropped off.John Terpstra1-0/+51
(This used to be commit 5feb10ef1330d87fca34cc5400c124dcfce7db4f)
1999-04-08Mainly BDC-related changes.Matthew Chapman1-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. (This used to be commit 6f2b37bfc5fc8d56b275883d0ed2c5179aa60ccd)
1999-04-08Mainly BDC-related changes.Matthew Chapman1-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. (This used to be commit ca540c21f78b4bc8ca36ac3d5af2b8f67cf716c3)
1999-04-08Mainly BDC-related changes.Matthew Chapman10-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. (This used to be commit 7b830350eb54dc9d357c115e12ddf9a0633527ac)
1999-04-08Mainly BDC-related changes.Matthew Chapman4-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. (This used to be commit 74d6dec25d6b44e26d3895f789f1958d5f4639ee)
1999-04-08Fix for endianness problem reported by Edan Idzerda <edan@mtu.edu>. AMatthew Chapman1-2/+3
BUFFER2 is really a "unibuf" in my terminology and we should treat it as such. (This used to be commit 7ef76320b79b3ca4e04dcf809ac6388b6c47a3d8)
1999-04-08Always do a compile before CVS commit! )-:Tim Potter2-1/+2
(This used to be commit 0f37e900fa0744573754796916abf967fee05ea2)
1999-04-08Forgot about closedir() function for VFS. Hoo embarassing.Tim Potter4-2/+13
(This used to be commit c1cbe07c0391c36066b068fdd42bf1aa40259a5c)
1999-04-07Changed calls to strncat() to safe_strcat(). Fix from SAMBA_2_0 branch.Tim Potter1-4/+4
(This used to be commit 2d2c5ae7cd610b0d97151f90ad5ac7f4e41e514d)
1999-04-06Dejan Ilic: spotted "NETLOGON" bug, failure of NT_STATUS WRONG_PASSWORD.Luke Leighton1-3/+3
(This used to be commit 2f02a083b2f766d2f3d3f410377da7f552739345)
1999-04-05Under IRIX, a void function may return a value, even if that value isTim Potter1-1/+1
void! (This used to be commit e15da6882426edd39ff7fdcd47f1be30c053d4ec)
1999-04-05Fix incorrect conversion of fd_attempt_open() calls to vfs_ops.open().Tim Potter1-9/+12
Use VFS I/O for fd_attempt_open() and check_access_allowed_for_current_user(). (This used to be commit abf31ca66f3dab1b8bd7772f83e736e41afb4b1e)
1999-04-05Use VFS I/O for stat_cache_lookup()Tim Potter1-3/+5
(This used to be commit 5ece1fcffbc5a5062c02edf6f2ecb405c2a2f43e)
1999-04-05Disable VFS routines if no libdl available.Tim Potter2-3/+13
(This used to be commit cbfd8a8990b4d06d0c866274e7d28e4a5e384686)
1999-04-05Documentation for VFS construction.Tim Potter1-0/+9
(This used to be commit 753596246ceb7e06f5f8c4f169251a89b464b54c)
1999-04-04Fixed spelling typo in Kerberos configure option.Tim Potter1-1/+1
(This used to be commit e8fa4fbf8b5a0d5c76745f51751e85f2ec462b41)
1999-04-04Updated for VFS merge.Tim Potter1-6/+47
(This used to be commit f40a1339620f50a6127362b8156cc738dc9da5f5)
1999-04-04Fixed up incorrect calls to read_file().Tim Potter1-2/+2
(This used to be commit 17d007daa3d1fa60501eae1eecfc2d0f88c1692e)
1999-04-04Use VFS operations for file I/O.Tim Potter1-8/+7
Modified args to read_predict to pass in fsp. Renamed sync_file() function to sys_sync_file(). (This used to be commit 7ced7fd3958c76303e4b6019b5d54eda666d7b33)
1999-04-04Use VFS operations for file I/O.Tim Potter1-3/+2
Modified invocations of fd_attempt_close as it now takes a fsp instead of a fd. (This used to be commit ef24fcb7b2248aae9c3f1fb4df7466b5ae35f5ce)
1999-04-04#ifdef'ed out functions obsoleted by VFS:Tim Potter1-4/+14
dos_opendir dos_readdirname dos_file_exist Added warning comments to dos_mkdir() as it's used in client code. (This used to be commit 666afcdf1d794959ea0de75205bb8024c95753b8)
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)