1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-23 09:57:40 +03:00

943 Commits

Author SHA1 Message Date
Luke Leighton
3432544854 updated -
Luke Leighton
adf3119245 documented "domain hosts allow/deny" parameters -
Luke Leighton
2e7d341030 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.
-
Andrew Tridgell
c164681dfe fix some uchar/char conflicts -
Andrew Tridgell
21878e7d86 convert the credentials code back to uchar[8] from uint32[2]
This should fix the byte order problems (maybe!)
-
Andrew Tridgell
1a454f8188 got rid of redundent rpc_pipes/rpc_proto.h -
Andrew Tridgell
b3fd976b6c fix comments -
Andrew Tridgell
f1004dd52a 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.
-
Andrew Tridgell
cc6e770663 don't print the progress so often - it slows down the client too much -
Andrew Tridgell
21dd073a20 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
-
Samba Release Account
fa251b7eba preparing for release of 1.9.18alpha10 -
Luke Leighton
f49eb1e037 mention of GLPL for the rpc_pipe/ directory -
Luke Leighton
4de4571855 updated version number. -
Luke Leighton
f39608ec06 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.
-
Luke Leighton
54c245be15 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.
-
Luke Leighton
4525c3b6e5 updating to latest version -
Andrew Tridgell
32fecea63b set O_CREAT on lock file -
Andrew Tridgell
054e3b2ae3 a simple SMB torture tester. This will allow us to evaluate locking
techniques more accurately.
-
Andrew Tridgell
d8b896a90f change a debug level -
Andrew Tridgell
79858d610c don't use SEM_UNDO because of ridiculously small undo limits on some
OSes. Instead add explicit checks for dead locks at startup.
-
Andrew Tridgell
6d77311d6c some locking code cleanups -
Andrew Tridgell
2a50d5d5ed re-initialise the timezone on each new connection. This means you
don't need to restart smbd after a DST change.
-
Herb Lewis
01df21c22d Update file for automatically generating a release -
Andrew Tridgell
623ffd701f 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.
-
Andrew Tridgell
a43fa71a5f define NO_SEMUN for svr4 -
Andrew Tridgell
af7700aa2e OSF1 doesn't define union semun either. -
Andrew Tridgell
0d9b0d0fff pm_process() never closed the file (a memory and file descriptor leak) -
Andrew Tridgell
4d9cd22c9e no Makefile needed here either -
Andrew Tridgell
642ef3c78a this is now in the rpc_pipes directory -
Andrew Tridgell
0e244f9e7c 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.
-
Andrew Tridgell
31dcb51e05 - cleanup some warnings
- redo the prototypes
-
Luke Leighton
5858cb97f5 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.
-
Luke Leighton
a64ba16db6 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.
-
Luke Leighton
5335d5cdc4 storing pipe name state (from set named pipe handle state call) in the
pipes array.
-
Christopher R. Hertel
c6205dd45e 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.
-
Luke Leighton
808a0b1be7 GLPL notice on the rpc_pipes/ directory -
Luke Leighton
ada256b5e3 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.
-
Luke Leighton
93df2c62cc 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.
-
Andrew Tridgell
13d9025592 Chris will be pleased to know that mkproto.awk no longer runs on the
ubiqx files :-)
-
Andrew Tridgell
dc8998b1d3 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.
-
Samba Release Account
9212c93bee preparing for release of 1.9.18alpha9 -
Luke Leighton
be649198e6 updated documentation as chmodding files /tmp/lsarpc and /tmp/netlogon
is not needed any more.
-
Luke Leighton
33cce5fac0 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.
-
Luke Leighton
9dd2fcae78 update -
Samba Release Account
48548526e8 preparing for release of 1.9.18alpha8 -
Luke Leighton
4b54d22d59 byteorder.h :
have another go at reporting stuff the right way round (on SPARCs)

srvparse.c :

	copyright messages
-
Luke Leighton
c0137cd8fe zero data parameter being passed to smb_io_rpc_hdr(), which couldn't cope. -
Luke Leighton
4088683ee0 typecast in calls to print_asc() wrong -
Luke Leighton
420408ee83 ipc.c ntclientpipe.c:
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.
-
Samba Release Account
dceace804e preparing for release of 1.9.18alpha7 -