summaryrefslogtreecommitdiffstats
path: root/docs/textdocs/README.DCEDFS
blob: da9bb2197dac1924628f5634cb47ffa80aef017e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
Contributor:	Jim Doyle <doyle@oec.com>
Date:		06-02-95
Status:		Current but needs updating

Subject:	Basic DCE/DFS Support for SAMBA 1.9.13
=============================================================================

Functionality:
--------------
	
	Per-instance authentication for DCE/DFS.
 
Missing Functionality in this Implementation:
---------------------------------------------

	* No automatic refresh of credentials

	  To do so would not be that hard.. One could simply
	  stash the clear-text key in memory, spawn a key management
	  thread to wake up right before credentials expire and
	  refresh the login context.

	* No UNIX Signals support (SIGCLD, SIGPIPE, SIGHUP, SIGBUS, SIGSEGV)


	  There is no support for signal processing in Samba daemons
	  that need to authenticate with DCE. The explanation for this
	  is that the smbd is linked against thread-safe libraries in
	  order to be able to use DCE authentication mechanisms. 
	  Because smbd uses signal() and fork(), it represents the
	  worst case scenario for DCE portability. In order
	  to properly support signals in a forked server environment,
	  some rework of smbd is needed in order to properly
	  construct, shutdown and reconstruct asynchronous signal
	  handling threads and synchronous signal traps across the
	  parent and child. I have not had contiguous time to work
	  on it, I expect it to be a weeks worth of work to cleanly
	  integrate thread-safe signal handing into the code and 
	  test it. Until I can get to this task, I will leave it up
	  to someone adventurous enough to engineer it and negotiate
	  with Andrew to integrate the changes into the mainline branch.

	  The lack of full signal support means that you cannot
	  rely upon SIGHUP-ing the parent daemon to refresh
          the configuration data. Likewise, you cannot take advantage
	  of the builtin SIGBUS/SIGSEGV traps to diagnose failures.
	  You will have to halt Samba in order to make changes
	  and then have them take effect.

	  The SMBD server as it stands is suitable to use if you
	  already have experience with configuring and running
	  SAMBA.

Tested Platforms:
-----------------

		HP-UX 9.05 / HP-UX DCE 1.2.1
		AIX 3.2.5  / AIX DCE/6000 1.3
		DEC OSF-1 3.0 / DEC DCE 1.3

Building:
---------

	- Uncomment the the appropriate block in the Makefile
	  for the platform you wish to build on.

	- Samples of Samba server configuration files for our
	  DFS environment are included in samples.dcedfs/



Bugs, Suggestions, etc..
--------------------------

	Please post them to the mailing list. 
	That way I will see them and they will become part of 
	the archives so others can share the knowledge.