1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-11 17:58:16 +03:00

946 Commits

Author SHA1 Message Date
Samba Release Account
083a3be7d7 preparing for release of 1.9.18alpha11
(This used to be commit cadd772df72aa13018ea6e909ed0d7e294f24b5e)
1997-11-02 20:47:35 +00:00
Luke Leighton
b26623bc3a Christian Lademann's contribution: new capabilities in smb.conf.
'<' and '|' characters indicate read file and execute command respectively,
and feed the output into the parameter (!!!).

'<$' and '|$' means run standard_sub_basic() on them.

this is going to be fun to document in smb.conf.5....

also, Christian created a new "online" service parameter.  services can
be taken "off-line"....
(This used to be commit 15f44d28916cdc1432bffdbb999c7cf7efd8fb86)
1997-11-02 20:35:20 +00:00
Luke Leighton
73b4787624 updated
(This used to be commit f39fe3b62dd869f218bd8a2c66de7b91c0044192)
1997-11-02 19:59:20 +00:00
Luke Leighton
16dea68f7d updated
(This used to be commit 34325448542e307198635a15d5ff3bc895c24413)
1997-11-02 19:47:48 +00:00
Luke Leighton
ab75bce462 documented "domain hosts allow/deny" parameters
(This used to be commit adf3119245148d517913efb549e8b88d5ba66b39)
1997-11-02 19:40:07 +00:00
Luke Leighton
eebb68b92e loadparm.c :
added "domain hosts allow" and "domain hosts deny".  these are to be
	used to specify which workstations can log in to a samba PDC from.
	it is also used to check whether to add an initial machine password
	into the smbpasswd database or not

smbpass.c :

	added capability to add a machine password to the smbpasswd database.
	***** the default uid is zero *****

rpc_pipes/pipenetlog.c :

	use of "domain hosts allow/deny" parameters to allow login access.

proto.h :

	usual.
(This used to be commit 2e7d3410306640aa6402e0506430a53988cc583e)
1997-11-02 19:27:26 +00:00
Andrew Tridgell
e67c2e9dc6 fix some uchar/char conflicts
(This used to be commit c164681dfe2ad9623a59f01eea914bf27d4801e5)
1997-11-02 04:11:05 +00:00
Andrew Tridgell
4012c1cc8f convert the credentials code back to uchar[8] from uint32[2]
This should fix the byte order problems (maybe!)
(This used to be commit 21878e7d8628d05786c3c76f2943e31df1096577)
1997-11-02 04:01:57 +00:00
Andrew Tridgell
56eece129e got rid of redundent rpc_pipes/rpc_proto.h
(This used to be commit 1a454f818841bf016ff04fd70cd73a5964d56f2e)
1997-11-02 03:10:42 +00:00
Andrew Tridgell
d186100b66 fix comments
(This used to be commit b3fd976b6c5c8342d04d87a7523864b09918d260)
1997-11-02 01:33:28 +00:00
Andrew Tridgell
4fe3b2ce75 to avoid any possibility of the pipe getting full and blocking we now
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-02 01:25:50 +00:00
Andrew Tridgell
60e8211021 don't print the progress so often - it slows down the client too much
(This used to be commit cc6e7706635ba4bf044ebd5a525113c1b2fd93e3)
1997-11-01 23:43:12 +00:00
Andrew Tridgell
87cada5fd3 minor async DNS cleanups
- 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-01 23:42:28 +00:00
Samba Release Account
8e873b415b preparing for release of 1.9.18alpha10
(This used to be commit fa251b7eba48c9ef2d8d3d798ce5b99c8508c243)
1997-11-01 19:36:04 +00:00
Luke Leighton
cc17cd3a01 mention of GLPL for the rpc_pipe/ directory
(This used to be commit f49eb1e03780f7c5e6355517b8f6134c571be246)
1997-11-01 19:35:18 +00:00
Luke Leighton
18f3226ac3 updated version number.
(This used to be commit 4de4571855d8c9695035beaa3353bdd9c9a0eb78)
1997-11-01 19:32:40 +00:00
Luke Leighton
87f045b75c added instructions advising people to set up 1.9.18alpha as a Win95 Domain
Logon server, with encrypted passwords *prior* to trying out the NT Domain
Logons.
(This used to be commit f39608ec065503920aafed9655178ce36e67f1f9)
1997-11-01 19:31:44 +00:00
Luke Leighton
c533c07553 client.c clientutil.c proto.h
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-01 19:20:29 +00:00
Luke Leighton
9b1b14155b updating to latest version
(This used to be commit 4525c3b6e57bcc7b878eb4194e21603f33e9d7ea)
1997-11-01 19:14:10 +00:00
Andrew Tridgell
6a0590d709 set O_CREAT on lock file
(This used to be commit 32fecea63b892e0a15c398cfc65d53c4ece74d86)
1997-11-01 13:28:21 +00:00
Andrew Tridgell
224c40a523 a simple SMB torture tester. This will allow us to evaluate locking
techniques more accurately.
(This used to be commit 054e3b2ae3a8cfb98fde72becef9b05de34d2ba7)
1997-11-01 13:22:16 +00:00
Andrew Tridgell
0024725005 change a debug level
(This used to be commit d8b896a90fb693187a11456e46971c873e9f0d60)
1997-11-01 08:13:54 +00:00
Andrew Tridgell
92fcced605 don't use SEM_UNDO because of ridiculously small undo limits on some
OSes. Instead add explicit checks for dead locks at startup.
(This used to be commit 79858d610c37675b9dc56a949723053ac9b67620)
1997-11-01 08:13:42 +00:00
Andrew Tridgell
264b1e0e75 some locking code cleanups
(This used to be commit 6d77311d6cecabafb86c02e26b30724425ef6208)
1997-11-01 07:33:55 +00:00
Andrew Tridgell
03deca0070 re-initialise the timezone on each new connection. This means you
don't need to restart smbd after a DST change.
(This used to be commit 2a50d5d5ed4ca7d2b546d7337ec88c527ec82689)
1997-11-01 07:22:18 +00:00
Herb Lewis
bc5e2a1289 Update file for automatically generating a release
(This used to be commit 01df21c22d567a0cc6d69a03fd3246dcfd92217d)
1997-10-31 17:33:04 +00:00
Andrew Tridgell
4400805208 change from * to ^ in hashing of device/inode. Using * meant that if
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-31 05:56:07 +00:00
Andrew Tridgell
88bd62c9b0 define NO_SEMUN for svr4
(This used to be commit a43fa71a5fa740ae8757989c4177f21d8193de94)
1997-10-31 05:54:36 +00:00
Andrew Tridgell
30c046901b OSF1 doesn't define union semun either.
(This used to be commit af7700aa2e3c736f86ae3217a424dfb0910f5f45)
1997-10-31 04:51:29 +00:00
Andrew Tridgell
23c68038b9 pm_process() never closed the file (a memory and file descriptor leak)
(This used to be commit 0d9b0d0fffc2b11fe4897b8b99f321fc7d9a143c)
1997-10-31 04:27:55 +00:00
Andrew Tridgell
ad5c8bad8a no Makefile needed here either
(This used to be commit 4d9cd22c9e885a3b1535ab4d80f0622121abc7a6)
1997-10-31 02:50:37 +00:00
Andrew Tridgell
48d07d5bd2 this is now in the rpc_pipes directory
(This used to be commit 642ef3c78ad6d1c75ac127ff2169a9081a1c1454)
1997-10-31 02:48:40 +00:00
Andrew Tridgell
f0b2473966 removing the files that are now in rpc_pipes
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 02:46:26 +00:00
Andrew Tridgell
d5fdd84ffa - cleanup some warnings
- redo the prototypes
(This used to be commit 31dcb51e05914d49d81a3faef354aaf0ab9fa63f)
1997-10-31 02:40:55 +00:00
Luke Leighton
e77e5e6ef8 blanked out these files, so that if someone does make proto, they don't
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-30 22:33:59 +00:00
Luke Leighton
9fc5056a4a added a client-side "set named pipe handle state" function. not known
exactly when you call this (before or after a bind).  can sort that out
later.
(This used to be commit a64ba16db615f83739c147a521ccff3f7c42987b)
1997-10-30 22:21:49 +00:00
Luke Leighton
55e2dc7c6f storing pipe name state (from set named pipe handle state call) in the
pipes array.
(This used to be commit 5335d5cdc4659f4676958f0399e2de29a117c133)
1997-10-30 21:51:15 +00:00
Christopher R. Hertel
3e0fb1883c Modified Files:
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-30 18:05:56 +00:00
Luke Leighton
fcaacea785 GLPL notice on the rpc_pipes/ directory
(This used to be commit 808a0b1be700eaf074c113f45bb5febf02d41112)
1997-10-30 17:27:06 +00:00
Luke Leighton
739a730637 Makefile:
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-30 17:08:42 +00:00
Luke Leighton
f1093ad693 Makefiles for libraries. the dependencies aren't quite right, and i
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-30 15:42:40 +00:00
Andrew Tridgell
397e1d64d7 Chris will be pleased to know that mkproto.awk no longer runs on the
ubiqx files :-)
(This used to be commit 13d90255928711c05d8e147081afa309b8abf1af)
1997-10-30 08:50:18 +00:00
Andrew Tridgell
628d7993d5 moved ubi_ modules back into the ubiqx directory.
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-30 08:44:29 +00:00
Samba Release Account
6f3623285e preparing for release of 1.9.18alpha9
(This used to be commit 9212c93beefa83be349b250fe98b65e07d842038)
1997-10-30 01:13:34 +00:00
Luke Leighton
15e1347530 updated documentation as chmodding files /tmp/lsarpc and /tmp/netlogon
is not needed any more.
(This used to be commit be649198e61b2c2eed7b4a221bbd0bdbab074823)
1997-10-30 01:11:26 +00:00
Luke Leighton
a275e5d4e1 removed mechanism that created actual files NETLOGON, lsarpc and the like,
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-30 01:05:13 +00:00
Luke Leighton
cbafcc4d03 update
(This used to be commit 9dd2fcae78042a2777f068d4a574605397402aad)
1997-10-29 23:00:35 +00:00
Samba Release Account
4da6236108 preparing for release of 1.9.18alpha8
(This used to be commit 48548526e8bef3cdc6f5d202bb6c7849e7862e48)
1997-10-29 21:20:34 +00:00
Luke Leighton
21fda98dc9 byteorder.h :
have another go at reporting stuff the right way round (on SPARCs)

srvparse.c :

	copyright messages
(This used to be commit 4b54d22d59d3f6719e7ce8bbbf3e40da31cd270e)
1997-10-29 20:23:01 +00:00
Luke Leighton
1337b61703 zero data parameter being passed to smb_io_rpc_hdr(), which couldn't cope.
(This used to be commit c0137cd8fe1362beef9ce879cc558869bdf2edfa)
1997-10-29 20:08:09 +00:00