summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
1997-11-02convert the credentials code back to uchar[8] from uint32[2]Andrew Tridgell5-63/+61
This should fix the byte order problems (maybe!) (This used to be commit 21878e7d8628d05786c3c76f2943e31df1096577)
1997-11-02got rid of redundent rpc_pipes/rpc_proto.hAndrew Tridgell1-1/+0
(This used to be commit 1a454f818841bf016ff04fd70cd73a5964d56f2e)
1997-11-02fix commentsAndrew Tridgell1-9/+2
(This used to be commit b3fd976b6c5c8342d04d87a7523864b09918d260)
1997-11-02to avoid any possibility of the pipe getting full and blocking we nowAndrew Tridgell1-27/+58
only allow one query in the async dns pipe at a time. The others are queued in the parent. (This used to be commit f1004dd52adb29d088f0725e2c940ed44d3a764f)
1997-11-01don't print the progress so often - it slows down the client too muchAndrew Tridgell1-1/+3
(This used to be commit cc6e7706635ba4bf044ebd5a525113c1b2fd93e3)
1997-11-01minor async DNS cleanupsAndrew Tridgell2-7/+6
- start it earlier - set DEBUGLEVEL to -1 to prevent any debug calls in child - exit with _exit() to prevent logfile corruption (This used to be commit 21dd073a2003fa4707c1577a6b07bcef30eb6a50)
1997-11-01preparing for release of 1.9.18alpha10Samba Release Account1-1/+1
(This used to be commit fa251b7eba48c9ef2d8d3d798ce5b99c8508c243)
1997-11-01client.c clientutil.c proto.hLuke Leighton4-28/+32
rpc_pipes/ntclientlsa.c rpc_pipes/ntclientnet.c rpc_pipes/ntclientpipe.c : added extra argument to cli_call_api() to allow specifying the length of the \PIPE\ name. it appears that, like when the name of the pipe is NULL and OS-2 requires two extra bytes _after_ the NULL name, that NT requires two bytes after the NULL-terminated name "\PIPE\". these two bytes vary, but values seen so far are: 0x72 0x70; 0x63 0x65; 0x44 0x65; 0x4E 0x00. there appears not to be much logic to this. purpose unknown. ntclient.c: put Set Named Pipe Handle State call directly after SMBopenX call. (This used to be commit 54c245be152e5fa8f5b535c93f8d11c5f591e23f)
1997-11-01set O_CREAT on lock fileAndrew Tridgell1-1/+2
(This used to be commit 32fecea63b892e0a15c398cfc65d53c4ece74d86)
1997-11-01a simple SMB torture tester. This will allow us to evaluate lockingAndrew Tridgell8-168/+847
techniques more accurately. (This used to be commit 054e3b2ae3a8cfb98fde72becef9b05de34d2ba7)
1997-11-01change a debug levelAndrew Tridgell1-3/+3
(This used to be commit d8b896a90fb693187a11456e46971c873e9f0d60)
1997-11-01don't use SEM_UNDO because of ridiculously small undo limits on someAndrew Tridgell1-1/+25
OSes. Instead add explicit checks for dead locks at startup. (This used to be commit 79858d610c37675b9dc56a949723053ac9b67620)
1997-11-01some locking code cleanupsAndrew Tridgell4-241/+222
(This used to be commit 6d77311d6cecabafb86c02e26b30724425ef6208)
1997-11-01re-initialise the timezone on each new connection. This means youAndrew Tridgell1-0/+3
don't need to restart smbd after a DST change. (This used to be commit 2a50d5d5ed4ca7d2b546d7337ec88c527ec82689)
1997-10-31change from * to ^ in hashing of device/inode. Using * meant that ifAndrew Tridgell1-1/+1
the device number happened to divide the number of hash buckets we would only use a small fraction of the hash buckets, which would slow things down. (This used to be commit 623ffd701f2f966875d396d8b2df74f0cf874cda)
1997-10-31define NO_SEMUN for svr4Andrew Tridgell1-0/+1
(This used to be commit a43fa71a5fa740ae8757989c4177f21d8193de94)
1997-10-31OSF1 doesn't define union semun either.Andrew Tridgell1-8/+9
(This used to be commit af7700aa2e3c736f86ae3217a424dfb0910f5f45)
1997-10-31pm_process() never closed the file (a memory and file descriptor leak)Andrew Tridgell1-0/+3
(This used to be commit 0d9b0d0fffc2b11fe4897b8b99f321fc7d9a143c)
1997-10-31no Makefile needed here eitherAndrew Tridgell1-26/+0
(This used to be commit 4d9cd22c9e885a3b1535ab4d80f0622121abc7a6)
1997-10-31removing the files that are now in rpc_pipesAndrew Tridgell10-10/+0
For future reference, if you want to move files about then don't do it this way. The history info is lost. Instead contact me first and tell me what you want moved and why. Then I'll decide if we can do it while retaining the history info. (This used to be commit 0e244f9e7c6b7fd7367e9b79bf4bedcbc80d336a)
1997-10-31- cleanup some warningsAndrew Tridgell3-20/+210
- redo the prototypes (This used to be commit 31dcb51e05914d49d81a3faef354aaf0ab9fa63f)
1997-10-30blanked out these files, so that if someone does make proto, they don'tLuke Leighton10-4906/+0
interfere with the files in the rpc_pipes/ directory. andrew doesn't want to lose any cvs history by moving files around, so he's going to look into that tomorrow. (This used to be commit 5858cb97f565bb1d6337f3bc350b1f8cdfd4555b)
1997-10-30added a client-side "set named pipe handle state" function. not knownLuke Leighton1-4/+18
exactly when you call this (before or after a bind). can sort that out later. (This used to be commit a64ba16db615f83739c147a521ccff3f7c42987b)
1997-10-30storing pipe name state (from set named pipe handle state call) in theLuke Leighton3-23/+21
pipes array. (This used to be commit 5335d5cdc4659f4676958f0399e2de29a117c133)
1997-10-30Modified Files:Christopher R. Hertel13-9/+4180
ubiqx/Makefile ubiqx/README.UBI Added new modules to the Makefile. Changed the text of the README to reflect the directory change. Added Files: ubiqx/ubi_AVLtree.c ubiqx/ubi_AVLtree.h ubiqx/ubi_BinTree.c ubiqx/ubi_BinTree.h ubiqx/ubi_SplayTree.c ubiqx/ubi_SplayTree.h ubiqx/ubi_StackQueue.c ubiqx/ubi_StackQueue.h ubiqx/ubi_sLinkList.c ubiqx/ubi_sLinkList.h This is the remainder of the toolkit. A quick rundown: sLinkList = A simple singly-linked list. StackQueue = Implements both a stack and a queue. dLinkList = (Not added 'cause it's already there.) A doubly-linked list. BinTree = Base level binary tree module. (No height balancing, just the basics.) AVLtree = Descendant type of BinTree. Implements a height-balanced (AVL) binary tree. SplayTree = Descendant type of BinTree. Implements a splay-balanced binary tree. Renamed Files: ubiqx/COPYING.LGPL ==> ubiqx/COPYING.LIB This matches the naming that GNU suggests. (This used to be commit c6205dd45e455a4a228a3411b95fa569e0ea00e1)
1997-10-30Makefile:Luke Leighton4-78/+20
simply adding pipes.o to SMBDOBJ3. rpc_pipes/pipe_hnd.c : created pipe handles module. pipes.c server.c : use of pipe_hnd functions in SMBopenX and SMBclose, on the IPC$ pipe. (This used to be commit ada256b5e3b9fb0db988e3be7d47943e7c19b3fb)
1997-10-30Makefiles for libraries. the dependencies aren't quite right, and iLuke Leighton4-211/+58
don't know how to sort them. make proto in each library directory. over-ride the make proto for ubiqx, so that it doesn't happen, but throws up a warning instead. (This used to be commit 93df2c62cc32191e88c0c4e615ac6077ec2b07c3)
1997-10-30Chris will be pleased to know that mkproto.awk no longer runs on theAndrew Tridgell1-3/+0
ubiqx files :-) (This used to be commit 13d90255928711c05d8e147081afa309b8abf1af)
1997-10-30moved ubi_ modules back into the ubiqx directory.Andrew Tridgell5-2/+498
I've added a very simple (and portable) method for having separate source directories. This should also help when we add directories for the various ports. A unix directory would make sense. (This used to be commit dc8998b1d3c119665538eb5e0b133a47f89fed19)
1997-10-30preparing for release of 1.9.18alpha9Samba Release Account1-1/+1
(This used to be commit 9212c93beefa83be349b250fe98b65e07d842038)
1997-10-30removed mechanism that created actual files NETLOGON, lsarpc and the like,Luke Leighton8-83/+122
which are pipes on the IPC$ connection. created mechanism to record pipe names in a separate pipes_struct. it is planned to expand this, to return sensible things like interface structures, and policy handles (RPC_IFACE and LSA_POL_HND). and the like. (This used to be commit 33cce5fac0e2f818a19a6c4e6a797ef44f3b5c75)
1997-10-29preparing for release of 1.9.18alpha8Samba Release Account1-1/+1
(This used to be commit 48548526e8bef3cdc6f5d202bb6c7849e7862e48)
1997-10-29byteorder.h :Luke Leighton2-4/+6
have another go at reporting stuff the right way round (on SPARCs) srvparse.c : copyright messages (This used to be commit 4b54d22d59d3f6719e7ce8bbbf3e40da31cd270e)
1997-10-29zero data parameter being passed to smb_io_rpc_hdr(), which couldn't cope.Luke Leighton1-1/+1
(This used to be commit c0137cd8fe1362beef9ce879cc558869bdf2edfa)
1997-10-29typecast in calls to print_asc() wrongLuke Leighton1-3/+3
(This used to be commit 4088683ee046783678d4f748ddb03b5907d00506)
1997-10-29ipc.c ntclientpipe.c:Luke Leighton6-24/+114
response to Bind Acknowledgment needs a lookup table for the PIPE string (secondary address in RPC_HDR_BA structure). smbparse.c util.c : interesting problem, i think caused by us typecasting a uint16* buffer to char*. found on a SPARC. (This used to be commit 420408ee83902faa6cf871f26e93ad5efb483727)
1997-10-29preparing for release of 1.9.18alpha7Samba Release Account1-1/+1
(This used to be commit dceace804ea3efa8de6ab31fb44acdc10d46ed73)
1997-10-29called dump_data() from show_msg().Luke Leighton1-25/+6
(This used to be commit 89664898e2457de2986d515f6f476993ee1bbea2)
1997-10-29ipc.c :Luke Leighton2-4/+34
bind ack should contain \PIPE\pipename not just pipename. ntclientpipe.c : sanity in bind ack: pipe name checks; transfer syntax checks; reason checks. (This used to be commit c2e2197e9d87795bda0198247c7bb132fe586fc1)
1997-10-29split ntclient.c down into appropriate modules.Luke Leighton7-979/+1142
(This used to be commit 50d7e4d6f6b5d770742ee83523d6146cf51f8259)
1997-10-29damn. We need root privilages to do semaphore operations even if weAndrew Tridgell2-28/+44
have done the semget() as root. The problem is that become_root() and unbecome_root() are so slow! I've provided two options. The default is to set the semaphores (but _not_ the shared memory) world writeable so that a become_root() isn't needed. Otherwise you can define SECURE_SEMAPHORES and pay the performance penalty. (This used to be commit 2bbd8d2cbc5cf1901859a181bc9ec29822995e51)
1997-10-29- don't allow locking to initialise twiceAndrew Tridgell1-1/+5
- check that it is initialised before de-initialising it! (This used to be commit 68ad7b91999216e5721207b5a79c3a66be7cf420)
1997-10-29clean up the hash entry code a bit. Got rid of lp_shmem_hash_size()Andrew Tridgell6-97/+91
and made it private to the 2 shmem implementations. Added new shmops->hash_size() function. Added code to handle the IPC system limits by looping decreasing the size of the resources (semaphores and shared memory) that we request until we get under the system limits, which can be quite low on some systems! Added checks that the creator of the IPC objects is root. Otherwise we would be open to a security hole where someone pre-creates the shared memory segment and attaches. (This used to be commit 6b6f624b63137d4750200e8cb4961b1402513632)
1997-10-29added frag field to make_rpc_hdr() functionLuke Leighton4-6/+7
(This used to be commit 6b0e51929495582bc48a4d5fba24aa7c1f7caaf6)
1997-10-29byteorder.h :Luke Leighton12-62/+214
added mode for printing debug array data as chars not uint8/16/32s. only really useful for (uint8) strings or (uint16) unicode strings lsaparse.c smbparse.c smb.h : rpc bind and rpc bind ack structures and parsing and creation functions. ipc.c pipes.c pipenetlog.c pipentlsa.c pipesrvsvc.c : using rpc bind / bind ack parsing routines instead of incorrect use of api_LsarpcTNP1 function. ntclient.c : creation of do_rpc_bind() function. THAT'S IT, FOLKS! (This used to be commit 21c89e2f17c51939fd6b53dddbe3072419eb0db2)
1997-10-28Utility code to produce printer definition files from MS files.Jeremy Allison1-0/+301
Part of code to support Windows 95 automated printer driver installs. Written by Jean-Francois Micouleau <Jean-Francois.Micouleau@utc.fr>. (This used to be commit 6e9f817414d6f7bdcb0ea64170d0db34b62651a5)
1997-10-28Adding Windows 95 printer driver code donated by Jean-Francois.Micouleau@utc.fr.Jeremy Allison4-6/+145
New program, make_printerdef, plus two new parameters : [global] "printer driver file" [local] "printer driver location" Jeremy. (This used to be commit 9a5b42e6b3e7a35d56f81e9428fc747246e2fc5c)
1997-10-28smb.h smbparse.c pipeutil.c :Luke Leighton8-97/+456
added bind and bind ack structures and parsing functions. restructured rpc header stuff. ntclient.c pipenetlog.c pipentlsa.c pipesrvsvc.c : having to deal with restructuring above. (This used to be commit 9f2c4f1fee7e411adba8f529b7666a7325584457)
1997-10-28enable sysv ipc and fast share modes on OSF1Andrew Tridgell1-0/+1
(This used to be commit 3480524e15aba50dd459ac5979eabb8974898e35)
1997-10-28need includes.h to compile on some systems (eg. sunos4)Andrew Tridgell1-0/+1
(This used to be commit 7d80e25bb422d841aad81c2b3d76039bba6c9f79)