diff options
author | Gerald Carter <jerry@samba.org> | 2002-10-25 15:15:32 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2002-10-25 15:15:32 +0000 |
commit | ad0e01e75059bedde6400529f1a5193ef9735e9b (patch) | |
tree | 9d5dd6433ca7b564a7f29a44f4bed3168da35da3 /docs/htmldocs | |
parent | 48216962c4bd2ca71d1900d11d6f4d5e7de83b80 (diff) | |
download | samba-ad0e01e75059bedde6400529f1a5193ef9735e9b.tar.gz samba-ad0e01e75059bedde6400529f1a5193ef9735e9b.tar.bz2 samba-ad0e01e75059bedde6400529f1a5193ef9735e9b.zip |
sync from HEAD
(This used to be commit 2eb7f0acd761a11bb0f24010347247074c5ed49a)
Diffstat (limited to 'docs/htmldocs')
48 files changed, 3879 insertions, 11960 deletions
diff --git a/docs/htmldocs/Browsing.html b/docs/htmldocs/Browsing.html deleted file mode 100644 index 5f5f71ba69..0000000000 --- a/docs/htmldocs/Browsing.html +++ /dev/null @@ -1,741 +0,0 @@ -<HTML -><HEAD -><TITLE ->Improved browsing in samba</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD -><BODY -CLASS="ARTICLE" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="ARTICLE" -><DIV -CLASS="TITLEPAGE" -><H1 -CLASS="TITLE" -><A -NAME="IMPROVED-BROWSING" ->Improved browsing in samba</A -></H1 -><HR></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN3" ->Overview of browsing</A -></H1 -><P ->SMB networking provides a mechanism by which clients can access a list -of machines in a network, a so-called "browse list". This list -contains machines that are ready to offer file and/or print services -to other machines within the network. Thus it does not include -machines which aren't currently able to do server tasks. The browse -list is heavily used by all SMB clients. Configuration of SMB -browsing has been problematic for some Samba users, hence this -document.</P -><P ->Browsing will NOT work if name resolution from NetBIOS names to IP -addresses does not function correctly. Use of a WINS server is highly -recommended to aid the resolution of NetBIOS (SMB) names to IP addresses. -WINS allows remote segment clients to obtain NetBIOS name_type information -that can NOT be provided by any other means of name resolution.</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN7" ->Browsing support in samba</A -></H1 -><P ->Samba now fully supports browsing. The browsing is supported by nmbd -and is also controlled by options in the smb.conf file (see smb.conf(5)).</P -><P ->Samba can act as a local browse master for a workgroup and the ability -for samba to support domain logons and scripts is now available. See -DOMAIN.txt for more information on domain logons.</P -><P ->Samba can also act as a domain master browser for a workgroup. This -means that it will collate lists from local browse masters into a -wide area network server list. In order for browse clients to -resolve the names they may find in this list, it is recommended that -both samba and your clients use a WINS server.</P -><P ->Note that you should NOT set Samba to be the domain master for a -workgroup that has the same name as an NT Domain: on each wide area -network, you must only ever have one domain master browser per workgroup, -regardless of whether it is NT, Samba or any other type of domain master -that is providing this service.</P -><P ->[Note that nmbd can be configured as a WINS server, but it is not -necessary to specifically use samba as your WINS server. NTAS can -be configured as your WINS server. In a mixed NT server and -samba environment on a Wide Area Network, it is recommended that -you use the NT server's WINS server capabilities. In a samba-only -environment, it is recommended that you use one and only one nmbd -as your WINS server].</P -><P ->To get browsing to work you need to run nmbd as usual, but will need -to use the "workgroup" option in smb.conf to control what workgroup -Samba becomes a part of.</P -><P ->Samba also has a useful option for a Samba server to offer itself for -browsing on another subnet. It is recommended that this option is only -used for 'unusual' purposes: announcements over the internet, for -example. See "remote announce" in the smb.conf man page. </P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN16" ->Problem resolution</A -></H1 -><P ->If something doesn't work then hopefully the log.nmb file will help -you track down the problem. Try a debug level of 2 or 3 for finding -problems. Also note that the current browse list usually gets stored -in text form in a file called browse.dat.</P -><P ->Note that if it doesn't work for you, then you should still be able to -type the server name as \\SERVER in filemanager then hit enter and -filemanager should display the list of available shares.</P -><P ->Some people find browsing fails because they don't have the global -"guest account" set to a valid account. Remember that the IPC$ -connection that lists the shares is done as guest, and thus you must -have a valid guest account.</P -><P ->Also, a lot of people are getting bitten by the problem of too many -parameters on the command line of nmbd in inetd.conf. This trick is to -not use spaces between the option and the parameter (eg: -d2 instead -of -d 2), and to not use the -B and -N options. New versions of nmbd -are now far more likely to correctly find your broadcast and network -address, so in most cases these aren't needed.</P -><P ->The other big problem people have is that their broadcast address, -netmask or IP address is wrong (specified with the "interfaces" option -in smb.conf)</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN23" ->Browsing across subnets</A -></H1 -><P ->With the release of Samba 1.9.17(alpha1 and above) Samba has been -updated to enable it to support the replication of browse lists -across subnet boundaries. New code and options have been added to -achieve this. This section describes how to set this feature up -in different settings.</P -><P ->To see browse lists that span TCP/IP subnets (ie. networks separated -by routers that don't pass broadcast traffic) you must set up at least -one WINS server. The WINS server acts as a DNS for NetBIOS names, allowing -NetBIOS name to IP address translation to be done by doing a direct -query of the WINS server. This is done via a directed UDP packet on -port 137 to the WINS server machine. The reason for a WINS server is -that by default, all NetBIOS name to IP address translation is done -by broadcasts from the querying machine. This means that machines -on one subnet will not be able to resolve the names of machines on -another subnet without using a WINS server.</P -><P ->Remember, for browsing across subnets to work correctly, all machines, -be they Windows 95, Windows NT, or Samba servers must have the IP address -of a WINS server given to them by a DHCP server, or by manual configuration -(for Win95 and WinNT, this is in the TCP/IP Properties, under Network -settings) for Samba this is in the smb.conf file.</P -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN28" ->How does cross subnet browsing work ?</A -></H2 -><P ->Cross subnet browsing is a complicated dance, containing multiple -moving parts. It has taken Microsoft several years to get the code -that achieves this correct, and Samba lags behind in some areas. -However, with the 1.9.17 release, Samba is capable of cross subnet -browsing when configured correctly.</P -><P ->Consider a network set up as follows :</P -><P -><PRE -CLASS="PROGRAMLISTING" -> (DMB) - N1_A N1_B N1_C N1_D N1_E - | | | | | - ------------------------------------------------------- - | subnet 1 | - +---+ +---+ - |R1 | Router 1 Router 2 |R2 | - +---+ +---+ - | | - | subnet 2 subnet 3 | - -------------------------- ------------------------------------ - | | | | | | | | - N2_A N2_B N2_C N2_D N3_A N3_B N3_C N3_D - (WINS)</PRE -></P -><P ->Consisting of 3 subnets (1, 2, 3) connected by two routers -(R1, R2) - these do not pass broadcasts. Subnet 1 has 5 machines -on it, subnet 2 has 4 machines, subnet 3 has 4 machines. Assume -for the moment that all these machines are configured to be in the -same workgroup (for simplicities sake). Machine N1_C on subnet 1 -is configured as Domain Master Browser (ie. it will collate the -browse lists for the workgroup). Machine N2_D is configured as -WINS server and all the other machines are configured to register -their NetBIOS names with it.</P -><P ->As all these machines are booted up, elections for master browsers -will take place on each of the three subnets. Assume that machine -N1_C wins on subnet 1, N2_B wins on subnet 2, and N3_D wins on -subnet 3 - these machines are known as local master browsers for -their particular subnet. N1_C has an advantage in winning as the -local master browser on subnet 1 as it is set up as Domain Master -Browser.</P -><P ->On each of the three networks, machines that are configured to -offer sharing services will broadcast that they are offering -these services. The local master browser on each subnet will -receive these broadcasts and keep a record of the fact that -the machine is offering a service. This list of records is -the basis of the browse list. For this case, assume that -all the machines are configured to offer services so all machines -will be on the browse list.</P -><P ->For each network, the local master browser on that network is -considered 'authoritative' for all the names it receives via -local broadcast. This is because a machine seen by the local -master browser via a local broadcast must be on the same -network as the local master browser and thus is a 'trusted' -and 'verifiable' resource. Machines on other networks that -the local master browsers learn about when collating their -browse lists have not been directly seen - these records are -called 'non-authoritative'.</P -><P ->At this point the browse lists look as follows (these are -the machines you would see in your network neighborhood if -you looked in it on a particular network right now).</P -><P -><PRE -CLASS="PROGRAMLISTING" ->Subnet Browse Master List ------- ------------- ---- -Subnet1 N1_C N1_A, N1_B, N1_C, N1_D, N1_E - -Subnet2 N2_B N2_A, N2_B, N2_C, N2_D - -Subnet3 N3_D N3_A, N3_B, N3_C, N3_D</PRE -></P -><P ->Note that at this point all the subnets are separate, no -machine is seen across any of the subnets.</P -><P ->Now examine subnet 2. As soon as N2_B has become the local -master browser it looks for a Domain master browser to synchronize -its browse list with. It does this by querying the WINS server -(N2_D) for the IP address associated with the NetBIOS name -WORKGROUP>1B<. This name was registerd by the Domain master -browser (N1_C) with the WINS server as soon as it was booted.</P -><P ->Once N2_B knows the address of the Domain master browser it -tells it that is the local master browser for subnet 2 by -sending a MasterAnnouncement packet as a UDP port 138 packet. -It then synchronizes with it by doing a NetServerEnum2 call. This -tells the Domain Master Browser to send it all the server -names it knows about. Once the domain master browser receives -the MasterAnnouncement packet it schedules a synchronization -request to the sender of that packet. After both synchronizations -are done the browse lists look like :</P -><P -><PRE -CLASS="PROGRAMLISTING" ->Subnet Browse Master List ------- ------------- ---- -Subnet1 N1_C N1_A, N1_B, N1_C, N1_D, N1_E, - N2_A(*), N2_B(*), N2_C(*), N2_D(*) - -Subnet2 N2_B N2_A, N2_B, N2_C, N2_D - N1_A(*), N1_B(*), N1_C(*), N1_D(*), N1_E(*) - -Subnet3 N3_D N3_A, N3_B, N3_C, N3_D - -Servers with a (*) after them are non-authoritative names.</PRE -></P -><P ->At this point users looking in their network neighborhood on -subnets 1 or 2 will see all the servers on both, users on -subnet 3 will still only see the servers on their own subnet.</P -><P ->The same sequence of events that occured for N2_B now occurs -for the local master browser on subnet 3 (N3_D). When it -synchronizes browse lists with the domain master browser (N1_A) -it gets both the server entries on subnet 1, and those on -subnet 2. After N3_D has synchronized with N1_C and vica-versa -the browse lists look like.</P -><P -><PRE -CLASS="PROGRAMLISTING" ->Subnet Browse Master List ------- ------------- ---- -Subnet1 N1_C N1_A, N1_B, N1_C, N1_D, N1_E, - N2_A(*), N2_B(*), N2_C(*), N2_D(*), - N3_A(*), N3_B(*), N3_C(*), N3_D(*) - -Subnet2 N2_B N2_A, N2_B, N2_C, N2_D - N1_A(*), N1_B(*), N1_C(*), N1_D(*), N1_E(*) - -Subnet3 N3_D N3_A, N3_B, N3_C, N3_D - N1_A(*), N1_B(*), N1_C(*), N1_D(*), N1_E(*), - N2_A(*), N2_B(*), N2_C(*), N2_D(*) - -Servers with a (*) after them are non-authoritative names.</PRE -></P -><P ->At this point users looking in their network neighborhood on -subnets 1 or 3 will see all the servers on all sunbets, users on -subnet 2 will still only see the servers on subnets 1 and 2, but not 3.</P -><P ->Finally, the local master browser for subnet 2 (N2_B) will sync again -with the domain master browser (N1_C) and will recieve the missing -server entries. Finally - and as a steady state (if no machines -are removed or shut off) the browse lists will look like :</P -><P -><PRE -CLASS="PROGRAMLISTING" ->Subnet Browse Master List ------- ------------- ---- -Subnet1 N1_C N1_A, N1_B, N1_C, N1_D, N1_E, - N2_A(*), N2_B(*), N2_C(*), N2_D(*), - N3_A(*), N3_B(*), N3_C(*), N3_D(*) - -Subnet2 N2_B N2_A, N2_B, N2_C, N2_D - N1_A(*), N1_B(*), N1_C(*), N1_D(*), N1_E(*) - N3_A(*), N3_B(*), N3_C(*), N3_D(*) - -Subnet3 N3_D N3_A, N3_B, N3_C, N3_D - N1_A(*), N1_B(*), N1_C(*), N1_D(*), N1_E(*), - N2_A(*), N2_B(*), N2_C(*), N2_D(*) - -Servers with a (*) after them are non-authoritative names.</PRE -></P -><P ->Synchronizations between the domain master browser and local -master browsers will continue to occur, but this should be a -steady state situation.</P -><P ->If either router R1 or R2 fails the following will occur:</P -><P -></P -><OL -TYPE="1" -><LI -><P -> Names of computers on each side of the inaccessible network fragments - will be maintained for as long as 36 minutes, in the network neighbourhood - lists. - </P -></LI -><LI -><P -> Attempts to connect to these inaccessible computers will fail, but the - names will not be removed from the network neighbourhood lists. - </P -></LI -><LI -><P -> If one of the fragments is cut off from the WINS server, it will only - be able to access servers on its local subnet, by using subnet-isolated - broadcast NetBIOS name resolution. The effects are similar to that of - losing access to a DNS server. - </P -></LI -></OL -></DIV -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN63" ->Setting up a WINS server</A -></H1 -><P ->Either a Samba machine or a Windows NT Server machine may be set up -as a WINS server. To set a Samba machine to be a WINS server you must -add the following option to the smb.conf file on the selected machine : -in the [globals] section add the line </P -><P -><B -CLASS="COMMAND" -> wins support = yes</B -></P -><P ->Versions of Samba previous to 1.9.17 had this parameter default to -yes. If you have any older versions of Samba on your network it is -strongly suggested you upgrade to 1.9.17 or above, or at the very -least set the parameter to 'no' on all these machines.</P -><P ->Machines with "<B -CLASS="COMMAND" ->wins support = yes</B ->" will keep a list of -all NetBIOS names registered with them, acting as a DNS for NetBIOS names.</P -><P ->You should set up only ONE wins server. Do NOT set the -"<B -CLASS="COMMAND" ->wins support = yes</B ->" option on more than one Samba -server.</P -><P ->To set up a Windows NT Server as a WINS server you need to set up -the WINS service - see your NT documentation for details. Note that -Windows NT WINS Servers can replicate to each other, allowing more -than one to be set up in a complex subnet environment. As Microsoft -refuse to document these replication protocols Samba cannot currently -participate in these replications. It is possible in the future that -a Samba->Samba WINS replication protocol may be defined, in which -case more than one Samba machine could be set up as a WINS server -but currently only one Samba server should have the "wins support = yes" -parameter set.</P -><P ->After the WINS server has been configured you must ensure that all -machines participating on the network are configured with the address -of this WINS server. If your WINS server is a Samba machine, fill in -the Samba machine IP address in the "Primary WINS Server" field of -the "Control Panel->Network->Protocols->TCP->WINS Server" dialogs -in Windows 95 or Windows NT. To tell a Samba server the IP address -of the WINS server add the following line to the [global] section of -all smb.conf files :</P -><P -><B -CLASS="COMMAND" -> wins server = >name or IP address<</B -></P -><P ->where >name or IP address< is either the DNS name of the WINS server -machine or its IP address.</P -><P ->Note that this line MUST NOT BE SET in the smb.conf file of the Samba -server acting as the WINS server itself. If you set both the -"<B -CLASS="COMMAND" ->wins support = yes</B ->" option and the -"<B -CLASS="COMMAND" ->wins server = >name<</B ->" option then -nmbd will fail to start.</P -><P ->There are two possible scenarios for setting up cross subnet browsing. -The first details setting up cross subnet browsing on a network containing -Windows 95, Samba and Windows NT machines that are not configured as -part of a Windows NT Domain. The second details setting up cross subnet -browsing on networks that contain NT Domains.</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN82" ->Setting up Browsing in a WORKGROUP</A -></H1 -><P ->To set up cross subnet browsing on a network containing machines -in up to be in a WORKGROUP, not an NT Domain you need to set up one -Samba server to be the Domain Master Browser (note that this is *NOT* -the same as a Primary Domain Controller, although in an NT Domain the -same machine plays both roles). The role of a Domain master browser is -to collate the browse lists from local master browsers on all the -subnets that have a machine participating in the workgroup. Without -one machine configured as a domain master browser each subnet would -be an isolated workgroup, unable to see any machines on any other -subnet. It is the presense of a domain master browser that makes -cross subnet browsing possible for a workgroup.</P -><P ->In an WORKGROUP environment the domain master browser must be a -Samba server, and there must only be one domain master browser per -workgroup name. To set up a Samba server as a domain master browser, -set the following option in the [global] section of the smb.conf file :</P -><P -><B -CLASS="COMMAND" -> domain master = yes</B -></P -><P ->The domain master browser should also preferrably be the local master -browser for its own subnet. In order to achieve this set the following -options in the [global] section of the smb.conf file :</P -><P -><PRE -CLASS="PROGRAMLISTING" -> domain master = yes - local master = yes - preferred master = yes - os level = 65</PRE -></P -><P ->The domain master browser may be the same machine as the WINS -server, if you require.</P -><P ->Next, you should ensure that each of the subnets contains a -machine that can act as a local master browser for the -workgroup. Any NT machine should be able to do this, as will -Windows 95 machines (although these tend to get rebooted more -often, so it's not such a good idea to use these). To make a -Samba server a local master browser set the following -options in the [global] section of the smb.conf file :</P -><P -><PRE -CLASS="PROGRAMLISTING" -> domain master = no - local master = yes - preferred master = yes - os level = 65</PRE -></P -><P ->Do not do this for more than one Samba server on each subnet, -or they will war with each other over which is to be the local -master browser.</P -><P ->The "local master" parameter allows Samba to act as a local master -browser. The "preferred master" causes nmbd to force a browser -election on startup and the "os level" parameter sets Samba high -enough so that it should win any browser elections.</P -><P ->If you have an NT machine on the subnet that you wish to -be the local master browser then you can disable Samba from -becoming a local master browser by setting the following -options in the [global] section of the smb.conf file :</P -><P -><PRE -CLASS="PROGRAMLISTING" -> domain master = no - local master = no - preferred master = no - os level = 0</PRE -></P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN100" ->Setting up Browsing in a DOMAIN</A -></H1 -><P ->If you are adding Samba servers to a Windows NT Domain then -you must not set up a Samba server as a domain master browser. -By default, a Windows NT Primary Domain Controller for a Domain -name is also the Domain master browser for that name, and many -things will break if a Samba server registers the Domain master -browser NetBIOS name (DOMAIN>1B<) with WINS instead of the PDC.</P -><P ->For subnets other than the one containing the Windows NT PDC -you may set up Samba servers as local master browsers as -described. To make a Samba server a local master browser set -the following options in the [global] section of the smb.conf -file :</P -><P -><PRE -CLASS="PROGRAMLISTING" -> domain master = no - local master = yes - preferred master = yes - os level = 65</PRE -></P -><P ->If you wish to have a Samba server fight the election with machines -on the same subnet you may set the "os level" parameter to lower -levels. By doing this you can tune the order of machines that -will become local master browsers if they are running. For -more details on this see the section "FORCING SAMBA TO BE THE MASTER" -below.</P -><P ->If you have Windows NT machines that are members of the domain -on all subnets, and you are sure they will always be running then -you can disable Samba from taking part in browser elections and -ever becoming a local master browser by setting following options -in the [global] section of the smb.conf file :</P -><P -><B -CLASS="COMMAND" -> domain master = no - local master = no - preferred master = no - os level = 0</B -></P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN110" ->Forcing samba to be the master</A -></H1 -><P ->Who becomes the "master browser" is determined by an election process -using broadcasts. Each election packet contains a number of parameters -which determine what precedence (bias) a host should have in the -election. By default Samba uses a very low precedence and thus loses -elections to just about anyone else.</P -><P ->If you want Samba to win elections then just set the "os level" global -option in smb.conf to a higher number. It defaults to 0. Using 34 -would make it win all elections over every other system (except other -samba systems!)</P -><P ->A "os level" of 2 would make it beat WfWg and Win95, but not NTAS. A -NTAS domain controller uses level 32.</P -><P ->The maximum os level is 255</P -><P ->If you want samba to force an election on startup, then set the -"preferred master" global option in smb.conf to "yes". Samba will -then have a slight advantage over other potential master browsers -that are not preferred master browsers. Use this parameter with -care, as if you have two hosts (whether they are windows 95 or NT or -samba) on the same local subnet both set with "preferred master" to -"yes", then periodically and continually they will force an election -in order to become the local master browser.</P -><P ->If you want samba to be a "domain master browser", then it is -recommended that you also set "preferred master" to "yes", because -samba will not become a domain master browser for the whole of your -LAN or WAN if it is not also a local master browser on its own -broadcast isolated subnet.</P -><P ->It is possible to configure two samba servers to attempt to become -the domain master browser for a domain. The first server that comes -up will be the domain master browser. All other samba servers will -attempt to become the domain master browser every 5 minutes. They -will find that another samba server is already the domain master -browser and will fail. This provides automatic redundancy, should -the current domain master browser fail.</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN119" ->Making samba the domain master</A -></H1 -><P ->The domain master is responsible for collating the browse lists of -multiple subnets so that browsing can occur between subnets. You can -make samba act as the domain master by setting "domain master = yes" -in smb.conf. By default it will not be a domain master.</P -><P ->Note that you should NOT set Samba to be the domain master for a -workgroup that has the same name as an NT Domain.</P -><P ->When samba is the domain master and the master browser it will listen -for master announcements (made roughly every twelve minutes) from local -master browsers on other subnets and then contact them to synchronise -browse lists.</P -><P ->If you want samba to be the domain master then I suggest you also set -the "os level" high enough to make sure it wins elections, and set -"preferred master" to "yes", to get samba to force an election on -startup.</P -><P ->Note that all your servers (including samba) and clients should be -using a WINS server to resolve NetBIOS names. If your clients are only -using broadcasting to resolve NetBIOS names, then two things will occur:</P -><P -></P -><OL -TYPE="1" -><LI -><P -> your local master browsers will be unable to find a domain master - browser, as it will only be looking on the local subnet. - </P -></LI -><LI -><P -> if a client happens to get hold of a domain-wide browse list, and - a user attempts to access a host in that list, it will be unable to - resolve the NetBIOS name of that host. - </P -></LI -></OL -><P ->If, however, both samba and your clients are using a WINS server, then:</P -><P -></P -><OL -TYPE="1" -><LI -><P -> your local master browsers will contact the WINS server and, as long as - samba has registered that it is a domain master browser with the WINS - server, your local master browser will receive samba's ip address - as its domain master browser. - </P -></LI -><LI -><P -> when a client receives a domain-wide browse list, and a user attempts - to access a host in that list, it will contact the WINS server to - resolve the NetBIOS name of that host. as long as that host has - registered its NetBIOS name with the same WINS server, the user will - be able to see that host. - </P -></LI -></OL -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN137" ->Note about broadcast addresses</A -></H1 -><P ->If your network uses a "0" based broadcast address (for example if it -ends in a 0) then you will strike problems. Windows for Workgroups -does not seem to support a 0's broadcast and you will probably find -that browsing and name lookups won't work.</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN140" ->Multiple interfaces</A -></H1 -><P ->Samba now supports machines with multiple network interfaces. If you -have multiple interfaces then you will need to use the "interfaces" -option in smb.conf to configure them. See smb.conf(5) for details.</P -></DIV -></DIV -></BODY -></HTML ->
\ No newline at end of file diff --git a/docs/htmldocs/Bugs.html b/docs/htmldocs/Bugs.html deleted file mode 100644 index 0f7fb7bd60..0000000000 --- a/docs/htmldocs/Bugs.html +++ /dev/null @@ -1,238 +0,0 @@ -<HTML -><HEAD -><TITLE ->Reporting Bugs</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD -><BODY -CLASS="ARTICLE" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="ARTICLE" -><DIV -CLASS="TITLEPAGE" -><H1 -CLASS="TITLE" -><A -NAME="BUGREPORT" ->Reporting Bugs</A -></H1 -><HR></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN3" ->Introduction</A -></H1 -><P ->The email address for bug reports is samba@samba.org</P -><P ->Please take the time to read this file before you submit a bug -report. Also, please see if it has changed between releases, as we -may be changing the bug reporting mechanism at some time.</P -><P ->Please also do as much as you can yourself to help track down the -bug. Samba is maintained by a dedicated group of people who volunteer -their time, skills and efforts. We receive far more mail about it than -we can possibly answer, so you have a much higher chance of an answer -and a fix if you send us a "developer friendly" bug report that lets -us fix it fast. </P -><P ->Do not assume that if you post the bug to the comp.protocols.smb -newsgroup or the mailing list that we will read it. If you suspect that your -problem is not a bug but a configuration problem then it is better to send -it to the Samba mailing list, as there are (at last count) 5000 other users on -that list that may be able to help you.</P -><P ->You may also like to look though the recent mailing list archives, -which are conveniently accessible on the Samba web pages -at http://samba.org/samba/ </P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN10" ->General info</A -></H1 -><P ->Before submitting a bug report check your config for silly -errors. Look in your log files for obvious messages that tell you that -you've misconfigured something and run testparm to test your config -file for correct syntax.</P -><P ->Have you run through the <A -HREF="Diagnosis.html" -TARGET="_top" ->diagnosis</A ->? -This is very important.</P -><P ->If you include part of a log file with your bug report then be sure to -annotate it with exactly what you were doing on the client at the -time, and exactly what the results were.</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN16" ->Debug levels</A -></H1 -><P ->If the bug has anything to do with Samba behaving incorrectly as a -server (like refusing to open a file) then the log files will probably -be very useful. Depending on the problem a log level of between 3 and -10 showing the problem may be appropriate. A higher level givesmore -detail, but may use too much disk space.</P -><P ->To set the debug level use <B -CLASS="COMMAND" ->log level =</B -> in your -<TT -CLASS="FILENAME" ->smb.conf</TT ->. You may also find it useful to set the log -level higher for just one machine and keep separate logs for each machine. -To do this use:</P -><P -><PRE -CLASS="PROGRAMLISTING" ->log level = 10 -log file = /usr/local/samba/lib/log.%m -include = /usr/local/samba/lib/smb.conf.%m</PRE -></P -><P ->then create a file -<TT -CLASS="FILENAME" ->/usr/local/samba/lib/smb.conf.machine</TT -> where -"machine" is the name of the client you wish to debug. In that file -put any smb.conf commands you want, for example -<B -CLASS="COMMAND" ->log level=</B -> may be useful. This also allows you to -experiment with different security systems, protocol levels etc on just -one machine.</P -><P ->The <TT -CLASS="FILENAME" ->smb.conf</TT -> entry <B -CLASS="COMMAND" ->log level =</B -> -is synonymous with the entry <B -CLASS="COMMAND" ->debuglevel =</B -> that has been -used in older versions of Samba and is being retained for backwards -compatibility of smb.conf files.</P -><P ->As the <B -CLASS="COMMAND" ->log level =</B -> value is increased you will record -a significantly increasing level of debugging information. For most -debugging operations you may not need a setting higher than 3. Nearly -all bugs can be tracked at a setting of 10, but be prepared for a VERY -large volume of log data.</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN33" ->Internal errors</A -></H1 -><P ->If you get a "INTERNAL ERROR" message in your log files it means that -Samba got an unexpected signal while running. It is probably a -segmentation fault and almost certainly means a bug in Samba (unless -you have faulty hardware or system software)</P -><P ->If the message came from smbd then it will probably be accompanied by -a message which details the last SMB message received by smbd. This -info is often very useful in tracking down the problem so please -include it in your bug report.</P -><P ->You should also detail how to reproduce the problem, if -possible. Please make this reasonably detailed.</P -><P ->You may also find that a core file appeared in a "corefiles" -subdirectory of the directory where you keep your samba log -files. This file is the most useful tool for tracking down the bug. To -use it you do this:</P -><P -><B -CLASS="COMMAND" ->gdb smbd core</B -></P -><P ->adding appropriate paths to smbd and core so gdb can find them. If you -don't have gdb then try "dbx". Then within the debugger use the -command "where" to give a stack trace of where the problem -occurred. Include this in your mail.</P -><P ->If you known any assembly language then do a "disass" of the routine -where the problem occurred (if its in a library routine then -disassemble the routine that called it) and try to work out exactly -where the problem is by looking at the surrounding code. Even if you -don't know assembly then incuding this info in the bug report can be -useful. </P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN43" ->Attaching to a running process</A -></H1 -><P ->Unfortunately some unixes (in particular some recent linux kernels) -refuse to dump a core file if the task has changed uid (which smbd -does often). To debug with this sort of system you could try to attach -to the running process using "gdb smbd PID" where you get PID from -smbstatus. Then use "c" to continue and try to cause the core dump -using the client. The debugger should catch the fault and tell you -where it occurred.</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN46" ->Patches</A -></H1 -><P ->The best sort of bug report is one that includes a fix! If you send us -patches please use <B -CLASS="COMMAND" ->diff -u</B -> format if your version of -diff supports it, otherwise use <B -CLASS="COMMAND" ->diff -c4</B ->. Make sure -your do the diff against a clean version of the source and let me know -exactly what version you used. </P -></DIV -></DIV -></BODY -></HTML ->
\ No newline at end of file diff --git a/docs/htmldocs/CVS-Access.html b/docs/htmldocs/CVS-Access.html deleted file mode 100644 index 1329433f1a..0000000000 --- a/docs/htmldocs/CVS-Access.html +++ /dev/null @@ -1,193 +0,0 @@ -<HTML -><HEAD -><TITLE ->HOWTO Access Samba source code via CVS</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD -><BODY -CLASS="ARTICLE" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="ARTICLE" -><DIV -CLASS="TITLEPAGE" -><H1 -CLASS="TITLE" -><A -NAME="CVS-ACCESS" ->HOWTO Access Samba source code via CVS</A -></H1 -><HR></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN3" ->Introduction</A -></H1 -><P ->Samba is developed in an open environment. Developers use CVS -(Concurrent Versioning System) to "checkin" (also known as -"commit") new source code. Samba's various CVS branches can -be accessed via anonymous CVS using the instructions -detailed in this chapter.</P -><P ->This document is a modified version of the instructions found at -<A -HREF="http://samba.org/samba/cvs.html" -TARGET="_top" ->http://samba.org/samba/cvs.html</A -></P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN8" ->CVS Access to samba.org</A -></H1 -><P ->The machine samba.org runs a publicly accessible CVS -repository for access to the source code of several packages, -including samba, rsync and jitterbug. There are two main ways of -accessing the CVS server on this host.</P -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN11" ->Access via CVSweb</A -></H2 -><P ->You can access the source code via your -favourite WWW browser. This allows you to access the contents of -individual files in the repository and also to look at the revision -history and commit logs of individual files. You can also ask for a diff -listing between any two versions on the repository.</P -><P ->Use the URL : <A -HREF="http://samba.org/cgi-bin/cvsweb" -TARGET="_top" ->http://samba.org/cgi-bin/cvsweb</A -></P -></DIV -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN16" ->Access via cvs</A -></H2 -><P ->You can also access the source code via a -normal cvs client. This gives you much more control over you can -do with the repository and allows you to checkout whole source trees -and keep them up to date via normal cvs commands. This is the -preferred method of access if you are a developer and not -just a casual browser.</P -><P ->To download the latest cvs source code, point your -browser at the URL : <A -HREF="http://www.cyclic.com/" -TARGET="_top" ->http://www.cyclic.com/</A ->. -and click on the 'How to get cvs' link. CVS is free software under -the GNU GPL (as is Samba). Note that there are several graphical CVS clients -which provide a graphical interface to the sometimes mundane CVS commands. -Links to theses clients are also available from http://www.cyclic.com.</P -><P ->To gain access via anonymous cvs use the following steps. -For this example it is assumed that you want a copy of the -samba source code. For the other source code repositories -on this system just substitute the correct package name</P -><P -></P -><OL -TYPE="1" -><LI -><P -> Install a recent copy of cvs. All you really need is a - copy of the cvs client binary. - </P -></LI -><LI -><P -> Run the command - </P -><P -> <B -CLASS="COMMAND" ->cvs -d :pserver:cvs@samba.org:/cvsroot login</B -> - </P -><P -> When it asks you for a password type <TT -CLASS="USERINPUT" -><B ->cvs</B -></TT ->. - </P -></LI -><LI -><P -> Run the command - </P -><P -> <B -CLASS="COMMAND" ->cvs -d :pserver:cvs@samba.org:/cvsroot co samba</B -> - </P -><P -> This will create a directory called samba containing the - latest samba source code (i.e. the HEAD tagged cvs branch). This - currently corresponds to the 3.0 development tree. - </P -><P -> CVS branches other HEAD can be obtained by using the <TT -CLASS="PARAMETER" -><I ->-r</I -></TT -> - and defining a tag name. A list of branch tag names can be found on the - "Development" page of the samba web site. A common request is to obtain the - latest 2.2 release code. This could be done by using the following command. - </P -><P -> <B -CLASS="COMMAND" ->cvs -d :pserver:cvs@samba.org:/cvsroot co -r SAMBA_2_2 samba</B -> - </P -></LI -><LI -><P -> Whenever you want to merge in the latest code changes use - the following command from within the samba directory: - </P -><P -> <B -CLASS="COMMAND" ->cvs update -d -P</B -> - </P -></LI -></OL -></DIV -></DIV -></DIV -></BODY -></HTML ->
\ No newline at end of file diff --git a/docs/htmldocs/DOMAIN_MEMBER.html b/docs/htmldocs/DOMAIN_MEMBER.html deleted file mode 100644 index b7ef4c9a61..0000000000 --- a/docs/htmldocs/DOMAIN_MEMBER.html +++ /dev/null @@ -1,372 +0,0 @@ -<HTML -><HEAD -><TITLE ->security = domain in Samba 2.x</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD -><BODY -CLASS="ARTICLE" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="ARTICLE" -><DIV -CLASS="TITLEPAGE" -><H1 -CLASS="TITLE" -><A -NAME="DOMAIN-SECURITY" ->security = domain in Samba 2.x</A -></H1 -><HR></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN3" ->Joining an NT Domain with Samba 2.2</A -></H1 -><P ->Assume you have a Samba 2.x server with a NetBIOS name of - <TT -CLASS="CONSTANT" ->SERV1</TT -> and are joining an NT domain called - <TT -CLASS="CONSTANT" ->DOM</TT ->, which has a PDC with a NetBIOS name - of <TT -CLASS="CONSTANT" ->DOMPDC</TT -> and two backup domain controllers - with NetBIOS names <TT -CLASS="CONSTANT" ->DOMBDC1</TT -> and <TT -CLASS="CONSTANT" ->DOMBDC2 - </TT ->.</P -><P ->In order to join the domain, first stop all Samba daemons - and run the command:</P -><P -><TT -CLASS="PROMPT" ->root# </TT -><TT -CLASS="USERINPUT" -><B ->smbpasswd -j DOM -r DOMPDC - -U<TT -CLASS="REPLACEABLE" -><I ->Administrator%password</I -></TT -></B -></TT -></P -><P ->as we are joining the domain DOM and the PDC for that domain - (the only machine that has write access to the domain SAM database) - is DOMPDC. The <TT -CLASS="REPLACEABLE" -><I ->Administrator%password</I -></TT -> is - the login name and password for an account which has the necessary - privilege to add machines to the domain. If this is successful - you will see the message:</P -><P -><TT -CLASS="COMPUTEROUTPUT" ->smbpasswd: Joined domain DOM.</TT -> - </P -><P ->in your terminal window. See the <A -HREF="smbpasswd.8.html" -TARGET="_top" -> smbpasswd(8)</A -> man page for more details.</P -><P ->There is existing development code to join a domain - without having to create the machine trust account on the PDC - beforehand. This code will hopefully be available soon - in release branches as well.</P -><P ->This command goes through the machine account password - change protocol, then writes the new (random) machine account - password for this Samba server into a file in the same directory - in which an smbpasswd file would be stored - normally :</P -><P -><TT -CLASS="FILENAME" ->/usr/local/samba/private</TT -></P -><P ->In Samba 2.0.x, the filename looks like this:</P -><P -><TT -CLASS="FILENAME" -><TT -CLASS="REPLACEABLE" -><I -><NT DOMAIN NAME></I -></TT ->.<TT -CLASS="REPLACEABLE" -><I -><Samba - Server Name></I -></TT ->.mac</TT -></P -><P ->The <TT -CLASS="FILENAME" ->.mac</TT -> suffix stands for machine account - password file. So in our example above, the file would be called:</P -><P -><TT -CLASS="FILENAME" ->DOM.SERV1.mac</TT -></P -><P ->In Samba 2.2, this file has been replaced with a TDB - (Trivial Database) file named <TT -CLASS="FILENAME" ->secrets.tdb</TT ->. - </P -><P ->This file is created and owned by root and is not - readable by any other user. It is the key to the domain-level - security for your system, and should be treated as carefully - as a shadow password file.</P -><P ->Now, before restarting the Samba daemons you must - edit your <A -HREF="smb.conf.5.html" -TARGET="_top" -><TT -CLASS="FILENAME" ->smb.conf(5)</TT -> - </A -> file to tell Samba it should now use domain security.</P -><P ->Change (or add) your <A -HREF="smb.conf.5.html#SECURITY" -TARGET="_top" -> <TT -CLASS="PARAMETER" -><I ->security =</I -></TT -></A -> line in the [global] section - of your smb.conf to read:</P -><P -><B -CLASS="COMMAND" ->security = domain</B -></P -><P ->Next change the <A -HREF="smb.conf.5.html#WORKGROUP" -TARGET="_top" -><TT -CLASS="PARAMETER" -><I -> workgroup =</I -></TT -></A -> line in the [global] section to read: </P -><P -><B -CLASS="COMMAND" ->workgroup = DOM</B -></P -><P ->as this is the name of the domain we are joining. </P -><P ->You must also have the parameter <A -HREF="smb.conf.5.html#ENCRYPTPASSWORDS" -TARGET="_top" -> <TT -CLASS="PARAMETER" -><I ->encrypt passwords</I -></TT -></A -> set to <TT -CLASS="CONSTANT" ->yes - </TT -> in order for your users to authenticate to the NT PDC.</P -><P ->Finally, add (or modify) a <A -HREF="smb.conf.5.html#PASSWORDSERVER" -TARGET="_top" -> <TT -CLASS="PARAMETER" -><I ->password server =</I -></TT -></A -> line in the [global] - section to read: </P -><P -><B -CLASS="COMMAND" ->password server = DOMPDC DOMBDC1 DOMBDC2</B -></P -><P ->These are the primary and backup domain controllers Samba - will attempt to contact in order to authenticate users. Samba will - try to contact each of these servers in order, so you may want to - rearrange this list in order to spread out the authentication load - among domain controllers.</P -><P ->Alternatively, if you want smbd to automatically determine - the list of Domain controllers to use for authentication, you may - set this line to be :</P -><P -><B -CLASS="COMMAND" ->password server = *</B -></P -><P ->This method, which was introduced in Samba 2.0.6, - allows Samba to use exactly the same mechanism that NT does. This - method either broadcasts or uses a WINS database in order to - find domain controllers to authenticate against.</P -><P ->Finally, restart your Samba daemons and get ready for - clients to begin using domain security!</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN67" ->Samba and Windows 2000 Domains</A -></H1 -><P ->Many people have asked regarding the state of Samba's ability to participate in -a Windows 2000 Domain. Samba 2.2 is able to act as a member server of a Windows -2000 domain operating in mixed or native mode.</P -><P ->There is much confusion between the circumstances that require a "mixed" mode -Win2k DC and a when this host can be switched to "native" mode. A "mixed" mode -Win2k domain controller is only needed if Windows NT BDCs must exist in the same -domain. By default, a Win2k DC in "native" mode will still support -NetBIOS and NTLMv1 for authentication of legacy clients such as Windows 9x and -NT 4.0. Samba has the same requirements as a Windows NT 4.0 member server.</P -><P ->The steps for adding a Samba 2.2 host to a Win2k domain are the same as those -for adding a Samba server to a Windows NT 4.0 domain. The only exception is that -the "Server Manager" from NT 4 has been replaced by the "Active Directory Users and -Computers" MMC (Microsoft Management Console) plugin.</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN72" ->Why is this better than security = server?</A -></H1 -><P ->Currently, domain security in Samba doesn't free you from - having to create local Unix users to represent the users attaching - to your server. This means that if domain user <TT -CLASS="CONSTANT" ->DOM\fred - </TT -> attaches to your domain security Samba server, there needs - to be a local Unix user fred to represent that user in the Unix - filesystem. This is very similar to the older Samba security mode - <A -HREF="smb.conf.5.html#SECURITYEQUALSSERVER" -TARGET="_top" ->security = server</A ->, - where Samba would pass through the authentication request to a Windows - NT server in the same way as a Windows 95 or Windows 98 server would. - </P -><P ->Please refer to the <A -HREF="winbind.html" -TARGET="_top" ->Winbind - paper</A -> for information on a system to automatically - assign UNIX uids and gids to Windows NT Domain users and groups. - This code is available in development branches only at the moment, - but will be moved to release branches soon.</P -><P ->The advantage to domain-level security is that the - authentication in domain-level security is passed down the authenticated - RPC channel in exactly the same way that an NT server would do it. This - means Samba servers now participate in domain trust relationships in - exactly the same way NT servers do (i.e., you can add Samba servers into - a resource domain and have the authentication passed on from a resource - domain PDC to an account domain PDC.</P -><P ->In addition, with <B -CLASS="COMMAND" ->security = server</B -> every Samba - daemon on a server has to keep a connection open to the - authenticating server for as long as that daemon lasts. This can drain - the connection resources on a Microsoft NT server and cause it to run - out of available connections. With <B -CLASS="COMMAND" ->security = domain</B ->, - however, the Samba daemons connect to the PDC/BDC only for as long - as is necessary to authenticate the user, and then drop the connection, - thus conserving PDC connection resources.</P -><P ->And finally, acting in the same manner as an NT server - authenticating to a PDC means that as part of the authentication - reply, the Samba server gets the user identification information such - as the user SID, the list of NT groups the user belongs to, etc. All - this information will allow Samba to be extended in the future into - a mode the developers currently call appliance mode. In this mode, - no local Unix users will be necessary, and Samba will generate Unix - uids and gids from the information passed back from the PDC when a - user is authenticated, making a Samba server truly plug and play - in an NT domain environment. Watch for this code soon.</P -><P -><I -CLASS="EMPHASIS" ->NOTE:</I -> Much of the text of this document - was first published in the Web magazine <A -HREF="http://www.linuxworld.com" -TARGET="_top" -> - LinuxWorld</A -> as the article <A -HREF="http://www.linuxworld.com/linuxworld/lw-1998-10/lw-10-samba.html" -TARGET="_top" ->Doing - the NIS/NT Samba</A ->.</P -></DIV -></DIV -></BODY -></HTML ->
\ No newline at end of file diff --git a/docs/htmldocs/Diagnosis.html b/docs/htmldocs/Diagnosis.html deleted file mode 100644 index 1944c37be9..0000000000 --- a/docs/htmldocs/Diagnosis.html +++ /dev/null @@ -1,548 +0,0 @@ -<HTML -><HEAD -><TITLE ->Diagnosing your samba server</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD -><BODY -CLASS="ARTICLE" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="ARTICLE" -><DIV -CLASS="TITLEPAGE" -><H1 -CLASS="TITLE" -><A -NAME="DIAGNOSIS" ->Diagnosing your samba server</A -></H1 -><HR></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN3" ->Introduction</A -></H1 -><P ->This file contains a list of tests you can perform to validate your -Samba server. It also tells you what the likely cause of the problem -is if it fails any one of these steps. If it passes all these tests -then it is probably working fine.</P -><P ->You should do ALL the tests, in the order shown. I have tried to -carefully choose them so later tests only use capabilities verified in -the earlier tests.</P -><P ->If you send me an email saying "it doesn't work" and you have not -followed this test procedure then you should not be surprised if I -ignore your email.</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN8" ->Assumptions</A -></H1 -><P ->In all of the tests I assume you have a Samba server called BIGSERVER -and a PC called ACLIENT both in workgroup TESTGROUP. I also assume the -PC is running windows for workgroups with a recent copy of the -microsoft tcp/ip stack. Alternatively, your PC may be running Windows -95 or Windows NT (Workstation or Server).</P -><P ->The procedure is similar for other types of clients.</P -><P ->I also assume you know the name of an available share in your -smb.conf. I will assume this share is called "tmp". You can add a -"tmp" share like by adding the following to smb.conf:</P -><P -><PRE -CLASS="PROGRAMLISTING" -> [tmp] - comment = temporary files - path = /tmp - read only = yes </PRE -></P -><P ->THESE TESTS ASSUME VERSION 2.0.6 OR LATER OF THE SAMBA SUITE. SOME -COMMANDS SHOWN DID NOT EXIST IN EARLIER VERSIONS</P -><P ->Please pay attention to the error messages you receive. If any error message -reports that your server is being unfriendly you should first check that you -IP name resolution is correctly set up. eg: Make sure your /etc/resolv.conf -file points to name servers that really do exist.</P -><P ->Also, if you do not have DNS server access for name resolution please check -that the settings for your smb.conf file results in "dns proxy = no". The -best way to check this is with "testparm smb.conf"</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN18" ->Tests</A -></H1 -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN20" ->Test 1</A -></H2 -><P ->In the directory in which you store your smb.conf file, run the command -"testparm smb.conf". If it reports any errors then your smb.conf -configuration file is faulty.</P -><P ->Note: Your smb.conf file may be located in: <TT -CLASS="FILENAME" ->/etc</TT -> - Or in: <TT -CLASS="FILENAME" ->/usr/local/samba/lib</TT -></P -></DIV -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN26" ->Test 2</A -></H2 -><P ->Run the command "ping BIGSERVER" from the PC and "ping ACLIENT" from -the unix box. If you don't get a valid response then your TCP/IP -software is not correctly installed. </P -><P ->Note that you will need to start a "dos prompt" window on the PC to -run ping.</P -><P ->If you get a message saying "host not found" or similar then your DNS -software or /etc/hosts file is not correctly setup. It is possible to -run samba without DNS entries for the server and client, but I assume -you do have correct entries for the remainder of these tests. </P -><P ->Another reason why ping might fail is if your host is running firewall -software. You will need to relax the rules to let in the workstation -in question, perhaps by allowing access from another subnet (on Linux -this is done via the ipfwadm program.)</P -></DIV -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN32" ->Test 3</A -></H2 -><P ->Run the command "smbclient -L BIGSERVER" on the unix box. You -should get a list of available shares back. </P -><P ->If you get a error message containing the string "Bad password" then -you probably have either an incorrect "hosts allow", "hosts deny" or -"valid users" line in your smb.conf, or your guest account is not -valid. Check what your guest account is using "testparm" and -temporarily remove any "hosts allow", "hosts deny", "valid users" or -"invalid users" lines.</P -><P ->If you get a "connection refused" response then the smbd server may -not be running. If you installed it in inetd.conf then you probably edited -that file incorrectly. If you installed it as a daemon then check that -it is running, and check that the netbios-ssn port is in a LISTEN -state using "netstat -a".</P -><P ->If you get a "session request failed" then the server refused the -connection. If it says "Your server software is being unfriendly" then -its probably because you have invalid command line parameters to smbd, -or a similar fatal problem with the initial startup of smbd. Also -check your config file (smb.conf) for syntax errors with "testparm" -and that the various directories where samba keeps its log and lock -files exist.</P -><P ->There are a number of reasons for which smbd may refuse or decline -a session request. The most common of these involve one or more of -the following smb.conf file entries:</P -><P -><PRE -CLASS="PROGRAMLISTING" -> hosts deny = ALL - hosts allow = xxx.xxx.xxx.xxx/yy - bind interfaces only = Yes</PRE -></P -><P ->In the above, no allowance has been made for any session requests that -will automatically translate to the loopback adaptor address 127.0.0.1. -To solve this problem change these lines to:</P -><P -><PRE -CLASS="PROGRAMLISTING" -> hosts deny = ALL - hosts allow = xxx.xxx.xxx.xxx/yy 127.</PRE -></P -><P ->Do NOT use the "bind interfaces only" parameter where you may wish to -use the samba password change facility, or where smbclient may need to -access local service for name resolution or for local resource -connections. (Note: the "bind interfaces only" parameter deficiency -where it will not allow connections to the loopback address will be -fixed soon).</P -><P ->Another common cause of these two errors is having something already running -on port 139, such as Samba (ie: smbd is running from inetd already) or -something like Digital's Pathworks. Check your inetd.conf file before trying -to start smbd as a daemon, it can avoid a lot of frustration!</P -><P ->And yet another possible cause for failure of TEST 3 is when the subnet mask -and / or broadcast address settings are incorrect. Please check that the -network interface IP Address / Broadcast Address / Subnet Mask settings are -correct and that Samba has correctly noted these in the log.nmb file.</P -></DIV -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN47" ->Test 4</A -></H2 -><P ->Run the command "nmblookup -B BIGSERVER __SAMBA__". You should get the -IP address of your Samba server back.</P -><P ->If you don't then nmbd is incorrectly installed. Check your inetd.conf -if you run it from there, or that the daemon is running and listening -to udp port 137.</P -><P ->One common problem is that many inetd implementations can't take many -parameters on the command line. If this is the case then create a -one-line script that contains the right parameters and run that from -inetd.</P -></DIV -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN52" ->Test 5</A -></H2 -><P ->run the command <B -CLASS="COMMAND" ->nmblookup -B ACLIENT '*'</B -></P -><P ->You should get the PCs IP address back. If you don't then the client -software on the PC isn't installed correctly, or isn't started, or you -got the name of the PC wrong. </P -><P ->If ACLIENT doesn't resolve via DNS then use the IP address of the -client in the above test.</P -></DIV -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN58" ->Test 6</A -></H2 -><P ->Run the command <B -CLASS="COMMAND" ->nmblookup -d 2 '*'</B -></P -><P ->This time we are trying the same as the previous test but are trying -it via a broadcast to the default broadcast address. A number of -Netbios/TCPIP hosts on the network should respond, although Samba may -not catch all of the responses in the short time it listens. You -should see "got a positive name query response" messages from several -hosts.</P -><P ->If this doesn't give a similar result to the previous test then -nmblookup isn't correctly getting your broadcast address through its -automatic mechanism. In this case you should experiment use the -"interfaces" option in smb.conf to manually configure your IP -address, broadcast and netmask. </P -><P ->If your PC and server aren't on the same subnet then you will need to -use the -B option to set the broadcast address to the that of the PCs -subnet.</P -><P ->This test will probably fail if your subnet mask and broadcast address are -not correct. (Refer to TEST 3 notes above).</P -></DIV -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN66" ->Test 7</A -></H2 -><P ->Run the command <B -CLASS="COMMAND" ->smbclient //BIGSERVER/TMP</B ->. You should -then be prompted for a password. You should use the password of the account -you are logged into the unix box with. If you want to test with -another account then add the -U >accountname< option to the end of -the command line. eg: -<B -CLASS="COMMAND" ->smbclient //bigserver/tmp -Ujohndoe</B -></P -><P ->Note: It is possible to specify the password along with the username -as follows: -<B -CLASS="COMMAND" ->smbclient //bigserver/tmp -Ujohndoe%secret</B -></P -><P ->Once you enter the password you should get the "smb>" prompt. If you -don't then look at the error message. If it says "invalid network -name" then the service "tmp" is not correctly setup in your smb.conf.</P -><P ->If it says "bad password" then the likely causes are:</P -><P -></P -><OL -TYPE="1" -><LI -><P -> you have shadow passords (or some other password system) but didn't - compile in support for them in smbd - </P -></LI -><LI -><P -> your "valid users" configuration is incorrect - </P -></LI -><LI -><P -> you have a mixed case password and you haven't enabled the "password - level" option at a high enough level - </P -></LI -><LI -><P -> the "path =" line in smb.conf is incorrect. Check it with testparm - </P -></LI -><LI -><P -> you enabled password encryption but didn't create the SMB encrypted - password file - </P -></LI -></OL -><P ->Once connected you should be able to use the commands -<B -CLASS="COMMAND" ->dir</B -> <B -CLASS="COMMAND" ->get</B -> <B -CLASS="COMMAND" ->put</B -> etc. -Type <B -CLASS="COMMAND" ->help >command<</B -> for instructions. You should -especially check that the amount of free disk space shown is correct -when you type <B -CLASS="COMMAND" ->dir</B ->.</P -></DIV -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN92" ->Test 8</A -></H2 -><P ->On the PC type the command <B -CLASS="COMMAND" ->net view \\BIGSERVER</B ->. You will -need to do this from within a "dos prompt" window. You should get back a -list of available shares on the server.</P -><P ->If you get a "network name not found" or similar error then netbios -name resolution is not working. This is usually caused by a problem in -nmbd. To overcome it you could do one of the following (you only need -to choose one of them):</P -><P -></P -><OL -TYPE="1" -><LI -><P -> fixup the nmbd installation</P -></LI -><LI -><P -> add the IP address of BIGSERVER to the "wins server" box in the - advanced tcp/ip setup on the PC.</P -></LI -><LI -><P -> enable windows name resolution via DNS in the advanced section of - the tcp/ip setup</P -></LI -><LI -><P -> add BIGSERVER to your lmhosts file on the PC.</P -></LI -></OL -><P ->If you get a "invalid network name" or "bad password error" then the -same fixes apply as they did for the "smbclient -L" test above. In -particular, make sure your "hosts allow" line is correct (see the man -pages)</P -><P ->Also, do not overlook that fact that when the workstation requests the -connection to the samba server it will attempt to connect using the -name with which you logged onto your Windows machine. You need to make -sure that an account exists on your Samba server with that exact same -name and password.</P -><P ->If you get "specified computer is not receiving requests" or similar -it probably means that the host is not contactable via tcp services. -Check to see if the host is running tcp wrappers, and if so add an entry in -the hosts.allow file for your client (or subnet, etc.)</P -></DIV -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN109" ->Test 9</A -></H2 -><P ->Run the command <B -CLASS="COMMAND" ->net use x: \\BIGSERVER\TMP</B ->. You should -be prompted for a password then you should get a "command completed -successfully" message. If not then your PC software is incorrectly -installed or your smb.conf is incorrect. make sure your "hosts allow" -and other config lines in smb.conf are correct.</P -><P ->It's also possible that the server can't work out what user name to -connect you as. To see if this is the problem add the line "user = -USERNAME" to the [tmp] section of smb.conf where "USERNAME" is the -username corresponding to the password you typed. If you find this -fixes things you may need the username mapping option.</P -></DIV -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN114" ->Test 10</A -></H2 -><P ->Run the command <B -CLASS="COMMAND" ->nmblookup -M TESTGROUP</B -> where -TESTGROUP is the name of the workgroup that your Samba server and -Windows PCs belong to. You should get back the IP address of the -master browser for that workgroup.</P -><P ->If you don't then the election process has failed. Wait a minute to -see if it is just being slow then try again. If it still fails after -that then look at the browsing options you have set in smb.conf. Make -sure you have <B -CLASS="COMMAND" ->preferred master = yes</B -> to ensure that -an election is held at startup.</P -></DIV -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN120" ->Test 11</A -></H2 -><P ->From file manager try to browse the server. Your samba server should -appear in the browse list of your local workgroup (or the one you -specified in smb.conf). You should be able to double click on the name -of the server and get a list of shares. If you get a "invalid -password" error when you do then you are probably running WinNT and it -is refusing to browse a server that has no encrypted password -capability and is in user level security mode. In this case either set -<B -CLASS="COMMAND" ->security = server</B -> AND -<B -CLASS="COMMAND" ->password server = Windows_NT_Machine</B -> in your -smb.conf file, or enable encrypted passwords AFTER compiling in support -for encrypted passwords (refer to the Makefile).</P -></DIV -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN125" ->Still having troubles?</A -></H1 -><P ->Try the mailing list or newsgroup, or use the ethereal utility to -sniff the problem. The official samba mailing list can be reached at -<A -HREF="mailto:samba@samba.org" -TARGET="_top" ->samba@samba.org</A ->. To find -out more about samba and how to subscribe to the mailing list check -out the samba web page at -<A -HREF="http://samba.org/samba" -TARGET="_top" ->http://samba.org/samba</A -></P -><P ->Also look at the other docs in the Samba package!</P -></DIV -></DIV -></BODY -></HTML ->
\ No newline at end of file diff --git a/docs/htmldocs/Integrating-with-Windows.html b/docs/htmldocs/Integrating-with-Windows.html deleted file mode 100644 index fd2bd7fdaf..0000000000 --- a/docs/htmldocs/Integrating-with-Windows.html +++ /dev/null @@ -1,1072 +0,0 @@ -<HTML -><HEAD -><TITLE ->Integrating MS Windows networks with Samba</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD -><BODY -CLASS="ARTICLE" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="ARTICLE" -><DIV -CLASS="TITLEPAGE" -><H1 -CLASS="TITLE" -><A -NAME="INTEGRATE-MS-NETWORKS" ->Integrating MS Windows networks with Samba</A -></H1 -><HR></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN3" ->Agenda</A -></H1 -><P ->To identify the key functional mechanisms of MS Windows networking -to enable the deployment of Samba as a means of extending and/or -replacing MS Windows NT/2000 technology.</P -><P ->We will examine:</P -><P -></P -><OL -TYPE="1" -><LI -><P ->Name resolution in a pure Unix/Linux TCP/IP - environment - </P -></LI -><LI -><P ->Name resolution as used within MS Windows - networking - </P -></LI -><LI -><P ->How browsing functions and how to deploy stable - and dependable browsing using Samba - </P -></LI -><LI -><P ->MS Windows security options and how to - configure Samba for seemless integration - </P -></LI -><LI -><P ->Configuration of Samba as:</P -><P -></P -><OL -TYPE="a" -><LI -><P ->A stand-alone server</P -></LI -><LI -><P ->An MS Windows NT 3.x/4.0 security domain member - </P -></LI -><LI -><P ->An alternative to an MS Windows NT 3.x/4.0 Domain Controller - </P -></LI -></OL -></LI -></OL -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN25" ->Name Resolution in a pure Unix/Linux world</A -></H1 -><P ->The key configuration files covered in this section are:</P -><P -></P -><UL -><LI -><P -><TT -CLASS="FILENAME" ->/etc/hosts</TT -></P -></LI -><LI -><P -><TT -CLASS="FILENAME" ->/etc/resolv.conf</TT -></P -></LI -><LI -><P -><TT -CLASS="FILENAME" ->/etc/host.conf</TT -></P -></LI -><LI -><P -><TT -CLASS="FILENAME" ->/etc/nsswitch.conf</TT -></P -></LI -></UL -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN41" -><TT -CLASS="FILENAME" ->/etc/hosts</TT -></A -></H2 -><P ->Contains a static list of IP Addresses and names. -eg:</P -><P -><PRE -CLASS="PROGRAMLISTING" -> 127.0.0.1 localhost localhost.localdomain - 192.168.1.1 bigbox.caldera.com bigbox alias4box</PRE -></P -><P ->The purpose of <TT -CLASS="FILENAME" ->/etc/hosts</TT -> is to provide a -name resolution mechanism so that uses do not need to remember -IP addresses.</P -><P ->Network packets that are sent over the physical network transport -layer communicate not via IP addresses but rather using the Media -Access Control address, or MAC address. IP Addresses are currently -32 bits in length and are typically presented as four (4) decimal -numbers that are separated by a dot (or period). eg: 168.192.1.1</P -><P ->MAC Addresses use 48 bits (or 6 bytes) and are typically represented -as two digit hexadecimal numbers separated by colons. eg: -40:8e:0a:12:34:56</P -><P ->Every network interfrace must have an MAC address. Associated with -a MAC address there may be one or more IP addresses. There is NO -relationship between an IP address and a MAC address, all such assignments -are arbitary or discretionary in nature. At the most basic level all -network communications takes place using MAC addressing. Since MAC -addresses must be globally unique, and generally remains fixed for -any particular interface, the assignment of an IP address makes sense -from a network management perspective. More than one IP address can -be assigned per MAC address. One address must be the primary IP address, -this is the address that will be returned in the ARP reply.</P -><P ->When a user or a process wants to communicate with another machine -the protocol implementation ensures that the "machine name" or "host -name" is resolved to an IP address in a manner that is controlled -by the TCP/IP configuration control files. The file -<TT -CLASS="FILENAME" ->/etc/hosts</TT -> is one such file.</P -><P ->When the IP address of the destination interface has been -determined a protocol called ARP/RARP is used to identify -the MAC address of the target interface. ARP stands for Address -Resolution Protocol, and is a broadcast oriented method that -uses UDP (User Datagram Protocol) to send a request to all -interfaces on the local network segment using the all 1's MAC -address. Network interfaces are programmed to respond to two -MAC addresses only; their own unique address and the address -ff:ff:ff:ff:ff:ff. The reply packet from an ARP request will -contain the MAC address and the primary IP address for each -interface.</P -><P ->The <TT -CLASS="FILENAME" ->/etc/hosts</TT -> file is foundational to all -Unix/Linux TCP/IP installations and as a minumum will contain -the localhost and local network interface IP addresses and the -primary names by which they are known within the local machine. -This file helps to prime the pump so that a basic level of name -resolution can exist before any other method of name resolution -becomes available.</P -></DIV -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN57" -><TT -CLASS="FILENAME" ->/etc/resolv.conf</TT -></A -></H2 -><P ->This file tells the name resolution libraries:</P -><P -></P -><UL -><LI -><P ->The name of the domain to which the machine - belongs - </P -></LI -><LI -><P ->The name(s) of any domains that should be - automatically searched when trying to resolve unqualified - host names to their IP address - </P -></LI -><LI -><P ->The name or IP address of available Domain - Name Servers that may be asked to perform name to address - translation lookups - </P -></LI -></UL -></DIV -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN68" -><TT -CLASS="FILENAME" ->/etc/host.conf</TT -></A -></H2 -><P -><TT -CLASS="FILENAME" ->/etc/host.conf</TT -> is the primary means by -which the setting in /etc/resolv.conf may be affected. It is a -critical configuration file. This file controls the order by -which name resolution may procede. The typical structure is:</P -><P -><PRE -CLASS="PROGRAMLISTING" -> order hosts,bind - multi on</PRE -></P -><P ->then both addresses should be returned. Please refer to the -man page for host.conf for further details.</P -></DIV -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN76" -><TT -CLASS="FILENAME" ->/etc/nsswitch.conf</TT -></A -></H2 -><P ->This file controls the actual name resolution targets. The -file typically has resolver object specifications as follows:</P -><P -><PRE -CLASS="PROGRAMLISTING" -> # /etc/nsswitch.conf - # - # Name Service Switch configuration file. - # - - passwd: compat - # Alternative entries for password authentication are: - # passwd: compat files nis ldap winbind - shadow: compat - group: compat - - hosts: files nis dns - # Alternative entries for host name resolution are: - # hosts: files dns nis nis+ hesoid db compat ldap wins - networks: nis files dns - - ethers: nis files - protocols: nis files - rpc: nis files - services: nis files</PRE -></P -><P ->Of course, each of these mechanisms requires that the appropriate -facilities and/or services are correctly configured.</P -><P ->It should be noted that unless a network request/message must be -sent, TCP/IP networks are silent. All TCP/IP communications assumes a -principal of speaking only when necessary.</P -><P ->Samba version 2.2.0 will add Linux support for extensions to -the name service switch infrastructure so that linux clients will -be able to obtain resolution of MS Windows NetBIOS names to IP -Addresses. To gain this functionality Samba needs to be compiled -with appropriate arguments to the make command (ie: <B -CLASS="COMMAND" ->make -nsswitch/libnss_wins.so</B ->). The resulting library should -then be installed in the <TT -CLASS="FILENAME" ->/lib</TT -> directory and -the "wins" parameter needs to be added to the "hosts:" line in -the <TT -CLASS="FILENAME" ->/etc/nsswitch.conf</TT -> file. At this point it -will be possible to ping any MS Windows machine by it's NetBIOS -machine name, so long as that machine is within the workgroup to -which both the samba machine and the MS Windows machine belong.</P -></DIV -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN88" ->Name resolution as used within MS Windows networking</A -></H1 -><P ->MS Windows networking is predicated about the name each machine -is given. This name is known variously (and inconsistently) as -the "computer name", "machine name", "networking name", "netbios name", -"SMB name". All terms mean the same thing with the exception of -"netbios name" which can apply also to the name of the workgroup or the -domain name. The terms "workgroup" and "domain" are really just a -simply name with which the machine is associated. All NetBIOS names -are exactly 16 characters in length. The 16th character is reserved. -It is used to store a one byte value that indicates service level -information for the NetBIOS name that is registered. A NetBIOS machine -name is therefore registered for each service type that is provided by -the client/server.</P -><P ->The following are typical NetBIOS name/service type registrations:</P -><P -><PRE -CLASS="PROGRAMLISTING" -> Unique NetBIOS Names: - MACHINENAME<00> = Server Service is running on MACHINENAME - MACHINENAME<03> = Generic Machine Name (NetBIOS name) - MACHINENAME<20> = LanMan Server service is running on MACHINENAME - WORKGROUP<1b> = Domain Master Browser - - Group Names: - WORKGROUP<03> = Generic Name registered by all members of WORKGROUP - WORKGROUP<1c> = Domain Controllers / Netlogon Servers - WORKGROUP<1d> = Local Master Browsers - WORKGROUP<1e> = Internet Name Resolvers</PRE -></P -><P ->It should be noted that all NetBIOS machines register their own -names as per the above. This is in vast contrast to TCP/IP -installations where traditionally the system administrator will -determine in the /etc/hosts or in the DNS database what names -are associated with each IP address.</P -><P ->One further point of clarification should be noted, the <TT -CLASS="FILENAME" ->/etc/hosts</TT -> -file and the DNS records do not provide the NetBIOS name type information -that MS Windows clients depend on to locate the type of service that may -be needed. An example of this is what happens when an MS Windows client -wants to locate a domain logon server. It find this service and the IP -address of a server that provides it by performing a lookup (via a -NetBIOS broadcast) for enumeration of all machines that have -registered the name type *<1c>. A logon request is then sent to each -IP address that is returned in the enumerated list of IP addresses. Which -ever machine first replies then ends up providing the logon services.</P -><P ->The name "workgroup" or "domain" really can be confusing since these -have the added significance of indicating what is the security -architecture of the MS Windows network. The term "workgroup" indicates -that the primary nature of the network environment is that of a -peer-to-peer design. In a WORKGROUP all machines are responsible for -their own security, and generally such security is limited to use of -just a password (known as SHARE MODE security). In most situations -with peer-to-peer networking the users who control their own machines -will simply opt to have no security at all. It is possible to have -USER MODE security in a WORKGROUP environment, thus requiring use -of a user name and a matching password.</P -><P ->MS Windows networking is thus predetermined to use machine names -for all local and remote machine message passing. The protocol used is -called Server Message Block (SMB) and this is implemented using -the NetBIOS protocol (Network Basic Input Output System). NetBIOS can -be encapsulated using LLC (Logical Link Control) protocol - in which case -the resulting protocol is called NetBEUI (Network Basic Extended User -Interface). NetBIOS can also be run over IPX (Internetworking Packet -Exchange) protocol as used by Novell NetWare, and it can be run -over TCP/IP protocols - in which case the resulting protocol is called -NBT or NetBT, the NetBIOS over TCP/IP.</P -><P ->MS Windows machines use a complex array of name resolution mechanisms. -Since we are primarily concerned with TCP/IP this demonstration is -limited to this area.</P -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN100" ->The NetBIOS Name Cache</A -></H2 -><P ->All MS Windows machines employ an in memory buffer in which is -stored the NetBIOS names and IP addresses for all external -machines that that machine has communicated with over the -past 10-15 minutes. It is more efficient to obtain an IP address -for a machine from the local cache than it is to go through all the -configured name resolution mechanisms.</P -><P ->If a machine whose name is in the local name cache has been shut -down before the name had been expired and flushed from the cache, then -an attempt to exchange a message with that machine will be subject -to time-out delays. i.e.: Its name is in the cache, so a name resolution -lookup will succeed, but the machine can not respond. This can be -frustrating for users - but it is a characteristic of the protocol.</P -><P ->The MS Windows utility that allows examination of the NetBIOS -name cache is called "nbtstat". The Samba equivalent of this -is called "nmblookup".</P -></DIV -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN105" ->The LMHOSTS file</A -></H2 -><P ->This file is usually located in MS Windows NT 4.0 or -2000 in <TT -CLASS="FILENAME" ->C:\WINNT\SYSTEM32\DRIVERS\ETC</TT -> and contains -the IP Address and the machine name in matched pairs. The -<TT -CLASS="FILENAME" ->LMHOSTS</TT -> file performs NetBIOS name -to IP address mapping oriented.</P -><P ->It typically looks like:</P -><P -><PRE -CLASS="PROGRAMLISTING" -> # Copyright (c) 1998 Microsoft Corp. - # - # This is a sample LMHOSTS file used by the Microsoft Wins Client (NetBIOS - # over TCP/IP) stack for Windows98 - # - # This file contains the mappings of IP addresses to NT computernames - # (NetBIOS) names. Each entry should be kept on an individual line. - # The IP address should be placed in the first column followed by the - # corresponding computername. The address and the comptername - # should be separated by at least one space or tab. The "#" character - # is generally used to denote the start of a comment (see the exceptions - # below). - # - # This file is compatible with Microsoft LAN Manager 2.x TCP/IP lmhosts - # files and offers the following extensions: - # - # #PRE - # #DOM:<domain> - # #INCLUDE <filename> - # #BEGIN_ALTERNATE - # #END_ALTERNATE - # \0xnn (non-printing character support) - # - # Following any entry in the file with the characters "#PRE" will cause - # the entry to be preloaded into the name cache. By default, entries are - # not preloaded, but are parsed only after dynamic name resolution fails. - # - # Following an entry with the "#DOM:<domain>" tag will associate the - # entry with the domain specified by <domain>. This affects how the - # browser and logon services behave in TCP/IP environments. To preload - # the host name associated with #DOM entry, it is necessary to also add a - # #PRE to the line. The <domain> is always preloaded although it will not - # be shown when the name cache is viewed. - # - # Specifying "#INCLUDE <filename>" will force the RFC NetBIOS (NBT) - # software to seek the specified <filename> and parse it as if it were - # local. <filename> is generally a UNC-based name, allowing a - # centralized lmhosts file to be maintained on a server. - # It is ALWAYS necessary to provide a mapping for the IP address of the - # server prior to the #INCLUDE. This mapping must use the #PRE directive. - # In addtion the share "public" in the example below must be in the - # LanManServer list of "NullSessionShares" in order for client machines to - # be able to read the lmhosts file successfully. This key is under - # \machine\system\currentcontrolset\services\lanmanserver\parameters\nullsessionshares - # in the registry. Simply add "public" to the list found there. - # - # The #BEGIN_ and #END_ALTERNATE keywords allow multiple #INCLUDE - # statements to be grouped together. Any single successful include - # will cause the group to succeed. - # - # Finally, non-printing characters can be embedded in mappings by - # first surrounding the NetBIOS name in quotations, then using the - # \0xnn notation to specify a hex value for a non-printing character. - # - # The following example illustrates all of these extensions: - # - # 102.54.94.97 rhino #PRE #DOM:networking #net group's DC - # 102.54.94.102 "appname \0x14" #special app server - # 102.54.94.123 popular #PRE #source server - # 102.54.94.117 localsrv #PRE #needed for the include - # - # #BEGIN_ALTERNATE - # #INCLUDE \\localsrv\public\lmhosts - # #INCLUDE \\rhino\public\lmhosts - # #END_ALTERNATE - # - # In the above example, the "appname" server contains a special - # character in its name, the "popular" and "localsrv" server names are - # preloaded, and the "rhino" server name is specified so it can be used - # to later #INCLUDE a centrally maintained lmhosts file if the "localsrv" - # system is unavailable. - # - # Note that the whole file is parsed including comments on each lookup, - # so keeping the number of comments to a minimum will improve performance. - # Therefore it is not advisable to simply add lmhosts file entries onto the - # end of this file.</PRE -></P -></DIV -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN113" ->HOSTS file</A -></H2 -><P ->This file is usually located in MS Windows NT 4.0 or 2000 in -<TT -CLASS="FILENAME" ->C:\WINNT\SYSTEM32\DRIVERS\ETC</TT -> and contains -the IP Address and the IP hostname in matched pairs. It can be -used by the name resolution infrastructure in MS Windows, depending -on how the TCP/IP environment is configured. This file is in -every way the equivalent of the Unix/Linux <TT -CLASS="FILENAME" ->/etc/hosts</TT -> file.</P -></DIV -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN118" ->DNS Lookup</A -></H2 -><P ->This capability is configured in the TCP/IP setup area in the network -configuration facility. If enabled an elaborate name resolution sequence -is followed the precise nature of which isdependant on what the NetBIOS -Node Type parameter is configured to. A Node Type of 0 means use -NetBIOS broadcast (over UDP broadcast) is first used if the name -that is the subject of a name lookup is not found in the NetBIOS name -cache. If that fails then DNS, HOSTS and LMHOSTS are checked. If set to -Node Type 8, then a NetBIOS Unicast (over UDP Unicast) is sent to the -WINS Server to obtain a lookup before DNS, HOSTS, LMHOSTS, or broadcast -lookup is used.</P -></DIV -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN121" ->WINS Lookup</A -></H2 -><P ->A WINS (Windows Internet Name Server) service is the equivaent of the -rfc1001/1002 specified NBNS (NetBIOS Name Server). A WINS server stores -the names and IP addresses that are registered by a Windows client -if the TCP/IP setup has been given at least one WINS Server IP Address.</P -><P ->To configure Samba to be a WINS server the following parameter needs -to be added to the <TT -CLASS="FILENAME" ->smb.conf</TT -> file:</P -><P -><PRE -CLASS="PROGRAMLISTING" -> wins support = Yes</PRE -></P -><P ->To configure Samba to use a WINS server the following parameters are -needed in the smb.conf file:</P -><P -><PRE -CLASS="PROGRAMLISTING" -> wins support = No - wins server = xxx.xxx.xxx.xxx</PRE -></P -><P ->where <TT -CLASS="REPLACEABLE" -><I ->xxx.xxx.xxx.xxx</I -></TT -> is the IP address -of the WINS server.</P -></DIV -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN133" ->How browsing functions and how to deploy stable and -dependable browsing using Samba</A -></H1 -><P ->As stated above, MS Windows machines register their NetBIOS names -(i.e.: the machine name for each service type in operation) on start -up. Also, as stated above, the exact method by which this name registration -takes place is determined by whether or not the MS Windows client/server -has been given a WINS server address, whether or not LMHOSTS lookup -is enabled, or if DNS for NetBIOS name resolution is enabled, etc.</P -><P ->In the case where there is no WINS server all name registrations as -well as name lookups are done by UDP broadcast. This isolates name -resolution to the local subnet, unless LMHOSTS is used to list all -names and IP addresses. In such situations Samba provides a means by -which the samba server name may be forcibly injected into the browse -list of a remote MS Windows network (using the "remote announce" parameter).</P -><P ->Where a WINS server is used, the MS Windows client will use UDP -unicast to register with the WINS server. Such packets can be routed -and thus WINS allows name resolution to function across routed networks.</P -><P ->During the startup process an election will take place to create a -local master browser if one does not already exist. On each NetBIOS network -one machine will be elected to function as the domain master browser. This -domain browsing has nothing to do with MS security domain control. -Instead, the domain master browser serves the role of contacting each local -master browser (found by asking WINS or from LMHOSTS) and exchanging browse -list contents. This way every master browser will eventually obtain a complete -list of all machines that are on the network. Every 11-15 minutes an election -is held to determine which machine will be the master browser. By the nature of -the election criteria used, the machine with the highest uptime, or the -most senior protocol version, or other criteria, will win the election -as domain master browser.</P -><P ->Clients wishing to browse the network make use of this list, but also depend -on the availability of correct name resolution to the respective IP -address/addresses. </P -><P ->Any configuration that breaks name resolution and/or browsing intrinsics -will annoy users because they will have to put up with protracted -inability to use the network services.</P -><P ->Samba supports a feature that allows forced synchonisation -of browse lists across routed networks using the "remote -browse sync" parameter in the smb.conf file. This causes Samba -to contact the local master browser on a remote network and -to request browse list synchronisation. This effectively bridges -two networks that are separated by routers. The two remote -networks may use either broadcast based name resolution or WINS -based name resolution, but it should be noted that the "remote -browse sync" parameter provides browse list synchronisation - and -that is distinct from name to address resolution, in other -words, for cross subnet browsing to function correctly it is -essential that a name to address resolution mechanism be provided. -This mechanism could be via DNS, <TT -CLASS="FILENAME" ->/etc/hosts</TT ->, -and so on.</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN143" ->MS Windows security options and how to configure -Samba for seemless integration</A -></H1 -><P ->MS Windows clients may use encrypted passwords as part of a -challenege/response authentication model (a.k.a. NTLMv1) or -alone, or clear text strings for simple password based -authentication. It should be realized that with the SMB -protocol the password is passed over the network either -in plain text or encrypted, but not both in the same -authentication requets.</P -><P ->When encrypted passwords are used a password that has been -entered by the user is encrypted in two ways:</P -><P -></P -><UL -><LI -><P ->An MD4 hash of the UNICODE of the password - string. This is known as the NT hash. - </P -></LI -><LI -><P ->The password is converted to upper case, - and then padded or trucated to 14 bytes. This string is - then appended with 5 bytes of NULL characters and split to - form two 56 bit DES keys to encrypt a "magic" 8 byte value. - The resulting 16 bytes for the LanMan hash. - </P -></LI -></UL -><P ->You should refer to the <A -HREF="ENCRYPTION.html" -TARGET="_top" ->Password Encryption</A -> chapter in this HOWTO collection -for more details on the inner workings</P -><P ->MS Windows 95 pre-service pack 1, MS Windows NT versions 3.x -and version 4.0 pre-service pack 3 will use either mode of -password authentication. All versions of MS Windows that follow -these versions no longer support plain text passwords by default.</P -><P ->MS Windows clients have a habit of dropping network mappings that -have been idle for 10 minutes or longer. When the user attempts to -use the mapped drive connection that has been dropped, the client -re-establishes the connection using -a cached copy of the password.</P -><P ->When Microsoft changed the default password mode, they dropped support for -caching of the plain text password. This means that when the registry -parameter is changed to re-enable use of plain text passwords it appears to -work, but when a dropped mapping attempts to revalidate it will fail if -the remote authentication server does not support encrypted passwords. -This means that it is definitely not a good idea to re-enable plain text -password support in such clients.</P -><P ->The following parameters can be used to work around the -issue of Windows 9x client upper casing usernames and -password before transmitting them to the SMB server -when using clear text authentication.</P -><P -><PRE -CLASS="PROGRAMLISTING" -> <A -HREF="smb.conf.5.html#PASSWORDLEVEL" -TARGET="_top" ->passsword level</A -> = <TT -CLASS="REPLACEABLE" -><I ->integer</I -></TT -> - <A -HREF="smb.conf.5.html#USERNAMELEVEL" -TARGET="_top" ->username level</A -> = <TT -CLASS="REPLACEABLE" -><I ->integer</I -></TT -></PRE -></P -><P ->By default Samba will lower case the username before attempting -to lookup the user in the database of local system accounts. -Because UNIX usernames conventionally only contain lower case -character, the <TT -CLASS="PARAMETER" -><I ->username level</I -></TT -> parameter -is rarely even needed.</P -><P ->However, password on UNIX systems often make use of mixed case -characters. This means that in order for a user on a Windows 9x -client to connect to a Samba server using clear text authentication, -the <TT -CLASS="PARAMETER" -><I ->password level</I -></TT -> must be set to the maximum -number of upper case letter which <I -CLASS="EMPHASIS" ->could</I -> appear -is a password. Note that is the server OS uses the traditional -DES version of crypt(), then a <TT -CLASS="PARAMETER" -><I ->password level</I -></TT -> -of 8 will result in case insensitive passwords as seen from Windows -users. This will also result in longer login times as Samba -hash to compute the permutations of the password string and -try them one by one until a match is located (or all combinations fail).</P -><P ->The best option to adopt is to enable support for encrypted passwords -where ever Samba is used. There are three configuration possibilities -for support of encrypted passwords:</P -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN171" ->Use MS Windows NT as an authentication server</A -></H2 -><P ->This method involves the additions of the following parameters -in the smb.conf file:</P -><P -><PRE -CLASS="PROGRAMLISTING" -> encrypt passwords = Yes - security = server - password server = "NetBIOS_name_of_PDC"</PRE -></P -><P ->There are two ways of identifying whether or not a username and -password pair was valid or not. One uses the reply information provided -as part of the authentication messaging process, the other uses -just and error code.</P -><P ->The down-side of this mode of configuration is the fact that -for security reasons Samba will send the password server a bogus -username and a bogus password and if the remote server fails to -reject the username and password pair then an alternative mode -of identification of validation is used. Where a site uses password -lock out after a certain number of failed authentication attempts -this will result in user lockouts.</P -><P ->Use of this mode of authentication does require there to be -a standard Unix account for the user, this account can be blocked -to prevent logons by other than MS Windows clients.</P -></DIV -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN179" ->Make Samba a member of an MS Windows NT security domain</A -></H2 -><P ->This method involves additon of the following paramters in the smb.conf file:</P -><P -><PRE -CLASS="PROGRAMLISTING" -> encrypt passwords = Yes - security = domain - workgroup = "name of NT domain" - password server = *</PRE -></P -><P ->The use of the "*" argument to "password server" will cause samba -to locate the domain controller in a way analogous to the way -this is done within MS Windows NT.</P -><P ->In order for this method to work the Samba server needs to join the -MS Windows NT security domain. This is done as follows:</P -><P -></P -><UL -><LI -><P ->On the MS Windows NT domain controller using - the Server Manager add a machine account for the Samba server. - </P -></LI -><LI -><P ->Next, on the Linux system execute: - <B -CLASS="COMMAND" ->smbpasswd -r PDC_NAME -j DOMAIN_NAME</B -> - </P -></LI -></UL -><P ->Use of this mode of authentication does require there to be -a standard Unix account for the user in order to assign -a uid once the account has been authenticated by the remote -Windows DC. This account can be blocked to prevent logons by -other than MS Windows clients by things such as setting an invalid -shell in the <TT -CLASS="FILENAME" ->/etc/passwd</TT -> entry.</P -><P ->An alternative to assigning UIDs to Windows users on a -Samba member server is presented in the <A -HREF="winbind.html" -TARGET="_top" ->Winbind Overview</A -> chapter in -this HOWTO collection.</P -></DIV -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN196" ->Configure Samba as an authentication server</A -></H2 -><P ->This mode of authentication demands that there be on the -Unix/Linux system both a Unix style account as well as an -smbpasswd entry for the user. The Unix system account can be -locked if required as only the encrypted password will be -used for SMB client authentication.</P -><P ->This method involves addition of the following parameters to -the smb.conf file:</P -><P -><PRE -CLASS="PROGRAMLISTING" ->## please refer to the Samba PDC HOWTO chapter later in -## this collection for more details -[global] - encrypt passwords = Yes - security = user - domain logons = Yes - ; an OS level of 33 or more is recommended - os level = 33 - -[NETLOGON] - path = /somewhare/in/file/system - read only = yes</PRE -></P -><P ->in order for this method to work a Unix system account needs -to be created for each user, as well as for each MS Windows NT/2000 -machine. The following structure is required.</P -><DIV -CLASS="SECT3" -><HR><H3 -CLASS="SECT3" -><A -NAME="AEN203" ->Users</A -></H3 -><P ->A user account that may provide a home directory should be -created. The following Linux system commands are typical of -the procedure for creating an account.</P -><P -><PRE -CLASS="PROGRAMLISTING" -> # useradd -s /bin/bash -d /home/"userid" -m "userid" - # passwd "userid" - Enter Password: <pw> - - # smbpasswd -a "userid" - Enter Password: <pw></PRE -></P -></DIV -><DIV -CLASS="SECT3" -><HR><H3 -CLASS="SECT3" -><A -NAME="AEN208" ->MS Windows NT Machine Accounts</A -></H3 -><P ->These are required only when Samba is used as a domain -controller. Refer to the Samba-PDC-HOWTO for more details.</P -><P -><PRE -CLASS="PROGRAMLISTING" -> # useradd -s /bin/false -d /dev/null "machine_name"\$ - # passwd -l "machine_name"\$ - # smbpasswd -a -m "machine_name"</PRE -></P -></DIV -></DIV -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN213" ->Conclusions</A -></H1 -><P ->Samba provides a flexible means to operate as...</P -><P -></P -><UL -><LI -><P ->A Stand-alone server - No special action is needed - other than to create user accounts. Stand-alone servers do NOT - provide network logon services, meaning that machines that use this - server do NOT perform a domain logon but instead make use only of - the MS Windows logon which is local to the MS Windows - workstation/server. - </P -></LI -><LI -><P ->An MS Windows NT 3.x/4.0 security domain member. - </P -></LI -><LI -><P ->An alternative to an MS Windows NT 3.x/4.0 - Domain Controller. - </P -></LI -></UL -></DIV -></DIV -></BODY -></HTML ->
\ No newline at end of file diff --git a/docs/htmldocs/OS2-Client-HOWTO.html b/docs/htmldocs/OS2-Client-HOWTO.html deleted file mode 100644 index 90f62306e8..0000000000 --- a/docs/htmldocs/OS2-Client-HOWTO.html +++ /dev/null @@ -1,210 +0,0 @@ -<HTML -><HEAD -><TITLE ->OS2 Client HOWTO</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD -><BODY -CLASS="ARTICLE" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="ARTICLE" -><DIV -CLASS="TITLEPAGE" -><H1 -CLASS="TITLE" -><A -NAME="OS2" ->OS2 Client HOWTO</A -></H1 -><HR></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN3" ->FAQs</A -></H1 -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN5" ->How can I configure OS/2 Warp Connect or - OS/2 Warp 4 as a client for Samba?</A -></H2 -><P ->A more complete answer to this question can be - found on <A -HREF="http://carol.wins.uva.nl/~leeuw/samba/warp.html" -TARGET="_top" -> http://carol.wins.uva.nl/~leeuw/samba/warp.html</A ->.</P -><P ->Basically, you need three components:</P -><P -></P -><UL -><LI -><P ->The File and Print Client ('IBM Peer') - </P -></LI -><LI -><P ->TCP/IP ('Internet support') - </P -></LI -><LI -><P ->The "NetBIOS over TCP/IP" driver ('TCPBEUI') - </P -></LI -></UL -><P ->Installing the first two together with the base operating - system on a blank system is explained in the Warp manual. If Warp - has already been installed, but you now want to install the - networking support, use the "Selective Install for Networking" - object in the "System Setup" folder.</P -><P ->Adding the "NetBIOS over TCP/IP" driver is not described - in the manual and just barely in the online documentation. Start - MPTS.EXE, click on OK, click on "Configure LAPS" and click - on "IBM OS/2 NETBIOS OVER TCP/IP" in 'Protocols'. This line - is then moved to 'Current Configuration'. Select that line, - click on "Change number" and increase it from 0 to 1. Save this - configuration.</P -><P ->If the Samba server(s) is not on your local subnet, you - can optionally add IP names and addresses of these servers - to the "Names List", or specify a WINS server ('NetBIOS - Nameserver' in IBM and RFC terminology). For Warp Connect you - may need to download an update for 'IBM Peer' to bring it on - the same level as Warp 4. See the webpage mentioned above.</P -></DIV -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN20" ->How can I configure OS/2 Warp 3 (not Connect), - OS/2 1.2, 1.3 or 2.x for Samba?</A -></H2 -><P ->You can use the free Microsoft LAN Manager 2.2c Client - for OS/2 from - <A -HREF="ftp://ftp.microsoft.com/BusSys/Clients/LANMAN.OS2/" -TARGET="_top" -> ftp://ftp.microsoft.com/BusSys/Clients/LANMAN.OS2/</A ->. - See <A -HREF="http://carol.wins.uva.nl/~leeuw/lanman.html" -TARGET="_top" -> http://carol.wins.uva.nl/~leeuw/lanman.html</A -> for - more information on how to install and use this client. In - a nutshell, edit the file \OS2VER in the root directory of - the OS/2 boot partition and add the lines:</P -><P -><PRE -CLASS="PROGRAMLISTING" -> 20=setup.exe - 20=netwksta.sys - 20=netvdd.sys - </PRE -></P -><P ->before you install the client. Also, don't use the - included NE2000 driver because it is buggy. Try the NE2000 - or NS2000 driver from - <A -HREF="ftp://ftp.cdrom.com/pub/os2/network/ndis/" -TARGET="_top" -> ftp://ftp.cdrom.com/pub/os2/network/ndis/</A -> instead. - </P -></DIV -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN29" ->Are there any other issues when OS/2 (any version) - is used as a client?</A -></H2 -><P ->When you do a NET VIEW or use the "File and Print - Client Resource Browser", no Samba servers show up. This can - be fixed by a patch from <A -HREF="http://carol.wins.uva.nl/~leeuw/samba/fix.html" -TARGET="_top" -> http://carol.wins.uva.nl/~leeuw/samba/fix.html</A ->. - The patch will be included in a later version of Samba. It also - fixes a couple of other problems, such as preserving long - filenames when objects are dragged from the Workplace Shell - to the Samba server. </P -></DIV -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN33" ->How do I get printer driver download working - for OS/2 clients?</A -></H2 -><P ->First, create a share called [PRINTDRV] that is - world-readable. Copy your OS/2 driver files there. Note - that the .EA_ files must still be separate, so you will need - to use the original install files, and not copy an installed - driver from an OS/2 system.</P -><P ->Install the NT driver first for that printer. Then, - add to your smb.conf a parameter, "os2 driver map = - <TT -CLASS="REPLACEABLE" -><I ->filename</I -></TT ->". Then, in the file - specified by <TT -CLASS="REPLACEABLE" -><I ->filename</I -></TT ->, map the - name of the NT driver name to the OS/2 driver name as - follows:</P -><P -><nt driver name> = <os2 driver - name>.<device name>, e.g.: - HP LaserJet 5L = LASERJET.HP LaserJet 5L</P -><P ->You can have multiple drivers mapped in this file.</P -><P ->If you only specify the OS/2 driver name, and not the - device name, the first attempt to download the driver will - actually download the files, but the OS/2 client will tell - you the driver is not available. On the second attempt, it - will work. This is fixed simply by adding the device name - to the mapping, after which it will work on the first attempt. - </P -></DIV -></DIV -></DIV -></BODY -></HTML ->
\ No newline at end of file diff --git a/docs/htmldocs/PAM-Authentication-And-Samba.html b/docs/htmldocs/PAM-Authentication-And-Samba.html deleted file mode 100644 index 6dc815b87b..0000000000 --- a/docs/htmldocs/PAM-Authentication-And-Samba.html +++ /dev/null @@ -1,318 +0,0 @@ -<HTML -><HEAD -><TITLE ->Configuring PAM for distributed but centrally -managed authentication</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD -><BODY -CLASS="ARTICLE" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="ARTICLE" -><DIV -CLASS="TITLEPAGE" -><H1 -CLASS="TITLE" -><A -NAME="PAM" ->Configuring PAM for distributed but centrally -managed authentication</A -></H1 -><HR></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN3" ->Samba and PAM</A -></H1 -><P ->A number of Unix systems (eg: Sun Solaris), as well as the -xxxxBSD family and Linux, now utilize the Pluggable Authentication -Modules (PAM) facility to provide all authentication, -authorization and resource control services. Prior to the -introduction of PAM, a decision to use an alternative to -the system password database (<TT -CLASS="FILENAME" ->/etc/passwd</TT ->) -would require the provision of alternatives for all programs that provide -security services. Such a choice would involve provision of -alternatives to such programs as: <B -CLASS="COMMAND" ->login</B ->, -<B -CLASS="COMMAND" ->passwd</B ->, <B -CLASS="COMMAND" ->chown</B ->, etc.</P -><P ->PAM provides a mechanism that disconnects these security programs -from the underlying authentication/authorization infrastructure. -PAM is configured either through one file <TT -CLASS="FILENAME" ->/etc/pam.conf</TT -> (Solaris), -or by editing individual files that are located in <TT -CLASS="FILENAME" ->/etc/pam.d</TT ->.</P -><P ->The following is an example <TT -CLASS="FILENAME" ->/etc/pam.d/login</TT -> configuration file. -This example had all options been uncommented is probably not usable -as it stacks many conditions before allowing successful completion -of the login process. Essentially all conditions can be disabled -by commenting them out except the calls to <TT -CLASS="FILENAME" ->pam_pwdb.so</TT ->.</P -><P -><PRE -CLASS="PROGRAMLISTING" ->#%PAM-1.0 -# The PAM configuration file for the `login' service -# -auth required pam_securetty.so -auth required pam_nologin.so -# auth required pam_dialup.so -# auth optional pam_mail.so -auth required pam_pwdb.so shadow md5 -# account requisite pam_time.so -account required pam_pwdb.so -session required pam_pwdb.so -# session optional pam_lastlog.so -# password required pam_cracklib.so retry=3 -password required pam_pwdb.so shadow md5</PRE -></P -><P ->PAM allows use of replacable modules. Those available on a -sample system include:</P -><P -><PRE -CLASS="PROGRAMLISTING" ->$ /bin/ls /lib/security -pam_access.so pam_ftp.so pam_limits.so -pam_ncp_auth.so pam_rhosts_auth.so pam_stress.so -pam_cracklib.so pam_group.so pam_listfile.so -pam_nologin.so pam_rootok.so pam_tally.so -pam_deny.so pam_issue.so pam_mail.so -pam_permit.so pam_securetty.so pam_time.so -pam_dialup.so pam_lastlog.so pam_mkhomedir.so -pam_pwdb.so pam_shells.so pam_unix.so -pam_env.so pam_ldap.so pam_motd.so -pam_radius.so pam_smbpass.so pam_unix_acct.so -pam_wheel.so pam_unix_auth.so pam_unix_passwd.so -pam_userdb.so pam_warn.so pam_unix_session.so</PRE -></P -><P ->The following example for the login program replaces the use of -the <TT -CLASS="FILENAME" ->pam_pwdb.so</TT -> module which uses the system -password database (<TT -CLASS="FILENAME" ->/etc/passwd</TT ->, -<TT -CLASS="FILENAME" ->/etc/shadow</TT ->, <TT -CLASS="FILENAME" ->/etc/group</TT ->) with -the module <TT -CLASS="FILENAME" ->pam_smbpass.so</TT -> which uses the Samba -database which contains the Microsoft MD4 encrypted password -hashes. This database is stored in either -<TT -CLASS="FILENAME" ->/usr/local/samba/private/smbpasswd</TT ->, -<TT -CLASS="FILENAME" ->/etc/samba/smbpasswd</TT ->, or in -<TT -CLASS="FILENAME" ->/etc/samba.d/smbpasswd</TT ->, depending on the -Samba implementation for your Unix/Linux system. The -<TT -CLASS="FILENAME" ->pam_smbpass.so</TT -> module is provided by -Samba version 2.2.1 or later. It can be compiled by specifying the -<B -CLASS="COMMAND" ->--with-pam_smbpass</B -> options when running Samba's -<TT -CLASS="FILENAME" ->configure</TT -> script. For more information -on the <TT -CLASS="FILENAME" ->pam_smbpass</TT -> module, see the documentation -in the <TT -CLASS="FILENAME" ->source/pam_smbpass</TT -> directory of the Samba -source distribution.</P -><P -><PRE -CLASS="PROGRAMLISTING" ->#%PAM-1.0 -# The PAM configuration file for the `login' service -# -auth required pam_smbpass.so nodelay -account required pam_smbpass.so nodelay -session required pam_smbpass.so nodelay -password required pam_smbpass.so nodelay</PRE -></P -><P ->The following is the PAM configuration file for a particular -Linux system. The default condition uses <TT -CLASS="FILENAME" ->pam_pwdb.so</TT ->.</P -><P -><PRE -CLASS="PROGRAMLISTING" ->#%PAM-1.0 -# The PAM configuration file for the `samba' service -# -auth required /lib/security/pam_pwdb.so nullok nodelay shadow audit -account required /lib/security/pam_pwdb.so audit nodelay -session required /lib/security/pam_pwdb.so nodelay -password required /lib/security/pam_pwdb.so shadow md5</PRE -></P -><P ->In the following example the decision has been made to use the -smbpasswd database even for basic samba authentication. Such a -decision could also be made for the passwd program and would -thus allow the smbpasswd passwords to be changed using the passwd -program.</P -><P -><PRE -CLASS="PROGRAMLISTING" ->#%PAM-1.0 -# The PAM configuration file for the `samba' service -# -auth required /lib/security/pam_smbpass.so nodelay -account required /lib/security/pam_pwdb.so audit nodelay -session required /lib/security/pam_pwdb.so nodelay -password required /lib/security/pam_smbpass.so nodelay smbconf=/etc/samba.d/smb.conf</PRE -></P -><P ->Note: PAM allows stacking of authentication mechanisms. It is -also possible to pass information obtained within on PAM module through -to the next module in the PAM stack. Please refer to the documentation for -your particular system implementation for details regarding the specific -capabilities of PAM in this environment. Some Linux implmentations also -provide the <TT -CLASS="FILENAME" ->pam_stack.so</TT -> module that allows all -authentication to be configured in a single central file. The -<TT -CLASS="FILENAME" ->pam_stack.so</TT -> method has some very devoted followers -on the basis that it allows for easier administration. As with all issues in -life though, every decision makes trade-offs, so you may want examine the -PAM documentation for further helpful information.</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN47" ->Distributed Authentication</A -></H1 -><P ->The astute administrator will realize from this that the -combination of <TT -CLASS="FILENAME" ->pam_smbpass.so</TT ->, -<B -CLASS="COMMAND" ->winbindd</B ->, and <B -CLASS="COMMAND" ->rsync</B -> (see -<A -HREF="http://rsync.samba.org/" -TARGET="_top" ->http://rsync.samba.org/</A ->) -will allow the establishment of a centrally managed, distributed -user/password database that can also be used by all -PAM (eg: Linux) aware programs and applications. This arrangement -can have particularly potent advantages compared with the -use of Microsoft Active Directory Service (ADS) in so far as -reduction of wide area network authentication traffic.</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN54" ->PAM Configuration in smb.conf</A -></H1 -><P ->There is an option in smb.conf called <A -HREF="smb.conf.5.html#OBEYPAMRESTRICTIONS" -TARGET="_top" ->obey pam restrictions</A ->. -The following is from the on-line help for this option in SWAT;</P -><P ->When Samba 2.2 is configure to enable PAM support (i.e. -<TT -CLASS="CONSTANT" ->--with-pam</TT ->), this parameter will -control whether or not Samba should obey PAM's account -and session management directives. The default behavior -is to use PAM for clear text authentication only and to -ignore any account or session management. Note that Samba always -ignores PAM for authentication in the case of -<A -HREF="smb.conf.5.html#ENCRYPTPASSWORDS" -TARGET="_top" ->encrypt passwords = yes</A ->. -The reason is that PAM modules cannot support the challenge/response -authentication mechanism needed in the presence of SMB -password encryption. </P -><P ->Default: <B -CLASS="COMMAND" ->obey pam restrictions = no</B -></P -></DIV -></DIV -></BODY -></HTML ->
\ No newline at end of file diff --git a/docs/htmldocs/Printing.html b/docs/htmldocs/Printing.html deleted file mode 100644 index 6c8b196240..0000000000 --- a/docs/htmldocs/Printing.html +++ /dev/null @@ -1,408 +0,0 @@ -<HTML -><HEAD -><TITLE ->Debugging Printing Problems</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD -><BODY -CLASS="ARTICLE" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="ARTICLE" -><DIV -CLASS="TITLEPAGE" -><H1 -CLASS="TITLE" -><A -NAME="PRINTING_DEBUG" ->Debugging Printing Problems</A -></H1 -><HR></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN3" ->Introduction</A -></H1 -><P ->This is a short description of how to debug printing problems with -Samba. This describes how to debug problems with printing from a SMB -client to a Samba server, not the other way around. For the reverse -see the examples/printing directory.</P -><P ->Ok, so you want to print to a Samba server from your PC. The first -thing you need to understand is that Samba does not actually do any -printing itself, it just acts as a middleman between your PC client -and your Unix printing subsystem. Samba receives the file from the PC -then passes the file to a external "print command". What print command -you use is up to you.</P -><P ->The whole things is controlled using options in smb.conf. The most -relevant options (which you should look up in the smb.conf man page) -are:</P -><P -><PRE -CLASS="PROGRAMLISTING" -> [global] - print command - send a file to a spooler - lpq command - get spool queue status - lprm command - remove a job - [printers] - path = /var/spool/lpd/samba</PRE -></P -><P ->The following are nice to know about:</P -><P -><PRE -CLASS="PROGRAMLISTING" -> queuepause command - stop a printer or print queue - queueresume command - start a printer or print queue</PRE -></P -><P ->Example:</P -><P -><PRE -CLASS="PROGRAMLISTING" -> print command = /usr/bin/lpr -r -P%p %s - lpq command = /usr/bin/lpq -P%p %s - lprm command = /usr/bin/lprm -P%p %j - queuepause command = /usr/sbin/lpc -P%p stop - queuepause command = /usr/sbin/lpc -P%p start</PRE -></P -><P ->Samba should set reasonable defaults for these depending on your -system type, but it isn't clairvoyant. It is not uncommon that you -have to tweak these for local conditions. The commands should -always have fully specified pathnames, as the smdb may not have -the correct PATH values.</P -><P ->When you send a job to Samba to be printed, it will make a temporary -copy of it in the directory specified in the [printers] section. -and it should be periodically cleaned out. The lpr -r option -requests that the temporary copy be removed after printing; If -printing fails then you might find leftover files in this directory, -and it should be periodically cleaned out. Samba used the lpq -command to determine the "job number" assigned to your print job -by the spooler.</P -><P ->The %>letter< are "macros" that get dynamically replaced with appropriate -values when they are used. The %s gets replaced with the name of the spool -file that Samba creates and the %p gets replaced with the name of the -printer. The %j gets replaced with the "job number" which comes from -the lpq output.</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN19" ->Debugging printer problems</A -></H1 -><P ->One way to debug printing problems is to start by replacing these -command with shell scripts that record the arguments and the contents -of the print file. A simple example of this kind of things might -be:</P -><P -><PRE -CLASS="PROGRAMLISTING" -> print command = /tmp/saveprint %p %s - - #!/bin/saveprint - # we make sure that we are the right user - /usr/bin/id -p >/tmp/tmp.print - # we run the command and save the error messages - # replace the command with the one appropriate for your system - /usr/bin/lpr -r -P$1 $2 2>>&/tmp/tmp.print</PRE -></P -><P ->Then you print a file and try removing it. You may find that the -print queue needs to be stopped in order to see the queue status -and remove the job:</P -><P -><PRE -CLASS="PROGRAMLISTING" -> h4: {42} % echo hi >/tmp/hi -h4: {43} % smbclient //localhost/lw4 -added interface ip=10.0.0.4 bcast=10.0.0.255 nmask=255.255.255.0 -Password: -Domain=[ASTART] OS=[Unix] Server=[Samba 2.0.7] -smb: \> print /tmp/hi -putting file /tmp/hi as hi-17534 (0.0 kb/s) (average 0.0 kb/s) -smb: \> queue -1049 3 hi-17534 -smb: \> cancel 1049 -Error cancelling job 1049 : code 0 -smb: \> cancel 1049 -Job 1049 cancelled -smb: \> queue -smb: \> exit</PRE -></P -><P ->The 'code 0' indicates that the job was removed. The comment -by the smbclient is a bit misleading on this. -You can observe the command output and then and look at the -/tmp/tmp.print file to see what the results are. You can quickly -find out if the problem is with your printing system. Often people -have problems with their /etc/printcap file or permissions on -various print queues.</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN28" ->What printers do I have?</A -></H1 -><P ->You can use the 'testprns' program to check to see if the printer -name you are using is recognized by Samba. For example, you can -use:</P -><P -><PRE -CLASS="PROGRAMLISTING" -> testprns printer /etc/printcap</PRE -></P -><P ->Samba can get its printcap information from a file or from a program. -You can try the following to see the format of the extracted -information:</P -><P -><PRE -CLASS="PROGRAMLISTING" -> testprns -a printer /etc/printcap - - testprns -a printer '|/bin/cat printcap'</PRE -></P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN36" ->Setting up printcap and print servers</A -></H1 -><P ->You may need to set up some printcaps for your Samba system to use. -It is strongly recommended that you use the facilities provided by -the print spooler to set up queues and printcap information.</P -><P ->Samba requires either a printcap or program to deliver printcap -information. This printcap information has the format:</P -><P -><PRE -CLASS="PROGRAMLISTING" -> name|alias1|alias2...:option=value:...</PRE -></P -><P ->For almost all printing systems, the printer 'name' must be composed -only of alphanumeric or underscore '_' characters. Some systems also -allow hyphens ('-') as well. An alias is an alternative name for the -printer, and an alias with a space in it is used as a 'comment' -about the printer. The printcap format optionally uses a \ at the end of lines -to extend the printcap to multiple lines.</P -><P ->Here are some examples of printcap files:</P -><P -><P -></P -><OL -TYPE="1" -><LI -><P ->pr just printer name</P -></LI -><LI -><P ->pr|alias printer name and alias</P -></LI -><LI -><P ->pr|My Printer printer name, alias used as comment</P -></LI -><LI -><P ->pr:sh:\ Same as pr:sh:cm= testing - :cm= \ - testing</P -></LI -><LI -><P ->pr:sh Same as pr:sh:cm= testing - :cm= testing</P -></LI -></OL -></P -><P ->Samba reads the printcap information when first started. If you make -changes in the printcap information, then you must do the following:</P -><P -></P -><OL -TYPE="1" -><LI -><P ->make sure that the print spooler is aware of these changes. -The LPRng system uses the 'lpc reread' command to do this.</P -></LI -><LI -><P ->make sure that the spool queues, etc., exist and have the -correct permissions. The LPRng system uses the 'checkpc -f' -command to do this.</P -></LI -><LI -><P ->You now should send a SIGHUP signal to the smbd server to have -it reread the printcap information.</P -></LI -></OL -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN64" ->Job sent, no output</A -></H1 -><P ->This is the most frustrating part of printing. You may have sent the -job, verified that the job was forwarded, set up a wrapper around -the command to send the file, but there was no output from the printer.</P -><P ->First, check to make sure that the job REALLY is getting to the -right print queue. If you are using a BSD or LPRng print spooler, -you can temporarily stop the printing of jobs. Jobs can still be -submitted, but they will not be printed. Use:</P -><P -><PRE -CLASS="PROGRAMLISTING" -> lpc -Pprinter stop</PRE -></P -><P ->Now submit a print job and then use 'lpq -Pprinter' to see if the -job is in the print queue. If it is not in the print queue then -you will have to find out why it is not being accepted for printing.</P -><P ->Next, you may want to check to see what the format of the job really -was. With the assistance of the system administrator you can view -the submitted jobs files. You may be surprised to find that these -are not in what you would expect to call a printable format. -You can use the UNIX 'file' utitily to determine what the job -format actually is:</P -><P -><PRE -CLASS="PROGRAMLISTING" -> cd /var/spool/lpd/printer # spool directory of print jobs - ls # find job files - file dfA001myhost</PRE -></P -><P ->You should make sure that your printer supports this format OR that -your system administrator has installed a 'print filter' that will -convert the file to a format appropriate for your printer.</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN75" ->Job sent, strange output</A -></H1 -><P ->Once you have the job printing, you can then start worrying about -making it print nicely.</P -><P ->The most common problem is extra pages of output: banner pages -OR blank pages at the end.</P -><P ->If you are getting banner pages, check and make sure that the -printcap option or printer option is configured for no banners. -If you have a printcap, this is the :sh (suppress header or banner -page) option. You should have the following in your printer.</P -><P -><PRE -CLASS="PROGRAMLISTING" -> printer: ... :sh</PRE -></P -><P ->If you have this option and are still getting banner pages, there -is a strong chance that your printer is generating them for you -automatically. You should make sure that banner printing is disabled -for the printer. This usually requires using the printer setup software -or procedures supplied by the printer manufacturer.</P -><P ->If you get an extra page of output, this could be due to problems -with your job format, or if you are generating PostScript jobs, -incorrect setting on your printer driver on the MicroSoft client. -For example, under Win95 there is a option:</P -><P -><PRE -CLASS="PROGRAMLISTING" -> Printers|Printer Name|(Right Click)Properties|Postscript|Advanced|</PRE -></P -><P ->that allows you to choose if a Ctrl-D is appended to all jobs. -This is a very bad thing to do, as most spooling systems will -automatically add a ^D to the end of the job if it is detected as -PostScript. The multiple ^D may cause an additional page of output.</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN87" ->Raw PostScript printed</A -></H1 -><P ->This is a problem that is usually caused by either the print spooling -system putting information at the start of the print job that makes -the printer think the job is a text file, or your printer simply -does not support PostScript. You may need to enable 'Automatic -Format Detection' on your printer.</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN90" ->Advanced Printing</A -></H1 -><P ->Note that you can do some pretty magic things by using your -imagination with the "print command" option and some shell scripts. -Doing print accounting is easy by passing the %U option to a print -command shell script. You could even make the print command detect -the type of output and its size and send it to an appropriate -printer.</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN93" ->Real debugging</A -></H1 -><P ->If the above debug tips don't help, then maybe you need to bring in -the bug guns, system tracing. See Tracing.txt in this directory.</P -></DIV -></DIV -></BODY -></HTML ->
\ No newline at end of file diff --git a/docs/htmldocs/Samba-BDC-HOWTO.html b/docs/htmldocs/Samba-BDC-HOWTO.html deleted file mode 100644 index fd83c4e09a..0000000000 --- a/docs/htmldocs/Samba-BDC-HOWTO.html +++ /dev/null @@ -1,245 +0,0 @@ -<HTML -><HEAD -><TITLE ->How to Act as a Backup Domain Controller in a Purely Samba Controlled Domain</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD -><BODY -CLASS="ARTICLE" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="ARTICLE" -><DIV -CLASS="TITLEPAGE" -><H1 -CLASS="TITLE" -><A -NAME="SAMBA-BDC" ->How to Act as a Backup Domain Controller in a Purely Samba Controlled Domain</A -></H1 -><HR></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN3" ->Prerequisite Reading</A -></H1 -><P ->Before you continue reading in this chapter, please make sure -that you are comfortable with configuring a Samba PDC -as described in the <A -HREF="Samba-PDC-HOWTO.html" -TARGET="_top" ->Samba-PDC-HOWTO</A ->.</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN7" ->Background</A -></H1 -><P ->What is a Domain Controller? It is a machine that is able to answer -logon requests from workstations in a Windows NT Domain. Whenever a -user logs into a Windows NT Workstation, the workstation connects to a -Domain Controller and asks him whether the username and password the -user typed in is correct. The Domain Controller replies with a lot of -information about the user, for example the place where the users -profile is stored, the users full name of the user. All this -information is stored in the NT user database, the so-called SAM.</P -><P ->There are two kinds of Domain Controller in a NT 4 compatible Domain: -A Primary Domain Controller (PDC) and one or more Backup Domain -Controllers (BDC). The PDC contains the master copy of the -SAM. Whenever the SAM has to change, for example when a user changes -his password, this change has to be done on the PDC. A Backup Domain -Controller is a machine that maintains a read-only copy of the -SAM. This way it is able to reply to logon requests and authenticate -users in case the PDC is not available. During this time no changes to -the SAM are possible. Whenever changes to the SAM are done on the PDC, -all BDC receive the changes from the PDC.</P -><P ->Since version 2.2 Samba officially supports domain logons for all -current Windows Clients, including Windows 2000 and XP. This text -assumes the domain to be named SAMBA. To be able to act as a PDC, some -parameters in the [global]-section of the smb.conf have to be set:</P -><P -><PRE -CLASS="PROGRAMLISTING" ->workgroup = SAMBA -domain master = yes -domain logons = yes</PRE -></P -><P ->Several other things like a [homes] and a [netlogon] share also may be -set along with settings for the profile path, the users home drive and -others. This will not be covered in this document.</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN15" ->What qualifies a Domain Controller on the network?</A -></H1 -><P ->Every machine that is a Domain Controller for the domain SAMBA has to -register the NetBIOS group name SAMBA#1c with the WINS server and/or -by broadcast on the local network. The PDC also registers the unique -NetBIOS name SAMBA#1b with the WINS server. The name type #1b is -normally reserved for the domain master browser, a role that has -nothing to do with anything related to authentication, but the -Microsoft Domain implementation requires the domain master browser to -be on the same machine as the PDC.</P -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN18" ->How does a Workstation find its domain controller?</A -></H2 -><P ->A NT workstation in the domain SAMBA that wants a local user to be -authenticated has to find the domain controller for SAMBA. It does -this by doing a NetBIOS name query for the group name SAMBA#1c. It -assumes that each of the machines it gets back from the queries is a -domain controller and can answer logon requests. To not open security -holes both the workstation and the selected (TODO: How is the DC -chosen) domain controller authenticate each other. After that the -workstation sends the user's credentials (his name and password) to -the domain controller, asking for approval.</P -></DIV -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN21" ->When is the PDC needed?</A -></H2 -><P ->Whenever a user wants to change his password, this has to be done on -the PDC. To find the PDC, the workstation does a NetBIOS name query -for SAMBA#1b, assuming this machine maintains the master copy of the -SAM. The workstation contacts the PDC, both mutually authenticate and -the password change is done.</P -></DIV -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN24" ->Can Samba be a Backup Domain Controller?</A -></H1 -><P ->With version 2.2, no. The native NT SAM replication protocols have -not yet been fully implemented. The Samba Team is working on -understanding and implementing the protocols, but this work has not -been finished for version 2.2.</P -><P ->Can I get the benefits of a BDC with Samba? Yes. The main reason for -implementing a BDC is availability. If the PDC is a Samba machine, -a second Samba machine can be set up to -service logon requests whenever the PDC is down.</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN28" ->How do I set up a Samba BDC?</A -></H1 -><P ->Several things have to be done:</P -><P -></P -><UL -><LI -><P ->The file private/MACHINE.SID identifies the domain. When a samba -server is first started, it is created on the fly and must never be -changed again. This file has to be the same on the PDC and the BDC, -so the MACHINE.SID has to be copied from the PDC to the BDC.</P -></LI -><LI -><P ->The Unix user database has to be synchronized from the PDC to the -BDC. This means that both the /etc/passwd and /etc/group have to be -replicated from the PDC to the BDC. This can be done manually -whenever changes are made, or the PDC is set up as a NIS master -server and the BDC as a NIS slave server. To set up the BDC as a -mere NIS client would not be enough, as the BDC would not be able to -access its user database in case of a PDC failure.</P -></LI -><LI -><P ->The Samba password database in the file private/smbpasswd has to be -replicated from the PDC to the BDC. This is a bit tricky, see the -next section.</P -></LI -><LI -><P ->Any netlogon share has to be replicated from the PDC to the -BDC. This can be done manually whenever login scripts are changed, -or it can be done automatically together with the smbpasswd -synchronization.</P -></LI -></UL -><P ->Finally, the BDC has to be found by the workstations. This can be done -by setting</P -><P -><PRE -CLASS="PROGRAMLISTING" ->workgroup = samba -domain master = no -domain logons = yes</PRE -></P -><P ->in the [global]-section of the smb.conf of the BDC. This makes the BDC -only register the name SAMBA#1c with the WINS server. This is no -problem as the name SAMBA#1c is a NetBIOS group name that is meant to -be registered by more than one machine. The parameter 'domain master = -no' forces the BDC not to register SAMBA#1b which as a unique NetBIOS -name is reserved for the Primary Domain Controller.</P -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN44" ->How do I replicate the smbpasswd file?</A -></H2 -><P ->Replication of the smbpasswd file is sensitive. It has to be done -whenever changes to the SAM are made. Every user's password change is -done in the smbpasswd file and has to be replicated to the BDC. So -replicating the smbpasswd file very often is necessary.</P -><P ->As the smbpasswd file contains plain text password equivalents, it -must not be sent unencrypted over the wire. The best way to set up -smbpasswd replication from the PDC to the BDC is to use the utility -rsync. rsync can use ssh as a transport. ssh itself can be set up to -accept *only* rsync transfer without requiring the user to type a -password.</P -></DIV -></DIV -></DIV -></BODY -></HTML ->
\ No newline at end of file diff --git a/docs/htmldocs/Samba-HOWTO-Collection.html b/docs/htmldocs/Samba-HOWTO-Collection.html index 71e27a2e80..e5240ba658 100644 --- a/docs/htmldocs/Samba-HOWTO-Collection.html +++ b/docs/htmldocs/Samba-HOWTO-Collection.html @@ -1,12 +1,11 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >SAMBA Project Documentation</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+ -"></HEAD +CONTENT="Modular DocBook HTML Stylesheet Version 1.77"></HEAD ><BODY CLASS="BOOK" BGCOLOR="#FFFFFF" @@ -17,24 +16,35 @@ ALINK="#0000FF" ><DIV CLASS="BOOK" ><A -NAME="SAMBA-PROJECT-DOCUMENTATION"><DIV +NAME="SAMBA-PROJECT-DOCUMENTATION" +></A +><DIV CLASS="TITLEPAGE" ><H1 CLASS="TITLE" ><A -NAME="SAMBA-PROJECT-DOCUMENTATION">SAMBA Project Documentation</H1 +NAME="SAMBA-PROJECT-DOCUMENTATION" +></A +>SAMBA Project Documentation</H1 ><H3 CLASS="AUTHOR" ><A -NAME="AEN4">SAMBA Team</H3 +NAME="AEN4" +></A +>SAMBA Team</H3 ><HR></DIV ><HR><H1 ><A -NAME="AEN8">Abstract</H1 +NAME="AEN8" +></A +>Abstract</H1 ><P +><SPAN +CLASS="emphasis" ><I CLASS="EMPHASIS" >Last Update</I +></SPAN > : Thu Aug 15 12:48:45 CDT 2002</P ><P >This book is a collection of HOWTOs added to Samba documentation over the years. @@ -68,34 +78,34 @@ CLASS="TOC" >Table of Contents</B ></DT ><DT -><A +>1. <A HREF="#INSTALL" >How to Install and Test SAMBA</A ></DT ><DD ><DL ><DT -><A +>1.1. <A HREF="#AEN20" >Step 0: Read the man pages</A ></DT ><DT -><A +>1.2. <A HREF="#AEN28" >Step 1: Building the Binaries</A ></DT ><DT -><A +>1.3. <A HREF="#AEN56" >Step 2: The all important step</A ></DT ><DT -><A +>1.4. <A HREF="#AEN60" >Step 3: Create the smb configuration file.</A ></DT ><DT -><A +>1.5. <A HREF="#AEN74" >Step 4: Test your config file with <B @@ -104,75 +114,75 @@ CLASS="COMMAND" ></A ></DT ><DT -><A +>1.6. <A HREF="#AEN80" >Step 5: Starting the smbd and nmbd</A ></DT ><DD ><DL ><DT -><A +>1.6.1. <A HREF="#AEN90" >Step 5a: Starting from inetd.conf</A ></DT ><DT -><A +>1.6.2. <A HREF="#AEN119" >Step 5b. Alternative: starting it as a daemon</A ></DT ></DL ></DD ><DT -><A +>1.7. <A HREF="#AEN135" >Step 6: Try listing the shares available on your server</A ></DT ><DT -><A +>1.8. <A HREF="#AEN144" >Step 7: Try connecting with the unix client</A ></DT ><DT -><A +>1.9. <A HREF="#AEN160" >Step 8: Try connecting from a DOS, WfWg, Win9x, WinNT, Win2k, OS/2, etc... client</A ></DT ><DT -><A +>1.10. <A HREF="#AEN174" >What If Things Don't Work?</A ></DT ><DD ><DL ><DT -><A +>1.10.1. <A HREF="#AEN179" >Diagnosing Problems</A ></DT ><DT -><A +>1.10.2. <A HREF="#AEN183" >Scope IDs</A ></DT ><DT -><A +>1.10.3. <A HREF="#AEN186" >Choosing the Protocol Level</A ></DT ><DT -><A +>1.10.4. <A HREF="#AEN195" >Printing from UNIX to a Client PC</A ></DT ><DT -><A +>1.10.5. <A HREF="#AEN200" >Locking</A ></DT ><DT -><A +>1.10.6. <A HREF="#AEN209" >Mapping Usernames</A ></DT @@ -181,139 +191,139 @@ HREF="#AEN209" ></DL ></DD ><DT -><A +>2. <A HREF="#DIAGNOSIS" >Diagnosing your samba server</A ></DT ><DD ><DL ><DT -><A +>2.1. <A HREF="#AEN223" >Introduction</A ></DT ><DT -><A +>2.2. <A HREF="#AEN228" >Assumptions</A ></DT ><DT -><A +>2.3. <A HREF="#AEN238" >Tests</A ></DT ><DD ><DL ><DT -><A +>2.3.1. <A HREF="#AEN240" >Test 1</A ></DT ><DT -><A +>2.3.2. <A HREF="#AEN246" >Test 2</A ></DT ><DT -><A +>2.3.3. <A HREF="#AEN252" >Test 3</A ></DT ><DT -><A +>2.3.4. <A HREF="#AEN267" >Test 4</A ></DT ><DT -><A +>2.3.5. <A HREF="#AEN272" >Test 5</A ></DT ><DT -><A +>2.3.6. <A HREF="#AEN278" >Test 6</A ></DT ><DT -><A +>2.3.7. <A HREF="#AEN286" >Test 7</A ></DT ><DT -><A +>2.3.8. <A HREF="#AEN312" >Test 8</A ></DT ><DT -><A +>2.3.9. <A HREF="#AEN329" >Test 9</A ></DT ><DT -><A -HREF="#AEN334" +>2.3.10. <A +HREF="#AEN337" >Test 10</A ></DT ><DT -><A -HREF="#AEN340" +>2.3.11. <A +HREF="#AEN343" >Test 11</A ></DT ></DL ></DD ><DT -><A -HREF="#AEN345" +>2.4. <A +HREF="#AEN348" >Still having troubles?</A ></DT ></DL ></DD ><DT -><A +>3. <A HREF="#INTEGRATE-MS-NETWORKS" >Integrating MS Windows networks with Samba</A ></DT ><DD ><DL ><DT -><A -HREF="#AEN362" +>3.1. <A +HREF="#AEN365" >Agenda</A ></DT ><DT -><A -HREF="#AEN384" +>3.2. <A +HREF="#AEN387" >Name Resolution in a pure Unix/Linux world</A ></DT ><DD ><DL ><DT -><A -HREF="#AEN400" +>3.2.1. <A +HREF="#AEN403" ><TT CLASS="FILENAME" >/etc/hosts</TT ></A ></DT ><DT -><A -HREF="#AEN416" +>3.2.2. <A +HREF="#AEN419" ><TT CLASS="FILENAME" >/etc/resolv.conf</TT ></A ></DT ><DT -><A -HREF="#AEN427" +>3.2.3. <A +HREF="#AEN430" ><TT CLASS="FILENAME" >/etc/host.conf</TT ></A ></DT ><DT -><A -HREF="#AEN435" +>3.2.4. <A +HREF="#AEN438" ><TT CLASS="FILENAME" >/etc/nsswitch.conf</TT @@ -322,79 +332,79 @@ CLASS="FILENAME" ></DL ></DD ><DT -><A -HREF="#AEN447" +>3.3. <A +HREF="#AEN450" >Name resolution as used within MS Windows networking</A ></DT ><DD ><DL ><DT -><A -HREF="#AEN459" +>3.3.1. <A +HREF="#AEN462" >The NetBIOS Name Cache</A ></DT ><DT -><A -HREF="#AEN464" +>3.3.2. <A +HREF="#AEN467" >The LMHOSTS file</A ></DT ><DT -><A -HREF="#AEN472" +>3.3.3. <A +HREF="#AEN475" >HOSTS file</A ></DT ><DT -><A -HREF="#AEN477" +>3.3.4. <A +HREF="#AEN480" >DNS Lookup</A ></DT ><DT -><A -HREF="#AEN480" +>3.3.5. <A +HREF="#AEN483" >WINS Lookup</A ></DT ></DL ></DD ><DT -><A -HREF="#AEN492" +>3.4. <A +HREF="#AEN495" >How browsing functions and how to deploy stable and dependable browsing using Samba</A ></DT ><DT -><A -HREF="#AEN502" +>3.5. <A +HREF="#AEN505" >MS Windows security options and how to configure Samba for seemless integration</A ></DT ><DD ><DL ><DT -><A -HREF="#AEN530" +>3.5.1. <A +HREF="#AEN533" >Use MS Windows NT as an authentication server</A ></DT ><DT -><A -HREF="#AEN538" +>3.5.2. <A +HREF="#AEN541" >Make Samba a member of an MS Windows NT security domain</A ></DT ><DT -><A -HREF="#AEN555" +>3.5.3. <A +HREF="#AEN558" >Configure Samba as an authentication server</A ></DT ></DL ></DD ><DT -><A -HREF="#AEN572" +>3.6. <A +HREF="#AEN575" >Conclusions</A ></DT ></DL ></DD ><DT -><A +>4. <A HREF="#PAM" >Configuring PAM for distributed but centrally managed authentication</A @@ -402,39 +412,39 @@ managed authentication</A ><DD ><DL ><DT -><A -HREF="#AEN593" +>4.1. <A +HREF="#AEN596" >Samba and PAM</A ></DT ><DT -><A -HREF="#AEN637" +>4.2. <A +HREF="#AEN640" >Distributed Authentication</A ></DT ><DT -><A -HREF="#AEN644" +>4.3. <A +HREF="#AEN647" >PAM Configuration in smb.conf</A ></DT ></DL ></DD ><DT -><A +>5. <A HREF="#MSDFS" >Hosting a Microsoft Distributed File System tree on Samba</A ></DT ><DD ><DL ><DT -><A -HREF="#AEN664" +>5.1. <A +HREF="#AEN667" >Instructions</A ></DT ><DD ><DL ><DT -><A -HREF="#AEN699" +>5.1.1. <A +HREF="#AEN702" >Notes</A ></DT ></DL @@ -442,144 +452,144 @@ HREF="#AEN699" ></DL ></DD ><DT -><A +>6. <A HREF="#UNIX-PERMISSIONS" >UNIX Permission Bits and Windows NT Access Control Lists</A ></DT ><DD ><DL ><DT -><A -HREF="#AEN719" +>6.1. <A +HREF="#AEN722" >Viewing and changing UNIX permissions using the NT security dialogs</A ></DT ><DT -><A -HREF="#AEN728" +>6.2. <A +HREF="#AEN731" >How to view file security on a Samba share</A ></DT ><DT -><A -HREF="#AEN739" +>6.3. <A +HREF="#AEN742" >Viewing file ownership</A ></DT ><DT -><A -HREF="#AEN759" +>6.4. <A +HREF="#AEN762" >Viewing file or directory permissions</A ></DT ><DD ><DL ><DT -><A -HREF="#AEN774" +>6.4.1. <A +HREF="#AEN777" >File Permissions</A ></DT ><DT -><A -HREF="#AEN788" +>6.4.2. <A +HREF="#AEN791" >Directory Permissions</A ></DT ></DL ></DD ><DT -><A -HREF="#AEN795" +>6.5. <A +HREF="#AEN798" >Modifying file or directory permissions</A ></DT ><DT -><A -HREF="#AEN817" +>6.6. <A +HREF="#AEN820" >Interaction with the standard Samba create mask parameters</A ></DT ><DT -><A -HREF="#AEN881" +>6.7. <A +HREF="#AEN884" >Interaction with the standard Samba file attribute mapping</A ></DT ></DL ></DD ><DT -><A +>7. <A HREF="#PRINTING" >Printing Support in Samba 2.2.x</A ></DT ><DD ><DL ><DT -><A -HREF="#AEN902" +>7.1. <A +HREF="#AEN905" >Introduction</A ></DT ><DT -><A -HREF="#AEN924" +>7.2. <A +HREF="#AEN927" >Configuration</A ></DT ><DD ><DL ><DT -><A -HREF="#AEN935" +>7.2.1. <A +HREF="#AEN938" >Creating [print$]</A ></DT ><DT -><A -HREF="#AEN970" +>7.2.2. <A +HREF="#AEN973" >Setting Drivers for Existing Printers</A ></DT ><DT -><A -HREF="#AEN987" +>7.2.3. <A +HREF="#AEN990" >Support a large number of printers</A ></DT ><DT -><A -HREF="#AEN998" +>7.2.4. <A +HREF="#AEN1001" >Adding New Printers via the Windows NT APW</A ></DT ><DT -><A -HREF="#AEN1028" +>7.2.5. <A +HREF="#AEN1031" >Samba and Printer Ports</A ></DT ></DL ></DD ><DT -><A -HREF="#AEN1036" +>7.3. <A +HREF="#AEN1039" >The Imprints Toolset</A ></DT ><DD ><DL ><DT -><A -HREF="#AEN1040" +>7.3.1. <A +HREF="#AEN1043" >What is Imprints?</A ></DT ><DT -><A -HREF="#AEN1050" +>7.3.2. <A +HREF="#AEN1053" >Creating Printer Driver Packages</A ></DT ><DT -><A -HREF="#AEN1053" +>7.3.3. <A +HREF="#AEN1056" >The Imprints server</A ></DT ><DT -><A -HREF="#AEN1057" +>7.3.4. <A +HREF="#AEN1060" >The Installation Client</A ></DT ></DL ></DD ><DT -><A -HREF="#AEN1079" +>7.4. <A +HREF="#AEN1082" ><A NAME="MIGRATION" ></A @@ -588,342 +598,342 @@ NAME="MIGRATION" ></DL ></DD ><DT -><A +>8. <A HREF="#PRINTINGDEBUG" >Debugging Printing Problems</A ></DT ><DD ><DL ><DT -><A -HREF="#AEN1125" +>8.1. <A +HREF="#AEN1128" >Introduction</A ></DT ><DT -><A -HREF="#AEN1141" +>8.2. <A +HREF="#AEN1144" >Debugging printer problems</A ></DT ><DT -><A -HREF="#AEN1150" +>8.3. <A +HREF="#AEN1153" >What printers do I have?</A ></DT ><DT -><A -HREF="#AEN1158" +>8.4. <A +HREF="#AEN1161" >Setting up printcap and print servers</A ></DT ><DT -><A -HREF="#AEN1186" +>8.5. <A +HREF="#AEN1189" >Job sent, no output</A ></DT ><DT -><A -HREF="#AEN1197" +>8.6. <A +HREF="#AEN1200" >Job sent, strange output</A ></DT ><DT -><A -HREF="#AEN1209" +>8.7. <A +HREF="#AEN1212" >Raw PostScript printed</A ></DT ><DT -><A -HREF="#AEN1212" +>8.8. <A +HREF="#AEN1215" >Advanced Printing</A ></DT ><DT -><A -HREF="#AEN1215" +>8.9. <A +HREF="#AEN1218" >Real debugging</A ></DT ></DL ></DD ><DT -><A +>9. <A HREF="#SECURITYLEVELS" >Security levels</A ></DT ><DD ><DL ><DT -><A -HREF="#AEN1228" +>9.1. <A +HREF="#AEN1231" >Introduction</A ></DT ><DT -><A -HREF="#AEN1239" +>9.2. <A +HREF="#AEN1242" >More complete description of security levels</A ></DT ></DL ></DD ><DT -><A +>10. <A HREF="#DOMAIN-SECURITY" >security = domain in Samba 2.x</A ></DT ><DD ><DL ><DT -><A -HREF="#AEN1272" +>10.1. <A +HREF="#AEN1275" >Joining an NT Domain with Samba 2.2</A ></DT ><DT -><A -HREF="#AEN1336" +>10.2. <A +HREF="#AEN1339" >Samba and Windows 2000 Domains</A ></DT ><DT -><A -HREF="#AEN1341" +>10.3. <A +HREF="#AEN1344" >Why is this better than security = server?</A ></DT ></DL ></DD ><DT -><A +>11. <A HREF="#WINBIND" >Unified Logons between Windows NT and UNIX using Winbind</A ></DT ><DD ><DL ><DT -><A -HREF="#AEN1394" +>11.1. <A +HREF="#AEN1397" >Abstract</A ></DT ><DT -><A -HREF="#AEN1398" +>11.2. <A +HREF="#AEN1401" >Introduction</A ></DT ><DT -><A -HREF="#AEN1411" +>11.3. <A +HREF="#AEN1414" >What Winbind Provides</A ></DT ><DD ><DL ><DT -><A -HREF="#AEN1418" +>11.3.1. <A +HREF="#AEN1421" >Target Uses</A ></DT ></DL ></DD ><DT -><A -HREF="#AEN1422" +>11.4. <A +HREF="#AEN1425" >How Winbind Works</A ></DT ><DD ><DL ><DT -><A -HREF="#AEN1427" +>11.4.1. <A +HREF="#AEN1430" >Microsoft Remote Procedure Calls</A ></DT ><DT -><A -HREF="#AEN1431" +>11.4.2. <A +HREF="#AEN1434" >Name Service Switch</A ></DT ><DT -><A -HREF="#AEN1447" +>11.4.3. <A +HREF="#AEN1450" >Pluggable Authentication Modules</A ></DT ><DT -><A -HREF="#AEN1455" +>11.4.4. <A +HREF="#AEN1458" >User and Group ID Allocation</A ></DT ><DT -><A -HREF="#AEN1459" +>11.4.5. <A +HREF="#AEN1462" >Result Caching</A ></DT ></DL ></DD ><DT -><A -HREF="#AEN1462" +>11.5. <A +HREF="#AEN1465" >Installation and Configuration</A ></DT ><DD ><DL ><DT -><A -HREF="#AEN1469" +>11.5.1. <A +HREF="#AEN1472" >Introduction</A ></DT ><DT -><A -HREF="#AEN1482" +>11.5.2. <A +HREF="#AEN1485" >Requirements</A ></DT ><DT -><A -HREF="#AEN1496" +>11.5.3. <A +HREF="#AEN1499" >Testing Things Out</A ></DT ></DL ></DD ><DT -><A -HREF="#AEN1711" +>11.6. <A +HREF="#AEN1714" >Limitations</A ></DT ><DT -><A -HREF="#AEN1721" +>11.7. <A +HREF="#AEN1724" >Conclusion</A ></DT ></DL ></DD ><DT -><A +>12. <A HREF="#SAMBA-PDC" >How to Configure Samba 2.2 as a Primary Domain Controller</A ></DT ><DD ><DL ><DT -><A -HREF="#AEN1741" +>12.1. <A +HREF="#AEN1744" >Prerequisite Reading</A ></DT ><DT -><A -HREF="#AEN1747" +>12.2. <A +HREF="#AEN1750" >Background</A ></DT ><DT -><A -HREF="#AEN1786" +>12.3. <A +HREF="#AEN1789" >Configuring the Samba Domain Controller</A ></DT ><DT -><A -HREF="#AEN1829" +>12.4. <A +HREF="#AEN1832" >Creating Machine Trust Accounts and Joining Clients to the Domain</A ></DT ><DD ><DL ><DT -><A -HREF="#AEN1848" +>12.4.1. <A +HREF="#AEN1851" >Manual Creation of Machine Trust Accounts</A ></DT ><DT -><A -HREF="#AEN1883" +>12.4.2. <A +HREF="#AEN1886" >"On-the-Fly" Creation of Machine Trust Accounts</A ></DT ><DT -><A -HREF="#AEN1892" +>12.4.3. <A +HREF="#AEN1895" >Joining the Client to the Domain</A ></DT ></DL ></DD ><DT -><A -HREF="#AEN1907" +>12.5. <A +HREF="#AEN1910" >Common Problems and Errors</A ></DT ><DT -><A -HREF="#AEN1955" +>12.6. <A +HREF="#AEN1958" >System Policies and Profiles</A ></DT ><DT -><A -HREF="#AEN1999" +>12.7. <A +HREF="#AEN2002" >What other help can I get?</A ></DT ><DT -><A -HREF="#AEN2113" +>12.8. <A +HREF="#AEN2116" >Domain Control for Windows 9x/ME</A ></DT ><DD ><DL ><DT -><A -HREF="#AEN2139" +>12.8.1. <A +HREF="#AEN2142" >Configuration Instructions: Network Logons</A ></DT ><DT -><A -HREF="#AEN2158" +>12.8.2. <A +HREF="#AEN2161" >Configuration Instructions: Setting up Roaming User Profiles</A ></DT ></DL ></DD ><DT -><A -HREF="#AEN2251" +>12.9. <A +HREF="#AEN2254" >DOMAIN_CONTROL.txt : Windows NT Domain Control & Samba</A ></DT ></DL ></DD ><DT -><A +>13. <A HREF="#SAMBA-BDC" >How to Act as a Backup Domain Controller in a Purely Samba Controlled Domain</A ></DT ><DD ><DL ><DT -><A -HREF="#AEN2287" +>13.1. <A +HREF="#AEN2290" >Prerequisite Reading</A ></DT ><DT -><A -HREF="#AEN2291" +>13.2. <A +HREF="#AEN2294" >Background</A ></DT ><DT -><A -HREF="#AEN2299" +>13.3. <A +HREF="#AEN2302" >What qualifies a Domain Controller on the network?</A ></DT ><DD ><DL ><DT -><A -HREF="#AEN2302" +>13.3.1. <A +HREF="#AEN2305" >How does a Workstation find its domain controller?</A ></DT ><DT -><A -HREF="#AEN2305" +>13.3.2. <A +HREF="#AEN2308" >When is the PDC needed?</A ></DT ></DL ></DD ><DT -><A -HREF="#AEN2308" +>13.4. <A +HREF="#AEN2311" >Can Samba be a Backup Domain Controller?</A ></DT ><DT -><A -HREF="#AEN2312" +>13.5. <A +HREF="#AEN2315" >How do I set up a Samba BDC?</A ></DT ><DD ><DL ><DT -><A -HREF="#AEN2329" +>13.5.1. <A +HREF="#AEN2332" >How do I replicate the smbpasswd file?</A ></DT ></DL @@ -931,377 +941,435 @@ HREF="#AEN2329" ></DL ></DD ><DT -><A +>14. <A HREF="#SAMBA-LDAP-HOWTO" >Storing Samba's User/Machine Account information in an LDAP Directory</A ></DT ><DD ><DL ><DT -><A -HREF="#AEN2350" +>14.1. <A +HREF="#AEN2353" >Purpose</A ></DT ><DT -><A -HREF="#AEN2370" +>14.2. <A +HREF="#AEN2373" >Introduction</A ></DT ><DT -><A -HREF="#AEN2399" +>14.3. <A +HREF="#AEN2402" >Supported LDAP Servers</A ></DT ><DT -><A -HREF="#AEN2404" +>14.4. <A +HREF="#AEN2407" >Schema and Relationship to the RFC 2307 posixAccount</A ></DT ><DT -><A -HREF="#AEN2416" +>14.5. <A +HREF="#AEN2419" >Configuring Samba with LDAP</A ></DT ><DD ><DL ><DT -><A -HREF="#AEN2418" +>14.5.1. <A +HREF="#AEN2421" >OpenLDAP configuration</A ></DT ><DT -><A -HREF="#AEN2435" +>14.5.2. <A +HREF="#AEN2438" >Configuring Samba</A ></DT ></DL ></DD ><DT -><A -HREF="#AEN2463" +>14.6. <A +HREF="#AEN2466" >Accounts and Groups management</A ></DT ><DT -><A -HREF="#AEN2468" +>14.7. <A +HREF="#AEN2471" >Security and sambaAccount</A ></DT ><DT -><A -HREF="#AEN2488" +>14.8. <A +HREF="#AEN2491" >LDAP specials attributes for sambaAccounts</A ></DT ><DT -><A -HREF="#AEN2558" +>14.9. <A +HREF="#AEN2561" >Example LDIF Entries for a sambaAccount</A ></DT ><DT -><A -HREF="#AEN2566" +>14.10. <A +HREF="#AEN2569" >Comments</A ></DT ></DL ></DD ><DT -><A +>15. <A +HREF="#ADS" +>Using samba 3.0 with ActiveDirectory support</A +></DT +><DD +><DL +><DT +>15.1. <A +HREF="#AEN2587" +>Installing the required packages for Debian</A +></DT +><DT +>15.2. <A +HREF="#AEN2593" +>Installing the required packages for RedHat</A +></DT +><DT +>15.3. <A +HREF="#AEN2602" +>Compile Samba</A +></DT +><DT +>15.4. <A +HREF="#AEN2614" +>Setup your /etc/krb5.conf</A +></DT +><DT +>15.5. <A +HREF="#AEN2624" +>Create the computer account</A +></DT +><DD +><DL +><DT +>15.5.1. <A +HREF="#AEN2628" +>Possible errors</A +></DT +></DL +></DD +><DT +>15.6. <A +HREF="#AEN2640" +>Test your server setup</A +></DT +><DT +>15.7. <A +HREF="#AEN2645" +>Testing with smbclient</A +></DT +><DT +>15.8. <A +HREF="#AEN2648" +>Notes</A +></DT +></DL +></DD +><DT +>16. <A HREF="#IMPROVED-BROWSING" >Improved browsing in samba</A ></DT ><DD ><DL ><DT -><A -HREF="#AEN2577" +>16.1. <A +HREF="#AEN2659" >Overview of browsing</A ></DT ><DT -><A -HREF="#AEN2581" +>16.2. <A +HREF="#AEN2663" >Browsing support in samba</A ></DT ><DT -><A -HREF="#AEN2590" +>16.3. <A +HREF="#AEN2672" >Problem resolution</A ></DT ><DT -><A -HREF="#AEN2597" +>16.4. <A +HREF="#AEN2679" >Browsing across subnets</A ></DT ><DD ><DL ><DT -><A -HREF="#AEN2602" +>16.4.1. <A +HREF="#AEN2684" >How does cross subnet browsing work ?</A ></DT ></DL ></DD ><DT -><A -HREF="#AEN2637" +>16.5. <A +HREF="#AEN2719" >Setting up a WINS server</A ></DT ><DT -><A -HREF="#AEN2656" +>16.6. <A +HREF="#AEN2738" >Setting up Browsing in a WORKGROUP</A ></DT ><DT -><A -HREF="#AEN2674" +>16.7. <A +HREF="#AEN2756" >Setting up Browsing in a DOMAIN</A ></DT ><DT -><A -HREF="#AEN2684" +>16.8. <A +HREF="#AEN2766" >Forcing samba to be the master</A ></DT ><DT -><A -HREF="#AEN2693" +>16.9. <A +HREF="#AEN2775" >Making samba the domain master</A ></DT ><DT -><A -HREF="#AEN2711" +>16.10. <A +HREF="#AEN2793" >Note about broadcast addresses</A ></DT ><DT -><A -HREF="#AEN2714" +>16.11. <A +HREF="#AEN2796" >Multiple interfaces</A ></DT ></DL ></DD ><DT -><A +>17. <A HREF="#SPEED" >Samba performance issues</A ></DT ><DD ><DL ><DT -><A -HREF="#AEN2732" +>17.1. <A +HREF="#AEN2814" >Comparisons</A ></DT ><DT -><A -HREF="#AEN2738" +>17.2. <A +HREF="#AEN2820" >Oplocks</A ></DT ><DD ><DL ><DT -><A -HREF="#AEN2740" +>17.2.1. <A +HREF="#AEN2822" >Overview</A ></DT ><DT -><A -HREF="#AEN2748" +>17.2.2. <A +HREF="#AEN2830" >Level2 Oplocks</A ></DT ><DT -><A -HREF="#AEN2754" +>17.2.3. <A +HREF="#AEN2836" >Old 'fake oplocks' option - deprecated</A ></DT ></DL ></DD ><DT -><A -HREF="#AEN2758" +>17.3. <A +HREF="#AEN2840" >Socket options</A ></DT ><DT -><A -HREF="#AEN2765" +>17.4. <A +HREF="#AEN2847" >Read size</A ></DT ><DT -><A -HREF="#AEN2770" +>17.5. <A +HREF="#AEN2852" >Max xmit</A ></DT ><DT -><A -HREF="#AEN2775" +>17.6. <A +HREF="#AEN2857" >Locking</A ></DT ><DT -><A -HREF="#AEN2779" +>17.7. <A +HREF="#AEN2861" >Share modes</A ></DT ><DT -><A -HREF="#AEN2784" +>17.8. <A +HREF="#AEN2866" >Log level</A ></DT ><DT -><A -HREF="#AEN2787" +>17.9. <A +HREF="#AEN2869" >Wide lines</A ></DT ><DT -><A -HREF="#AEN2790" +>17.10. <A +HREF="#AEN2872" >Read raw</A ></DT ><DT -><A -HREF="#AEN2795" +>17.11. <A +HREF="#AEN2877" >Write raw</A ></DT ><DT -><A -HREF="#AEN2799" +>17.12. <A +HREF="#AEN2881" >Read prediction</A ></DT ><DT -><A -HREF="#AEN2806" +>17.13. <A +HREF="#AEN2888" >Memory mapping</A ></DT ><DT -><A -HREF="#AEN2811" +>17.14. <A +HREF="#AEN2893" >Slow Clients</A ></DT ><DT -><A -HREF="#AEN2815" +>17.15. <A +HREF="#AEN2897" >Slow Logins</A ></DT ><DT -><A -HREF="#AEN2818" +>17.16. <A +HREF="#AEN2900" >Client tuning</A ></DT ><DT -><A -HREF="#AEN2850" +>17.17. <A +HREF="#AEN2932" >My Results</A ></DT ></DL ></DD ><DT -><A +>18. <A HREF="#OTHER-CLIENTS" >Samba and other CIFS clients</A ></DT ><DD ><DL ><DT -><A -HREF="#AEN2871" +>18.1. <A +HREF="#AEN2953" >Macintosh clients?</A ></DT ><DT -><A -HREF="#AEN2880" +>18.2. <A +HREF="#AEN2962" >OS2 Client</A ></DT ><DD ><DL ><DT -><A -HREF="#AEN2882" +>18.2.1. <A +HREF="#AEN2964" >How can I configure OS/2 Warp Connect or OS/2 Warp 4 as a client for Samba?</A ></DT ><DT -><A -HREF="#AEN2897" +>18.2.2. <A +HREF="#AEN2979" >How can I configure OS/2 Warp 3 (not Connect), OS/2 1.2, 1.3 or 2.x for Samba?</A ></DT ><DT -><A -HREF="#AEN2906" +>18.2.3. <A +HREF="#AEN2988" >Are there any other issues when OS/2 (any version) is used as a client?</A ></DT ><DT -><A -HREF="#AEN2910" +>18.2.4. <A +HREF="#AEN2992" >How do I get printer driver download working for OS/2 clients?</A ></DT ></DL ></DD ><DT -><A -HREF="#AEN2920" +>18.3. <A +HREF="#AEN3002" >Windows for Workgroups</A ></DT ><DD ><DL ><DT -><A -HREF="#AEN2922" +>18.3.1. <A +HREF="#AEN3004" >Use latest TCP/IP stack from Microsoft</A ></DT ><DT -><A -HREF="#AEN2927" +>18.3.2. <A +HREF="#AEN3009" >Delete .pwl files after password change</A ></DT ><DT -><A -HREF="#AEN2932" +>18.3.3. <A +HREF="#AEN3014" >Configure WfW password handling</A ></DT ><DT -><A -HREF="#AEN2936" +>18.3.4. <A +HREF="#AEN3018" >Case handling of passwords</A ></DT ></DL ></DD ><DT -><A -HREF="#AEN2941" +>18.4. <A +HREF="#AEN3023" >Windows '95/'98</A ></DT ><DT -><A -HREF="#AEN2957" +>18.5. <A +HREF="#AEN3039" >Windows 2000 Service Pack 2</A ></DT ></DL ></DD ><DT -><A +>19. <A HREF="#CVS-ACCESS" >HOWTO Access Samba source code via CVS</A ></DT ><DD ><DL ><DT -><A -HREF="#AEN2981" +>19.1. <A +HREF="#AEN3063" >Introduction</A ></DT ><DT -><A -HREF="#AEN2986" +>19.2. <A +HREF="#AEN3068" >CVS Access to samba.org</A ></DT ><DD ><DL ><DT -><A -HREF="#AEN2989" +>19.2.1. <A +HREF="#AEN3071" >Access via CVSweb</A ></DT ><DT -><A -HREF="#AEN2994" +>19.2.2. <A +HREF="#AEN3076" >Access via cvs</A ></DT ></DL @@ -1309,69 +1377,69 @@ HREF="#AEN2994" ></DL ></DD ><DT -><A +>20. <A HREF="#BUGREPORT" >Reporting Bugs</A ></DT ><DD ><DL ><DT -><A -HREF="#AEN3029" +>20.1. <A +HREF="#AEN3111" >Introduction</A ></DT ><DT -><A -HREF="#AEN3036" +>20.2. <A +HREF="#AEN3118" >General info</A ></DT ><DT -><A -HREF="#AEN3042" +>20.3. <A +HREF="#AEN3124" >Debug levels</A ></DT ><DT -><A -HREF="#AEN3059" +>20.4. <A +HREF="#AEN3141" >Internal errors</A ></DT ><DT -><A -HREF="#AEN3069" +>20.5. <A +HREF="#AEN3151" >Attaching to a running process</A ></DT ><DT -><A -HREF="#AEN3072" +>20.6. <A +HREF="#AEN3154" >Patches</A ></DT ></DL ></DD ><DT -><A +>21. <A HREF="#GROUPMAPPING" >Group mapping HOWTO</A ></DT ><DT -><A +>22. <A HREF="#PORTABILITY" >Portability</A ></DT ><DD ><DL ><DT -><A -HREF="#AEN3119" +>22.1. <A +HREF="#AEN3201" >HPUX</A ></DT ><DT -><A -HREF="#AEN3124" +>22.2. <A +HREF="#AEN3206" >SCO Unix</A ></DT ><DT -><A -HREF="#AEN3128" +>22.3. <A +HREF="#AEN3210" >DNIX</A ></DT ></DL @@ -1382,13 +1450,17 @@ HREF="#AEN3128" CLASS="CHAPTER" ><HR><H1 ><A -NAME="INSTALL">How to Install and Test SAMBA</H1 +NAME="INSTALL" +></A +>Chapter 1. How to Install and Test SAMBA</H1 ><DIV CLASS="SECT1" ><H2 CLASS="SECT1" ><A -NAME="AEN20">Step 0: Read the man pages</H2 +NAME="AEN20" +></A +>1.1. Step 0: Read the man pages</H2 ><P >The man pages distributed with SAMBA contain lots of useful info that will help to get you started. @@ -1418,7 +1490,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN28">Step 1: Building the Binaries</H2 +NAME="AEN28" +></A +>1.2. Step 1: Building the Binaries</H2 ><P >To do this, first run the program <B CLASS="COMMAND" @@ -1515,7 +1589,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN56">Step 2: The all important step</H2 +NAME="AEN56" +></A +>1.3. Step 2: The all important step</H2 ><P >At this stage you must fetch yourself a coffee or other drink you find stimulating. Getting the rest @@ -1530,7 +1606,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN60">Step 3: Create the smb configuration file.</H2 +NAME="AEN60" +></A +>1.4. Step 3: Create the smb configuration file.</H2 ><P >There are sample configuration files in the examples subdirectory in the distribution. I suggest you read them @@ -1540,12 +1618,6 @@ NAME="AEN60">Step 3: Create the smb configuration file.</H2 >The simplest useful configuration file would be something like this:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > [global] @@ -1555,9 +1627,6 @@ CLASS="PROGRAMLISTING" guest ok = no read only = no </PRE -></TD -></TR -></TABLE ></P ><P >which would allow connections by anyone with an @@ -1593,7 +1662,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN74">Step 4: Test your config file with +NAME="AEN74" +></A +>1.5. Step 4: Test your config file with <B CLASS="COMMAND" >testparm</B @@ -1615,7 +1686,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN80">Step 5: Starting the smbd and nmbd</H2 +NAME="AEN80" +></A +>1.6. Step 5: Starting the smbd and nmbd</H2 ><P >You must choose to start smbd and nmbd either as daemons or from <B @@ -1653,7 +1726,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN90">Step 5a: Starting from inetd.conf</H3 +NAME="AEN90" +></A +>1.6.1. Step 5a: Starting from inetd.conf</H3 ><P >NOTE; The following will be different if you use NIS or NIS+ to distributed services maps.</P @@ -1687,20 +1762,11 @@ CLASS="FILENAME" > and add two lines something like this:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > netbios-ssn stream tcp nowait root /usr/local/samba/bin/smbd smbd netbios-ns dgram udp wait root /usr/local/samba/bin/nmbd nmbd </PRE -></TD -></TR -></TABLE ></P ><P >The exact syntax of <TT @@ -1764,7 +1830,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN119">Step 5b. Alternative: starting it as a daemon</H3 +NAME="AEN119" +></A +>1.6.2. Step 5b. Alternative: starting it as a daemon</H3 ><P >To start the server as a daemon you should create a script something like this one, perhaps calling @@ -1773,21 +1841,12 @@ CLASS="FILENAME" >startsmb</TT >.</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > #!/bin/sh /usr/local/samba/bin/smbd -D /usr/local/samba/bin/nmbd -D </PRE -></TD -></TR -></TABLE ></P ><P >then make it executable with <B @@ -1828,7 +1887,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN135">Step 6: Try listing the shares available on your +NAME="AEN135" +></A +>1.7. Step 6: Try listing the shares available on your server</H2 ><P ><TT @@ -1867,7 +1928,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN144">Step 7: Try connecting with the unix client</H2 +NAME="AEN144" +></A +>1.8. Step 7: Try connecting with the unix client</H2 ><P ><TT CLASS="PROMPT" @@ -1928,7 +1991,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN160">Step 8: Try connecting from a DOS, WfWg, Win9x, WinNT, +NAME="AEN160" +></A +>1.9. Step 8: Try connecting from a DOS, WfWg, Win9x, WinNT, Win2k, OS/2, etc... client</H2 ><P >Try mounting disks. eg:</P @@ -1975,7 +2040,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN174">What If Things Don't Work?</H2 +NAME="AEN174" +></A +>1.10. What If Things Don't Work?</H2 ><P >If nothing works and you start to think "who wrote this pile of trash" then I suggest you do step 2 again (and @@ -1996,7 +2063,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN179">Diagnosing Problems</H3 +NAME="AEN179" +></A +>1.10.1. Diagnosing Problems</H3 ><P >If you have installation problems then go to <TT @@ -2010,7 +2079,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN183">Scope IDs</H3 +NAME="AEN183" +></A +>1.10.2. Scope IDs</H3 ><P >By default Samba uses a blank scope ID. This means all your windows boxes must also have a blank scope ID. @@ -2024,7 +2095,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN186">Choosing the Protocol Level</H3 +NAME="AEN186" +></A +>1.10.3. Choosing the Protocol Level</H3 ><P >The SMB protocol has many dialects. Currently Samba supports 5, called CORE, COREPLUS, LANMAN1, @@ -2063,7 +2136,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN195">Printing from UNIX to a Client PC</H3 +NAME="AEN195" +></A +>1.10.4. Printing from UNIX to a Client PC</H3 ><P >To use a printer that is available via a smb-based server from a unix host with LPR you will need to compile the @@ -2082,7 +2157,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN200">Locking</H3 +NAME="AEN200" +></A +>1.10.5. Locking</H3 ><P >One area which sometimes causes trouble is locking.</P ><P @@ -2140,7 +2217,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN209">Mapping Usernames</H3 +NAME="AEN209" +></A +>1.10.6. Mapping Usernames</H3 ><P >If you have different usernames on the PCs and the unix server then take a look at the "username map" option. @@ -2152,13 +2231,17 @@ NAME="AEN209">Mapping Usernames</H3 CLASS="CHAPTER" ><HR><H1 ><A -NAME="DIAGNOSIS">Diagnosing your samba server</H1 +NAME="DIAGNOSIS" +></A +>Chapter 2. Diagnosing your samba server</H1 ><DIV CLASS="SECT1" ><H2 CLASS="SECT1" ><A -NAME="AEN223">Introduction</H2 +NAME="AEN223" +></A +>2.1. Introduction</H2 ><P >This file contains a list of tests you can perform to validate your Samba server. It also tells you what the likely cause of the problem @@ -2178,7 +2261,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN228">Assumptions</H2 +NAME="AEN228" +></A +>2.2. Assumptions</H2 ><P >In all of the tests I assume you have a Samba server called BIGSERVER and a PC called ACLIENT both in workgroup TESTGROUP. I also assume the @@ -2192,21 +2277,12 @@ microsoft tcp/ip stack. Alternatively, your PC may be running Windows smb.conf. I will assume this share is called "tmp". You can add a "tmp" share like by adding the following to smb.conf:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > [tmp] comment = temporary files path = /tmp read only = yes </PRE -></TD -></TR -></TABLE ></P ><P >THESE TESTS ASSUME VERSION 2.0.6 OR LATER OF THE SAMBA SUITE. SOME @@ -2226,13 +2302,17 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN238">Tests</H2 +NAME="AEN238" +></A +>2.3. Tests</H2 ><DIV CLASS="SECT2" ><H3 CLASS="SECT2" ><A -NAME="AEN240">Test 1</H3 +NAME="AEN240" +></A +>2.3.1. Test 1</H3 ><P >In the directory in which you store your smb.conf file, run the command "testparm smb.conf". If it reports any errors then your smb.conf @@ -2252,7 +2332,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN246">Test 2</H3 +NAME="AEN246" +></A +>2.3.2. Test 2</H3 ><P >Run the command "ping BIGSERVER" from the PC and "ping ACLIENT" from the unix box. If you don't get a valid response then your TCP/IP @@ -2276,7 +2358,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN252">Test 3</H3 +NAME="AEN252" +></A +>2.3.3. Test 3</H3 ><P >Run the command "smbclient -L BIGSERVER" on the unix box. You should get a list of available shares back. </P @@ -2306,39 +2390,21 @@ files exist.</P a session request. The most common of these involve one or more of the following smb.conf file entries:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > hosts deny = ALL hosts allow = xxx.xxx.xxx.xxx/yy bind interfaces only = Yes</PRE -></TD -></TR -></TABLE ></P ><P >In the above, no allowance has been made for any session requests that will automatically translate to the loopback adaptor address 127.0.0.1. To solve this problem change these lines to:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > hosts deny = ALL hosts allow = xxx.xxx.xxx.xxx/yy 127.</PRE -></TD -></TR -></TABLE ></P ><P >Do NOT use the "bind interfaces only" parameter where you may wish to @@ -2363,7 +2429,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN267">Test 4</H3 +NAME="AEN267" +></A +>2.3.4. Test 4</H3 ><P >Run the command "nmblookup -B BIGSERVER __SAMBA__". You should get the IP address of your Samba server back.</P @@ -2382,7 +2450,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN272">Test 5</H3 +NAME="AEN272" +></A +>2.3.5. Test 5</H3 ><P >run the command <B CLASS="COMMAND" @@ -2401,7 +2471,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN278">Test 6</H3 +NAME="AEN278" +></A +>2.3.6. Test 6</H3 ><P >Run the command <B CLASS="COMMAND" @@ -2433,7 +2505,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN286">Test 7</H3 +NAME="AEN286" +></A +>2.3.7. Test 7</H3 ><P >Run the command <B CLASS="COMMAND" @@ -2441,7 +2515,7 @@ CLASS="COMMAND" >. You should then be prompted for a password. You should use the password of the account you are logged into the unix box with. If you want to test with -another account then add the -U >accountname< option to the end of +another account then add the -U >accountname< option to the end of the command line. eg: <B CLASS="COMMAND" @@ -2507,7 +2581,7 @@ CLASS="COMMAND" > etc. Type <B CLASS="COMMAND" ->help >command<</B +>help >command<</B > for instructions. You should especially check that the amount of free disk space shown is correct when you type <B @@ -2520,7 +2594,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN312">Test 8</H3 +NAME="AEN312" +></A +>2.3.8. Test 8</H3 ><P >On the PC type the command <B CLASS="COMMAND" @@ -2578,7 +2654,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN329">Test 9</H3 +NAME="AEN329" +></A +>2.3.9. Test 9</H3 ><P >Run the command <B CLASS="COMMAND" @@ -2593,14 +2671,26 @@ and other config lines in smb.conf are correct.</P connect you as. To see if this is the problem add the line "user = USERNAME" to the [tmp] section of smb.conf where "USERNAME" is the username corresponding to the password you typed. If you find this -fixes things you may need the username mapping option.</P +fixes things you may need the username mapping option. </P +><P +>It might also be the case that your client only sends encrypted passwords +and you have <B +CLASS="COMMAND" +>encrypt passwords = no</B +> in <TT +CLASS="FILENAME" +>smb.conf</TT +>. +Turn it back on to fix.</P ></DIV ><DIV CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN334">Test 10</H3 +NAME="AEN337" +></A +>2.3.10. Test 10</H3 ><P >Run the command <B CLASS="COMMAND" @@ -2624,7 +2714,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN340">Test 11</H3 +NAME="AEN343" +></A +>2.3.11. Test 11</H3 ><P >From file manager try to browse the server. Your samba server should appear in the browse list of your local workgroup (or the one you @@ -2650,7 +2742,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN345">Still having troubles?</H2 +NAME="AEN348" +></A +>2.4. Still having troubles?</H2 ><P >Try the mailing list or newsgroup, or use the ethereal utility to sniff the problem. The official samba mailing list can be reached at @@ -2674,13 +2768,17 @@ TARGET="_top" CLASS="CHAPTER" ><HR><H1 ><A -NAME="INTEGRATE-MS-NETWORKS">Integrating MS Windows networks with Samba</H1 +NAME="INTEGRATE-MS-NETWORKS" +></A +>Chapter 3. Integrating MS Windows networks with Samba</H1 ><DIV CLASS="SECT1" ><H2 CLASS="SECT1" ><A -NAME="AEN362">Agenda</H2 +NAME="AEN365" +></A +>3.1. Agenda</H2 ><P >To identify the key functional mechanisms of MS Windows networking to enable the deployment of Samba as a means of extending and/or @@ -2745,7 +2843,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN384">Name Resolution in a pure Unix/Linux world</H2 +NAME="AEN387" +></A +>3.2. Name Resolution in a pure Unix/Linux world</H2 ><P >The key configuration files covered in this section are:</P ><P @@ -2785,7 +2885,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN400"><TT +NAME="AEN403" +></A +>3.2.1. <TT CLASS="FILENAME" >/etc/hosts</TT ></H3 @@ -2793,19 +2895,10 @@ CLASS="FILENAME" >Contains a static list of IP Addresses and names. eg:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > 127.0.0.1 localhost localhost.localdomain 192.168.1.1 bigbox.caldera.com bigbox alias4box</PRE -></TD -></TR -></TABLE ></P ><P >The purpose of <TT @@ -2873,7 +2966,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN416"><TT +NAME="AEN419" +></A +>3.2.2. <TT CLASS="FILENAME" >/etc/resolv.conf</TT ></H3 @@ -2909,7 +3004,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN427"><TT +NAME="AEN430" +></A +>3.2.3. <TT CLASS="FILENAME" >/etc/host.conf</TT ></H3 @@ -2922,19 +3019,10 @@ which the setting in /etc/resolv.conf may be affected. It is a critical configuration file. This file controls the order by which name resolution may procede. The typical structure is:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > order hosts,bind multi on</PRE -></TD -></TR -></TABLE ></P ><P >then both addresses should be returned. Please refer to the @@ -2945,7 +3033,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN435"><TT +NAME="AEN438" +></A +>3.2.4. <TT CLASS="FILENAME" >/etc/nsswitch.conf</TT ></H3 @@ -2953,12 +3043,6 @@ CLASS="FILENAME" >This file controls the actual name resolution targets. The file typically has resolver object specifications as follows:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > # /etc/nsswitch.conf @@ -2981,9 +3065,6 @@ CLASS="PROGRAMLISTING" protocols: nis files rpc: nis files services: nis files</PRE -></TD -></TR -></TABLE ></P ><P >Of course, each of these mechanisms requires that the appropriate @@ -3021,7 +3102,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN447">Name resolution as used within MS Windows networking</H2 +NAME="AEN450" +></A +>3.3. Name resolution as used within MS Windows networking</H2 ><P >MS Windows networking is predicated about the name each machine is given. This name is known variously (and inconsistently) as @@ -3038,12 +3121,6 @@ the client/server.</P ><P >The following are typical NetBIOS name/service type registrations:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > Unique NetBIOS Names: @@ -3057,9 +3134,6 @@ CLASS="PROGRAMLISTING" WORKGROUP<1c> = Domain Controllers / Netlogon Servers WORKGROUP<1d> = Local Master Browsers WORKGROUP<1e> = Internet Name Resolvers</PRE -></TD -></TR -></TABLE ></P ><P >It should be noted that all NetBIOS machines register their own @@ -3113,7 +3187,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN459">The NetBIOS Name Cache</H3 +NAME="AEN462" +></A +>3.3.1. The NetBIOS Name Cache</H3 ><P >All MS Windows machines employ an in memory buffer in which is stored the NetBIOS names and IP addresses for all external @@ -3138,7 +3214,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN464">The LMHOSTS file</H3 +NAME="AEN467" +></A +>3.3.2. The LMHOSTS file</H3 ><P >This file is usually located in MS Windows NT 4.0 or 2000 in <TT @@ -3154,12 +3232,6 @@ to IP address mapping oriented.</P ><P >It typically looks like:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > # Copyright (c) 1998 Microsoft Corp. @@ -3179,8 +3251,8 @@ CLASS="PROGRAMLISTING" # files and offers the following extensions: # # #PRE - # #DOM:<domain> - # #INCLUDE <filename> + # #DOM:<domain> + # #INCLUDE <filename> # #BEGIN_ALTERNATE # #END_ALTERNATE # \0xnn (non-printing character support) @@ -3189,16 +3261,16 @@ CLASS="PROGRAMLISTING" # the entry to be preloaded into the name cache. By default, entries are # not preloaded, but are parsed only after dynamic name resolution fails. # - # Following an entry with the "#DOM:<domain>" tag will associate the - # entry with the domain specified by <domain>. This affects how the + # Following an entry with the "#DOM:<domain>" tag will associate the + # entry with the domain specified by <domain>. This affects how the # browser and logon services behave in TCP/IP environments. To preload # the host name associated with #DOM entry, it is necessary to also add a - # #PRE to the line. The <domain> is always preloaded although it will not + # #PRE to the line. The <domain> is always preloaded although it will not # be shown when the name cache is viewed. # - # Specifying "#INCLUDE <filename>" will force the RFC NetBIOS (NBT) - # software to seek the specified <filename> and parse it as if it were - # local. <filename> is generally a UNC-based name, allowing a + # Specifying "#INCLUDE <filename>" will force the RFC NetBIOS (NBT) + # software to seek the specified <filename> and parse it as if it were + # local. <filename> is generally a UNC-based name, allowing a # centralized lmhosts file to be maintained on a server. # It is ALWAYS necessary to provide a mapping for the IP address of the # server prior to the #INCLUDE. This mapping must use the #PRE directive. @@ -3238,9 +3310,6 @@ CLASS="PROGRAMLISTING" # so keeping the number of comments to a minimum will improve performance. # Therefore it is not advisable to simply add lmhosts file entries onto the # end of this file.</PRE -></TD -></TR -></TABLE ></P ></DIV ><DIV @@ -3248,7 +3317,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN472">HOSTS file</H3 +NAME="AEN475" +></A +>3.3.3. HOSTS file</H3 ><P >This file is usually located in MS Windows NT 4.0 or 2000 in <TT @@ -3268,7 +3339,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN477">DNS Lookup</H3 +NAME="AEN480" +></A +>3.3.4. DNS Lookup</H3 ><P >This capability is configured in the TCP/IP setup area in the network configuration facility. If enabled an elaborate name resolution sequence @@ -3286,7 +3359,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN480">WINS Lookup</H3 +NAME="AEN483" +></A +>3.3.5. WINS Lookup</H3 ><P >A WINS (Windows Internet Name Server) service is the equivaent of the rfc1001/1002 specified NBNS (NetBIOS Name Server). A WINS server stores @@ -3299,36 +3374,18 @@ CLASS="FILENAME" >smb.conf</TT > file:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > wins support = Yes</PRE -></TD -></TR -></TABLE ></P ><P >To configure Samba to use a WINS server the following parameters are needed in the smb.conf file:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > wins support = No wins server = xxx.xxx.xxx.xxx</PRE -></TD -></TR -></TABLE ></P ><P >where <TT @@ -3345,7 +3402,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN492">How browsing functions and how to deploy stable and +NAME="AEN495" +></A +>3.4. How browsing functions and how to deploy stable and dependable browsing using Samba</H2 ><P >As stated above, MS Windows machines register their NetBIOS names @@ -3410,7 +3469,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN502">MS Windows security options and how to configure +NAME="AEN505" +></A +>3.5. MS Windows security options and how to configure Samba for seemless integration</H2 ><P >MS Windows clients may use encrypted passwords as part of a @@ -3474,12 +3535,6 @@ issue of Windows 9x client upper casing usernames and password before transmitting them to the SMB server when using clear text authentication.</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > <A @@ -3502,9 +3557,6 @@ CLASS="REPLACEABLE" >integer</I ></TT ></PRE -></TD -></TR -></TABLE ></P ><P >By default Samba will lower case the username before attempting @@ -3527,9 +3579,12 @@ CLASS="PARAMETER" >password level</I ></TT > must be set to the maximum -number of upper case letter which <I +number of upper case letter which <SPAN +CLASS="emphasis" +><I CLASS="EMPHASIS" >could</I +></SPAN > appear is a password. Note that is the server OS uses the traditional DES version of crypt(), then a <TT @@ -3551,25 +3606,18 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN530">Use MS Windows NT as an authentication server</H3 +NAME="AEN533" +></A +>3.5.1. Use MS Windows NT as an authentication server</H3 ><P >This method involves the additions of the following parameters in the smb.conf file:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > encrypt passwords = Yes security = server password server = "NetBIOS_name_of_PDC"</PRE -></TD -></TR -></TABLE ></P ><P >There are two ways of identifying whether or not a username and @@ -3594,25 +3642,18 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN538">Make Samba a member of an MS Windows NT security domain</H3 +NAME="AEN541" +></A +>3.5.2. Make Samba a member of an MS Windows NT security domain</H3 ><P >This method involves additon of the following paramters in the smb.conf file:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > encrypt passwords = Yes security = domain workgroup = "name of NT domain" password server = *</PRE -></TD -></TR -></TABLE ></P ><P >The use of the "*" argument to "password server" will cause samba @@ -3664,7 +3705,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN555">Configure Samba as an authentication server</H3 +NAME="AEN558" +></A +>3.5.3. Configure Samba as an authentication server</H3 ><P >This mode of authentication demands that there be on the Unix/Linux system both a Unix style account as well as an @@ -3675,12 +3718,6 @@ used for SMB client authentication.</P >This method involves addition of the following parameters to the smb.conf file:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >## please refer to the Samba PDC HOWTO chapter later in @@ -3695,9 +3732,6 @@ CLASS="PROGRAMLISTING" [NETLOGON] path = /somewhare/in/file/system read only = yes</PRE -></TD -></TR -></TABLE ></P ><P >in order for this method to work a Unix system account needs @@ -3708,29 +3742,22 @@ CLASS="SECT3" ><HR><H4 CLASS="SECT3" ><A -NAME="AEN562">Users</H4 +NAME="AEN565" +></A +>3.5.3.1. Users</H4 ><P >A user account that may provide a home directory should be created. The following Linux system commands are typical of the procedure for creating an account.</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > # useradd -s /bin/bash -d /home/"userid" -m "userid" # passwd "userid" - Enter Password: <pw> + Enter Password: <pw> # smbpasswd -a "userid" - Enter Password: <pw></PRE -></TD -></TR -></TABLE + Enter Password: <pw></PRE ></P ></DIV ><DIV @@ -3738,25 +3765,18 @@ CLASS="SECT3" ><HR><H4 CLASS="SECT3" ><A -NAME="AEN567">MS Windows NT Machine Accounts</H4 +NAME="AEN570" +></A +>3.5.3.2. MS Windows NT Machine Accounts</H4 ><P >These are required only when Samba is used as a domain controller. Refer to the Samba-PDC-HOWTO for more details.</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > # useradd -s /bin/false -d /dev/null "machine_name"\$ # passwd -l "machine_name"\$ # smbpasswd -a -m "machine_name"</PRE -></TD -></TR -></TABLE ></P ></DIV ></DIV @@ -3766,7 +3786,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN572">Conclusions</H2 +NAME="AEN575" +></A +>3.6. Conclusions</H2 ><P >Samba provides a flexible means to operate as...</P ><P @@ -3800,14 +3822,18 @@ NAME="AEN572">Conclusions</H2 CLASS="CHAPTER" ><HR><H1 ><A -NAME="PAM">Configuring PAM for distributed but centrally +NAME="PAM" +></A +>Chapter 4. Configuring PAM for distributed but centrally managed authentication</H1 ><DIV CLASS="SECT1" ><H2 CLASS="SECT1" ><A -NAME="AEN593">Samba and PAM</H2 +NAME="AEN596" +></A +>4.1. Samba and PAM</H2 ><P >A number of Unix systems (eg: Sun Solaris), as well as the xxxxBSD family and Linux, now utilize the Pluggable Authentication @@ -3855,12 +3881,6 @@ CLASS="FILENAME" >pam_pwdb.so</TT >.</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >#%PAM-1.0 @@ -3877,20 +3897,11 @@ session required pam_pwdb.so # session optional pam_lastlog.so # password required pam_cracklib.so retry=3 password required pam_pwdb.so shadow md5</PRE -></TD -></TR -></TABLE ></P ><P >PAM allows use of replacable modules. Those available on a sample system include:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >$ /bin/ls /lib/security @@ -3906,9 +3917,6 @@ pam_env.so pam_ldap.so pam_motd.so pam_radius.so pam_smbpass.so pam_unix_acct.so pam_wheel.so pam_unix_auth.so pam_unix_passwd.so pam_userdb.so pam_warn.so pam_unix_session.so</PRE -></TD -></TR -></TABLE ></P ><P >The following example for the login program replaces the use of @@ -3969,12 +3977,6 @@ CLASS="FILENAME" > directory of the Samba source distribution.</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >#%PAM-1.0 @@ -3984,9 +3986,6 @@ auth required pam_smbpass.so nodelay account required pam_smbpass.so nodelay session required pam_smbpass.so nodelay password required pam_smbpass.so nodelay</PRE -></TD -></TR -></TABLE ></P ><P >The following is the PAM configuration file for a particular @@ -3995,12 +3994,6 @@ CLASS="FILENAME" >pam_pwdb.so</TT >.</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >#%PAM-1.0 @@ -4010,9 +4003,6 @@ auth required /lib/security/pam_pwdb.so nullok nodelay shadow audit account required /lib/security/pam_pwdb.so audit nodelay session required /lib/security/pam_pwdb.so nodelay password required /lib/security/pam_pwdb.so shadow md5</PRE -></TD -></TR -></TABLE ></P ><P >In the following example the decision has been made to use the @@ -4021,12 +4011,6 @@ decision could also be made for the passwd program and would thus allow the smbpasswd passwords to be changed using the passwd program.</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >#%PAM-1.0 @@ -4036,9 +4020,6 @@ auth required /lib/security/pam_smbpass.so nodelay account required /lib/security/pam_pwdb.so audit nodelay session required /lib/security/pam_pwdb.so nodelay password required /lib/security/pam_smbpass.so nodelay smbconf=/etc/samba.d/smb.conf</PRE -></TD -></TR -></TABLE ></P ><P >Note: PAM allows stacking of authentication mechanisms. It is @@ -4064,7 +4045,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN637">Distributed Authentication</H2 +NAME="AEN640" +></A +>4.2. Distributed Authentication</H2 ><P >The astute administrator will realize from this that the combination of <TT @@ -4095,7 +4078,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN644">PAM Configuration in smb.conf</H2 +NAME="AEN647" +></A +>4.3. PAM Configuration in smb.conf</H2 ><P >There is an option in smb.conf called <A HREF="smb.conf.5.html#OBEYPAMRESTRICTIONS" @@ -4133,13 +4118,17 @@ CLASS="COMMAND" CLASS="CHAPTER" ><HR><H1 ><A -NAME="MSDFS">Hosting a Microsoft Distributed File System tree on Samba</H1 +NAME="MSDFS" +></A +>Chapter 5. Hosting a Microsoft Distributed File System tree on Samba</H1 ><DIV CLASS="SECT1" ><H2 CLASS="SECT1" ><A -NAME="AEN664">Instructions</H2 +NAME="AEN667" +></A +>5.1. Instructions</H2 ><P >The Distributed File System (or Dfs) provides a means of separating the logical view of files and directories that users @@ -4190,7 +4179,7 @@ CLASS="PARAMETER" to other servers. For example, a symbolic link <TT CLASS="FILENAME" ->junction->msdfs:storage1\share1</TT +>junction->msdfs:storage1\share1</TT > in the share directory acts as the Dfs junction. When Dfs-aware clients attempt to access the junction link, they are redirected @@ -4202,12 +4191,6 @@ CLASS="FILENAME" >Here's an example of setting up a Dfs tree on a Samba server.</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" ># The smb.conf file: @@ -4219,9 +4202,6 @@ CLASS="PROGRAMLISTING" path = /export/dfsroot msdfs root = yes </PRE -></TD -></TR -></TABLE ></P ><P >In the /export/dfsroot directory we set up our dfs links to @@ -4294,7 +4274,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN699">Notes</H3 +NAME="AEN702" +></A +>5.1.1. Notes</H3 ><P ></P ><UL @@ -4325,13 +4307,17 @@ NAME="AEN699">Notes</H3 CLASS="CHAPTER" ><HR><H1 ><A -NAME="UNIX-PERMISSIONS">UNIX Permission Bits and Windows NT Access Control Lists</H1 +NAME="UNIX-PERMISSIONS" +></A +>Chapter 6. UNIX Permission Bits and Windows NT Access Control Lists</H1 ><DIV CLASS="SECT1" ><H2 CLASS="SECT1" ><A -NAME="AEN719">Viewing and changing UNIX permissions using the NT +NAME="AEN722" +></A +>6.1. Viewing and changing UNIX permissions using the NT security dialogs</H2 ><P >New in the Samba 2.0.4 release is the ability for Windows @@ -4368,35 +4354,55 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN728">How to view file security on a Samba share</H2 +NAME="AEN731" +></A +>6.2. How to view file security on a Samba share</H2 ><P >From an NT 4.0 client, single-click with the right mouse button on any file or directory in a Samba mounted drive letter or UNC path. When the menu pops-up, click - on the <I + on the <SPAN +CLASS="emphasis" +><I CLASS="EMPHASIS" >Properties</I +></SPAN > entry at the bottom of the menu. This brings up the normal file properties dialog box, but with Samba 2.0.4 this will have a new tab along the top - marked <I + marked <SPAN +CLASS="emphasis" +><I CLASS="EMPHASIS" >Security</I +></SPAN >. Click on this tab and you - will see three buttons, <I + will see three buttons, <SPAN +CLASS="emphasis" +><I CLASS="EMPHASIS" >Permissions</I +></SPAN >, - <I + <SPAN +CLASS="emphasis" +><I CLASS="EMPHASIS" >Auditing</I ->, and <I +></SPAN +>, and <SPAN +CLASS="emphasis" +><I CLASS="EMPHASIS" >Ownership</I +></SPAN >. - The <I + The <SPAN +CLASS="emphasis" +><I CLASS="EMPHASIS" >Auditing</I +></SPAN > button will cause either an error message <SPAN CLASS="ERRORNAME" @@ -4418,7 +4424,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN739">Viewing file ownership</H2 +NAME="AEN742" +></A +>6.3. Viewing file ownership</H2 ><P >Clicking on the <B CLASS="COMMAND" @@ -4480,9 +4488,12 @@ CLASS="COMMAND" it will display a dialog box complaining that the user you are currently logged onto the NT client cannot be found). The reason for this is that changing the ownership of a file is a privileged - operation in UNIX, available only to the <I + operation in UNIX, available only to the <SPAN +CLASS="emphasis" +><I CLASS="EMPHASIS" >root</I +></SPAN > user. As clicking on this button causes NT to attempt to change the ownership of a file to the current user logged into the NT @@ -4492,10 +4503,13 @@ CLASS="EMPHASIS" and allow a user with Administrator privilege connected to a Samba 2.0.4 server as root to change the ownership of files on both a local NTFS filesystem or remote mounted NTFS - or Samba drive. This is available as part of the <I + or Samba drive. This is available as part of the <SPAN +CLASS="emphasis" +><I CLASS="EMPHASIS" >Seclib </I +></SPAN > NT security library written by Jeremy Allison of the Samba Team, available from the main Samba ftp site.</P ></DIV @@ -4504,7 +4518,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN759">Viewing file or directory permissions</H2 +NAME="AEN762" +></A +>6.4. Viewing file or directory permissions</H2 ><P >The third button is the <B CLASS="COMMAND" @@ -4564,7 +4580,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN774">File Permissions</H3 +NAME="AEN777" +></A +>6.4.1. File Permissions</H3 ><P >The standard UNIX user/group/world triple and the corresponding "read", "write", "execute" permissions @@ -4624,7 +4642,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN788">Directory Permissions</H3 +NAME="AEN791" +></A +>6.4.2. Directory Permissions</H3 ><P >Directories on an NT NTFS file system have two different sets of permissions. The first set of permissions @@ -4654,7 +4674,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN795">Modifying file or directory permissions</H2 +NAME="AEN798" +></A +>6.5. Modifying file or directory permissions</H2 ><P >Modifying file and directory permissions is as simple as changing the displayed permissions in the dialog box, and @@ -4750,7 +4772,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN817">Interaction with the standard Samba create mask +NAME="AEN820" +></A +>6.6. Interaction with the standard Samba create mask parameters</H2 ><P >Note that with Samba 2.0.5 there are four new parameters @@ -4810,9 +4834,12 @@ CLASS="PARAMETER" >security mask</I ></TT > - mask may be treated as a set of bits the user is <I + mask may be treated as a set of bits the user is <SPAN +CLASS="emphasis" +><I CLASS="EMPHASIS" >not</I +></SPAN > allowed to change, and one bits are those the user is allowed to change. </P @@ -5022,7 +5049,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN881">Interaction with the standard Samba file attribute +NAME="AEN884" +></A +>6.7. Interaction with the standard Samba file attribute mapping</H2 ><P >Samba maps some of the DOS attribute bits (such as "read @@ -5067,13 +5096,17 @@ CLASS="COMMAND" CLASS="CHAPTER" ><HR><H1 ><A -NAME="PRINTING">Printing Support in Samba 2.2.x</H1 +NAME="PRINTING" +></A +>Chapter 7. Printing Support in Samba 2.2.x</H1 ><DIV CLASS="SECT1" ><H2 CLASS="SECT1" ><A -NAME="AEN902">Introduction</H2 +NAME="AEN905" +></A +>7.1. Introduction</H2 ><P >Beginning with the 2.2.0 release, Samba supports the native Windows NT printing mechanisms implemented via @@ -5139,10 +5172,13 @@ As a side note, Samba does not use these drivers in any way to process spooled files. They are utilized entirely by the clients.</P ><P >The following MS KB article, may be of some help if you are dealing with -Windows 2000 clients: <I +Windows 2000 clients: <SPAN +CLASS="emphasis" +><I CLASS="EMPHASIS" >How to Add Printers with No User Interaction in Windows 2000</I +></SPAN ></P ><P ><A @@ -5156,7 +5192,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN924">Configuration</H2 +NAME="AEN927" +></A +>7.2. Configuration</H2 ><DIV CLASS="WARNING" ><P @@ -5171,7 +5209,7 @@ WIDTH="25" ALIGN="CENTER" VALIGN="TOP" ><IMG -SRC="./stylesheet-images/warning.gif" +SRC="/docbook-dsssl/warning.gif" HSPACE="5" ALT="Warning"></TD ><TH @@ -5234,7 +5272,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN935">Creating [print$]</H3 +NAME="AEN938" +></A +>7.2.1. Creating [print$]</H3 ><P >In order to support the uploading of printer driver files, you must first configure a file share named [print$]. @@ -5249,12 +5289,6 @@ following file share (of course, some of the parameter values, such as 'path' are arbitrary and should be replaced with appropriate values for your site):</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >[global] @@ -5274,9 +5308,6 @@ CLASS="PROGRAMLISTING" ; is setup to a non-root account, then it should also exist ; as a 'printer admin' write list = @ntadmin,root</PRE -></TD -></TR -></TABLE ></P ><P >The <A @@ -5322,7 +5353,7 @@ WIDTH="25" ALIGN="CENTER" VALIGN="TOP" ><IMG -SRC="./stylesheet-images/note.gif" +SRC="/docbook-dsssl/note.gif" HSPACE="5" ALT="Note"></TD ><TH @@ -5370,12 +5401,6 @@ Samba follows this model as well.</P >Next create the directory tree below the [print$] share for each architecture you wish to support.</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >[print$]----- @@ -5384,9 +5409,6 @@ CLASS="PROGRAMLISTING" |-W32ALPHA ; "Windows NT Alpha_AXP" |-W32MIPS ; "Windows NT R4000" |-W32PPC ; "Windows NT PowerPC"</PRE -></TD -></TR -></TABLE ></P ><DIV CLASS="WARNING" @@ -5402,7 +5424,7 @@ WIDTH="25" ALIGN="CENTER" VALIGN="TOP" ><IMG -SRC="./stylesheet-images/warning.gif" +SRC="/docbook-dsssl/warning.gif" HSPACE="5" ALT="Warning"></TD ><TH @@ -5473,14 +5495,19 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN970">Setting Drivers for Existing Printers</H3 +NAME="AEN973" +></A +>7.2.2. Setting Drivers for Existing Printers</H3 ><P >The initial listing of printers in the Samba host's Printers folder will have no real printer driver assigned to them. By default, in Samba 2.2.0 this driver name was set to -<I +<SPAN +CLASS="emphasis" +><I CLASS="EMPHASIS" >NO PRINTER DRIVER AVAILABLE FOR THIS PRINTER</I +></SPAN >. Later versions changed this to a NULL string to allow the use tof the local Add Printer Wizard on NT/2000 clients. @@ -5488,12 +5515,15 @@ Attempting to view the printer properties for a printer which has this default driver assigned will result in the error message:</P ><P +><SPAN +CLASS="emphasis" ><I CLASS="EMPHASIS" >Device settings cannot be displayed. The driver for the specified printer is not installed, only spooler properties will be displayed. Do you want to install the driver now?</I +></SPAN ></P ><P >Click "No" in the error dialog and you will be presented with @@ -5545,7 +5575,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN987">Support a large number of printers</H3 +NAME="AEN990" +></A +>7.2.3. Support a large number of printers</H3 ><P >One issue that has arisen during the development phase of Samba 2.2 is the need to support driver downloads for @@ -5563,12 +5595,6 @@ setdriver command</B associated with an installed driver. The following is example of how this could be accomplished:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > @@ -5604,13 +5630,10 @@ CLASS="PROMPT" >rpcclient pogo -U root%secret \ <TT CLASS="PROMPT" ->> </TT +>> </TT > -c "setdriver hp-print \"HP LaserJet 4000 Series PS\"" Domain=[NARNIA] OS=[Unix] Server=[Samba 2.2.0-alpha3] Successfully set hp-print to driver HP LaserJet 4000 Series PS.</PRE -></TD -></TR -></TABLE ></P ></DIV ><DIV @@ -5618,7 +5641,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN998">Adding New Printers via the Windows NT APW</H3 +NAME="AEN1001" +></A +>7.2.4. Adding New Printers via the Windows NT APW</H3 ><P >By default, Samba offers all printer shares defined in <TT CLASS="FILENAME" @@ -5730,12 +5755,6 @@ CLASS="PARAMETER" CLASS="FILENAME" >/etc/printcap.local</TT > (change that to what you need) and returns a line of 'Done' which is needed for the whole process to work.</P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >#!/bin/sh @@ -5785,16 +5804,15 @@ touch /usr/local/samba/lib/smb.conf # echo "Done" exit 0</PRE -></TD -></TR -></TABLE ></DIV ><DIV CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN1028">Samba and Printer Ports</H3 +NAME="AEN1031" +></A +>7.2.5. Samba and Printer Ports</H3 ><P >Windows NT/2000 print servers associate a port with each printer. These normally take the form of LPT1:, COM1:, FILE:, etc... Samba must also support the @@ -5829,7 +5847,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN1036">The Imprints Toolset</H2 +NAME="AEN1039" +></A +>7.3. The Imprints Toolset</H2 ><P >The Imprints tool set provides a UNIX equivalent of the Windows NT Add Printer Wizard. For complete information, please @@ -5845,7 +5865,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN1040">What is Imprints?</H3 +NAME="AEN1043" +></A +>7.3.1. What is Imprints?</H3 ><P >Imprints is a collection of tools for supporting the goals of</P @@ -5875,7 +5897,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN1050">Creating Printer Driver Packages</H3 +NAME="AEN1053" +></A +>7.3.2. Creating Printer Driver Packages</H3 ><P >The process of creating printer driver packages is beyond the scope of this document (refer to Imprints.txt also included @@ -5889,7 +5913,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN1053">The Imprints server</H3 +NAME="AEN1056" +></A +>7.3.3. The Imprints server</H3 ><P >The Imprints server is really a database server that may be queried via standard HTTP mechanisms. Each printer @@ -5897,9 +5923,12 @@ NAME="AEN1053">The Imprints server</H3 downloading of the package. Each package is digitally signed via GnuPG which can be used to verify that package downloaded is actually the one referred in the Imprints database. It is - <I + <SPAN +CLASS="emphasis" +><I CLASS="EMPHASIS" >not</I +></SPAN > recommended that this security check be disabled.</P ></DIV @@ -5908,7 +5937,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN1057">The Installation Client</H3 +NAME="AEN1060" +></A +>7.3.4. The Installation Client</H3 ><P >More information regarding the Imprints installation client is available in the <TT @@ -5948,12 +5979,6 @@ CLASS="COMMAND" >rpcclient</B >.</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > @@ -5967,9 +5992,6 @@ foreach (supported architecture for a given driver) 4. rpcclient: Issue an AddPrinterEx() MS-RPC to actually create the printer</PRE -></TD -></TR -></TABLE ></P ><P >One of the problems encountered when implementing @@ -6009,7 +6031,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN1079"><A +NAME="AEN1082" +></A +>7.4. <A NAME="MIGRATION" ></A >Migration to from Samba 2.0.x to 2.2.x</H2 @@ -6091,7 +6115,7 @@ WIDTH="25" ALIGN="CENTER" VALIGN="TOP" ><IMG -SRC="./stylesheet-images/warning.gif" +SRC="/docbook-dsssl/warning.gif" HSPACE="5" ALT="Warning"></TD ><TH @@ -6175,13 +6199,17 @@ disabled by default.</P CLASS="CHAPTER" ><HR><H1 ><A -NAME="PRINTINGDEBUG">Debugging Printing Problems</H1 +NAME="PRINTINGDEBUG" +></A +>Chapter 8. Debugging Printing Problems</H1 ><DIV CLASS="SECT1" ><H2 CLASS="SECT1" ><A -NAME="AEN1125">Introduction</H2 +NAME="AEN1128" +></A +>8.1. Introduction</H2 ><P >This is a short description of how to debug printing problems with Samba. This describes how to debug problems with printing from a SMB @@ -6199,12 +6227,6 @@ you use is up to you.</P relevant options (which you should look up in the smb.conf man page) are:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > [global] @@ -6213,36 +6235,18 @@ CLASS="PROGRAMLISTING" lprm command - remove a job [printers] path = /var/spool/lpd/samba</PRE -></TD -></TR -></TABLE ></P ><P >The following are nice to know about:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > queuepause command - stop a printer or print queue queueresume command - start a printer or print queue</PRE -></TD -></TR -></TABLE ></P ><P >Example:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > print command = /usr/bin/lpr -r -P%p %s @@ -6250,9 +6254,6 @@ CLASS="PROGRAMLISTING" lprm command = /usr/bin/lprm -P%p %j queuepause command = /usr/sbin/lpc -P%p stop queuepause command = /usr/sbin/lpc -P%p start</PRE -></TD -></TR -></TABLE ></P ><P >Samba should set reasonable defaults for these depending on your @@ -6270,7 +6271,7 @@ and it should be periodically cleaned out. Samba used the lpq command to determine the "job number" assigned to your print job by the spooler.</P ><P ->The %>letter< are "macros" that get dynamically replaced with appropriate +>The %>letter< are "macros" that get dynamically replaced with appropriate values when they are used. The %s gets replaced with the name of the spool file that Samba creates and the %p gets replaced with the name of the printer. The %j gets replaced with the "job number" which comes from @@ -6281,19 +6282,15 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN1141">Debugging printer problems</H2 +NAME="AEN1144" +></A +>8.2. Debugging printer problems</H2 ><P >One way to debug printing problems is to start by replacing these command with shell scripts that record the arguments and the contents of the print file. A simple example of this kind of things might be:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > print command = /tmp/saveprint %p %s @@ -6304,21 +6301,12 @@ CLASS="PROGRAMLISTING" # we run the command and save the error messages # replace the command with the one appropriate for your system /usr/bin/lpr -r -P$1 $2 2>>&/tmp/tmp.print</PRE -></TD -></TR -></TABLE ></P ><P >Then you print a file and try removing it. You may find that the print queue needs to be stopped in order to see the queue status and remove the job:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > h4: {42} % echo hi >/tmp/hi @@ -6336,9 +6324,6 @@ smb: \> cancel 1049 Job 1049 cancelled smb: \> queue smb: \> exit</PRE -></TD -></TR -></TABLE ></P ><P >The 'code 0' indicates that the job was removed. The comment @@ -6354,44 +6339,28 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN1150">What printers do I have?</H2 +NAME="AEN1153" +></A +>8.3. What printers do I have?</H2 ><P >You can use the 'testprns' program to check to see if the printer name you are using is recognized by Samba. For example, you can use:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > testprns printer /etc/printcap</PRE -></TD -></TR -></TABLE ></P ><P >Samba can get its printcap information from a file or from a program. You can try the following to see the format of the extracted information:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > testprns -a printer /etc/printcap testprns -a printer '|/bin/cat printcap'</PRE -></TD -></TR -></TABLE ></P ></DIV ><DIV @@ -6399,7 +6368,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN1158">Setting up printcap and print servers</H2 +NAME="AEN1161" +></A +>8.4. Setting up printcap and print servers</H2 ><P >You may need to set up some printcaps for your Samba system to use. It is strongly recommended that you use the facilities provided by @@ -6408,18 +6379,9 @@ the print spooler to set up queues and printcap information.</P >Samba requires either a printcap or program to deliver printcap information. This printcap information has the format:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > name|alias1|alias2...:option=value:...</PRE -></TD -></TR -></TABLE ></P ><P >For almost all printing systems, the printer 'name' must be composed @@ -6490,7 +6452,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN1186">Job sent, no output</H2 +NAME="AEN1189" +></A +>8.5. Job sent, no output</H2 ><P >This is the most frustrating part of printing. You may have sent the job, verified that the job was forwarded, set up a wrapper around @@ -6501,18 +6465,9 @@ right print queue. If you are using a BSD or LPRng print spooler, you can temporarily stop the printing of jobs. Jobs can still be submitted, but they will not be printed. Use:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > lpc -Pprinter stop</PRE -></TD -></TR -></TABLE ></P ><P >Now submit a print job and then use 'lpq -Pprinter' to see if the @@ -6526,20 +6481,11 @@ are not in what you would expect to call a printable format. You can use the UNIX 'file' utitily to determine what the job format actually is:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > cd /var/spool/lpd/printer # spool directory of print jobs ls # find job files file dfA001myhost</PRE -></TD -></TR -></TABLE ></P ><P >You should make sure that your printer supports this format OR that @@ -6551,7 +6497,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN1197">Job sent, strange output</H2 +NAME="AEN1200" +></A +>8.6. Job sent, strange output</H2 ><P >Once you have the job printing, you can then start worrying about making it print nicely.</P @@ -6564,18 +6512,9 @@ printcap option or printer option is configured for no banners. If you have a printcap, this is the :sh (suppress header or banner page) option. You should have the following in your printer.</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > printer: ... :sh</PRE -></TD -></TR -></TABLE ></P ><P >If you have this option and are still getting banner pages, there @@ -6589,18 +6528,9 @@ with your job format, or if you are generating PostScript jobs, incorrect setting on your printer driver on the MicroSoft client. For example, under Win95 there is a option:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > Printers|Printer Name|(Right Click)Properties|Postscript|Advanced|</PRE -></TD -></TR -></TABLE ></P ><P >that allows you to choose if a Ctrl-D is appended to all jobs. @@ -6613,7 +6543,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN1209">Raw PostScript printed</H2 +NAME="AEN1212" +></A +>8.7. Raw PostScript printed</H2 ><P >This is a problem that is usually caused by either the print spooling system putting information at the start of the print job that makes @@ -6626,7 +6558,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN1212">Advanced Printing</H2 +NAME="AEN1215" +></A +>8.8. Advanced Printing</H2 ><P >Note that you can do some pretty magic things by using your imagination with the "print command" option and some shell scripts. @@ -6640,7 +6574,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN1215">Real debugging</H2 +NAME="AEN1218" +></A +>8.9. Real debugging</H2 ><P >If the above debug tips don't help, then maybe you need to bring in the bug guns, system tracing. See Tracing.txt in this directory.</P @@ -6650,22 +6586,20 @@ the bug guns, system tracing. See Tracing.txt in this directory.</P CLASS="CHAPTER" ><HR><H1 ><A -NAME="SECURITYLEVELS">Security levels</H1 +NAME="SECURITYLEVELS" +></A +>Chapter 9. Security levels</H1 ><DIV CLASS="SECT1" ><H2 CLASS="SECT1" ><A -NAME="AEN1228">Introduction</H2 +NAME="AEN1231" +></A +>9.1. Introduction</H2 ><P >Samba supports the following options to the global smb.conf parameter</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >[global] @@ -6679,9 +6613,6 @@ CLASS="PARAMETER" ></TT ></A > = [share|user(default)|domain|ads]</PRE -></TD -></TR -></TABLE ></P ><P >Please refer to the smb.conf man page for usage information and to the document @@ -6709,7 +6640,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN1239">More complete description of security levels</H2 +NAME="AEN1242" +></A +>9.2. More complete description of security levels</H2 ><P >A SMB server tells the client at startup what "security level" it is running. There are two options "share level" and "user level". Which @@ -6801,13 +6734,17 @@ schemes by which the two could be kept in sync.</P CLASS="CHAPTER" ><HR><H1 ><A -NAME="DOMAIN-SECURITY">security = domain in Samba 2.x</H1 +NAME="DOMAIN-SECURITY" +></A +>Chapter 10. security = domain in Samba 2.x</H1 ><DIV CLASS="SECT1" ><H2 CLASS="SECT1" ><A -NAME="AEN1272">Joining an NT Domain with Samba 2.2</H2 +NAME="AEN1275" +></A +>10.1. Joining an NT Domain with Samba 2.2</H2 ><P >Assume you have a Samba 2.x server with a NetBIOS name of <TT @@ -6896,13 +6833,13 @@ CLASS="FILENAME" ><TT CLASS="REPLACEABLE" ><I -><NT DOMAIN NAME></I +><NT DOMAIN NAME></I ></TT >.<TT CLASS="REPLACEABLE" ><I -><Samba - Server Name></I +><Samba + Server Name></I ></TT >.mac</TT ></P @@ -7036,7 +6973,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN1336">Samba and Windows 2000 Domains</H2 +NAME="AEN1339" +></A +>10.2. Samba and Windows 2000 Domains</H2 ><P >Many people have asked regarding the state of Samba's ability to participate in a Windows 2000 Domain. Samba 2.2 is able to act as a member server of a Windows @@ -7059,7 +6998,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN1341">Why is this better than security = server?</H2 +NAME="AEN1344" +></A +>10.3. Why is this better than security = server?</H2 ><P >Currently, domain security in Samba doesn't free you from having to create local Unix users to represent the users attaching @@ -7123,9 +7064,12 @@ CLASS="COMMAND" user is authenticated, making a Samba server truly plug and play in an NT domain environment. Watch for this code soon.</P ><P +><SPAN +CLASS="emphasis" ><I CLASS="EMPHASIS" >NOTE:</I +></SPAN > Much of the text of this document was first published in the Web magazine <A HREF="http://www.linuxworld.com" @@ -7144,20 +7088,27 @@ TARGET="_top" CLASS="CHAPTER" ><HR><H1 ><A -NAME="WINBIND">Unified Logons between Windows NT and UNIX using Winbind</H1 +NAME="WINBIND" +></A +>Chapter 11. Unified Logons between Windows NT and UNIX using Winbind</H1 ><DIV CLASS="SECT1" ><H2 CLASS="SECT1" ><A -NAME="AEN1394">Abstract</H2 +NAME="AEN1397" +></A +>11.1. Abstract</H2 ><P >Integration of UNIX and Microsoft Windows NT through a unified logon has been considered a "holy grail" in heterogeneous computing environments for a long time. We present - <I + <SPAN +CLASS="emphasis" +><I CLASS="EMPHASIS" >winbind</I +></SPAN >, a component of the Samba suite of programs as a solution to the unified logon problem. Winbind uses a UNIX implementation @@ -7172,7 +7123,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN1398">Introduction</H2 +NAME="AEN1401" +></A +>11.2. Introduction</H2 ><P >It is well known that UNIX and Microsoft Windows NT have different models for representing user and group information and @@ -7224,7 +7177,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN1411">What Winbind Provides</H2 +NAME="AEN1414" +></A +>11.3. What Winbind Provides</H2 ><P >Winbind unifies UNIX and Windows NT account management by allowing a UNIX box to become a full member of a NT domain. Once @@ -7264,7 +7219,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN1418">Target Uses</H3 +NAME="AEN1421" +></A +>11.3.1. Target Uses</H3 ><P >Winbind is targeted at organizations that have an existing NT based domain infrastructure into which they wish @@ -7286,7 +7243,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN1422">How Winbind Works</H2 +NAME="AEN1425" +></A +>11.4. How Winbind Works</H2 ><P >The winbind system is designed around a client/server architecture. A long running <B @@ -7304,7 +7263,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN1427">Microsoft Remote Procedure Calls</H3 +NAME="AEN1430" +></A +>11.4.1. Microsoft Remote Procedure Calls</H3 ><P >Over the last two years, efforts have been underway by various Samba Team members to decode various aspects of @@ -7328,7 +7289,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN1431">Name Service Switch</H3 +NAME="AEN1434" +></A +>11.4.2. Name Service Switch</H3 ><P >The Name Service Switch, or NSS, is a feature that is present in many UNIX operating systems. It allows system @@ -7406,7 +7369,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN1447">Pluggable Authentication Modules</H3 +NAME="AEN1450" +></A +>11.4.3. Pluggable Authentication Modules</H3 ><P >Pluggable Authentication Modules, also known as PAM, is a system for abstracting authentication and authorization @@ -7453,7 +7418,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN1455">User and Group ID Allocation</H3 +NAME="AEN1458" +></A +>11.4.4. User and Group ID Allocation</H3 ><P >When a user or group is created under Windows NT is it allocated a numerical relative identifier (RID). This is @@ -7477,7 +7444,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN1459">Result Caching</H3 +NAME="AEN1462" +></A +>11.4.5. Result Caching</H3 ><P >An active system can generate a lot of user and group name lookups. To reduce the network cost of these lookups winbind @@ -7498,7 +7467,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN1462">Installation and Configuration</H2 +NAME="AEN1465" +></A +>11.5. Installation and Configuration</H2 ><P >Many thanks to John Trostel <A HREF="mailto:jtrostel@snapserver.com" @@ -7523,7 +7494,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN1469">Introduction</H3 +NAME="AEN1472" +></A +>11.5.1. Introduction</H3 ><P >This HOWTO describes the procedures used to get winbind up and running on my RedHat 7.1 system. Winbind is capable of providing access @@ -7539,9 +7512,12 @@ somewhat to fit the way your distribution works.</P ><UL ><LI ><P -> <I +> <SPAN +CLASS="emphasis" +><I CLASS="EMPHASIS" >Why should I to this?</I +></SPAN > </P ><P @@ -7553,9 +7529,12 @@ CLASS="EMPHASIS" ></LI ><LI ><P -> <I +> <SPAN +CLASS="emphasis" +><I CLASS="EMPHASIS" >Who should be reading this document?</I +></SPAN > </P ><P @@ -7574,24 +7553,35 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN1482">Requirements</H3 +NAME="AEN1485" +></A +>11.5.2. Requirements</H3 ><P >If you have a samba configuration file that you are currently -using... <I +using... <SPAN +CLASS="emphasis" +><I CLASS="EMPHASIS" >BACK IT UP!</I +></SPAN > If your system already uses PAM, -<I +<SPAN +CLASS="emphasis" +><I CLASS="EMPHASIS" >back up the <TT CLASS="FILENAME" >/etc/pam.d</TT > directory contents!</I +></SPAN > If you haven't already made a boot disk, -<I +<SPAN +CLASS="emphasis" +><I CLASS="EMPHASIS" >MAKE ONE NOW!</I +></SPAN ></P ><P >Messing with the pam configuration files can make it nearly impossible @@ -7633,7 +7623,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN1496">Testing Things Out</H3 +NAME="AEN1499" +></A +>11.5.3. Testing Things Out</H3 ><P >Before starting, it is probably best to kill off all the SAMBA related daemons running on your server. Kill off all <B @@ -7676,18 +7668,14 @@ CLASS="SECT3" ><HR><H4 CLASS="SECT3" ><A -NAME="AEN1507">Configure and compile SAMBA</H4 +NAME="AEN1510" +></A +>11.5.3.1. Configure and compile SAMBA</H4 ><P >The configuration and compilation of SAMBA is pretty straightforward. The first three steps may not be necessary depending upon whether or not you have previously built the Samba binaries.</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" ><TT @@ -7732,9 +7720,6 @@ CLASS="PROMPT" CLASS="COMMAND" >make install</B ></PRE -></TD -></TR -></TABLE ></P ><P >This will, by default, install SAMBA in <TT @@ -7749,7 +7734,9 @@ CLASS="SECT3" ><HR><H4 CLASS="SECT3" ><A -NAME="AEN1526">Configure <TT +NAME="AEN1529" +></A +>11.5.3.2. Configure <TT CLASS="FILENAME" >nsswitch.conf</TT > and the @@ -7817,20 +7804,11 @@ CLASS="FILENAME" > file look like this after editing:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > passwd: files winbind shadow: files group: files winbind</PRE -></TD -></TR -></TABLE ></P ><P > @@ -7861,7 +7839,9 @@ CLASS="SECT3" ><HR><H4 CLASS="SECT3" ><A -NAME="AEN1559">Configure smb.conf</H4 +NAME="AEN1562" +></A +>11.5.3.3. Configure smb.conf</H4 ><P >Several parameters are needed in the smb.conf file to control the behavior of <B @@ -7883,12 +7863,6 @@ CLASS="FILENAME" > file was modified to include the following entries in the [global] section:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >[global] @@ -7933,9 +7907,6 @@ HREF="winbindd.8.html#TEMPLATESHELL" TARGET="_top" >template shell</A > = /bin/bash</PRE -></TD -></TR -></TABLE ></P ></DIV ><DIV @@ -7943,7 +7914,9 @@ CLASS="SECT3" ><HR><H4 CLASS="SECT3" ><A -NAME="AEN1575">Join the SAMBA server to the PDC domain</H4 +NAME="AEN1578" +></A +>11.5.3.4. Join the SAMBA server to the PDC domain</H4 ><P >Enter the following command to make the SAMBA server join the PDC domain, where <TT @@ -7987,7 +7960,9 @@ CLASS="SECT3" ><HR><H4 CLASS="SECT3" ><A -NAME="AEN1586">Start up the winbindd daemon and test it!</H4 +NAME="AEN1589" +></A +>11.5.3.5. Start up the winbindd daemon and test it!</H4 ><P >Eventually, you will want to modify your smb startup script to automatically invoke the winbindd daemon when the other parts of @@ -8033,12 +8008,6 @@ CLASS="COMMAND" This should echo back a list of users on your Windows users on your PDC. For example, I get the following response:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >CEO+Administrator @@ -8047,9 +8016,6 @@ CEO+Guest CEO+jt-ad CEO+krbtgt CEO+TsInternetUser</PRE -></TD -></TR -></TABLE ></P ><P >Obviously, I have named my domain 'CEO' and my <TT @@ -8063,12 +8029,6 @@ separator</I >You can do the same sort of thing to get group information from the PDC:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" ><TT @@ -8087,9 +8047,6 @@ CEO+Cert Publishers CEO+Schema Admins CEO+Enterprise Admins CEO+Group Policy Creator Owners</PRE -></TD -></TR -></TABLE ></P ><P >The function 'getent' can now be used to get unified @@ -8126,13 +8083,17 @@ CLASS="SECT3" ><HR><H4 CLASS="SECT3" ><A -NAME="AEN1622">Fix the init.d startup scripts</H4 +NAME="AEN1625" +></A +>11.5.3.6. Fix the init.d startup scripts</H4 ><DIV CLASS="SECT4" ><H5 CLASS="SECT4" ><A -NAME="AEN1624">Linux</H5 +NAME="AEN1627" +></A +>11.5.3.6.1. Linux</H5 ><P >The <B CLASS="COMMAND" @@ -8171,12 +8132,6 @@ CLASS="FILENAME" > directory directly. The 'start' function in the script looks like this:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >start() { @@ -8199,20 +8154,11 @@ CLASS="PROGRAMLISTING" RETVAL=1 return $RETVAL }</PRE -></TD -></TR -></TABLE ></P ><P >The 'stop' function has a corresponding entry to shut down the services and look s like this:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >stop() { @@ -8234,9 +8180,6 @@ CLASS="PROGRAMLISTING" echo "" return $RETVAL }</PRE -></TD -></TR -></TABLE ></P ></DIV ><DIV @@ -8244,7 +8187,9 @@ CLASS="SECT4" ><HR><H5 CLASS="SECT4" ><A -NAME="AEN1641">Solaris</H5 +NAME="AEN1644" +></A +>11.5.3.6.2. Solaris</H5 ><P >On solaris, you need to modify the <TT @@ -8258,12 +8203,6 @@ CLASS="FILENAME" >, the file could contains something like this:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >## @@ -8312,9 +8251,6 @@ echo Starting Winbind Daemon echo "Usage: /etc/init.d/samba.server { start | stop }" ;; esac</PRE -></TD -></TR -></TABLE ></P ></DIV ><DIV @@ -8322,7 +8258,9 @@ CLASS="SECT4" ><HR><H5 CLASS="SECT4" ><A -NAME="AEN1648">Restarting</H5 +NAME="AEN1651" +></A +>11.5.3.6.3. Restarting</H5 ><P >If you restart the <B CLASS="COMMAND" @@ -8344,7 +8282,9 @@ CLASS="SECT3" ><HR><H4 CLASS="SECT3" ><A -NAME="AEN1654">Configure Winbind and PAM</H4 +NAME="AEN1657" +></A +>11.5.3.7. Configure Winbind and PAM</H4 ><P >If you have made it this far, you know that winbindd and samba are working together. If you want to use winbind to provide authentication for other @@ -8400,7 +8340,9 @@ CLASS="SECT4" ><HR><H5 CLASS="SECT4" ><A -NAME="AEN1671">Linux/FreeBSD-specific PAM configuration</H5 +NAME="AEN1674" +></A +>11.5.3.7.1. Linux/FreeBSD-specific PAM configuration</H5 ><P >The <TT CLASS="FILENAME" @@ -8408,19 +8350,10 @@ CLASS="FILENAME" > file does not need to be changed. I just left this fileas it was:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >auth required /lib/security/pam_stack.so service=system-auth account required /lib/security/pam_stack.so service=system-auth</PRE -></TD -></TR -></TABLE ></P ><P >The other services that I modified to allow the use of winbind @@ -8444,34 +8377,16 @@ CLASS="FILENAME" >/etc/xinetd.d/wu-ftp</TT > from </P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >enable = no</PRE -></TD -></TR -></TABLE ></P ><P >to</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >enable = yes</PRE -></TD -></TR -></TABLE ></P ><P > @@ -8499,12 +8414,6 @@ CLASS="FILENAME" > file was changed to look like this:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >auth required /lib/security/pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed @@ -8514,9 +8423,6 @@ auth required /lib/security/pam_shells.so account sufficient /lib/security/pam_winbind.so account required /lib/security/pam_stack.so service=system-auth session required /lib/security/pam_stack.so service=system-auth</PRE -></TD -></TR -></TABLE ></P ><P >The <TT @@ -8525,12 +8431,6 @@ CLASS="FILENAME" > file can be changed nearly the same way. It now looks like this:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >auth required /lib/security/pam_securetty.so @@ -8543,9 +8443,6 @@ account required /lib/security/pam_stack.so service=system-auth password required /lib/security/pam_stack.so service=system-auth session required /lib/security/pam_stack.so service=system-auth session optional /lib/security/pam_console.so</PRE -></TD -></TR -></TABLE ></P ><P >In this case, I added the <B @@ -8572,7 +8469,9 @@ CLASS="SECT4" ><HR><H5 CLASS="SECT4" ><A -NAME="AEN1704">Solaris-specific configuration</H5 +NAME="AEN1707" +></A +>11.5.3.7.2. Solaris-specific configuration</H5 ><P >The /etc/pam.conf needs to be changed. I changed this file so that my Domain users can logon both locally as well as telnet.The following are the changes @@ -8580,12 +8479,6 @@ that I made.You can customize the pam.conf file as per your requirements,but be sure of those changes because in the worst case it will leave your system nearly impossible to boot.</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" ># @@ -8647,9 +8540,6 @@ dtsession auth required /usr/lib/security/$ISA/pam_unix.so.1 #other account optional /usr/lib/security/$ISA/pam_krb5.so.1 #other session optional /usr/lib/security/$ISA/pam_krb5.so.1 #other password optional /usr/lib/security/$ISA/pam_krb5.so.1 try_first_pass</PRE -></TD -></TR -></TABLE ></P ><P >I also added a try_first_pass line after the winbind.so line to get rid of @@ -8666,7 +8556,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN1711">Limitations</H2 +NAME="AEN1714" +></A +>11.6. Limitations</H2 ><P >Winbind has a number of limitations in its current released version that we hope to overcome in future @@ -8705,7 +8597,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN1721">Conclusion</H2 +NAME="AEN1724" +></A +>11.7. Conclusion</H2 ><P >The winbind system, through the use of the Name Service Switch, Pluggable Authentication Modules, and appropriate @@ -8719,13 +8613,17 @@ NAME="AEN1721">Conclusion</H2 CLASS="CHAPTER" ><HR><H1 ><A -NAME="SAMBA-PDC">How to Configure Samba 2.2 as a Primary Domain Controller</H1 +NAME="SAMBA-PDC" +></A +>Chapter 12. How to Configure Samba 2.2 as a Primary Domain Controller</H1 ><DIV CLASS="SECT1" ><H2 CLASS="SECT1" ><A -NAME="AEN1741">Prerequisite Reading</H2 +NAME="AEN1744" +></A +>12.1. Prerequisite Reading</H2 ><P >Before you continue reading in this chapter, please make sure that you are comfortable with configuring basic files services @@ -8751,7 +8649,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN1747">Background</H2 +NAME="AEN1750" +></A +>12.2. Background</H2 ><DIV CLASS="NOTE" ><P @@ -8766,16 +8666,19 @@ WIDTH="25" ALIGN="CENTER" VALIGN="TOP" ><IMG -SRC="./stylesheet-images/note.gif" +SRC="/docbook-dsssl/note.gif" HSPACE="5" ALT="Note"></TD ><TD ALIGN="LEFT" VALIGN="TOP" ><P +><SPAN +CLASS="emphasis" ><I CLASS="EMPHASIS" >Author's Note:</I +></SPAN > This document is a combination of David Bannon's "Samba 2.2 PDC HOWTO" and "Samba NT Domain FAQ". Both documents are superseded by this one.</P @@ -8898,7 +8801,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN1786">Configuring the Samba Domain Controller</H2 +NAME="AEN1789" +></A +>12.3. Configuring the Samba Domain Controller</H2 ><P >The first step in creating a working Samba PDC is to understand the parameters necessary in smb.conf. I will not @@ -8916,12 +8821,6 @@ CLASS="FILENAME" >smb.conf</TT > for acting as a PDC:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >[global] @@ -9063,9 +8962,6 @@ HREF="smb.conf.5.html#DIRECTORYMASK" TARGET="_top" >directory mask</A > = 0700</PRE -></TD -></TR -></TABLE ></P ><P >There are a couple of points to emphasize in the above configuration.</P @@ -9117,7 +9013,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN1829">Creating Machine Trust Accounts and Joining Clients to the +NAME="AEN1832" +></A +>12.4. Creating Machine Trust Accounts and Joining Clients to the Domain</H2 ><P >A machine trust account is a Samba account that is used to @@ -9189,7 +9087,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN1848">Manual Creation of Machine Trust Accounts</H3 +NAME="AEN1851" +></A +>12.4.1. Manual Creation of Machine Trust Accounts</H3 ><P >The first step in manually creating a machine trust account is to manually create the corresponding Unix account in @@ -9247,12 +9147,6 @@ CLASS="FILENAME" >/etc/passwd</TT > entry like this:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >doppy$:x:505:501:<TT @@ -9261,9 +9155,6 @@ CLASS="REPLACEABLE" >machine_nickname</I ></TT >:/dev/null:/bin/false</PRE -></TD -></TR -></TABLE ></P ><P >Above, <TT @@ -9330,7 +9221,7 @@ WIDTH="25" ALIGN="CENTER" VALIGN="TOP" ><IMG -SRC="./stylesheet-images/warning.gif" +SRC="/docbook-dsssl/warning.gif" HSPACE="5" ALT="Warning"></TD ><TH @@ -9366,7 +9257,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN1883">"On-the-Fly" Creation of Machine Trust Accounts</H3 +NAME="AEN1886" +></A +>12.4.2. "On-the-Fly" Creation of Machine Trust Accounts</H3 ><P >The second (and recommended) way of creating machine trust accounts is simply to allow the Samba server to create them as needed when the client @@ -9389,20 +9282,11 @@ be created manually.</P ><P >Below is an example for a RedHat 6.2 Linux system.</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >[global] # <...remainder of parameters...> add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u </PRE -></TD -></TR -></TABLE ></P ></DIV ><DIV @@ -9410,7 +9294,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN1892">Joining the Client to the Domain</H3 +NAME="AEN1895" +></A +>12.4.3. Joining the Client to the Domain</H3 ><P >The procedure for joining a client to the domain varies with the version of Windows.</P @@ -9419,9 +9305,12 @@ version of Windows.</P ><UL ><LI ><P +><SPAN +CLASS="emphasis" ><I CLASS="EMPHASIS" >Windows 2000</I +></SPAN ></P ><P > When the user elects to join the client to a domain, Windows prompts for @@ -9444,9 +9333,12 @@ CLASS="FILENAME" ></LI ><LI ><P +><SPAN +CLASS="emphasis" ><I CLASS="EMPHASIS" >Windows NT</I +></SPAN ></P ><P > If the machine trust account was created manually, on the @@ -9470,7 +9362,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN1907">Common Problems and Errors</H2 +NAME="AEN1910" +></A +>12.5. Common Problems and Errors</H2 ><P ></P ><P @@ -9478,9 +9372,12 @@ NAME="AEN1907">Common Problems and Errors</H2 ><UL ><LI ><P -> <I +> <SPAN +CLASS="emphasis" +><I CLASS="EMPHASIS" >I cannot include a '$' in a machine name.</I +></SPAN > </P ><P @@ -9504,11 +9401,14 @@ CLASS="COMMAND" ></LI ><LI ><P -> <I +> <SPAN +CLASS="emphasis" +><I CLASS="EMPHASIS" >I get told "You already have a connection to the Domain...." or "Cannot join domain, the credentials supplied conflict with an existing set.." when creating a machine trust account.</I +></SPAN > </P ><P @@ -9535,9 +9435,12 @@ CLASS="COMMAND" ></LI ><LI ><P -> <I +> <SPAN +CLASS="emphasis" +><I CLASS="EMPHASIS" >The system can not log you on (C000019B)....</I +></SPAN > </P ><P @@ -9564,10 +9467,13 @@ CLASS="COMMAND" ></LI ><LI ><P -> <I +> <SPAN +CLASS="emphasis" +><I CLASS="EMPHASIS" >The machine trust account for this computer either does not exist or is not accessible.</I +></SPAN > </P ><P @@ -9601,10 +9507,13 @@ CLASS="PARAMETER" ></LI ><LI ><P -> <I +> <SPAN +CLASS="emphasis" +><I CLASS="EMPHASIS" >When I attempt to login to a Samba Domain from a NT4/W2K workstation, I get a message about my account being disabled.</I +></SPAN > </P ><P @@ -9634,19 +9543,10 @@ CLASS="FILENAME" > file as follows: </P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="90%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > account required pam_permit.so </PRE -></TD -></TR -></TABLE ></P ><P > If you want to remain backward compatibility to samba 2.0.x use @@ -9672,7 +9572,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN1955">System Policies and Profiles</H2 +NAME="AEN1958" +></A +>12.6. System Policies and Profiles</H2 ><P >Much of the information necessary to implement System Policies and Roving User Profiles in a Samba domain is the same as that for @@ -9690,9 +9592,12 @@ Profiles and Policies in Windows NT 4.0</A ><UL ><LI ><P -> <I +> <SPAN +CLASS="emphasis" +><I CLASS="EMPHASIS" >What about Windows NT Policy Editor?</I +></SPAN > </P ><P @@ -9704,14 +9609,20 @@ CLASS="FILENAME" CLASS="COMMAND" >poledit.exe</B > which - is included with NT Server but <I + is included with NT Server but <SPAN +CLASS="emphasis" +><I CLASS="EMPHASIS" >not NT Workstation</I +></SPAN >. There is a Policy Editor on a NTws - but it is not suitable for creating <I + but it is not suitable for creating <SPAN +CLASS="emphasis" +><I CLASS="EMPHASIS" >Domain Policies</I +></SPAN >. Further, although the Windows 95 Policy Editor can be installed on an NT Workstation/Server, it will not @@ -9752,9 +9663,12 @@ CLASS="COMMAND" ></LI ><LI ><P -> <I +> <SPAN +CLASS="emphasis" +><I CLASS="EMPHASIS" >Can Win95 do Policies?</I +></SPAN > </P ><P @@ -9779,9 +9693,12 @@ CLASS="FILENAME" ></LI ><LI ><P -> <I +> <SPAN +CLASS="emphasis" +><I CLASS="EMPHASIS" >How do I get 'User Manager' and 'Server Manager'</I +></SPAN > </P ><P @@ -9832,7 +9749,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN1999">What other help can I get?</H2 +NAME="AEN2002" +></A +>12.7. What other help can I get?</H2 ><P >There are many sources of information available in the form of mailing lists, RFC's and documentation. The docs that come @@ -9843,10 +9762,13 @@ general SMB topics such as browsing.</P ><UL ><LI ><P -> <I +> <SPAN +CLASS="emphasis" +><I CLASS="EMPHASIS" >What are some diagnostics tools I can use to debug the domain logon process and where can I find them?</I +></SPAN > </P ><P @@ -9916,10 +9838,13 @@ TARGET="_top" ></LI ><LI ><P -> <I +> <SPAN +CLASS="emphasis" +><I CLASS="EMPHASIS" >How do I install 'Network Monitor' on an NT Workstation or a Windows 9x box?</I +></SPAN > </P ><P @@ -10034,9 +9959,12 @@ TARGET="_top" ></LI ><LI ><P -> The <I +> The <SPAN +CLASS="emphasis" +><I CLASS="EMPHASIS" >Development</I +></SPAN > document on the Samba mirrors might mention your problem. If so, it might mean that the developers are working on it.</P @@ -10093,9 +10021,12 @@ TARGET="_top" ><UL ><LI ><P -> <I +> <SPAN +CLASS="emphasis" +><I CLASS="EMPHASIS" >How do I get help from the mailing lists?</I +></SPAN > </P ><P @@ -10170,9 +10101,12 @@ TARGET="_top" ></LI ><LI ><P ->You might include <I +>You might include <SPAN +CLASS="emphasis" +><I CLASS="EMPHASIS" >partial</I +></SPAN > log files written at a debug level set to as much as 20. Please don't send the entire log but enough to give the context of the @@ -10194,9 +10128,12 @@ CLASS="EMPHASIS" ></LI ><LI ><P -> <I +> <SPAN +CLASS="emphasis" +><I CLASS="EMPHASIS" >How do I get off the mailing lists?</I +></SPAN > </P ><P @@ -10232,7 +10169,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2113">Domain Control for Windows 9x/ME</H2 +NAME="AEN2116" +></A +>12.8. Domain Control for Windows 9x/ME</H2 ><DIV CLASS="NOTE" ><P @@ -10247,7 +10186,7 @@ WIDTH="25" ALIGN="CENTER" VALIGN="TOP" ><IMG -SRC="./stylesheet-images/note.gif" +SRC="/docbook-dsssl/note.gif" HSPACE="5" ALT="Note"></TD ><TD @@ -10256,10 +10195,13 @@ VALIGN="TOP" ><P >The following section contains much of the original DOMAIN.txt file previously included with Samba. Much of -the material is based on what went into the book <I +the material is based on what went into the book <SPAN +CLASS="emphasis" +><I CLASS="EMPHASIS" >Special Edition, Using Samba</I +></SPAN >, by Richard Sharpe.</P ></TD ></TR @@ -10361,7 +10303,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN2139">Configuration Instructions: Network Logons</H3 +NAME="AEN2142" +></A +>12.8.1. Configuration Instructions: Network Logons</H3 ><P >The main difference between a PDC and a Windows 9x logon server configuration is that</P @@ -10394,7 +10338,7 @@ WIDTH="25" ALIGN="CENTER" VALIGN="TOP" ><IMG -SRC="./stylesheet-images/warning.gif" +SRC="/docbook-dsssl/warning.gif" HSPACE="5" ALT="Warning"></TD ><TH @@ -10465,7 +10409,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN2158">Configuration Instructions: Setting up Roaming User Profiles</H3 +NAME="AEN2161" +></A +>12.8.2. Configuration Instructions: Setting up Roaming User Profiles</H3 ><DIV CLASS="WARNING" ><P @@ -10480,16 +10426,19 @@ WIDTH="25" ALIGN="CENTER" VALIGN="TOP" ><IMG -SRC="./stylesheet-images/warning.gif" +SRC="/docbook-dsssl/warning.gif" HSPACE="5" ALT="Warning"></TD ><TD ALIGN="LEFT" VALIGN="TOP" ><P +><SPAN +CLASS="emphasis" ><I CLASS="EMPHASIS" >NOTE!</I +></SPAN > Roaming profiles support is different for Win9X and WinNT.</P ></TD @@ -10513,23 +10462,16 @@ CLASS="SECT3" ><HR><H4 CLASS="SECT3" ><A -NAME="AEN2166">Windows NT Configuration</H4 +NAME="AEN2169" +></A +>12.8.2.1. Windows NT Configuration</H4 ><P >To support WinNT clients, in the [global] section of smb.conf set the following (for example):</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >logon path = \\profileserver\profileshare\profilepath\%U\moreprofilepath</PRE -></TD -></TR -></TABLE ></P ><P >The default for this option is \\%N\%U\profile, namely @@ -10551,7 +10493,7 @@ WIDTH="25" ALIGN="CENTER" VALIGN="TOP" ><IMG -SRC="./stylesheet-images/note.gif" +SRC="/docbook-dsssl/note.gif" HSPACE="5" ALT="Note"></TD ><TD @@ -10571,7 +10513,9 @@ CLASS="SECT3" ><HR><H4 CLASS="SECT3" ><A -NAME="AEN2174">Windows 9X Configuration</H4 +NAME="AEN2177" +></A +>12.8.2.2. Windows 9X Configuration</H4 ><P >To support Win9X clients, you must use the "logon home" parameter. Samba has now been fixed so that "net use/home" now works as well, and it, too, relies @@ -10582,18 +10526,9 @@ profiles in the user's home directory. But wait! There is a trick you can use. If you set the following in the [global] section of your smb.conf file:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >logon home = \\%L\%U\.profiles</PRE -></TD -></TR -></TABLE ></P ><P >then your Win9X clients will dutifully put their clients in a subdirectory @@ -10609,24 +10544,17 @@ CLASS="SECT3" ><HR><H4 CLASS="SECT3" ><A -NAME="AEN2182">Win9X and WinNT Configuration</H4 +NAME="AEN2185" +></A +>12.8.2.3. Win9X and WinNT Configuration</H4 ><P >You can support profiles for both Win9X and WinNT clients by setting both the "logon home" and "logon path" parameters. For example:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >logon home = \\%L\%U\.profiles logon path = \\%L\profiles\%U</PRE -></TD -></TR -></TABLE ></P ><DIV CLASS="NOTE" @@ -10642,7 +10570,7 @@ WIDTH="25" ALIGN="CENTER" VALIGN="TOP" ><IMG -SRC="./stylesheet-images/note.gif" +SRC="/docbook-dsssl/note.gif" HSPACE="5" ALT="Note"></TD ><TD @@ -10661,7 +10589,9 @@ CLASS="SECT3" ><HR><H4 CLASS="SECT3" ><A -NAME="AEN2189">Windows 9X Profile Setup</H4 +NAME="AEN2192" +></A +>12.8.2.4. Windows 9X Profile Setup</H4 ><P >When a user first logs in on Windows 9X, the file user.DAT is created, as are folders "Start Menu", "Desktop", "Programs" and "Nethood". @@ -10766,9 +10696,12 @@ TYPE="1" ></LI ><LI ><P -> <I +> <SPAN +CLASS="emphasis" +><I CLASS="EMPHASIS" >WARNING</I +></SPAN > - before deleting the contents of the directory listed in the ProfilePath (this is likely to be c:\windows\profiles\username), @@ -10816,7 +10749,9 @@ CLASS="SECT3" ><HR><H4 CLASS="SECT3" ><A -NAME="AEN2225">Windows NT Workstation 4.0</H4 +NAME="AEN2228" +></A +>12.8.2.5. Windows NT Workstation 4.0</H4 ><P >When a user first logs in to a Windows NT Workstation, the profile NTuser.DAT is created. The profile location can be now specified @@ -10835,7 +10770,7 @@ WIDTH="25" ALIGN="CENTER" VALIGN="TOP" ><IMG -SRC="./stylesheet-images/note.gif" +SRC="/docbook-dsssl/note.gif" HSPACE="5" ALT="Note"></TD ><TD @@ -10893,7 +10828,7 @@ WIDTH="25" ALIGN="CENTER" VALIGN="TOP" ><IMG -SRC="./stylesheet-images/note.gif" +SRC="/docbook-dsssl/note.gif" HSPACE="5" ALT="Note"></TD ><TD @@ -10928,7 +10863,9 @@ CLASS="SECT3" ><HR><H4 CLASS="SECT3" ><A -NAME="AEN2238">Windows NT Server</H4 +NAME="AEN2241" +></A +>12.8.2.6. Windows NT Server</H4 ><P >There is nothing to stop you specifying any path that you like for the location of users' profiles. Therefore, you could specify that the @@ -10940,7 +10877,9 @@ CLASS="SECT3" ><HR><H4 CLASS="SECT3" ><A -NAME="AEN2241">Sharing Profiles between W95 and NT Workstation 4.0</H4 +NAME="AEN2244" +></A +>12.8.2.7. Sharing Profiles between W95 and NT Workstation 4.0</H4 ><DIV CLASS="WARNING" ><P @@ -10955,7 +10894,7 @@ WIDTH="25" ALIGN="CENTER" VALIGN="TOP" ><IMG -SRC="./stylesheet-images/warning.gif" +SRC="/docbook-dsssl/warning.gif" HSPACE="5" ALT="Warning"></TD ><TH @@ -11007,7 +10946,7 @@ WIDTH="25" ALIGN="CENTER" VALIGN="TOP" ><IMG -SRC="./stylesheet-images/note.gif" +SRC="/docbook-dsssl/note.gif" HSPACE="5" ALT="Note"></TD ><TD @@ -11031,7 +10970,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2251">DOMAIN_CONTROL.txt : Windows NT Domain Control & Samba</H2 +NAME="AEN2254" +></A +>12.9. DOMAIN_CONTROL.txt : Windows NT Domain Control & Samba</H2 ><DIV CLASS="WARNING" ><P @@ -11046,7 +10987,7 @@ WIDTH="25" ALIGN="CENTER" VALIGN="TOP" ><IMG -SRC="./stylesheet-images/warning.gif" +SRC="/docbook-dsssl/warning.gif" HSPACE="5" ALT="Warning"></TD ><TH @@ -11071,9 +11012,12 @@ VALIGN="TOP" ></TABLE ></DIV ><P +><SPAN +CLASS="emphasis" ><I CLASS="EMPHASIS" >NOTE :</I +></SPAN > The term "Domain Controller" and those related to it refer to one specific method of authentication that can underly an SMB domain. Domain Controllers @@ -11163,13 +11107,17 @@ within its registry.</P CLASS="CHAPTER" ><HR><H1 ><A -NAME="SAMBA-BDC">How to Act as a Backup Domain Controller in a Purely Samba Controlled Domain</H1 +NAME="SAMBA-BDC" +></A +>Chapter 13. How to Act as a Backup Domain Controller in a Purely Samba Controlled Domain</H1 ><DIV CLASS="SECT1" ><H2 CLASS="SECT1" ><A -NAME="AEN2287">Prerequisite Reading</H2 +NAME="AEN2290" +></A +>13.1. Prerequisite Reading</H2 ><P >Before you continue reading in this chapter, please make sure that you are comfortable with configuring a Samba PDC @@ -11184,7 +11132,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2291">Background</H2 +NAME="AEN2294" +></A +>13.2. Background</H2 ><P >What is a Domain Controller? It is a machine that is able to answer logon requests from workstations in a Windows NT Domain. Whenever a @@ -11211,20 +11161,11 @@ current Windows Clients, including Windows 2000 and XP. This text assumes the domain to be named SAMBA. To be able to act as a PDC, some parameters in the [global]-section of the smb.conf have to be set:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >workgroup = SAMBA domain master = yes domain logons = yes</PRE -></TD -></TR -></TABLE ></P ><P >Several other things like a [homes] and a [netlogon] share also may be @@ -11236,7 +11177,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2299">What qualifies a Domain Controller on the network?</H2 +NAME="AEN2302" +></A +>13.3. What qualifies a Domain Controller on the network?</H2 ><P >Every machine that is a Domain Controller for the domain SAMBA has to register the NetBIOS group name SAMBA#1c with the WINS server and/or @@ -11251,7 +11194,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN2302">How does a Workstation find its domain controller?</H3 +NAME="AEN2305" +></A +>13.3.1. How does a Workstation find its domain controller?</H3 ><P >A NT workstation in the domain SAMBA that wants a local user to be authenticated has to find the domain controller for SAMBA. It does @@ -11268,7 +11213,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN2305">When is the PDC needed?</H3 +NAME="AEN2308" +></A +>13.3.2. When is the PDC needed?</H3 ><P >Whenever a user wants to change his password, this has to be done on the PDC. To find the PDC, the workstation does a NetBIOS name query @@ -11282,7 +11229,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2308">Can Samba be a Backup Domain Controller?</H2 +NAME="AEN2311" +></A +>13.4. Can Samba be a Backup Domain Controller?</H2 ><P >With version 2.2, no. The native NT SAM replication protocols have not yet been fully implemented. The Samba Team is working on @@ -11299,7 +11248,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2312">How do I set up a Samba BDC?</H2 +NAME="AEN2315" +></A +>13.5. How do I set up a Samba BDC?</H2 ><P >Several things have to be done:</P ><P @@ -11346,20 +11297,11 @@ synchronization.</P >Finally, the BDC has to be found by the workstations. This can be done by setting</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >workgroup = samba domain master = no domain logons = yes</PRE -></TD -></TR -></TABLE ></P ><P >in the [global]-section of the smb.conf of the BDC. This makes the BDC @@ -11373,7 +11315,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN2329">How do I replicate the smbpasswd file?</H3 +NAME="AEN2332" +></A +>13.5.1. How do I replicate the smbpasswd file?</H3 ><P >Replication of the smbpasswd file is sensitive. It has to be done whenever changes to the SAM are made. Every user's password change is @@ -11393,13 +11337,17 @@ password.</P CLASS="CHAPTER" ><HR><H1 ><A -NAME="SAMBA-LDAP-HOWTO">Storing Samba's User/Machine Account information in an LDAP Directory</H1 +NAME="SAMBA-LDAP-HOWTO" +></A +>Chapter 14. Storing Samba's User/Machine Account information in an LDAP Directory</H1 ><DIV CLASS="SECT1" ><H2 CLASS="SECT1" ><A -NAME="AEN2350">Purpose</H2 +NAME="AEN2353" +></A +>14.1. Purpose</H2 ><P >This document describes how to use an LDAP directory for storing Samba user account information traditionally stored in the smbpasswd(5) file. It is @@ -11465,7 +11413,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2370">Introduction</H2 +NAME="AEN2373" +></A +>14.2. Introduction</H2 ><P >Traditionally, when configuring <A HREF="smb.conf.5.html#ENCRYPTPASSWORDS" @@ -11580,7 +11530,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2399">Supported LDAP Servers</H2 +NAME="AEN2402" +></A +>14.3. Supported LDAP Servers</H2 ><P >The LDAP samdb code in 2.2.3 has been developed and tested using the OpenLDAP 2.0 server and client libraries. The same code should be able to work with @@ -11603,7 +11555,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2404">Schema and Relationship to the RFC 2307 posixAccount</H2 +NAME="AEN2407" +></A +>14.4. Schema and Relationship to the RFC 2307 posixAccount</H2 ><P >Samba 2.2.3 includes the necessary schema file for OpenLDAP 2.0 in <TT @@ -11613,12 +11567,6 @@ CLASS="FILENAME" file has been modified since the experimental support initially included in 2.2.2). The sambaAccount objectclass is given here:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >objectclass ( 1.3.1.5.1.4.1.7165.2.2.2 NAME 'sambaAccount' SUP top STRUCTURAL @@ -11628,9 +11576,6 @@ CLASS="PROGRAMLISTING" logoffTime $ kickoffTime $ pwdCanChange $ pwdMustChange $ acctFlags $ displayName $ smbHome $ homeDrive $ scriptPath $ profilePath $ description $ userWorkstations $ primaryGroupID $ domain ))</PRE -></TD -></TR -></TABLE ></P ><P >The samba.schema file has been formatted for OpenLDAP 2.0. The OID's are @@ -11669,13 +11614,17 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2416">Configuring Samba with LDAP</H2 +NAME="AEN2419" +></A +>14.5. Configuring Samba with LDAP</H2 ><DIV CLASS="SECT2" ><H3 CLASS="SECT2" ><A -NAME="AEN2418">OpenLDAP configuration</H3 +NAME="AEN2421" +></A +>14.5.1. OpenLDAP configuration</H3 ><P >To include support for the sambaAccount object in an OpenLDAP directory server, first copy the samba.schema file to slapd's configuration directory.</P @@ -11709,12 +11658,6 @@ CLASS="FILENAME" >samba.schema</TT > file.</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >## /etc/openldap/slapd.conf @@ -11731,21 +11674,12 @@ include /etc/openldap/schema/samba.schema ## include /etc/openldap/schema/nis.schema ....</PRE -></TD -></TR -></TABLE ></P ><P >It is recommended that you maintain some indices on some of the most usefull attributes, like in the following example, to speed up searches made on sambaAccount objectclasses (and possibly posixAccount and posixGroup as well).</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" ># Indices to maintain @@ -11763,9 +11697,6 @@ index rid eq ##index gidNumber eq ##index cn eq ##index memberUid eq</PRE -></TD -></TR -></TABLE ></P ></DIV ><DIV @@ -11773,7 +11704,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN2435">Configuring Samba</H3 +NAME="AEN2438" +></A +>14.5.2. Configuring Samba</H3 ><P >The following parameters are available in smb.conf only with <TT CLASS="PARAMETER" @@ -11843,12 +11776,6 @@ TARGET="_top" page and so will not be repeated here. However, a sample smb.conf file for use with an LDAP directory could appear as</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >## /usr/local/samba/lib/smb.conf @@ -11888,10 +11815,7 @@ CLASS="REPLACEABLE" ldap suffix = "ou=people,dc=samba,dc=org" # generally the default ldap search filter is ok - # ldap filter = "(&(uid=%u)(objectclass=sambaAccount))"</PRE -></TD -></TR -></TABLE + # ldap filter = "(&(uid=%u)(objectclass=sambaAccount))"</PRE ></P ></DIV ></DIV @@ -11900,7 +11824,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2463">Accounts and Groups management</H2 +NAME="AEN2466" +></A +>14.6. Accounts and Groups management</H2 ><P >As users accounts are managed thru the sambaAccount objectclass, you should modify you existing administration tools to deal with sambaAccount attributes.</P @@ -11923,7 +11849,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2468">Security and sambaAccount</H2 +NAME="AEN2471" +></A +>14.7. Security and sambaAccount</H2 ><P >There are two important points to remember when discussing the security of sambaAccount entries in the directory.</P @@ -11932,17 +11860,23 @@ of sambaAccount entries in the directory.</P ><UL ><LI ><P +><SPAN +CLASS="emphasis" ><I CLASS="EMPHASIS" >Never</I +></SPAN > retrieve the lmPassword or ntPassword attribute values over an unencrypted LDAP session.</P ></LI ><LI ><P +><SPAN +CLASS="emphasis" ><I CLASS="EMPHASIS" >Never</I +></SPAN > allow non-admin users to view the lmPassword or ntPassword attribute values.</P ></LI @@ -11981,21 +11915,12 @@ CLASS="FILENAME" >slapd.conf</TT >:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >## allow the "ldap admin dn" access, but deny everyone else access to attrs=lmPassword,ntPassword by dn="cn=Samba Admin,ou=people,dc=plainjoe,dc=org" write by * none</PRE -></TD -></TR -></TABLE ></P ></DIV ><DIV @@ -12003,7 +11928,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2488">LDAP specials attributes for sambaAccounts</H2 +NAME="AEN2491" +></A +>14.8. LDAP specials attributes for sambaAccounts</H2 ><P >The sambaAccount objectclass is composed of the following attributes:</P ><P @@ -12212,16 +12139,12 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2558">Example LDIF Entries for a sambaAccount</H2 +NAME="AEN2561" +></A +>14.9. Example LDIF Entries for a sambaAccount</H2 ><P >The following is a working LDIF with the inclusion of the posixAccount objectclass:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >dn: uid=guest2, ou=people,dc=plainjoe,dc=org @@ -12238,20 +12161,11 @@ acctFlags: [UX ] logoffTime: 2147483647 rid: 19006 pwdCanChange: 0</PRE -></TD -></TR -></TABLE ></P ><P >The following is an LDIF entry for using both the sambaAccount and posixAccount objectclasses:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >dn: uid=gcarter, ou=people,dc=plainjoe,dc=org @@ -12276,9 +12190,6 @@ homeDirectory: /home/tashtego/gcarter pwdCanChange: 0 pwdMustChange: 2147483647 ntPassword: 878D8014606CDA29677A44EFA1353FC7</PRE -></TD -></TR -></TABLE ></P ></DIV ><DIV @@ -12286,7 +12197,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2566">Comments</H2 +NAME="AEN2569" +></A +>14.10. Comments</H2 ><P >Please mail all comments regarding this HOWTO to <A HREF="mailto:jerry@samba.org" @@ -12300,13 +12213,305 @@ last updated to reflect the Samba 2.2.3 release. </P CLASS="CHAPTER" ><HR><H1 ><A -NAME="IMPROVED-BROWSING">Improved browsing in samba</H1 +NAME="ADS" +></A +>Chapter 15. Using samba 3.0 with ActiveDirectory support</H1 +><P +>This is a VERY ROUGH guide to setting up the current (November 2001) +pre-alpha version of Samba 3.0 with kerberos authentication against a +Windows2000 KDC. The procedures listed here are likely to change as +the code develops.</P +><P +>Pieces you need before you begin: +<P +></P +><TABLE +BORDER="0" +><TBODY +><TR +><TD +>a Windows 2000 server.</TD +></TR +><TR +><TD +>samba 3.0 or higher.</TD +></TR +><TR +><TD +>the MIT kerberos development libraries (either install from the above sources or use a package). The heimdal libraries will not work.</TD +></TR +><TR +><TD +>the OpenLDAP development libraries.</TD +></TR +></TBODY +></TABLE +><P +></P +></P +><DIV +CLASS="SECT1" +><HR><H2 +CLASS="SECT1" +><A +NAME="AEN2587" +></A +>15.1. Installing the required packages for Debian</H2 +><P +>On Debian you need to install the following packages: +<P +></P +><TABLE +BORDER="0" +><TBODY +><TR +><TD +>libkrb5-dev</TD +></TR +><TR +><TD +>krb5-user</TD +></TR +></TBODY +></TABLE +><P +></P +></P +></DIV +><DIV +CLASS="SECT1" +><HR><H2 +CLASS="SECT1" +><A +NAME="AEN2593" +></A +>15.2. Installing the required packages for RedHat</H2 +><P +>On RedHat this means you should have at least: +<P +></P +><TABLE +BORDER="0" +><TBODY +><TR +><TD +>krb5-workstation (for kinit)</TD +></TR +><TR +><TD +>krb5-libs (for linking with)</TD +></TR +><TR +><TD +>krb5-devel (because you are compiling from source)</TD +></TR +></TBODY +></TABLE +><P +></P +></P +><P +>in addition to the standard development environment.</P +><P +>Note that these are not standard on a RedHat install, and you may need +to get them off CD2.</P +></DIV +><DIV +CLASS="SECT1" +><HR><H2 +CLASS="SECT1" +><A +NAME="AEN2602" +></A +>15.3. Compile Samba</H2 +><P +>If your kerberos libraries are in a non-standard location then + remember to add the configure option --with-krb5=DIR.</P +><P +>After you run configure make sure that include/config.h contains + lines like this:</P +><P +><PRE +CLASS="PROGRAMLISTING" +>#define HAVE_KRB5 1 +#define HAVE_LDAP 1</PRE +></P +><P +>If it doesn't then configure did not find your krb5 libraries or + your ldap libraries. Look in config.log to figure out why and fix + it.</P +><P +>Then compile and install Samba as usual. You must use at least the + following 3 options in smb.conf:</P +><P +><PRE +CLASS="PROGRAMLISTING" +> realm = YOUR.KERBEROS.REALM + ads server = your.kerberos.server + security = ADS + encrypt passwords = yes</PRE +></P +><P +>Strictly speaking, you can omit the realm name and you can use an IP + address for the ads server. In that case Samba will auto-detect these.</P +><P +>You do *not* need a smbpasswd file, although it won't do any harm + and if you have one then Samba will be able to fall back to normal + password security for older clients. I expect that the above + required options will change soon when we get better active + directory integration.</P +></DIV +><DIV +CLASS="SECT1" +><HR><H2 +CLASS="SECT1" +><A +NAME="AEN2614" +></A +>15.4. Setup your /etc/krb5.conf</H2 +><P +>The minimal configuration for krb5.conf is:</P +><P +><PRE +CLASS="PROGRAMLISTING" +> [realms] + YOUR.KERBEROS.REALM = { + kdc = your.kerberos.server + }</PRE +></P +><P +>Test your config by doing a "kinit USERNAME@REALM" and making sure that + your password is accepted by the Win2000 KDC. </P +><P +>NOTE: The realm must be uppercase. </P +><P +>You also must ensure that you can do a reverse DNS lookup on the IP +address of your KDC. Also, the name that this reverse lookup maps to +must either be the netbios name of the KDC (ie. the hostname with no +domain attached) or it can alternatively be the netbios name +followed by the realm. </P +><P +>The easiest way to ensure you get this right is to add a /etc/hosts +entry mapping the IP address of your KDC to its netbios name. If you +don't get this right then you will get a "local error" when you try +to join the realm.</P +><P +>If all you want is kerberos support in smbclient then you can skip +straight to step 5 now. Step 3 is only needed if you want kerberos +support in smbd.</P +></DIV +><DIV +CLASS="SECT1" +><HR><H2 +CLASS="SECT1" +><A +NAME="AEN2624" +></A +>15.5. Create the computer account</H2 +><P +>Do a "kinit" as a user that has authority to change arbitrary +passwords on the KDC ("Administrator" is a good choice). Then as a +user that has write permission on the Samba private directory +(usually root) run: +<B +CLASS="COMMAND" +>net ads join</B +></P +><DIV +CLASS="SECT2" +><HR><H3 +CLASS="SECT2" +><A +NAME="AEN2628" +></A +>15.5.1. Possible errors</H3 +><P +><P +></P +><DIV +CLASS="VARIABLELIST" +><DL +><DT +>"bash: kinit: command not found"</DT +><DD +><P +>kinit is in the krb5-workstation RPM on RedHat systems, and is in /usr/kerberos/bin, so it won't be in the path until you log in again (or open a new terminal)</P +></DD +><DT +>"ADS support not compiled in"</DT +><DD +><P +>Samba must be reconfigured (remove config.cache) and recompiled (make clean all install) after the kerberos libs and headers are installed.</P +></DD +></DL +></DIV +></P +></DIV +></DIV +><DIV +CLASS="SECT1" +><HR><H2 +CLASS="SECT1" +><A +NAME="AEN2640" +></A +>15.6. Test your server setup</H2 +><P +>On a Windows 2000 client try <B +CLASS="COMMAND" +>net use * \\server\share</B +>. You should +be logged in with kerberos without needing to know a password. If +this fails then run <B +CLASS="COMMAND" +>klist tickets</B +>. Did you get a ticket for the +server? Does it have an encoding type of DES-CBC-MD5 ? </P +></DIV +><DIV +CLASS="SECT1" +><HR><H2 +CLASS="SECT1" +><A +NAME="AEN2645" +></A +>15.7. Testing with smbclient</H2 +><P +>On your Samba server try to login to a Win2000 server or your Samba +server using smbclient and kerberos. Use smbclient as usual, but +specify the -k option to choose kerberos authentication.</P +></DIV +><DIV +CLASS="SECT1" +><HR><H2 +CLASS="SECT1" +><A +NAME="AEN2648" +></A +>15.8. Notes</H2 +><P +>You must change administrator password at least once after DC install, + to create the right encoding types</P +><P +>w2k doesn't seem to create the _kerberos._udp and _ldap._tcp in + their defaults DNS setup. Maybe fixed in service packs?</P +></DIV +></DIV +><DIV +CLASS="CHAPTER" +><HR><H1 +><A +NAME="IMPROVED-BROWSING" +></A +>Chapter 16. Improved browsing in samba</H1 ><DIV CLASS="SECT1" ><H2 CLASS="SECT1" ><A -NAME="AEN2577">Overview of browsing</H2 +NAME="AEN2659" +></A +>16.1. Overview of browsing</H2 ><P >SMB networking provides a mechanism by which clients can access a list of machines in a network, a so-called "browse list". This list @@ -12328,7 +12533,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2581">Browsing support in samba</H2 +NAME="AEN2663" +></A +>16.2. Browsing support in samba</H2 ><P >Samba now fully supports browsing. The browsing is supported by nmbd and is also controlled by options in the smb.conf file (see smb.conf(5)).</P @@ -12371,7 +12578,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2590">Problem resolution</H2 +NAME="AEN2672" +></A +>16.3. Problem resolution</H2 ><P >If something doesn't work then hopefully the log.nmb file will help you track down the problem. Try a debug level of 2 or 3 for finding @@ -12403,7 +12612,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2597">Browsing across subnets</H2 +NAME="AEN2679" +></A +>16.4. Browsing across subnets</H2 ><P >With the release of Samba 1.9.17(alpha1 and above) Samba has been updated to enable it to support the replication of browse lists @@ -12432,7 +12643,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN2602">How does cross subnet browsing work ?</H3 +NAME="AEN2684" +></A +>16.4.1. How does cross subnet browsing work ?</H3 ><P >Cross subnet browsing is a complicated dance, containing multiple moving parts. It has taken Microsoft several years to get the code @@ -12442,12 +12655,6 @@ browsing when configured correctly.</P ><P >Consider a network set up as follows :</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > (DMB) @@ -12464,9 +12671,6 @@ CLASS="PROGRAMLISTING" | | | | | | | | N2_A N2_B N2_C N2_D N3_A N3_B N3_C N3_D (WINS)</PRE -></TD -></TR -></TABLE ></P ><P >Consisting of 3 subnets (1, 2, 3) connected by two routers @@ -12510,12 +12714,6 @@ called 'non-authoritative'.</P the machines you would see in your network neighborhood if you looked in it on a particular network right now).</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >Subnet Browse Master List @@ -12525,9 +12723,6 @@ Subnet1 N1_C N1_A, N1_B, N1_C, N1_D, N1_E Subnet2 N2_B N2_A, N2_B, N2_C, N2_D Subnet3 N3_D N3_A, N3_B, N3_C, N3_D</PRE -></TD -></TR -></TABLE ></P ><P >Note that at this point all the subnets are separate, no @@ -12537,7 +12732,7 @@ machine is seen across any of the subnets.</P master browser it looks for a Domain master browser to synchronize its browse list with. It does this by querying the WINS server (N2_D) for the IP address associated with the NetBIOS name -WORKGROUP>1B<. This name was registerd by the Domain master +WORKGROUP>1B<. This name was registerd by the Domain master browser (N1_C) with the WINS server as soon as it was booted.</P ><P >Once N2_B knows the address of the Domain master browser it @@ -12550,12 +12745,6 @@ the MasterAnnouncement packet it schedules a synchronization request to the sender of that packet. After both synchronizations are done the browse lists look like :</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >Subnet Browse Master List @@ -12569,9 +12758,6 @@ Subnet2 N2_B N2_A, N2_B, N2_C, N2_D Subnet3 N3_D N3_A, N3_B, N3_C, N3_D Servers with a (*) after them are non-authoritative names.</PRE -></TD -></TR -></TABLE ></P ><P >At this point users looking in their network neighborhood on @@ -12585,12 +12771,6 @@ it gets both the server entries on subnet 1, and those on subnet 2. After N3_D has synchronized with N1_C and vica-versa the browse lists look like.</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >Subnet Browse Master List @@ -12607,9 +12787,6 @@ Subnet3 N3_D N3_A, N3_B, N3_C, N3_D N2_A(*), N2_B(*), N2_C(*), N2_D(*) Servers with a (*) after them are non-authoritative names.</PRE -></TD -></TR -></TABLE ></P ><P >At this point users looking in their network neighborhood on @@ -12621,12 +12798,6 @@ with the domain master browser (N1_C) and will recieve the missing server entries. Finally - and as a steady state (if no machines are removed or shut off) the browse lists will look like :</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >Subnet Browse Master List @@ -12644,9 +12815,6 @@ Subnet3 N3_D N3_A, N3_B, N3_C, N3_D N2_A(*), N2_B(*), N2_C(*), N2_D(*) Servers with a (*) after them are non-authoritative names.</PRE -></TD -></TR -></TABLE ></P ><P >Synchronizations between the domain master browser and local @@ -12687,7 +12855,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2637">Setting up a WINS server</H2 +NAME="AEN2719" +></A +>16.5. Setting up a WINS server</H2 ><P >Either a Samba machine or a Windows NT Server machine may be set up as a WINS server. To set a Samba machine to be a WINS server you must @@ -12739,10 +12909,10 @@ all smb.conf files :</P ><P ><B CLASS="COMMAND" -> wins server = >name or IP address<</B +> wins server = >name or IP address<</B ></P ><P ->where >name or IP address< is either the DNS name of the WINS server +>where >name or IP address< is either the DNS name of the WINS server machine or its IP address.</P ><P >Note that this line MUST NOT BE SET in the smb.conf file of the Samba @@ -12753,7 +12923,7 @@ CLASS="COMMAND" >" option and the "<B CLASS="COMMAND" ->wins server = >name<</B +>wins server = >name<</B >" option then nmbd will fail to start.</P ><P @@ -12768,7 +12938,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2656">Setting up Browsing in a WORKGROUP</H2 +NAME="AEN2738" +></A +>16.6. Setting up Browsing in a WORKGROUP</H2 ><P >To set up cross subnet browsing on a network containing machines in up to be in a WORKGROUP, not an NT Domain you need to set up one @@ -12796,21 +12968,12 @@ CLASS="COMMAND" browser for its own subnet. In order to achieve this set the following options in the [global] section of the smb.conf file :</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > domain master = yes local master = yes preferred master = yes os level = 65</PRE -></TD -></TR -></TABLE ></P ><P >The domain master browser may be the same machine as the WINS @@ -12824,21 +12987,12 @@ often, so it's not such a good idea to use these). To make a Samba server a local master browser set the following options in the [global] section of the smb.conf file :</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > domain master = no local master = yes preferred master = yes os level = 65</PRE -></TD -></TR -></TABLE ></P ><P >Do not do this for more than one Samba server on each subnet, @@ -12855,21 +13009,12 @@ be the local master browser then you can disable Samba from becoming a local master browser by setting the following options in the [global] section of the smb.conf file :</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > domain master = no local master = no preferred master = no os level = 0</PRE -></TD -></TR -></TABLE ></P ></DIV ><DIV @@ -12877,14 +13022,16 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2674">Setting up Browsing in a DOMAIN</H2 +NAME="AEN2756" +></A +>16.7. Setting up Browsing in a DOMAIN</H2 ><P >If you are adding Samba servers to a Windows NT Domain then you must not set up a Samba server as a domain master browser. By default, a Windows NT Primary Domain Controller for a Domain name is also the Domain master browser for that name, and many things will break if a Samba server registers the Domain master -browser NetBIOS name (DOMAIN>1B<) with WINS instead of the PDC.</P +browser NetBIOS name (DOMAIN>1B<) with WINS instead of the PDC.</P ><P >For subnets other than the one containing the Windows NT PDC you may set up Samba servers as local master browsers as @@ -12892,21 +13039,12 @@ described. To make a Samba server a local master browser set the following options in the [global] section of the smb.conf file :</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > domain master = no local master = yes preferred master = yes os level = 65</PRE -></TD -></TR -></TABLE ></P ><P >If you wish to have a Samba server fight the election with machines @@ -12935,7 +13073,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2684">Forcing samba to be the master</H2 +NAME="AEN2766" +></A +>16.8. Forcing samba to be the master</H2 ><P >Who becomes the "master browser" is determined by an election process using broadcasts. Each election packet contains a number of parameters @@ -12981,7 +13121,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2693">Making samba the domain master</H2 +NAME="AEN2775" +></A +>16.9. Making samba the domain master</H2 ><P >The domain master is responsible for collating the browse lists of multiple subnets so that browsing can occur between subnets. You can @@ -13052,7 +13194,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2711">Note about broadcast addresses</H2 +NAME="AEN2793" +></A +>16.10. Note about broadcast addresses</H2 ><P >If your network uses a "0" based broadcast address (for example if it ends in a 0) then you will strike problems. Windows for Workgroups @@ -13064,7 +13208,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2714">Multiple interfaces</H2 +NAME="AEN2796" +></A +>16.11. Multiple interfaces</H2 ><P >Samba now supports machines with multiple network interfaces. If you have multiple interfaces then you will need to use the "interfaces" @@ -13075,13 +13221,17 @@ option in smb.conf to configure them. See smb.conf(5) for details.</P CLASS="CHAPTER" ><HR><H1 ><A -NAME="SPEED">Samba performance issues</H1 +NAME="SPEED" +></A +>Chapter 17. Samba performance issues</H1 ><DIV CLASS="SECT1" ><H2 CLASS="SECT1" ><A -NAME="AEN2732">Comparisons</H2 +NAME="AEN2814" +></A +>17.1. Comparisons</H2 ><P >The Samba server uses TCP to talk to the client. Thus if you are trying to see if it performs well you should really compare it to @@ -13110,13 +13260,17 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2738">Oplocks</H2 +NAME="AEN2820" +></A +>17.2. Oplocks</H2 ><DIV CLASS="SECT2" ><H3 CLASS="SECT2" ><A -NAME="AEN2740">Overview</H3 +NAME="AEN2822" +></A +>17.2.1. Overview</H3 ><P >Oplocks are the way that SMB clients get permission from a server to locally cache file operations. If a server grants an oplock @@ -13150,7 +13304,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN2748">Level2 Oplocks</H3 +NAME="AEN2830" +></A +>17.2.2. Level2 Oplocks</H3 ><P >With Samba 2.0.5 a new capability - level2 (read only) oplocks is supported (although the option is off by default - see the smb.conf @@ -13172,7 +13328,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN2754">Old 'fake oplocks' option - deprecated</H3 +NAME="AEN2836" +></A +>17.2.3. Old 'fake oplocks' option - deprecated</H3 ><P >Samba can also fake oplocks, by granting a oplock whenever a client asks for one. This is controlled using the smb.conf option "fake @@ -13191,7 +13349,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2758">Socket options</H2 +NAME="AEN2840" +></A +>17.3. Socket options</H2 ><P >There are a number of socket options that can greatly affect the performance of a TCP based server like Samba.</P @@ -13217,7 +13377,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2765">Read size</H2 +NAME="AEN2847" +></A +>17.4. Read size</H2 ><P >The option "read size" affects the overlap of disk reads/writes with network reads/writes. If the amount of data being transferred in @@ -13241,7 +13403,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2770">Max xmit</H2 +NAME="AEN2852" +></A +>17.5. Max xmit</H2 ><P >At startup the client and server negotiate a "maximum transmit" size, which limits the size of nearly all SMB commands. You can set the @@ -13262,7 +13426,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2775">Locking</H2 +NAME="AEN2857" +></A +>17.6. Locking</H2 ><P >By default Samba does not implement strict locking on each read/write call (although it did in previous versions). If you enable strict @@ -13277,7 +13443,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2779">Share modes</H2 +NAME="AEN2861" +></A +>17.7. Share modes</H2 ><P >Some people find that opening files is very slow. This is often because of the "share modes" code needed to fully implement the dos @@ -13305,7 +13473,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2784">Log level</H2 +NAME="AEN2866" +></A +>17.8. Log level</H2 ><P >If you set the log level (also known as "debug level") higher than 2 then you may suffer a large drop in performance. This is because the @@ -13317,7 +13487,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2787">Wide lines</H2 +NAME="AEN2869" +></A +>17.9. Wide lines</H2 ><P >The "wide links" option is now enabled by default, but if you disable it (for better security) then you may suffer a performance hit in @@ -13329,7 +13501,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2790">Read raw</H2 +NAME="AEN2872" +></A +>17.10. Read raw</H2 ><P >The "read raw" operation is designed to be an optimised, low-latency file read operation. A server may choose to not support it, @@ -13349,7 +13523,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2795">Write raw</H2 +NAME="AEN2877" +></A +>17.11. Write raw</H2 ><P >The "write raw" operation is designed to be an optimised, low-latency file write operation. A server may choose to not support it, @@ -13364,7 +13540,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2799">Read prediction</H2 +NAME="AEN2881" +></A +>17.12. Read prediction</H2 ><P >Samba can do read prediction on some of the SMB commands. Read prediction means that Samba reads some extra data on the last file it @@ -13388,7 +13566,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2806">Memory mapping</H2 +NAME="AEN2888" +></A +>17.13. Memory mapping</H2 ><P >Samba supports reading files via memory mapping them. One some machines this can give a large boost to performance, on others it @@ -13407,7 +13587,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2811">Slow Clients</H2 +NAME="AEN2893" +></A +>17.14. Slow Clients</H2 ><P >One person has reported that setting the protocol to COREPLUS rather than LANMAN2 gave a dramatic speed improvement (from 10k/s to 150k/s).</P @@ -13422,7 +13604,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2815">Slow Logins</H2 +NAME="AEN2897" +></A +>17.15. Slow Logins</H2 ><P >Slow logins are almost always due to the password checking time. Using the lowest practical "password level" will improve things a lot. You @@ -13433,7 +13617,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2818">Client tuning</H2 +NAME="AEN2900" +></A +>17.16. Client tuning</H2 ><P >Often a speed problem can be traced to the client. The client (for example Windows for Workgroups) can often be tuned for better TCP @@ -13535,7 +13721,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2850">My Results</H2 +NAME="AEN2932" +></A +>17.17. My Results</H2 ><P >Some people want to see real numbers in a document like this, so here they are. I have a 486sx33 client running WfWg 3.11 with the 3.11b @@ -13562,7 +13750,9 @@ here someday ...</P CLASS="CHAPTER" ><HR><H1 ><A -NAME="OTHER-CLIENTS">Samba and other CIFS clients</H1 +NAME="OTHER-CLIENTS" +></A +>Chapter 18. Samba and other CIFS clients</H1 ><P >This chapter contains client-specific information.</P ><DIV @@ -13570,7 +13760,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2871">Macintosh clients?</H2 +NAME="AEN2953" +></A +>18.1. Macintosh clients?</H2 ><P >Yes. <A HREF="http://www.thursby.com/" @@ -13614,13 +13806,17 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2880">OS2 Client</H2 +NAME="AEN2962" +></A +>18.2. OS2 Client</H2 ><DIV CLASS="SECT2" ><H3 CLASS="SECT2" ><A -NAME="AEN2882">How can I configure OS/2 Warp Connect or +NAME="AEN2964" +></A +>18.2.1. How can I configure OS/2 Warp Connect or OS/2 Warp 4 as a client for Samba?</H3 ><P >A more complete answer to this question can be @@ -13677,7 +13873,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN2897">How can I configure OS/2 Warp 3 (not Connect), +NAME="AEN2979" +></A +>18.2.2. How can I configure OS/2 Warp 3 (not Connect), OS/2 1.2, 1.3 or 2.x for Samba?</H3 ><P >You can use the free Microsoft LAN Manager 2.2c Client @@ -13696,21 +13894,12 @@ TARGET="_top" a nutshell, edit the file \OS2VER in the root directory of the OS/2 boot partition and add the lines:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > 20=setup.exe 20=netwksta.sys 20=netvdd.sys </PRE -></TD -></TR -></TABLE ></P ><P >before you install the client. Also, don't use the @@ -13728,7 +13917,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN2906">Are there any other issues when OS/2 (any version) +NAME="AEN2988" +></A +>18.2.3. Are there any other issues when OS/2 (any version) is used as a client?</H3 ><P >When you do a NET VIEW or use the "File and Print @@ -13748,7 +13939,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN2910">How do I get printer driver download working +NAME="AEN2992" +></A +>18.2.4. How do I get printer driver download working for OS/2 clients?</H3 ><P >First, create a share called [PRINTDRV] that is @@ -13797,13 +13990,17 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2920">Windows for Workgroups</H2 +NAME="AEN3002" +></A +>18.3. Windows for Workgroups</H2 ><DIV CLASS="SECT2" ><H3 CLASS="SECT2" ><A -NAME="AEN2922">Use latest TCP/IP stack from Microsoft</H3 +NAME="AEN3004" +></A +>18.3.1. Use latest TCP/IP stack from Microsoft</H3 ><P >Use the latest TCP/IP stack from microsoft if you use Windows for workgroups.</P @@ -13823,7 +14020,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN2927">Delete .pwl files after password change</H3 +NAME="AEN3009" +></A +>18.3.2. Delete .pwl files after password change</H3 ><P >WfWg does a lousy job with passwords. I find that if I change my password on either the unix box or the PC the safest thing to do is to @@ -13841,7 +14040,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN2932">Configure WfW password handling</H3 +NAME="AEN3014" +></A +>18.3.3. Configure WfW password handling</H3 ><P >There is a program call admincfg.exe on the last disk (disk 8) of the WFW 3.11 disk set. To install it @@ -13858,7 +14059,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN2936">Case handling of passwords</H3 +NAME="AEN3018" +></A +>18.3.4. Case handling of passwords</H3 ><P >Windows for Workgroups uppercases the password before sending it to the server. Unix passwords can be case-sensitive though. Check the <A HREF="smb.conf.5.html" @@ -13875,7 +14078,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2941">Windows '95/'98</H2 +NAME="AEN3023" +></A +>18.4. Windows '95/'98</H2 ><P >When using Windows 95 OEM SR2 the following updates are recommended where Samba is being used. Please NOTE that the above change will affect you once these @@ -13921,7 +14126,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2957">Windows 2000 Service Pack 2</H2 +NAME="AEN3039" +></A +>18.5. Windows 2000 Service Pack 2</H2 ><P > There are several annoyances with Windows 2000 SP2. One of which @@ -13957,12 +14164,6 @@ releases prior to Samba 2.2.2.</P > The following is a minimal profile share:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > [profile] @@ -13971,9 +14172,6 @@ CLASS="PROGRAMLISTING" directory mask = 0700 nt acl support = no read only = no</PRE -></TD -></TR -></TABLE ></P ><P >The reason for this bug is that the Win2k SP2 client copies @@ -13996,10 +14194,13 @@ CLASS="COMMAND" >DOMAIN\user "Full Control"</B ></P ><P +><SPAN +CLASS="emphasis" ><I CLASS="EMPHASIS" >NOTE : This bug does not occur when using winbind to create accounts on the Samba host for Domain users.</I +></SPAN ></P ></DIV ></DIV @@ -14007,13 +14208,17 @@ create accounts on the Samba host for Domain users.</I CLASS="CHAPTER" ><HR><H1 ><A -NAME="CVS-ACCESS">HOWTO Access Samba source code via CVS</H1 +NAME="CVS-ACCESS" +></A +>Chapter 19. HOWTO Access Samba source code via CVS</H1 ><DIV CLASS="SECT1" ><H2 CLASS="SECT1" ><A -NAME="AEN2981">Introduction</H2 +NAME="AEN3063" +></A +>19.1. Introduction</H2 ><P >Samba is developed in an open environment. Developers use CVS (Concurrent Versioning System) to "checkin" (also known as @@ -14033,7 +14238,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN2986">CVS Access to samba.org</H2 +NAME="AEN3068" +></A +>19.2. CVS Access to samba.org</H2 ><P >The machine samba.org runs a publicly accessible CVS repository for access to the source code of several packages, @@ -14044,7 +14251,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN2989">Access via CVSweb</H3 +NAME="AEN3071" +></A +>19.2.1. Access via CVSweb</H3 ><P >You can access the source code via your favourite WWW browser. This allows you to access the contents of @@ -14063,7 +14272,9 @@ CLASS="SECT2" ><HR><H3 CLASS="SECT2" ><A -NAME="AEN2994">Access via cvs</H3 +NAME="AEN3076" +></A +>19.2.2. Access via cvs</H3 ><P >You can also access the source code via a normal cvs client. This gives you much more control over you can @@ -14169,13 +14380,17 @@ CLASS="COMMAND" CLASS="CHAPTER" ><HR><H1 ><A -NAME="BUGREPORT">Reporting Bugs</H1 +NAME="BUGREPORT" +></A +>Chapter 20. Reporting Bugs</H1 ><DIV CLASS="SECT1" ><H2 CLASS="SECT1" ><A -NAME="AEN3029">Introduction</H2 +NAME="AEN3111" +></A +>20.1. Introduction</H2 ><P >The email address for bug reports is samba@samba.org</P ><P @@ -14205,7 +14420,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN3036">General info</H2 +NAME="AEN3118" +></A +>20.2. General info</H2 ><P >Before submitting a bug report check your config for silly errors. Look in your log files for obvious messages that tell you that @@ -14228,7 +14445,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN3042">Debug levels</H2 +NAME="AEN3124" +></A +>20.3. Debug levels</H2 ><P >If the bug has anything to do with Samba behaving incorrectly as a server (like refusing to open a file) then the log files will probably @@ -14247,20 +14466,11 @@ CLASS="FILENAME" level higher for just one machine and keep separate logs for each machine. To do this use:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >log level = 10 log file = /usr/local/samba/lib/log.%m include = /usr/local/samba/lib/smb.conf.%m</PRE -></TD -></TR -></TABLE ></P ><P >then create a file @@ -14305,7 +14515,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN3059">Internal errors</H2 +NAME="AEN3141" +></A +>20.4. Internal errors</H2 ><P >If you get a "INTERNAL ERROR" message in your log files it means that Samba got an unexpected signal while running. It is probably a @@ -14347,7 +14559,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN3069">Attaching to a running process</H2 +NAME="AEN3151" +></A +>20.5. Attaching to a running process</H2 ><P >Unfortunately some unixes (in particular some recent linux kernels) refuse to dump a core file if the task has changed uid (which smbd @@ -14362,7 +14576,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN3072">Patches</H2 +NAME="AEN3154" +></A +>20.6. Patches</H2 ><P >The best sort of bug report is one that includes a fix! If you send us patches please use <B @@ -14381,7 +14597,9 @@ exactly what version you used. </P CLASS="CHAPTER" ><HR><H1 ><A -NAME="GROUPMAPPING">Group mapping HOWTO</H1 +NAME="GROUPMAPPING" +></A +>Chapter 21. Group mapping HOWTO</H1 ><P > Starting with Samba 3.0 alpha 2, a new group mapping function is available. The @@ -14437,18 +14655,9 @@ CLASS="FILENAME" >/etc/group</TT > will look like:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="90%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >domadm:x:502:joe,john,mary</PRE -></TD -></TR -></TABLE ></P ></LI ><LI @@ -14489,7 +14698,9 @@ CLASS="COMMAND" CLASS="CHAPTER" ><HR><H1 ><A -NAME="PORTABILITY">Portability</H1 +NAME="PORTABILITY" +></A +>Chapter 22. Portability</H1 ><P >Samba works on a wide range of platforms but the interface all the platforms provide is not always compatible. This chapter contains @@ -14499,7 +14710,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN3119">HPUX</H2 +NAME="AEN3201" +></A +>22.1. HPUX</H2 ><P >HP's implementation of supplementary groups is, er, non-standard (for hysterical reasons). There are two group files, /etc/group and @@ -14523,7 +14736,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN3124">SCO Unix</H2 +NAME="AEN3206" +></A +>22.2. SCO Unix</H2 ><P > If you run an old version of SCO Unix then you may need to get important @@ -14538,7 +14753,9 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A -NAME="AEN3128">DNIX</H2 +NAME="AEN3210" +></A +>22.3. DNIX</H2 ><P >DNIX has a problem with seteuid() and setegid(). These routines are needed for Samba to work correctly, but they were left out of the DNIX @@ -14559,12 +14776,6 @@ CLASS="FILENAME" >setegid.s</TT >:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > .globl _setegid @@ -14579,9 +14790,6 @@ _setegid: 1$: clrl d0 rts</PRE -></TD -></TR -></TABLE ></P ><P >put this in the file <TT @@ -14589,12 +14797,6 @@ CLASS="FILENAME" >seteuid.s</TT >:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > .globl _seteuid @@ -14609,9 +14811,6 @@ _seteuid: 1$: clrl d0 rts</PRE -></TD -></TR -></TABLE ></P ><P >after creating the above files you then assemble them using</P @@ -14638,35 +14837,17 @@ CLASS="FILENAME" >then you need to add these to the LIBSM line in the DNIX section of the Samba Makefile. Your LIBSM line will then look something like this:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >LIBSM = setegid.o seteuid.o -ln</PRE -></TD -></TR -></TABLE ></P ><P > You should then remove the line:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >#define NO_EID</PRE -></TD -></TR -></TABLE ></P ><P >from the DNIX section of <TT diff --git a/docs/htmldocs/Samba-LDAP-HOWTO.html b/docs/htmldocs/Samba-LDAP-HOWTO.html deleted file mode 100644 index 21ebbfe7b0..0000000000 --- a/docs/htmldocs/Samba-LDAP-HOWTO.html +++ /dev/null @@ -1,891 +0,0 @@ -<HTML -><HEAD -><TITLE ->Storing Samba's User/Machine Account information in an LDAP Directory</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD -><BODY -CLASS="ARTICLE" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="ARTICLE" -><DIV -CLASS="TITLEPAGE" -><H1 -CLASS="TITLE" -><A -NAME="SAMBA-LDAP-HOWTO" ->Storing Samba's User/Machine Account information in an LDAP Directory</A -></H1 -><HR></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN3" ->Purpose</A -></H1 -><P ->This document describes how to use an LDAP directory for storing Samba user -account information traditionally stored in the smbpasswd(5) file. It is -assumed that the reader already has a basic understanding of LDAP concepts -and has a working directory server already installed. For more information -on LDAP architectures and Directories, please refer to the following sites.</P -><P -></P -><UL -><LI -><P ->OpenLDAP - <A -HREF="http://www.openldap.org/" -TARGET="_top" ->http://www.openldap.org/</A -></P -></LI -><LI -><P ->iPlanet Directory Server - <A -HREF="http://iplanet.netscape.com/directory" -TARGET="_top" ->http://iplanet.netscape.com/directory</A -></P -></LI -></UL -><P ->Note that <A -HREF="http://www.ora.com/" -TARGET="_top" ->O'Reilly Publishing</A -> is working on -a guide to LDAP for System Administrators which has a planned release date of -early summer, 2002.</P -><P ->Two additional Samba resources which may prove to be helpful are</P -><P -></P -><UL -><LI -><P ->The <A -HREF="http://www.unav.es/cti/ldap-smb/ldap-smb-2_2-howto.html" -TARGET="_top" ->Samba-PDC-LDAP-HOWTO</A -> - maintained by Ignacio Coupeau.</P -></LI -><LI -><P ->The NT migration scripts from <A -HREF="http://samba.idealx.org/" -TARGET="_top" ->IDEALX</A -> that are - geared to manage users and group in such a Samba-LDAP Domain Controller configuration. - </P -></LI -></UL -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN23" ->Introduction</A -></H1 -><P ->Traditionally, when configuring <A -HREF="smb.conf.5.html#ENCRYPTPASSWORDS" -TARGET="_top" ->"encrypt -passwords = yes"</A -> in Samba's <TT -CLASS="FILENAME" ->smb.conf</TT -> file, user account -information such as username, LM/NT password hashes, password change times, and account -flags have been stored in the <TT -CLASS="FILENAME" ->smbpasswd(5)</TT -> file. There are several -disadvantages to this approach for sites with very large numbers of users (counted -in the thousands).</P -><P -></P -><UL -><LI -><P ->The first is that all lookups must be performed sequentially. Given that -there are approximately two lookups per domain logon (one for a normal -session connection such as when mapping a network drive or printer), this -is a performance bottleneck for lareg sites. What is needed is an indexed approach -such as is used in databases.</P -></LI -><LI -><P ->The second problem is that administrators who desired to replicate a -smbpasswd file to more than one Samba server were left to use external -tools such as <B -CLASS="COMMAND" ->rsync(1)</B -> and <B -CLASS="COMMAND" ->ssh(1)</B -> -and wrote custom, in-house scripts.</P -></LI -><LI -><P ->And finally, the amount of information which is stored in an -smbpasswd entry leaves no room for additional attributes such as -a home directory, password expiration time, or even a Relative -Identified (RID).</P -></LI -></UL -><P ->As a result of these defeciencies, a more robust means of storing user attributes -used by smbd was developed. The API which defines access to user accounts -is commonly referred to as the samdb interface (previously this was called the passdb -API, and is still so named in the CVS trees). In Samba 2.2.3, enabling support -for a samdb backend (e.g. <TT -CLASS="PARAMETER" -><I ->--with-ldapsam</I -></TT -> or -<TT -CLASS="PARAMETER" -><I ->--with-tdbsam</I -></TT ->) requires compile time support.</P -><P ->When compiling Samba to include the <TT -CLASS="PARAMETER" -><I ->--with-ldapsam</I -></TT -> autoconf -option, smbd (and associated tools) will store and lookup user accounts in -an LDAP directory. In reality, this is very easy to understand. If you are -comfortable with using an smbpasswd file, simply replace "smbpasswd" with -"LDAP directory" in all the documentation.</P -><P ->There are a few points to stress about what the <TT -CLASS="PARAMETER" -><I ->--with-ldapsam</I -></TT -> -does not provide. The LDAP support referred to in the this documentation does not -include:</P -><P -></P -><UL -><LI -><P ->A means of retrieving user account information from - an Windows 2000 Active Directory server.</P -></LI -><LI -><P ->A means of replacing /etc/passwd.</P -></LI -></UL -><P ->The second item can be accomplished by using LDAP NSS and PAM modules. LGPL -versions of these libraries can be obtained from PADL Software -(<A -HREF="http://www.padl.com/" -TARGET="_top" ->http://www.padl.com/</A ->). However, -the details of configuring these packages are beyond the scope of this document.</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN52" ->Supported LDAP Servers</A -></H1 -><P ->The LDAP samdb code in 2.2.3 has been developed and tested using the OpenLDAP -2.0 server and client libraries. The same code should be able to work with -Netscape's Directory Server and client SDK. However, due to lack of testing -so far, there are bound to be compile errors and bugs. These should not be -hard to fix. If you are so inclined, please be sure to forward all patches to -<A -HREF="samba-patches@samba.org" -TARGET="_top" ->samba-patches@samba.org</A -> and -<A -HREF="jerry@samba.org" -TARGET="_top" ->jerry@samba.org</A ->.</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN57" ->Schema and Relationship to the RFC 2307 posixAccount</A -></H1 -><P ->Samba 2.2.3 includes the necessary schema file for OpenLDAP 2.0 in -<TT -CLASS="FILENAME" ->examples/LDAP/samba.schema</TT ->. (Note that this schema -file has been modified since the experimental support initially included -in 2.2.2). The sambaAccount objectclass is given here:</P -><P -><PRE -CLASS="PROGRAMLISTING" ->objectclass ( 1.3.1.5.1.4.1.7165.2.2.2 NAME 'sambaAccount' SUP top STRUCTURAL - DESC 'Samba Account' - MUST ( uid $ rid ) - MAY ( cn $ lmPassword $ ntPassword $ pwdLastSet $ logonTime $ - logoffTime $ kickoffTime $ pwdCanChange $ pwdMustChange $ acctFlags $ - displayName $ smbHome $ homeDrive $ scriptPath $ profilePath $ - description $ userWorkstations $ primaryGroupID $ domain ))</PRE -></P -><P ->The samba.schema file has been formatted for OpenLDAP 2.0. The OID's are -owned by the Samba Team and as such is legal to be openly published. -If you translate the schema to be used with Netscape DS, please -submit the modified schema file as a patch to <A -HREF="jerry@samba.org" -TARGET="_top" ->jerry@samba.org</A -></P -><P ->Just as the smbpasswd file is mean to store information which supplements a -user's <TT -CLASS="FILENAME" ->/etc/passwd</TT -> entry, so is the sambaAccount object -meant to supplement the UNIX user account information. A sambaAccount is a -<TT -CLASS="CONSTANT" ->STRUCTURAL</TT -> objectclass so it can be stored individually -in the directory. However, there are several fields (e.g. uid) which overlap -with the posixAccount objectclass outlined in RFC2307. This is by design.</P -><P ->In order to store all user account information (UNIX and Samba) in the directory, -it is necessary to use the sambaAccount and posixAccount objectclasses in -combination. However, smbd will still obtain the user's UNIX account -information via the standard C library calls (e.g. getpwnam(), et. al.). -This means that the Samba server must also have the LDAP NSS library installed -and functioning correctly. This division of information makes it possible to -store all Samba account information in LDAP, but still maintain UNIX account -information in NIS while the network is transitioning to a full LDAP infrastructure.</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN69" ->Configuring Samba with LDAP</A -></H1 -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN71" ->OpenLDAP configuration</A -></H2 -><P ->To include support for the sambaAccount object in an OpenLDAP directory -server, first copy the samba.schema file to slapd's configuration directory.</P -><P -><TT -CLASS="PROMPT" ->root# </TT -><B -CLASS="COMMAND" ->cp samba.schema /etc/openldap/schema/</B -></P -><P ->Next, include the <TT -CLASS="FILENAME" ->samba.schema</TT -> file in <TT -CLASS="FILENAME" ->slapd.conf</TT ->. -The sambaAccount object contains two attributes which depend upon other schema -files. The 'uid' attribute is defined in <TT -CLASS="FILENAME" ->cosine.schema</TT -> and -the 'displayName' attribute is defined in the <TT -CLASS="FILENAME" ->inetorgperson.schema</TT -> -file. Both of these must be included before the <TT -CLASS="FILENAME" ->samba.schema</TT -> file.</P -><P -><PRE -CLASS="PROGRAMLISTING" ->## /etc/openldap/slapd.conf - -## schema files (core.schema is required by default) -include /etc/openldap/schema/core.schema - -## needed for sambaAccount -include /etc/openldap/schema/cosine.schema -include /etc/openldap/schema/inetorgperson.schema -include /etc/openldap/schema/samba.schema - -## uncomment this line if you want to support the RFC2307 (NIS) schema -## include /etc/openldap/schema/nis.schema - -....</PRE -></P -><P ->It is recommended that you maintain some indices on some of the most usefull attributes, -like in the following example, to speed up searches made on sambaAccount objectclasses -(and possibly posixAccount and posixGroup as well).</P -><P -><PRE -CLASS="PROGRAMLISTING" -># Indices to maintain -## required by OpenLDAP 2.0 -index objectclass eq - -## support pb_getsampwnam() -index uid pres,eq -## support pdb_getsambapwrid() -index rid eq - -## uncomment these if you are storing posixAccount and -## posixGroup entries in the directory as well -##index uidNumber eq -##index gidNumber eq -##index cn eq -##index memberUid eq</PRE -></P -></DIV -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN88" ->Configuring Samba</A -></H2 -><P ->The following parameters are available in smb.conf only with <TT -CLASS="PARAMETER" -><I ->--with-ldapsam</I -></TT -> -was included with compiling Samba.</P -><P -></P -><UL -><LI -><P -><A -HREF="smb.conf.5.html#LDAPSSL" -TARGET="_top" ->ldap ssl</A -></P -></LI -><LI -><P -><A -HREF="smb.conf.5.html#LDAPSERVER" -TARGET="_top" ->ldap server</A -></P -></LI -><LI -><P -><A -HREF="smb.conf.5.html#LDAPADMINDN" -TARGET="_top" ->ldap admin dn</A -></P -></LI -><LI -><P -><A -HREF="smb.conf.5.html#LDAPSUFFIX" -TARGET="_top" ->ldap suffix</A -></P -></LI -><LI -><P -><A -HREF="smb.conf.5.html#LDAPFILTER" -TARGET="_top" ->ldap filter</A -></P -></LI -><LI -><P -><A -HREF="smb.conf.5.html#LDAPPORT" -TARGET="_top" ->ldap port</A -></P -></LI -></UL -><P ->These are described in the <A -HREF="smb.conf.5.html" -TARGET="_top" ->smb.conf(5)</A -> man -page and so will not be repeated here. However, a sample smb.conf file for -use with an LDAP directory could appear as</P -><P -><PRE -CLASS="PROGRAMLISTING" ->## /usr/local/samba/lib/smb.conf -[global] - security = user - encrypt passwords = yes - - netbios name = TASHTEGO - workgroup = NARNIA - - # ldap related parameters - - # define the DN to use when binding to the directory servers - # The password for this DN is not stored in smb.conf. Rather it - # must be set by using 'smbpasswd -w <TT -CLASS="REPLACEABLE" -><I ->secretpw</I -></TT ->' to store the - # passphrase in the secrets.tdb file. If the "ldap admin dn" values - # changes, this password will need to be reset. - ldap admin dn = "cn=Samba Manager,ou=people,dc=samba,dc=org" - - # specify the LDAP server's hostname (defaults to locahost) - ldap server = ahab.samba.org - - # Define the SSL option when connecting to the directory - # ('off', 'start tls', or 'on' (default)) - ldap ssl = start tls - - # define the port to use in the LDAP session (defaults to 636 when - # "ldap ssl = on") - ldap port = 389 - - # specify the base DN to use when searching the directory - ldap suffix = "ou=people,dc=samba,dc=org" - - # generally the default ldap search filter is ok - # ldap filter = "(&(uid=%u)(objectclass=sambaAccount))"</PRE -></P -></DIV -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN116" ->Accounts and Groups management</A -></H1 -><P ->As users accounts are managed thru the sambaAccount objectclass, you should -modify you existing administration tools to deal with sambaAccount attributes.</P -><P ->Machines accounts are managed with the sambaAccount objectclass, just -like users accounts. However, it's up to you to stored thoses accounts -in a different tree of you LDAP namespace: you should use -"ou=Groups,dc=plainjoe,dc=org" to store groups and -"ou=People,dc=plainjoe,dc=org" to store users. Just configure your -NSS and PAM accordingly (usually, in the /etc/ldap.conf configuration -file).</P -><P ->In Samba release 2.2.3, the group management system is based on posix -groups. This meand that Samba make usage of the posixGroup objectclass. -For now, there is no NT-like group system management (global and local -groups).</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN121" ->Security and sambaAccount</A -></H1 -><P ->There are two important points to remember when discussing the security -of sambaAccount entries in the directory.</P -><P -></P -><UL -><LI -><P -><I -CLASS="EMPHASIS" ->Never</I -> retrieve the lmPassword or - ntPassword attribute values over an unencrypted LDAP session.</P -></LI -><LI -><P -><I -CLASS="EMPHASIS" ->Never</I -> allow non-admin users to - view the lmPassword or ntPassword attribute values.</P -></LI -></UL -><P ->These password hashes are clear text equivalents and can be used to impersonate -the user without deriving the original clear text strings. For more information -on the details of LM/NT password hashes, refer to the <A -HREF="ENCRYPTION.html" -TARGET="_top" ->ENCRYPTION chapter</A -> of the Samba-HOWTO-Collection.</P -><P ->To remedy the first security issue, the "ldap ssl" smb.conf parameter defaults -to require an encrypted session (<B -CLASS="COMMAND" ->ldap ssl = on</B ->) using -the default port of 636 -when contacting the directory server. When using an OpenLDAP 2.0 server, it -is possible to use the use the StartTLS LDAP extended operation in the place of -LDAPS. In either case, you are strongly discouraged to disable this security -(<B -CLASS="COMMAND" ->ldap ssl = off</B ->).</P -><P ->Note that the LDAPS protocol is deprecated in favor of the LDAPv3 StartTLS -extended operation. However, the OpenLDAP library still provides support for -the older method of securing communication between clients and servers.</P -><P ->The second security precaution is to prevent non-administrative users from -harvesting password hashes from the directory. This can be done using the -following ACL in <TT -CLASS="FILENAME" ->slapd.conf</TT ->:</P -><P -><PRE -CLASS="PROGRAMLISTING" ->## allow the "ldap admin dn" access, but deny everyone else -access to attrs=lmPassword,ntPassword - by dn="cn=Samba Admin,ou=people,dc=plainjoe,dc=org" write - by * none</PRE -></P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN141" ->LDAP specials attributes for sambaAccounts</A -></H1 -><P ->The sambaAccount objectclass is composed of the following attributes:</P -><P -></P -><UL -><LI -><P -><TT -CLASS="CONSTANT" ->lmPassword</TT ->: the LANMAN password 16-byte hash stored as a character - representation of a hexidecimal string.</P -></LI -><LI -><P -><TT -CLASS="CONSTANT" ->ntPassword</TT ->: the NT password hash 16-byte stored as a character - representation of a hexidecimal string.</P -></LI -><LI -><P -><TT -CLASS="CONSTANT" ->pwdLastSet</TT ->: The integer time in seconds since 1970 when the - <TT -CLASS="CONSTANT" ->lmPassword</TT -> and <TT -CLASS="CONSTANT" ->ntPassword</TT -> attributes were last set. - </P -></LI -><LI -><P -><TT -CLASS="CONSTANT" ->acctFlags</TT ->: string of 11 characters surrounded by square brackets [] - representing account flags such as U (user), W(workstation), X(no password expiration), and - D(disabled).</P -></LI -><LI -><P -><TT -CLASS="CONSTANT" ->logonTime</TT ->: Integer value currently unused</P -></LI -><LI -><P -><TT -CLASS="CONSTANT" ->logoffTime</TT ->: Integer value currently unused</P -></LI -><LI -><P -><TT -CLASS="CONSTANT" ->kickoffTime</TT ->: Integer value currently unused</P -></LI -><LI -><P -><TT -CLASS="CONSTANT" ->pwdCanChange</TT ->: Integer value currently unused</P -></LI -><LI -><P -><TT -CLASS="CONSTANT" ->pwdMustChange</TT ->: Integer value currently unused</P -></LI -><LI -><P -><TT -CLASS="CONSTANT" ->homeDrive</TT ->: specifies the drive letter to which to map the - UNC path specified by homeDirectory. The drive letter must be specified in the form "X:" - where X is the letter of the drive to map. Refer to the "logon drive" parameter in the - smb.conf(5) man page for more information.</P -></LI -><LI -><P -><TT -CLASS="CONSTANT" ->scriptPath</TT ->: The scriptPath property specifies the path of - the user's logon script, .CMD, .EXE, or .BAT file. The string can be null. The path - is relative to the netlogon share. Refer to the "logon script" parameter in the - smb.conf(5) man page for more information.</P -></LI -><LI -><P -><TT -CLASS="CONSTANT" ->profilePath</TT ->: specifies a path to the user's profile. - This value can be a null string, a local absolute path, or a UNC path. Refer to the - "logon path" parameter in the smb.conf(5) man page for more information.</P -></LI -><LI -><P -><TT -CLASS="CONSTANT" ->smbHome</TT ->: The homeDirectory property specifies the path of - the home directory for the user. The string can be null. If homeDrive is set and specifies - a drive letter, homeDirectory should be a UNC path. The path must be a network - UNC path of the form \\server\share\directory. This value can be a null string. - Refer to the "logon home" parameter in the smb.conf(5) man page for more information. - </P -></LI -><LI -><P -><TT -CLASS="CONSTANT" ->userWorkstation</TT ->: character string value currently unused. - </P -></LI -><LI -><P -><TT -CLASS="CONSTANT" ->rid</TT ->: the integer representation of the user's relative identifier - (RID).</P -></LI -><LI -><P -><TT -CLASS="CONSTANT" ->primaryGroupID</TT ->: the relative identifier (RID) of the primary group - of the user.</P -></LI -></UL -><P ->The majority of these parameters are only used when Samba is acting as a PDC of -a domain (refer to the <A -HREF="Samba-PDC-HOWTO.html" -TARGET="_top" ->Samba-PDC-HOWTO</A -> for details on -how to configure Samba as a Primary Domain Controller). The following four attributes -are only stored with the sambaAccount entry if the values are non-default values:</P -><P -></P -><UL -><LI -><P ->smbHome</P -></LI -><LI -><P ->scriptPath</P -></LI -><LI -><P ->logonPath</P -></LI -><LI -><P ->homeDrive</P -></LI -></UL -><P ->These attributes are only stored with the sambaAccount entry if -the values are non-default values. For example, assume TASHTEGO has now been -configured as a PDC and that <B -CLASS="COMMAND" ->logon home = \\%L\%u</B -> was defined in -its <TT -CLASS="FILENAME" ->smb.conf</TT -> file. When a user named "becky" logons to the domain, -the <TT -CLASS="PARAMETER" -><I ->logon home</I -></TT -> string is expanded to \\TASHTEGO\becky. -If the smbHome attribute exists in the entry "uid=becky,ou=people,dc=samba,dc=org", -this value is used. However, if this attribute does not exist, then the value -of the <TT -CLASS="PARAMETER" -><I ->logon home</I -></TT -> parameter is used in its place. Samba -will only write the attribute value to the directory entry is the value is -something other than the default (e.g. \\MOBY\becky).</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN211" ->Example LDIF Entries for a sambaAccount</A -></H1 -><P ->The following is a working LDIF with the inclusion of the posixAccount objectclass:</P -><P -><PRE -CLASS="PROGRAMLISTING" ->dn: uid=guest2, ou=people,dc=plainjoe,dc=org -ntPassword: 878D8014606CDA29677A44EFA1353FC7 -pwdMustChange: 2147483647 -primaryGroupID: 1201 -lmPassword: 552902031BEDE9EFAAD3B435B51404EE -pwdLastSet: 1010179124 -logonTime: 0 -objectClass: sambaAccount -uid: guest2 -kickoffTime: 2147483647 -acctFlags: [UX ] -logoffTime: 2147483647 -rid: 19006 -pwdCanChange: 0</PRE -></P -><P ->The following is an LDIF entry for using both the sambaAccount and -posixAccount objectclasses:</P -><P -><PRE -CLASS="PROGRAMLISTING" ->dn: uid=gcarter, ou=people,dc=plainjoe,dc=org -logonTime: 0 -displayName: Gerald Carter -lmPassword: 552902031BEDE9EFAAD3B435B51404EE -primaryGroupID: 1201 -objectClass: posixAccount -objectClass: sambaAccount -acctFlags: [UX ] -userPassword: {crypt}BpM2ej8Rkzogo -uid: gcarter -uidNumber: 9000 -cn: Gerald Carter -loginShell: /bin/bash -logoffTime: 2147483647 -gidNumber: 100 -kickoffTime: 2147483647 -pwdLastSet: 1010179230 -rid: 19000 -homeDirectory: /home/tashtego/gcarter -pwdCanChange: 0 -pwdMustChange: 2147483647 -ntPassword: 878D8014606CDA29677A44EFA1353FC7</PRE -></P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN219" ->Comments</A -></H1 -><P ->Please mail all comments regarding this HOWTO to <A -HREF="mailto:jerry@samba.org" -TARGET="_top" ->jerry@samba.org</A ->. This documents was -last updated to reflect the Samba 2.2.3 release. </P -></DIV -></DIV -></BODY -></HTML ->
\ No newline at end of file diff --git a/docs/htmldocs/Speed.html b/docs/htmldocs/Speed.html deleted file mode 100644 index 47a8c885b6..0000000000 --- a/docs/htmldocs/Speed.html +++ /dev/null @@ -1,550 +0,0 @@ -<HTML -><HEAD -><TITLE ->Samba performance issues</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD -><BODY -CLASS="ARTICLE" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="ARTICLE" -><DIV -CLASS="TITLEPAGE" -><H1 -CLASS="TITLE" -><A -NAME="SPEED" ->Samba performance issues</A -></H1 -><HR></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN3" ->Comparisons</A -></H1 -><P ->The Samba server uses TCP to talk to the client. Thus if you are -trying to see if it performs well you should really compare it to -programs that use the same protocol. The most readily available -programs for file transfer that use TCP are ftp or another TCP based -SMB server.</P -><P ->If you want to test against something like a NT or WfWg server then -you will have to disable all but TCP on either the client or -server. Otherwise you may well be using a totally different protocol -(such as Netbeui) and comparisons may not be valid.</P -><P ->Generally you should find that Samba performs similarly to ftp at raw -transfer speed. It should perform quite a bit faster than NFS, -although this very much depends on your system.</P -><P ->Several people have done comparisons between Samba and Novell, NFS or -WinNT. In some cases Samba performed the best, in others the worst. I -suspect the biggest factor is not Samba vs some other system but the -hardware and drivers used on the various systems. Given similar -hardware Samba should certainly be competitive in speed with other -systems.</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN9" ->Oplocks</A -></H1 -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN11" ->Overview</A -></H2 -><P ->Oplocks are the way that SMB clients get permission from a server to -locally cache file operations. If a server grants an oplock -(opportunistic lock) then the client is free to assume that it is the -only one accessing the file and it will agressively cache file -data. With some oplock types the client may even cache file open/close -operations. This can give enormous performance benefits.</P -><P ->With the release of Samba 1.9.18 we now correctly support opportunistic -locks. This is turned on by default, and can be turned off on a share- -by-share basis by setting the parameter :</P -><P -><B -CLASS="COMMAND" ->oplocks = False</B -></P -><P ->We recommend that you leave oplocks on however, as current benchmark -tests with NetBench seem to give approximately a 30% improvement in -speed with them on. This is on average however, and the actual -improvement seen can be orders of magnitude greater, depending on -what the client redirector is doing.</P -><P ->Previous to Samba 1.9.18 there was a 'fake oplocks' option. This -option has been left in the code for backwards compatibility reasons -but it's use is now deprecated. A short summary of what the old -code did follows.</P -></DIV -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN19" ->Level2 Oplocks</A -></H2 -><P ->With Samba 2.0.5 a new capability - level2 (read only) oplocks is -supported (although the option is off by default - see the smb.conf -man page for details). Turning on level2 oplocks (on a share-by-share basis) -by setting the parameter :</P -><P -><B -CLASS="COMMAND" ->level2 oplocks = true</B -></P -><P ->should speed concurrent access to files that are not commonly written -to, such as application serving shares (ie. shares that contain common -.EXE files - such as a Microsoft Office share) as it allows clients to -read-ahread cache copies of these files.</P -></DIV -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN25" ->Old 'fake oplocks' option - deprecated</A -></H2 -><P ->Samba can also fake oplocks, by granting a oplock whenever a client -asks for one. This is controlled using the smb.conf option "fake -oplocks". If you set "fake oplocks = yes" then you are telling the -client that it may agressively cache the file data for all opens.</P -><P ->Enabling 'fake oplocks' on all read-only shares or shares that you know -will only be accessed from one client at a time you will see a big -performance improvement on many operations. If you enable this option -on shares where multiple clients may be accessing the files read-write -at the same time you can get data corruption.</P -></DIV -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN29" ->Socket options</A -></H1 -><P ->There are a number of socket options that can greatly affect the -performance of a TCP based server like Samba.</P -><P ->The socket options that Samba uses are settable both on the command -line with the -O option, or in the smb.conf file.</P -><P ->The "socket options" section of the smb.conf manual page describes how -to set these and gives recommendations.</P -><P ->Getting the socket options right can make a big difference to your -performance, but getting them wrong can degrade it by just as -much. The correct settings are very dependent on your local network.</P -><P ->The socket option TCP_NODELAY is the one that seems to make the -biggest single difference for most networks. Many people report that -adding "socket options = TCP_NODELAY" doubles the read performance of -a Samba drive. The best explanation I have seen for this is that the -Microsoft TCP/IP stack is slow in sending tcp ACKs.</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN36" ->Read size</A -></H1 -><P ->The option "read size" affects the overlap of disk reads/writes with -network reads/writes. If the amount of data being transferred in -several of the SMB commands (currently SMBwrite, SMBwriteX and -SMBreadbraw) is larger than this value then the server begins writing -the data before it has received the whole packet from the network, or -in the case of SMBreadbraw, it begins writing to the network before -all the data has been read from disk.</P -><P ->This overlapping works best when the speeds of disk and network access -are similar, having very little effect when the speed of one is much -greater than the other.</P -><P ->The default value is 16384, but very little experimentation has been -done yet to determine the optimal value, and it is likely that the best -value will vary greatly between systems anyway. A value over 65536 is -pointless and will cause you to allocate memory unnecessarily.</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN41" ->Max xmit</A -></H1 -><P ->At startup the client and server negotiate a "maximum transmit" size, -which limits the size of nearly all SMB commands. You can set the -maximum size that Samba will negotiate using the "max xmit = " option -in smb.conf. Note that this is the maximum size of SMB request that -Samba will accept, but not the maximum size that the *client* will accept. -The client maximum receive size is sent to Samba by the client and Samba -honours this limit.</P -><P ->It defaults to 65536 bytes (the maximum), but it is possible that some -clients may perform better with a smaller transmit unit. Trying values -of less than 2048 is likely to cause severe problems.</P -><P ->In most cases the default is the best option.</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN46" ->Locking</A -></H1 -><P ->By default Samba does not implement strict locking on each read/write -call (although it did in previous versions). If you enable strict -locking (using "strict locking = yes") then you may find that you -suffer a severe performance hit on some systems.</P -><P ->The performance hit will probably be greater on NFS mounted -filesystems, but could be quite high even on local disks.</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN50" ->Share modes</A -></H1 -><P ->Some people find that opening files is very slow. This is often -because of the "share modes" code needed to fully implement the dos -share modes stuff. You can disable this code using "share modes = -no". This will gain you a lot in opening and closing files but will -mean that (in some cases) the system won't force a second user of a -file to open the file read-only if the first has it open -read-write. For many applications that do their own locking this -doesn't matter, but for some it may. Most Windows applications -depend heavily on "share modes" working correctly and it is -recommended that the Samba share mode support be left at the -default of "on".</P -><P ->The share mode code in Samba has been re-written in the 1.9.17 -release following tests with the Ziff-Davis NetBench PC Benchmarking -tool. It is now believed that Samba 1.9.17 implements share modes -similarly to Windows NT.</P -><P ->NOTE: In the most recent versions of Samba there is an option to use -shared memory via mmap() to implement the share modes. This makes -things much faster. See the Makefile for how to enable this.</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN55" ->Log level</A -></H1 -><P ->If you set the log level (also known as "debug level") higher than 2 -then you may suffer a large drop in performance. This is because the -server flushes the log file after each operation, which can be very -expensive. </P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN58" ->Wide lines</A -></H1 -><P ->The "wide links" option is now enabled by default, but if you disable -it (for better security) then you may suffer a performance hit in -resolving filenames. The performance loss is lessened if you have -"getwd cache = yes", which is now the default.</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN61" ->Read raw</A -></H1 -><P ->The "read raw" operation is designed to be an optimised, low-latency -file read operation. A server may choose to not support it, -however. and Samba makes support for "read raw" optional, with it -being enabled by default.</P -><P ->In some cases clients don't handle "read raw" very well and actually -get lower performance using it than they get using the conventional -read operations. </P -><P ->So you might like to try "read raw = no" and see what happens on your -network. It might lower, raise or not affect your performance. Only -testing can really tell.</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN66" ->Write raw</A -></H1 -><P ->The "write raw" operation is designed to be an optimised, low-latency -file write operation. A server may choose to not support it, -however. and Samba makes support for "write raw" optional, with it -being enabled by default.</P -><P ->Some machines may find "write raw" slower than normal write, in which -case you may wish to change this option.</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN70" ->Read prediction</A -></H1 -><P ->Samba can do read prediction on some of the SMB commands. Read -prediction means that Samba reads some extra data on the last file it -read while waiting for the next SMB command to arrive. It can then -respond more quickly when the next read request arrives.</P -><P ->This is disabled by default. You can enable it by using "read -prediction = yes".</P -><P ->Note that read prediction is only used on files that were opened read -only.</P -><P ->Read prediction should particularly help for those silly clients (such -as "Write" under NT) which do lots of very small reads on a file.</P -><P ->Samba will not read ahead more data than the amount specified in the -"read size" option. It always reads ahead on 1k block boundaries.</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN77" ->Memory mapping</A -></H1 -><P ->Samba supports reading files via memory mapping them. One some -machines this can give a large boost to performance, on others it -makes not difference at all, and on some it may reduce performance.</P -><P ->To enable you you have to recompile Samba with the -DUSE_MMAP option -on the FLAGS line of the Makefile.</P -><P ->Note that memory mapping is only used on files opened read only, and -is not used by the "read raw" operation. Thus you may find memory -mapping is more effective if you disable "read raw" using "read raw = -no".</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN82" ->Slow Clients</A -></H1 -><P ->One person has reported that setting the protocol to COREPLUS rather -than LANMAN2 gave a dramatic speed improvement (from 10k/s to 150k/s).</P -><P ->I suspect that his PC's (386sx16 based) were asking for more data than -they could chew. I suspect a similar speed could be had by setting -"read raw = no" and "max xmit = 2048", instead of changing the -protocol. Lowering the "read size" might also help.</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN86" ->Slow Logins</A -></H1 -><P ->Slow logins are almost always due to the password checking time. Using -the lowest practical "password level" will improve things a lot. You -could also enable the "UFC crypt" option in the Makefile.</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN89" ->Client tuning</A -></H1 -><P ->Often a speed problem can be traced to the client. The client (for -example Windows for Workgroups) can often be tuned for better TCP -performance.</P -><P ->See your client docs for details. In particular, I have heard rumours -that the WfWg options TCPWINDOWSIZE and TCPSEGMENTSIZE can have a -large impact on performance.</P -><P ->Also note that some people have found that setting DefaultRcvWindow in -the [MSTCP] section of the SYSTEM.INI file under WfWg to 3072 gives a -big improvement. I don't know why.</P -><P ->My own experience wth DefaultRcvWindow is that I get much better -performance with a large value (16384 or larger). Other people have -reported that anything over 3072 slows things down enourmously. One -person even reported a speed drop of a factor of 30 when he went from -3072 to 8192. I don't know why.</P -><P ->It probably depends a lot on your hardware, and the type of unix box -you have at the other end of the link.</P -><P ->Paul Cochrane has done some testing on client side tuning and come -to the following conclusions:</P -><P ->Install the W2setup.exe file from www.microsoft.com. This is an -update for the winsock stack and utilities which improve performance.</P -><P ->Configure the win95 TCPIP registry settings to give better -perfomance. I use a program called MTUSPEED.exe which I got off the -net. There are various other utilities of this type freely available. -The setting which give the best performance for me are:</P -><P -></P -><OL -TYPE="1" -><LI -><P ->MaxMTU Remove</P -></LI -><LI -><P ->RWIN Remove</P -></LI -><LI -><P ->MTUAutoDiscover Disable</P -></LI -><LI -><P ->MTUBlackHoleDetect Disable</P -></LI -><LI -><P ->Time To Live Enabled</P -></LI -><LI -><P ->Time To Live - HOPS 32</P -></LI -><LI -><P ->NDI Cache Size 0</P -></LI -></OL -><P ->I tried virtually all of the items mentioned in the document and -the only one which made a difference to me was the socket options. It -turned out I was better off without any!!!!!</P -><P ->In terms of overall speed of transfer, between various win95 clients -and a DX2-66 20MB server with a crappy NE2000 compatible and old IDE -drive (Kernel 2.0.30). The transfer rate was reasonable for 10 baseT.</P -><P ->FIXME -The figures are: Put Get -P166 client 3Com card: 420-440kB/s 500-520kB/s -P100 client 3Com card: 390-410kB/s 490-510kB/s -DX4-75 client NE2000: 370-380kB/s 330-350kB/s</P -><P ->I based these test on transfer two files a 4.5MB text file and a 15MB -textfile. The results arn't bad considering the hardware Samba is -running on. It's a crap machine!!!!</P -><P ->The updates mentioned in 1 and 2 brought up the transfer rates from -just over 100kB/s in some clients.</P -><P ->A new client is a P333 connected via a 100MB/s card and hub. The -transfer rates from this were good: 450-500kB/s on put and 600+kB/s -on get.</P -><P ->Looking at standard FTP throughput, Samba is a bit slower (100kB/s -upwards). I suppose there is more going on in the samba protocol, but -if it could get up to the rate of FTP the perfomance would be quite -staggering.</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN121" ->My Results</A -></H1 -><P ->Some people want to see real numbers in a document like this, so here -they are. I have a 486sx33 client running WfWg 3.11 with the 3.11b -tcp/ip stack. It has a slow IDE drive and 20Mb of ram. It has a SMC -Elite-16 ISA bus ethernet card. The only WfWg tuning I've done is to -set DefaultRcvWindow in the [MSTCP] section of system.ini to 16384. My -server is a 486dx3-66 running Linux. It also has 20Mb of ram and a SMC -Elite-16 card. You can see my server config in the examples/tridge/ -subdirectory of the distribution.</P -><P ->I get 490k/s on reading a 8Mb file with copy. -I get 441k/s writing the same file to the samba server.</P -><P ->Of course, there's a lot more to benchmarks than 2 raw throughput -figures, but it gives you a ballpark figure.</P -><P ->I've also tested Win95 and WinNT, and found WinNT gave me the best -speed as a samba client. The fastest client of all (for me) is -smbclient running on another linux box. Maybe I'll add those results -here someday ...</P -></DIV -></DIV -></BODY -></HTML ->
\ No newline at end of file diff --git a/docs/htmldocs/UNIX_INSTALL.html b/docs/htmldocs/UNIX_INSTALL.html deleted file mode 100644 index 9946e7e64e..0000000000 --- a/docs/htmldocs/UNIX_INSTALL.html +++ /dev/null @@ -1,799 +0,0 @@ -<HTML -><HEAD -><TITLE ->How to Install and Test SAMBA</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD -><BODY -CLASS="ARTICLE" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="ARTICLE" -><DIV -CLASS="TITLEPAGE" -><H1 -CLASS="TITLE" -><A -NAME="INSTALL" ->How to Install and Test SAMBA</A -></H1 -><HR></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN3" ->Step 0: Read the man pages</A -></H1 -><P ->The man pages distributed with SAMBA contain - lots of useful info that will help to get you started. - If you don't know how to read man pages then try - something like:</P -><P -><TT -CLASS="PROMPT" ->$ </TT -><TT -CLASS="USERINPUT" -><B ->nroff -man smbd.8 | more - </B -></TT -></P -><P ->Other sources of information are pointed to - by the Samba web site,<A -HREF="http://www.samba.org/" -TARGET="_top" -> http://www.samba.org</A -></P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN11" ->Step 1: Building the Binaries</A -></H1 -><P ->To do this, first run the program <B -CLASS="COMMAND" ->./configure - </B -> in the source directory. This should automatically - configure Samba for your operating system. If you have unusual - needs then you may wish to run</P -><P -><TT -CLASS="PROMPT" ->root# </TT -><TT -CLASS="USERINPUT" -><B ->./configure --help - </B -></TT -></P -><P ->first to see what special options you can enable. - Then executing</P -><P -><TT -CLASS="PROMPT" ->root# </TT -><TT -CLASS="USERINPUT" -><B ->make</B -></TT -></P -><P ->will create the binaries. Once it's successfully - compiled you can use </P -><P -><TT -CLASS="PROMPT" ->root# </TT -><TT -CLASS="USERINPUT" -><B ->make install</B -></TT -></P -><P ->to install the binaries and manual pages. You can - separately install the binaries and/or man pages using</P -><P -><TT -CLASS="PROMPT" ->root# </TT -><TT -CLASS="USERINPUT" -><B ->make installbin - </B -></TT -></P -><P ->and</P -><P -><TT -CLASS="PROMPT" ->root# </TT -><TT -CLASS="USERINPUT" -><B ->make installman - </B -></TT -></P -><P ->Note that if you are upgrading for a previous version - of Samba you might like to know that the old versions of - the binaries will be renamed with a ".old" extension. You - can go back to the previous version with</P -><P -><TT -CLASS="PROMPT" ->root# </TT -><TT -CLASS="USERINPUT" -><B ->make revert - </B -></TT -></P -><P ->if you find this version a disaster!</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN39" ->Step 2: The all important step</A -></H1 -><P ->At this stage you must fetch yourself a - coffee or other drink you find stimulating. Getting the rest - of the install right can sometimes be tricky, so you will - probably need it.</P -><P ->If you have installed samba before then you can skip - this step.</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN43" ->Step 3: Create the smb configuration file.</A -></H1 -><P ->There are sample configuration files in the examples - subdirectory in the distribution. I suggest you read them - carefully so you can see how the options go together in - practice. See the man page for all the options.</P -><P ->The simplest useful configuration file would be - something like this:</P -><P -><PRE -CLASS="PROGRAMLISTING" -> [global] - workgroup = MYGROUP - - [homes] - guest ok = no - read only = no - </PRE -></P -><P ->which would allow connections by anyone with an - account on the server, using either their login name or - "homes" as the service name. (Note that I also set the - workgroup that Samba is part of. See BROWSING.txt for details)</P -><P ->Note that <B -CLASS="COMMAND" ->make install</B -> will not install - a <TT -CLASS="FILENAME" ->smb.conf</TT -> file. You need to create it - yourself. </P -><P ->Make sure you put the smb.conf file in the same place - you specified in the<TT -CLASS="FILENAME" ->Makefile</TT -> (the default is to - look for it in <TT -CLASS="FILENAME" ->/usr/local/samba/lib/</TT ->).</P -><P ->For more information about security settings for the - [homes] share please refer to the document UNIX_SECURITY.txt.</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN57" ->Step 4: Test your config file with - <B -CLASS="COMMAND" ->testparm</B -></A -></H1 -><P ->It's important that you test the validity of your - <TT -CLASS="FILENAME" ->smb.conf</TT -> file using the testparm program. - If testparm runs OK then it will list the loaded services. If - not it will give an error message.</P -><P ->Make sure it runs OK and that the services look - reasonable before proceeding. </P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN63" ->Step 5: Starting the smbd and nmbd</A -></H1 -><P ->You must choose to start smbd and nmbd either - as daemons or from <B -CLASS="COMMAND" ->inetd</B ->. Don't try - to do both! Either you can put them in <TT -CLASS="FILENAME" -> inetd.conf</TT -> and have them started on demand - by <B -CLASS="COMMAND" ->inetd</B ->, or you can start them as - daemons either from the command line or in <TT -CLASS="FILENAME" -> /etc/rc.local</TT ->. See the man pages for details - on the command line options. Take particular care to read - the bit about what user you need to be in order to start - Samba. In many cases you must be root.</P -><P ->The main advantage of starting <B -CLASS="COMMAND" ->smbd</B -> - and <B -CLASS="COMMAND" ->nmbd</B -> using the recommended daemon method - is that they will respond slightly more quickly to an initial connection - request.</P -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN73" ->Step 5a: Starting from inetd.conf</A -></H2 -><P ->NOTE; The following will be different if - you use NIS or NIS+ to distributed services maps.</P -><P ->Look at your <TT -CLASS="FILENAME" ->/etc/services</TT ->. - What is defined at port 139/tcp. If nothing is defined - then add a line like this:</P -><P -><TT -CLASS="USERINPUT" -><B ->netbios-ssn 139/tcp</B -></TT -></P -><P ->similarly for 137/udp you should have an entry like:</P -><P -><TT -CLASS="USERINPUT" -><B ->netbios-ns 137/udp</B -></TT -></P -><P ->Next edit your <TT -CLASS="FILENAME" ->/etc/inetd.conf</TT -> - and add two lines something like this:</P -><P -><PRE -CLASS="PROGRAMLISTING" -> netbios-ssn stream tcp nowait root /usr/local/samba/bin/smbd smbd - netbios-ns dgram udp wait root /usr/local/samba/bin/nmbd nmbd - </PRE -></P -><P ->The exact syntax of <TT -CLASS="FILENAME" ->/etc/inetd.conf</TT -> - varies between unixes. Look at the other entries in inetd.conf - for a guide.</P -><P ->NOTE: Some unixes already have entries like netbios_ns - (note the underscore) in <TT -CLASS="FILENAME" ->/etc/services</TT ->. - You must either edit <TT -CLASS="FILENAME" ->/etc/services</TT -> or - <TT -CLASS="FILENAME" ->/etc/inetd.conf</TT -> to make them consistent.</P -><P ->NOTE: On many systems you may need to use the - "interfaces" option in smb.conf to specify the IP address - and netmask of your interfaces. Run <B -CLASS="COMMAND" ->ifconfig</B -> - as root if you don't know what the broadcast is for your - net. <B -CLASS="COMMAND" ->nmbd</B -> tries to determine it at run - time, but fails on some unixes. See the section on "testing nmbd" - for a method of finding if you need to do this.</P -><P ->!!!WARNING!!! Many unixes only accept around 5 - parameters on the command line in <TT -CLASS="FILENAME" ->inetd.conf</TT ->. - This means you shouldn't use spaces between the options and - arguments, or you should use a script, and start the script - from <B -CLASS="COMMAND" ->inetd</B ->.</P -><P ->Restart <B -CLASS="COMMAND" ->inetd</B ->, perhaps just send - it a HUP. If you have installed an earlier version of <B -CLASS="COMMAND" -> nmbd</B -> then you may need to kill nmbd as well.</P -></DIV -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN102" ->Step 5b. Alternative: starting it as a daemon</A -></H2 -><P ->To start the server as a daemon you should create - a script something like this one, perhaps calling - it <TT -CLASS="FILENAME" ->startsmb</TT ->.</P -><P -><PRE -CLASS="PROGRAMLISTING" -> #!/bin/sh - /usr/local/samba/bin/smbd -D - /usr/local/samba/bin/nmbd -D - </PRE -></P -><P ->then make it executable with <B -CLASS="COMMAND" ->chmod - +x startsmb</B -></P -><P ->You can then run <B -CLASS="COMMAND" ->startsmb</B -> by - hand or execute it from <TT -CLASS="FILENAME" ->/etc/rc.local</TT -> - </P -><P ->To kill it send a kill signal to the processes - <B -CLASS="COMMAND" ->nmbd</B -> and <B -CLASS="COMMAND" ->smbd</B ->.</P -><P ->NOTE: If you use the SVR4 style init system then - you may like to look at the <TT -CLASS="FILENAME" ->examples/svr4-startup</TT -> - script to make Samba fit into that system.</P -></DIV -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN118" ->Step 6: Try listing the shares available on your - server</A -></H1 -><P -><TT -CLASS="PROMPT" ->$ </TT -><TT -CLASS="USERINPUT" -><B ->smbclient -L - <TT -CLASS="REPLACEABLE" -><I ->yourhostname</I -></TT -></B -></TT -></P -><P ->You should get back a list of shares available on - your server. If you don't then something is incorrectly setup. - Note that this method can also be used to see what shares - are available on other LanManager clients (such as WfWg).</P -><P ->If you choose user level security then you may find - that Samba requests a password before it will list the shares. - See the <B -CLASS="COMMAND" ->smbclient</B -> man page for details. (you - can force it to list the shares without a password by - adding the option -U% to the command line. This will not work - with non-Samba servers)</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN127" ->Step 7: Try connecting with the unix client</A -></H1 -><P -><TT -CLASS="PROMPT" ->$ </TT -><TT -CLASS="USERINPUT" -><B ->smbclient <TT -CLASS="REPLACEABLE" -><I -> //yourhostname/aservice</I -></TT -></B -></TT -></P -><P ->Typically the <TT -CLASS="REPLACEABLE" -><I ->yourhostname</I -></TT -> - would be the name of the host where you installed <B -CLASS="COMMAND" -> smbd</B ->. The <TT -CLASS="REPLACEABLE" -><I ->aservice</I -></TT -> is - any service you have defined in the <TT -CLASS="FILENAME" ->smb.conf</TT -> - file. Try your user name if you just have a [homes] section - in <TT -CLASS="FILENAME" ->smb.conf</TT ->.</P -><P ->For example if your unix host is bambi and your login - name is fred you would type:</P -><P -><TT -CLASS="PROMPT" ->$ </TT -><TT -CLASS="USERINPUT" -><B ->smbclient //bambi/fred - </B -></TT -></P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN143" ->Step 8: Try connecting from a DOS, WfWg, Win9x, WinNT, - Win2k, OS/2, etc... client</A -></H1 -><P ->Try mounting disks. eg:</P -><P -><TT -CLASS="PROMPT" ->C:\WINDOWS\> </TT -><TT -CLASS="USERINPUT" -><B ->net use d: \\servername\service - </B -></TT -></P -><P ->Try printing. eg:</P -><P -><TT -CLASS="PROMPT" ->C:\WINDOWS\> </TT -><TT -CLASS="USERINPUT" -><B ->net use lpt1: - \\servername\spoolservice</B -></TT -></P -><P -><TT -CLASS="PROMPT" ->C:\WINDOWS\> </TT -><TT -CLASS="USERINPUT" -><B ->print filename - </B -></TT -></P -><P ->Celebrate, or send me a bug report!</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN157" ->What If Things Don't Work?</A -></H1 -><P ->If nothing works and you start to think "who wrote - this pile of trash" then I suggest you do step 2 again (and - again) till you calm down.</P -><P ->Then you might read the file DIAGNOSIS.txt and the - FAQ. If you are still stuck then try the mailing list or - newsgroup (look in the README for details). Samba has been - successfully installed at thousands of sites worldwide, so maybe - someone else has hit your problem and has overcome it. You could - also use the WWW site to scan back issues of the samba-digest.</P -><P ->When you fix the problem PLEASE send me some updates to the - documentation (or source code) so that the next person will find it - easier. </P -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN162" ->Diagnosing Problems</A -></H2 -><P ->If you have installation problems then go to - <TT -CLASS="FILENAME" ->DIAGNOSIS.txt</TT -> to try to find the - problem.</P -></DIV -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN166" ->Scope IDs</A -></H2 -><P ->By default Samba uses a blank scope ID. This means - all your windows boxes must also have a blank scope ID. - If you really want to use a non-blank scope ID then you will - need to use the 'netbios scope' smb.conf option. - All your PCs will need to have the same setting for - this to work. I do not recommend scope IDs.</P -></DIV -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN169" ->Choosing the Protocol Level</A -></H2 -><P ->The SMB protocol has many dialects. Currently - Samba supports 5, called CORE, COREPLUS, LANMAN1, - LANMAN2 and NT1.</P -><P ->You can choose what maximum protocol to support - in the <TT -CLASS="FILENAME" ->smb.conf</TT -> file. The default is - NT1 and that is the best for the vast majority of sites.</P -><P ->In older versions of Samba you may have found it - necessary to use COREPLUS. The limitations that led to - this have mostly been fixed. It is now less likely that you - will want to use less than LANMAN1. The only remaining advantage - of COREPLUS is that for some obscure reason WfWg preserves - the case of passwords in this protocol, whereas under LANMAN1, - LANMAN2 or NT1 it uppercases all passwords before sending them, - forcing you to use the "password level=" option in some cases.</P -><P ->The main advantage of LANMAN2 and NT1 is support for - long filenames with some clients (eg: smbclient, Windows NT - or Win95). </P -><P ->See the smb.conf(5) manual page for more details.</P -><P ->Note: To support print queue reporting you may find - that you have to use TCP/IP as the default protocol under - WfWg. For some reason if you leave Netbeui as the default - it may break the print queue reporting on some systems. - It is presumably a WfWg bug.</P -></DIV -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN178" ->Printing from UNIX to a Client PC</A -></H2 -><P ->To use a printer that is available via a smb-based - server from a unix host you will need to compile the - smbclient program. You then need to install the script - "smbprint". Read the instruction in smbprint for more details. - </P -><P ->There is also a SYSV style script that does much - the same thing called smbprint.sysv. It contains instructions.</P -></DIV -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN182" ->Locking</A -></H2 -><P ->One area which sometimes causes trouble is locking.</P -><P ->There are two types of locking which need to be - performed by a SMB server. The first is "record locking" - which allows a client to lock a range of bytes in a open file. - The second is the "deny modes" that are specified when a file - is open.</P -><P ->Record locking semantics under Unix is very - different from record locking under Windows. Versions - of Samba before 2.2 have tried to use the native - fcntl() unix system call to implement proper record - locking between different Samba clients. This can not - be fully correct due to several reasons. The simplest - is the fact that a Windows client is allowed to lock a - byte range up to 2^32 or 2^64, depending on the client - OS. The unix locking only supports byte ranges up to - 2^31. So it is not possible to correctly satisfy a - lock request above 2^31. There are many more - differences, too many to be listed here.</P -><P ->Samba 2.2 and above implements record locking - completely independent of the underlying unix - system. If a byte range lock that the client requests - happens to fall into the range 0-2^31, Samba hands - this request down to the Unix system. All other locks - can not be seen by unix anyway.</P -><P ->Strictly a SMB server should check for locks before - every read and write call on a file. Unfortunately with the - way fcntl() works this can be slow and may overstress the - rpc.lockd. It is also almost always unnecessary as clients - are supposed to independently make locking calls before reads - and writes anyway if locking is important to them. By default - Samba only makes locking calls when explicitly asked - to by a client, but if you set "strict locking = yes" then it will - make lock checking calls on every read and write. </P -><P ->You can also disable by range locking completely - using "locking = no". This is useful for those shares that - don't support locking or don't need it (such as cdroms). In - this case Samba fakes the return codes of locking calls to - tell clients that everything is OK.</P -><P ->The second class of locking is the "deny modes". These - are set by an application when it opens a file to determine - what types of access should be allowed simultaneously with - its open. A client may ask for DENY_NONE, DENY_READ, DENY_WRITE - or DENY_ALL. There are also special compatibility modes called - DENY_FCB and DENY_DOS.</P -></DIV -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN191" ->Mapping Usernames</A -></H2 -><P ->If you have different usernames on the PCs and - the unix server then take a look at the "username map" option. - See the smb.conf man page for details.</P -></DIV -></DIV -></DIV -></BODY -></HTML ->
\ No newline at end of file diff --git a/docs/htmldocs/findsmb.1.html b/docs/htmldocs/findsmb.1.html index 2f246d666d..08fffb47b6 100644 --- a/docs/htmldocs/findsmb.1.html +++ b/docs/htmldocs/findsmb.1.html @@ -1,10 +1,11 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >findsmb</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD +CONTENT="Modular DocBook HTML Stylesheet Version 1.77"></HEAD ><BODY CLASS="REFENTRY" BGCOLOR="#FFFFFF" @@ -15,8 +16,8 @@ ALINK="#0000FF" ><H1 ><A NAME="FINDSMB" ->findsmb</A -></H1 +></A +>findsmb</H1 ><DIV CLASS="REFNAMEDIV" ><A @@ -108,7 +109,7 @@ CLASS="COMMAND" <TT CLASS="CONSTANT" >-B</TT -> option</P +> option.</P ></DD ></DL ></DIV @@ -156,7 +157,7 @@ CLASS="COMMAND" get proper responses from Windows 95 and Windows 98 machines, the command must be run as root. </P ><P ->For example running <B +>For example, running <B CLASS="COMMAND" >findsmb</B > on a machine @@ -165,12 +166,6 @@ CLASS="COMMAND" >nmbd</B > running would yield output similar to the following</P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="SCREEN" ><TT @@ -189,9 +184,6 @@ CLASS="COMPUTEROUTPUT" 192.168.35.97 HERBNT1 *[HERB-NT] [Windows NT 4.0] [NT LAN Manager 4.0] </TT ></PRE -></TD -></TR -></TABLE ></DIV ><DIV CLASS="REFSECT1" diff --git a/docs/htmldocs/lmhosts.5.html b/docs/htmldocs/lmhosts.5.html index 13b162ce44..4d7f11e64b 100644 --- a/docs/htmldocs/lmhosts.5.html +++ b/docs/htmldocs/lmhosts.5.html @@ -1,10 +1,11 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >lmhosts</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD +CONTENT="Modular DocBook HTML Stylesheet Version 1.77"></HEAD ><BODY CLASS="REFENTRY" BGCOLOR="#FFFFFF" @@ -15,8 +16,8 @@ ALINK="#0000FF" ><H1 ><A NAME="LMHOSTS" ->lmhosts</A -></H1 +></A +>lmhosts</H1 ><DIV CLASS="REFNAMEDIV" ><A @@ -59,9 +60,13 @@ TARGET="_top" ><TT CLASS="FILENAME" >lmhosts</TT -> is the <EM +> is the <SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" >Samba - </EM + </I +></SPAN > NetBIOS name to IP address mapping file. It is very similar to the <TT CLASS="FILENAME" @@ -104,12 +109,6 @@ NAME="AEN20" ><P >An example follows :</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" ># @@ -119,9 +118,6 @@ CLASS="PROGRAMLISTING" 192.9.200.20 NTSERVER#20 192.9.200.21 SAMBASERVER </PRE -></TD -></TR -></TABLE ></P ><P >Contains three IP to NetBIOS name mappings. The first diff --git a/docs/htmldocs/make_smbcodepage.1.html b/docs/htmldocs/make_smbcodepage.1.html deleted file mode 100644 index 8e792e3122..0000000000 --- a/docs/htmldocs/make_smbcodepage.1.html +++ /dev/null @@ -1,354 +0,0 @@ -<HTML -><HEAD -><TITLE ->make_smbcodepage</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD -><BODY -CLASS="REFENTRY" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><H1 -><A -NAME="MAKE-SMBCODEPAGE" ->make_smbcodepage</A -></H1 -><DIV -CLASS="REFNAMEDIV" -><A -NAME="AEN5" -></A -><H2 ->Name</H2 ->make_smbcodepage -- construct a codepage file for Samba</DIV -><DIV -CLASS="REFSYNOPSISDIV" -><A -NAME="AEN8" -></A -><H2 ->Synopsis</H2 -><P -><B -CLASS="COMMAND" ->make_smbcodepage</B -> {c|d} {codepage} {inputfile} {outputfile}</P -></DIV -><DIV -CLASS="REFSECT1" -><A -NAME="AEN15" -></A -><H2 ->DESCRIPTION</H2 -><P ->This tool is part of the <A -HREF="samba.7.html" -TARGET="_top" -> Samba</A -> suite.</P -><P -><B -CLASS="COMMAND" ->make_smbcodepage</B -> compiles or de-compiles - codepage files for use with the internationalization features - of Samba 2.2</P -></DIV -><DIV -CLASS="REFSECT1" -><A -NAME="AEN21" -></A -><H2 ->OPTIONS</H2 -><P -></P -><DIV -CLASS="VARIABLELIST" -><DL -><DT ->c|d</DT -><DD -><P ->This tells <B -CLASS="COMMAND" ->make_smbcodepage</B -> - if it is compiling (<TT -CLASS="PARAMETER" -><I ->c</I -></TT ->) a text format code - page file to binary, or (<TT -CLASS="PARAMETER" -><I ->d</I -></TT ->) de-compiling - a binary codepage file to text. </P -></DD -><DT ->codepage</DT -><DD -><P ->This is the codepage we are processing (a - number, e.g. 850). </P -></DD -><DT ->inputfile</DT -><DD -><P ->This is the input file to process. In - the <TT -CLASS="PARAMETER" -><I ->c</I -></TT -> case this will be a text - codepage definition file such as the ones found in the Samba - <TT -CLASS="FILENAME" ->source/codepages</TT -> directory. In - the <TT -CLASS="PARAMETER" -><I ->d</I -></TT -> case this will be the - binary format codepage definition file normally found in - the <TT -CLASS="FILENAME" ->lib/codepages</TT -> directory in the - Samba install directory path.</P -></DD -><DT ->outputfile</DT -><DD -><P ->This is the output file to produce.</P -></DD -></DL -></DIV -></DIV -><DIV -CLASS="REFSECT1" -><A -NAME="AEN47" -></A -><H2 ->Samba Codepage Files</H2 -><P ->A text Samba codepage definition file is a description - that tells Samba how to map from upper to lower case for - characters greater than ascii 127 in the specified DOS code page. - Note that for certain DOS codepages (437 for example) mapping - from lower to upper case may be non-symmetrical. For example, in - code page 437 lower case a acute maps to a plain upper case A - when going from lower to upper case, but plain upper case A maps - to plain lower case a when lower casing a character. </P -><P ->A binary Samba codepage definition file is a binary - representation of the same information, including a value that - specifies what codepage this file is describing. </P -><P ->As Samba does not yet use UNICODE (current for Samba version 2.2) - you must specify the client code page that your DOS and Windows - clients are using if you wish to have case insensitivity done - correctly for your particular language. The default codepage Samba - uses is 850 (Western European). Text codepage definition sample files - are provided in the Samba distribution for codepages 437 (USA), 737 (Greek), - 850 (Western European) 852 (MS-DOS Latin 2), 861 (Icelandic), 866 (Cyrillic), - 932 (Kanji SJIS), 936 (Simplified Chinese), 949 (Hangul) and 950 (Traditional - Chinese). Users are encouraged to write text codepage definition files for - their own code pages and donate them to samba@samba.org. All codepage files - in the Samba <TT -CLASS="FILENAME" ->source/codepages</TT -> directory are - compiled and installed when a <B -CLASS="COMMAND" ->'make install'</B -> - command is issued there. </P -><P ->The client codepage used by the <B -CLASS="COMMAND" ->smbd</B -> server - is configured using the <B -CLASS="COMMAND" ->client code page</B -> parameter - in the <B -CLASS="COMMAND" ->smb.conf</B -> file. </P -></DIV -><DIV -CLASS="REFSECT1" -><A -NAME="AEN58" -></A -><H2 ->Files</H2 -><P -><B -CLASS="COMMAND" ->codepage_def.<codepage></B -></P -><P ->These are the input (text) codepage files provided in the - Samba <TT -CLASS="FILENAME" ->source/codepages</TT -> directory.</P -><P ->A text codepage definition file consists of multiple lines - containing four fields. These fields are:</P -><P -></P -><UL -><LI -><P -><B -CLASS="COMMAND" ->lower</B ->: which is the - (hex) lower case character mapped on this line.</P -></LI -><LI -><P -><B -CLASS="COMMAND" ->upper</B ->: which is the (hex) - upper case character that the lower case character will map to. - </P -></LI -><LI -><P -><B -CLASS="COMMAND" ->map upper to lower</B -> which - is a boolean value (put either True or False here) which tells - Samba if it is to map the given upper case character to the - given lower case character when lower casing a filename. - </P -></LI -><LI -><P -><B -CLASS="COMMAND" ->map lower to upper</B -> which - is a boolean value (put either True or False here) which tells - Samba if it is to map the given lower case character to the - given upper case character when upper casing a filename. - </P -></LI -></UL -><P -><B -CLASS="COMMAND" ->codepage.<codepage></B -> - These are the - output (binary) codepage files produced and placed in the Samba - destination <TT -CLASS="FILENAME" ->lib/codepage</TT -> directory. </P -></DIV -><DIV -CLASS="REFSECT1" -><A -NAME="AEN81" -></A -><H2 ->Installation</H2 -><P ->The location of the server and its support files is a - matter for individual system administrators. The following are - thus suggestions only. </P -><P ->It is recommended that the <B -CLASS="COMMAND" ->make_smbcodepage - </B -> program be installed under the <TT -CLASS="FILENAME" ->/usr/local/samba - </TT -> hierarchy, in a directory readable by all, writeable - only by root. The program itself should be executable by all. The - program should NOT be setuid or setgid! </P -></DIV -><DIV -CLASS="REFSECT1" -><A -NAME="AEN87" -></A -><H2 ->VERSION</H2 -><P ->This man page is correct for version 2.2 of - the Samba suite.</P -></DIV -><DIV -CLASS="REFSECT1" -><A -NAME="AEN90" -></A -><H2 ->SEE ALSO</H2 -><P -><A -HREF="smbd.8.html" -TARGET="_top" -><B -CLASS="COMMAND" ->smbd(8)</B -></A ->, - <A -HREF="smb.conf.5.html" -TARGET="_top" ->smb.conf(5)</A -> - </P -></DIV -><DIV -CLASS="REFSECT1" -><A -NAME="AEN96" -></A -><H2 ->AUTHOR</H2 -><P ->The original Samba software and related utilities - were created by Andrew Tridgell. Samba is now developed - by the Samba Team as an Open Source project similar - to the way the Linux kernel is developed.</P -><P ->The original Samba man pages were written by Karl Auer. - The man page sources were converted to YODL format (another - excellent piece of Open Source software, available at - <A -HREF="ftp://ftp.icce.rug.nl/pub/unix/" -TARGET="_top" -> ftp://ftp.icce.rug.nl/pub/unix/</A ->) and updated for the Samba 2.0 - release by Jeremy Allison. The conversion to DocBook for - Samba 2.2 was done by Gerald Carter</P -></DIV -></BODY -></HTML ->
\ No newline at end of file diff --git a/docs/htmldocs/make_unicodemap.1.html b/docs/htmldocs/make_unicodemap.1.html deleted file mode 100644 index b8b768ce40..0000000000 --- a/docs/htmldocs/make_unicodemap.1.html +++ /dev/null @@ -1,276 +0,0 @@ -<HTML -><HEAD -><TITLE ->make_unicodemap</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD -><BODY -CLASS="REFENTRY" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><H1 -><A -NAME="MAKE-UNICODEMAP" ->make_unicodemap</A -></H1 -><DIV -CLASS="REFNAMEDIV" -><A -NAME="AEN5" -></A -><H2 ->Name</H2 ->make_unicodemap -- construct a unicode map file for Samba</DIV -><DIV -CLASS="REFSYNOPSISDIV" -><A -NAME="AEN8" -></A -><H2 ->Synopsis</H2 -><P -><B -CLASS="COMMAND" ->make_unicodemap</B -> {codepage} {inputfile} {outputfile}</P -></DIV -><DIV -CLASS="REFSECT1" -><A -NAME="AEN14" -></A -><H2 ->DESCRIPTION</H2 -><P -> This tool is part of the <A -HREF="samba.7.html" -TARGET="_top" ->Samba</A -> - suite. - </P -><P -> <B -CLASS="COMMAND" ->make_unicodemap</B -> compiles text unicode map - files into binary unicode map files for use with the - internationalization features of Samba 2.2. - </P -></DIV -><DIV -CLASS="REFSECT1" -><A -NAME="AEN20" -></A -><H2 ->OPTIONS</H2 -><P -></P -><DIV -CLASS="VARIABLELIST" -><DL -><DT ->codepage</DT -><DD -><P ->This is the codepage or UNIX character - set we are processing (a number, e.g. 850). - </P -></DD -><DT ->inputfile</DT -><DD -><P ->This is the input file to process. This is a - text unicode map file such as the ones found in the Samba - <TT -CLASS="FILENAME" ->source/codepages</TT -> directory. - </P -></DD -><DT ->outputfile</DT -><DD -><P ->This is the binary output file to produce. - </P -></DD -></DL -></DIV -></DIV -><DIV -CLASS="REFSECT1" -><A -NAME="AEN36" -></A -><H2 ->Samba Unicode Map Files</H2 -><P -> A text Samba unicode map file is a description that tells Samba - how to map characters from a specified DOS code page or UNIX character - set to 16 bit unicode. - </P -><P ->A binary Samba unicode map file is a binary representation - of the same information, including a value that specifies what - codepage or UNIX character set this file is describing. - </P -></DIV -><DIV -CLASS="REFSECT1" -><A -NAME="AEN40" -></A -><H2 ->Files</H2 -><P -><TT -CLASS="FILENAME" ->CP<codepage>.TXT</TT -></P -><P -> These are the input (text) unicode map files provided - in the Samba <TT -CLASS="FILENAME" ->source/codepages</TT -> - directory. - </P -><P -> A text unicode map file consists of multiple lines - containing two fields. These fields are : - </P -><P -></P -><UL -><LI -><P -><TT -CLASS="PARAMETER" -><I ->character</I -></TT -> - which is - the (hex) character mapped on this line. - </P -></LI -><LI -><P -><TT -CLASS="PARAMETER" -><I ->unicode</I -></TT -> - which - is the (hex) 16 bit unicode character that the character - will map to. - </P -></LI -></UL -><P -> <TT -CLASS="FILENAME" ->unicode_map.<codepage></TT -> - These are - the output (binary) unicode map files produced and placed in - the Samba destination <TT -CLASS="FILENAME" ->lib/codepage</TT -> - directory. - </P -></DIV -><DIV -CLASS="REFSECT1" -><A -NAME="AEN57" -></A -><H2 ->Installation</H2 -><P -> The location of the server and its support files is a matter - for individual system administrators. The following are thus - suggestions only. - </P -><P -> It is recommended that the <B -CLASS="COMMAND" ->make_unicodemap</B -> - program be installed under the - <TT -CLASS="FILENAME" ->$prefix/samba</TT -> hierarchy, - in a directory readable by all, writeable only by root. The - program itself should be executable by all. The program - should NOT be setuid or setgid! - </P -></DIV -><DIV -CLASS="REFSECT1" -><A -NAME="AEN63" -></A -><H2 ->VERSION</H2 -><P ->This man page is correct for version 2.2 of - the Samba suite.</P -></DIV -><DIV -CLASS="REFSECT1" -><A -NAME="AEN66" -></A -><H2 ->SEE ALSO</H2 -><P -><A -HREF="smbd.8.html" -TARGET="_top" -><B -CLASS="COMMAND" ->smbd(8)</B -></A ->, - <A -HREF="smb.conf.5.html" -TARGET="_top" ->smb.conf(5)</A -> - </P -></DIV -><DIV -CLASS="REFSECT1" -><A -NAME="AEN72" -></A -><H2 ->AUTHOR</H2 -><P ->The original Samba software and related utilities - were created by Andrew Tridgell. Samba is now developed - by the Samba Team as an Open Source project similar - to the way the Linux kernel is developed.</P -><P ->The original Samba man pages were written by Karl Auer. - The man page sources were converted to YODL format (another - excellent piece of Open Source software, available at - <A -HREF="ftp://ftp.icce.rug.nl/pub/unix/" -TARGET="_top" -> ftp://ftp.icce.rug.nl/pub/unix/</A ->) and updated for the Samba 2.0 - release by Jeremy Allison. The conversion to DocBook for - Samba 2.2 was done by Gerald Carter</P -></DIV -></BODY -></HTML ->
\ No newline at end of file diff --git a/docs/htmldocs/msdfs_setup.html b/docs/htmldocs/msdfs_setup.html deleted file mode 100644 index 36b9911bae..0000000000 --- a/docs/htmldocs/msdfs_setup.html +++ /dev/null @@ -1,210 +0,0 @@ -<HTML -><HEAD -><TITLE ->Hosting a Microsoft Distributed File System tree on Samba</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD -><BODY -CLASS="ARTICLE" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="ARTICLE" -><DIV -CLASS="TITLEPAGE" -><H1 -CLASS="TITLE" -><A -NAME="MSDFS" ->Hosting a Microsoft Distributed File System tree on Samba</A -></H1 -><HR></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN3" ->Instructions</A -></H1 -><P ->The Distributed File System (or Dfs) provides a means of - separating the logical view of files and directories that users - see from the actual physical locations of these resources on the - network. It allows for higher availability, smoother storage expansion, - load balancing etc. For more information about Dfs, refer to <A -HREF="http://www.microsoft.com/NTServer/nts/downloads/winfeatures/NTSDistrFile/AdminGuide.asp" -TARGET="_top" -> Microsoft documentation</A ->. </P -><P ->This document explains how to host a Dfs tree on a Unix - machine (for Dfs-aware clients to browse) using Samba.</P -><P ->To enable SMB-based DFS for Samba, configure it with the - <TT -CLASS="PARAMETER" -><I ->--with-msdfs</I -></TT -> option. Once built, a - Samba server can be made a Dfs server by setting the global - boolean <A -HREF="smb.conf.5.html#HOSTMSDFS" -TARGET="_top" -><TT -CLASS="PARAMETER" -><I -> host msdfs</I -></TT -></A -> parameter in the <TT -CLASS="FILENAME" ->smb.conf - </TT -> file. You designate a share as a Dfs root using the share - level boolean <A -HREF="smb.conf.5.html#MSDFSROOT" -TARGET="_top" -><TT -CLASS="PARAMETER" -><I -> msdfs root</I -></TT -></A -> parameter. A Dfs root directory on - Samba hosts Dfs links in the form of symbolic links that point - to other servers. For example, a symbolic link - <TT -CLASS="FILENAME" ->junction->msdfs:storage1\share1</TT -> in - the share directory acts as the Dfs junction. When Dfs-aware - clients attempt to access the junction link, they are redirected - to the storage location (in this case, \\storage1\share1).</P -><P ->Dfs trees on Samba work with all Dfs-aware clients ranging - from Windows 95 to 2000.</P -><P ->Here's an example of setting up a Dfs tree on a Samba - server.</P -><P -><PRE -CLASS="PROGRAMLISTING" -># The smb.conf file: -[global] - netbios name = SAMBA - host msdfs = yes - -[dfs] - path = /export/dfsroot - msdfs root = yes - </PRE -></P -><P ->In the /export/dfsroot directory we set up our dfs links to - other servers on the network.</P -><P -><TT -CLASS="PROMPT" ->root# </TT -><TT -CLASS="USERINPUT" -><B ->cd /export/dfsroot</B -></TT -></P -><P -><TT -CLASS="PROMPT" ->root# </TT -><TT -CLASS="USERINPUT" -><B ->chown root /export/dfsroot</B -></TT -></P -><P -><TT -CLASS="PROMPT" ->root# </TT -><TT -CLASS="USERINPUT" -><B ->chmod 755 /export/dfsroot</B -></TT -></P -><P -><TT -CLASS="PROMPT" ->root# </TT -><TT -CLASS="USERINPUT" -><B ->ln -s msdfs:storageA\\shareA linka</B -></TT -></P -><P -><TT -CLASS="PROMPT" ->root# </TT -><TT -CLASS="USERINPUT" -><B ->ln -s msdfs:serverB\\share,serverC\\share linkb</B -></TT -></P -><P ->You should set up the permissions and ownership of - the directory acting as the Dfs root such that only designated - users can create, delete or modify the msdfs links. Also note - that symlink names should be all lowercase. This limitation exists - to have Samba avoid trying all the case combinations to get at - the link name. Finally set up the symbolic links to point to the - network shares you want, and start Samba.</P -><P ->Users on Dfs-aware clients can now browse the Dfs tree - on the Samba server at \\samba\dfs. Accessing - links linka or linkb (which appear as directories to the client) - takes users directly to the appropriate shares on the network.</P -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN38" ->Notes</A -></H2 -><P -></P -><UL -><LI -><P ->Windows clients need to be rebooted - if a previously mounted non-dfs share is made a dfs - root or vice versa. A better way is to introduce a - new share and make it the dfs root.</P -></LI -><LI -><P ->Currently there's a restriction that msdfs - symlink names should all be lowercase.</P -></LI -><LI -><P ->For security purposes, the directory - acting as the root of the Dfs tree should have ownership - and permissions set so that only designated users can - modify the symbolic links in the directory.</P -></LI -></UL -></DIV -></DIV -></DIV -></BODY -></HTML ->
\ No newline at end of file diff --git a/docs/htmldocs/net.8.html b/docs/htmldocs/net.8.html index 77cb2b2b38..b7ed1357c3 100644 --- a/docs/htmldocs/net.8.html +++ b/docs/htmldocs/net.8.html @@ -1,10 +1,11 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >net</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD +CONTENT="Modular DocBook HTML Stylesheet Version 1.77"></HEAD ><BODY CLASS="REFENTRY" BGCOLOR="#FFFFFF" @@ -15,8 +16,8 @@ ALINK="#0000FF" ><H1 ><A NAME="NET" ->net</A -></H1 +></A +>net</H1 ><DIV CLASS="REFNAMEDIV" ><A @@ -37,12 +38,12 @@ NAME="AEN8" ><B CLASS="COMMAND" >net</B -> {<ads|rap|rpc>}</P +> {<ads|rap|rpc>} [-h] [-w workgroup] [-W myworkgroup] [-U user] [-I ip-address] [-p port] [-n myname] [-s conffile] [-S server] [-C comment] [-M maxusers] [-F flags] [-j jobid] [-l] [-r] [-f] [-t timeout] [-P] [-D debuglevel]</P ></DIV ><DIV CLASS="REFSECT1" ><A -NAME="AEN12" +NAME="AEN31" ></A ><H2 >DESCRIPTION</H2 @@ -52,31 +53,327 @@ HREF="samba.7.html" TARGET="_top" > Samba</A > suite.</P +><P +>The samba net utility is meant to work just like the net utility + available for windows and DOS.</P ></DIV ><DIV CLASS="REFSECT1" ><A -NAME="AEN16" +NAME="AEN36" ></A ><H2 >OPTIONS</H2 ><P ></P +><DIV +CLASS="VARIABLELIST" +><DL +><DT +>-h</DT +><DD +><P +> Display summary of all available options. + + </P +></DD +><DT +>-w target-workgroup</DT +><DD +><P +> Sets target workgroup or domain. You have to specify either this option or the IP address or the name of a server. + </P +></DD +><DT +>-W workgroup</DT +><DD +><P +> Sets client workgroup or domain + </P +></DD +><DT +>-U user</DT +><DD +><P +> User name to use + </P +></DD +><DT +>-I ip-address</DT +><DD +><P +> IP address of target server to use. You have to specify either this option or a target workgroup or a target server. + </P +></DD +><DT +>-p port</DT +><DD +><P +> Port on the target server to connect to. + </P +></DD +><DT +>-n myname</DT +><DD +><P +> Sets name of the client. + </P +></DD +><DT +>-s conffile</DT +><DD +><P +> Specify alternative configuration file that should be loaded. + </P +></DD +><DT +>-S server</DT +><DD +><P +> Name of target server. You should specify either this option or a target workgroup or a target IP address. + </P +></DD +><DT +>-C comment</DT +><DD +><P +> FIXME + </P +></DD +><DT +>-M maxusers</DT +><DD +><P +> FIXME + </P +></DD +><DT +>-F flags</DT +><DD +><P +> FIXME + </P +></DD +><DT +>-j jobid</DT +><DD +><P +> FIXME + </P +></DD +><DT +>-l</DT +><DD +><P +> FIXME + </P +></DD +><DT +>-r</DT +><DD +><P +> FIXME + </P +></DD +><DT +>-f</DT +><DD +><P +> FIXME + </P +></DD +><DT +>-t timeout</DT +><DD +><P +> FIXME + </P +></DD +><DT +>-P</DT +><DD +><P +> Make queries to the external server using the machine account of the local server. + </P +></DD +><DT +>-D debuglevel</DT +><DD +><P +>set the debuglevel. Debug level 0 is the lowest + and 100 being the highest. This should be set to 100 if you are + planning on submitting a bug report to the Samba team (see + <TT +CLASS="FILENAME" +>BUGS.txt</TT +>). + </P +></DD +></DL +></DIV ></DIV ><DIV CLASS="REFSECT1" ><A -NAME="AEN19" +NAME="AEN116" ></A ><H2 ->COMMANDS</H2 +>TIME</H2 +><P +>The <B +CLASS="COMMAND" +>NET TIME</B +> command allows you to view the time on a remote server + or synchronise the time on the local server with the time on the remote server.</P ><P ></P +><DIV +CLASS="VARIABLELIST" +><DL +><DT +></DT +><DD +><P +> Without any options, the <B +CLASS="COMMAND" +>NET TIME</B +> command + displays the time on the remote server. + </P +></DD +><DT +>SYSTEM</DT +><DD +><P +> Displays the time on the remote server in a format ready for /bin/date + </P +></DD +><DT +>SET</DT +><DD +><P +> Tries to set the date and time of the local server to that on + the remote server using /bin/date. + </P +></DD +><DT +>ZONE</DT +><DD +><P +> Displays the timezone in hours from GMT on the remote computer. + </P +></DD +></DL +></DIV +></DIV +><DIV +CLASS="REFSECT1" +><A +NAME="AEN138" +></A +><H2 +>RPC</H2 +><P +>The <B +CLASS="COMMAND" +>NET RPC</B +> command allows you to do various + NT4 operations.</P +><P +></P +><DIV +CLASS="VARIABLELIST" +><DL +><DT +>JOIN -U username[%password] [options]</DT +><DD +><P +> Join a domain with specified username and password. Password + will be prompted if none is specified.</P +></DD +><DT +>JOIN [options except -U]</DT +><DD +><P +> to join a domain created in server manager + </P +></DD +><DT +>USER [misc. options] [targets]</DT +><DD +><P +> List users + </P +></DD +><DT +>USER DELETE <name> [misc options]</DT +><DD +><P +> delete specified user + </P +></DD +><DT +>USER INFO <name> [misc options]</DT +><DD +><P +> list the domain groups of the specified user + </P +></DD +><DT +>USER ADD <name> [password] [-F user flags] [misc. options</DT +><DD +><P +> Add specified user + </P +></DD +><DT +>GROUP [misc options] [targets]</DT +><DD +><P +> List user groups + </P +></DD +><DT +>GROUP DELETE <name> [misc. options] [targets]</DT +><DD +><P +> Delete specified group + </P +></DD +><DT +>GROUP ADD <name> [-C comment]</DT +><DD +><P +> Create specified group + </P +></DD +><DT +>SHARE [misc. options] [targets]</DT +><DD +><P +> enumerates all exported resources (network shares) on target server + </P +></DD +><DT +>SHARE ADD <name=serverpath> [misc. options] [targets]</DT +><DD +><P +> Adds a share from a server (makes the export active) + </P +></DD +><DT +>SHARE DELETE <sharenam</DT +><DD +><P +></P +></DD +></DL +></DIV ></DIV ><DIV CLASS="REFSECT1" ><A -NAME="AEN22" +NAME="AEN191" ></A ><H2 >VERSION</H2 @@ -87,7 +384,7 @@ NAME="AEN22" ><DIV CLASS="REFSECT1" ><A -NAME="AEN25" +NAME="AEN194" ></A ><H2 >AUTHOR</H2 diff --git a/docs/htmldocs/nmbd.8.html b/docs/htmldocs/nmbd.8.html index 76fd5de6ba..05bf860124 100644 --- a/docs/htmldocs/nmbd.8.html +++ b/docs/htmldocs/nmbd.8.html @@ -1,10 +1,11 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >nmbd</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD +CONTENT="Modular DocBook HTML Stylesheet Version 1.77"></HEAD ><BODY CLASS="REFENTRY" BGCOLOR="#FFFFFF" @@ -15,8 +16,8 @@ ALINK="#0000FF" ><H1 ><A NAME="NMBD" ->nmbd</A -></H1 +></A +>nmbd</H1 ><DIV CLASS="REFNAMEDIV" ><A @@ -37,7 +38,7 @@ NAME="AEN8" ><B CLASS="COMMAND" >nmbd</B -> [-D] [-a] [-i] [-o] [-P] [-h] [-V] [-d <debug level>] [-H <lmhosts file>] [-l <log directory>] [-n <primary netbios name>] [-p <port number>] [-s <configuration file>]</P +> [-D] [-a] [-i] [-o] [-P] [-h] [-V] [-d <debug level>] [-H <lmhosts file>] [-l <log directory>] [-n <primary netbios name>] [-p <port number>] [-s <configuration file>]</P ></DIV ><DIV CLASS="REFSECT1" @@ -71,8 +72,12 @@ CLASS="COMMAND" specified it will respond with the IP number of the host it is running on. Its "own NetBIOS name" is by default the primary DNS name of the host it is running on, - but this can be overridden with the <EM ->-n</EM + but this can be overridden with the <SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>-n</I +></SPAN > option (see OPTIONS below). Thus <B CLASS="COMMAND" @@ -106,7 +111,7 @@ CLASS="COMMAND" >nmbd</B > can act as a WINS proxy, relaying broadcast queries from clients that do - not understand how to talk the WINS protocol to a WIN + not understand how to talk the WINS protocol to a WINS server.</P ></DIV ><DIV @@ -158,7 +163,7 @@ CLASS="COMMAND" >If this parameter is specified it causes the server to run "interactively", not as a daemon, even if the server is executed on the command line of a shell. Setting this - parameter negates the implicit deamon mode when run from the + parameter negates the implicit daemon mode when run from the command line. </P ></DD @@ -185,7 +190,7 @@ CLASS="COMMAND" >.</P ></DD ><DT ->-H <filename></DT +>-H <filename></DT ><DD ><P >NetBIOS lmhosts file. The lmhosts @@ -204,16 +209,24 @@ CLASS="FILENAME" ></A > to resolve any NetBIOS name queries needed by the server. Note - that the contents of this file are <EM ->NOT</EM + that the contents of this file are <SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>NOT</I +></SPAN > used by <B CLASS="COMMAND" >nmbd</B > to answer any name queries. Adding a line to this file affects name NetBIOS resolution - from this host <EM ->ONLY</EM + from this host <SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>ONLY</I +></SPAN >.</P ><P >The default path to this file is compiled into @@ -229,15 +242,16 @@ CLASS="FILENAME" <TT CLASS="FILENAME" >/etc/lmhosts</TT ->. See the <A +>. See the + <A HREF="lmhosts.5.html" TARGET="_top" -> <TT +><TT CLASS="FILENAME" >lmhosts(5)</TT ></A -> man page for details on the - contents of this file.</P +> + man page for details on the contents of this file.</P ></DD ><DT >-V</DT @@ -250,7 +264,7 @@ CLASS="COMMAND" >.</P ></DD ><DT ->-d <debug level></DT +>-d <debug level></DT ><DD ><P >debuglevel is an integer @@ -281,21 +295,21 @@ HREF="smb.conf.5.html" TARGET="_top" ><TT CLASS="FILENAME" -> smb.conf</TT +> smb.conf(5)</TT ></A > file.</P ></DD ><DT ->-l <log directory></DT +>-l <log directory></DT ><DD ><P >The -l parameter specifies a directory into which the "log.nmbd" log file will be created - for operational data from the running - <B + for operational data from the running <B CLASS="COMMAND" >nmbd</B -> server. The default log directory is compiled into Samba +> + server. The default log directory is compiled into Samba as part of the build process. Common defaults are <TT CLASS="FILENAME" > /usr/local/samba/var/log.nmb</TT @@ -306,8 +320,12 @@ CLASS="FILENAME" <TT CLASS="FILENAME" >/var/log/log.nmb</TT ->. <EM ->Beware:</EM +>. <SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>Beware:</I +></SPAN > If the directory specified does not exist, <B CLASS="COMMAND" @@ -317,7 +335,7 @@ CLASS="COMMAND" </P ></DD ><DT ->-n <primary NetBIOS name></DT +>-n <primary NetBIOS name></DT ><DD ><P >This option allows you to override @@ -342,7 +360,7 @@ CLASS="FILENAME" >.</P ></DD ><DT ->-p <UDP port number></DT +>-p <UDP port number></DT ><DD ><P >UDP port number is a positive integer value. @@ -355,7 +373,7 @@ CLASS="COMMAND" won't need help!</P ></DD ><DT ->-s <configuration file></DT +>-s <configuration file></DT ><DD ><P >The default configuration file name @@ -505,8 +523,12 @@ CLASS="FILENAME" >If <B CLASS="COMMAND" >nmbd</B -> is acting as a <EM -> browse master</EM +> is acting as a <SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +> browse master</I +></SPAN > (see the <A HREF="smb.conf.5.html#LOCALMASTER" TARGET="_top" @@ -546,8 +568,12 @@ NAME="AEN178" CLASS="COMMAND" >nmbd</B > process it is recommended - that SIGKILL (-9) <EM ->NOT</EM + that SIGKILL (-9) <SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>NOT</I +></SPAN > be used, except as a last resort, as this may leave the name database in an inconsistent state. The correct way to terminate <B diff --git a/docs/htmldocs/nmblookup.1.html b/docs/htmldocs/nmblookup.1.html index c87d7d35db..0209c4bd2b 100644 --- a/docs/htmldocs/nmblookup.1.html +++ b/docs/htmldocs/nmblookup.1.html @@ -1,10 +1,11 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >nmblookup</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD +CONTENT="Modular DocBook HTML Stylesheet Version 1.77"></HEAD ><BODY CLASS="REFENTRY" BGCOLOR="#FFFFFF" @@ -15,8 +16,8 @@ ALINK="#0000FF" ><H1 ><A NAME="NMBLOOKUP" ->nmblookup</A -></H1 +></A +>nmblookup</H1 ><DIV CLASS="REFNAMEDIV" ><A @@ -37,7 +38,7 @@ NAME="AEN8" ><B CLASS="COMMAND" >nmblookup</B -> [-M] [-R] [-S] [-r] [-A] [-h] [-B <broadcast address>] [-U <unicast address>] [-d <debug level>] [-s <smb config file>] [-i <NetBIOS scope>] [-T] {name}</P +> [-M] [-R] [-S] [-r] [-A] [-h] [-B <broadcast address>] [-U <unicast address>] [-d <debug level>] [-s <smb config file>] [-i <NetBIOS scope>] [-T] {name}</P ></DIV ><DIV CLASS="REFSECT1" @@ -156,7 +157,7 @@ CLASS="REPLACEABLE" >Print a help (usage) message.</P ></DD ><DT ->-B <broadcast address></DT +>-B <broadcast address></DT ><DD ><P >Send the query to the given broadcast address. Without @@ -179,7 +180,7 @@ CLASS="FILENAME" </P ></DD ><DT ->-U <unicast address></DT +>-U <unicast address></DT ><DD ><P >Do a unicast query to the specified address or @@ -198,7 +199,7 @@ CLASS="PARAMETER" query a WINS server.</P ></DD ><DT ->-d <debuglevel></DT +>-d <debuglevel></DT ><DD ><P >debuglevel is an integer from 0 to 10.</P @@ -234,7 +235,7 @@ CLASS="FILENAME" > file.</P ></DD ><DT ->-s <smb.conf></DT +>-s <smb.conf></DT ><DD ><P >This parameter specifies the pathname to @@ -246,7 +247,7 @@ TARGET="_top" the Samba setup on the machine.</P ></DD ><DT ->-i <scope></DT +>-i <scope></DT ><DD ><P >This specifies a NetBIOS scope that @@ -256,8 +257,12 @@ CLASS="COMMAND" > will use to communicate with when generating NetBIOS names. For details on the use of NetBIOS scopes, see rfc1001.txt and rfc1002.txt. NetBIOS scopes are - <EM ->very</EM + <SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>very</I +></SPAN > rarely used, only set this parameter if you are the system administrator in charge of all the NetBIOS systems you communicate with.</P @@ -270,8 +275,12 @@ CLASS="COMMAND" lookup to be looked up via a reverse DNS lookup into a DNS name, and printed out before each</P ><P -><EM ->IP address .... NetBIOS name</EM +><SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>IP address .... NetBIOS name</I +></SPAN ></P ><P > pair that is the normal output.</P @@ -283,7 +292,7 @@ CLASS="COMMAND" >This is the NetBIOS name being queried. Depending upon the previous options this may be a NetBIOS name or IP address. If a NetBIOS name then the different name types may be specified - by appending '#<type>' to the name. This name may also be + by appending '#<type>' to the name. This name may also be '*', which will return all registered names within a broadcast area.</P ></DD diff --git a/docs/htmldocs/pdbedit.8.html b/docs/htmldocs/pdbedit.8.html index b1a1dea679..3ed3dfe8e9 100644 --- a/docs/htmldocs/pdbedit.8.html +++ b/docs/htmldocs/pdbedit.8.html @@ -1,10 +1,11 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >pdbedit</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD +CONTENT="Modular DocBook HTML Stylesheet Version 1.77"></HEAD ><BODY CLASS="REFENTRY" BGCOLOR="#FFFFFF" @@ -15,8 +16,8 @@ ALINK="#0000FF" ><H1 ><A NAME="PDBEDIT" ->pdbedit</A -></H1 +></A +>pdbedit</H1 ><DIV CLASS="REFNAMEDIV" ><A @@ -36,12 +37,12 @@ NAME="AEN8" ><B CLASS="COMMAND" >pdbedit</B -> [-l] [-v] [-w] [-u username] [-f fullname] [-h homedir] [-d drive] [-s script] [-p profile] [-a] [-m] [-x] [-i passdb-backend] [-e passdb-backend] [-D debuglevel]</P +> [-l] [-v] [-w] [-u username] [-f fullname] [-h homedir] [-d drive] [-s script] [-p profile] [-a] [-m] [-x] [-i passdb-backend] [-e passdb-backend] [-b passdb-backend] [-D debuglevel]</P ></DIV ><DIV CLASS="REFSECT1" ><A -NAME="AEN26" +NAME="AEN27" ></A ><H2 >DESCRIPTION</H2 @@ -53,11 +54,11 @@ TARGET="_top" > suite.</P ><P >The pdbedit program is used to manage the users accounts - stored in the sam database and can be run only by root.</P + stored in the sam database and can only be run by root.</P ><P ->The pdbedit tool use the passdb modular interface and is +>The pdbedit tool uses the passdb modular interface and is independent from the kind of users database used (currently there - are smbpasswd, ldap, nis+ and tdb based and more can be addedd + are smbpasswd, ldap, nis+ and tdb based and more can be added without changing the tool).</P ><P >There are five main ways to use pdbedit: adding a user account, @@ -67,7 +68,7 @@ TARGET="_top" ><DIV CLASS="REFSECT1" ><A -NAME="AEN33" +NAME="AEN34" ></A ><H2 >OPTIONS</H2 @@ -80,7 +81,7 @@ CLASS="VARIABLELIST" >-l</DT ><DD ><P ->This option list all the user accounts +>This option lists all the user accounts present in the users database. This option prints a list of user/uid pairs separated by the ':' character.</P @@ -90,28 +91,19 @@ CLASS="COMMAND" >pdbedit -l</B ></P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="90%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > sorce:500:Simo Sorce samba:45:Test User </PRE -></TD -></TR -></TABLE ></P ></DD ><DT >-v</DT ><DD ><P ->This option sets the verbose listing format. - It will make pdbedit list the users in the database printing +>This option enables the verbose listing format. + It causes pdbedit to list the users in the database, printing out the account fields in a descriptive format.</P ><P >Example: <B @@ -119,12 +111,6 @@ CLASS="COMMAND" >pdbedit -l -v</B ></P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="90%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > --------------- @@ -146,9 +132,6 @@ CLASS="PROGRAMLISTING" Logon Script: Profile Path: \\BERSERKER\profile </PRE -></TD -></TR -></TABLE ></P ></DD ><DT @@ -156,7 +139,7 @@ CLASS="PROGRAMLISTING" ><DD ><P >This option sets the "smbpasswd" listing format. - It will make pdbedit list the users in the database printing + It will make pdbedit list the users in the database, printing out the account fields in a format compatible with the <TT CLASS="FILENAME" @@ -175,33 +158,32 @@ CLASS="COMMAND" >pdbedit -l -w</B ></P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="90%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > sorce:500:508818B733CE64BEAAD3B435B51404EE:D2A2418EFC466A8A0F6B1DBB5C3DB80C:[UX ]:LCT-00000000: samba:45:0F2B255F7B67A7A9AAD3B435B51404EE:BC281CE3F53B6A5146629CD4751D3490:[UX ]:LCT-3BFA1E8D: </PRE -></TD -></TR -></TABLE ></P ></DD ><DT >-u username</DT ><DD ><P ->This option specifies that the username to be - used for the operation requested (listing, adding, removing) - It is <EM ->required</EM +>This option specifies the username to be + used for the operation requested (listing, adding, removing). + It is <SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>required</I +></SPAN > in add, remove and modify - operations and <EM ->optional</EM + operations and <SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>optional</I +></SPAN > in list operations.</P ></DD @@ -279,27 +261,18 @@ CLASS="COMMAND" ><DD ><P >This option is used to add a user into the - database. This command need the user name be specified with - the -u switch. When adding a new user pdbedit will also - ask for the password to be used</P + database. This command needs a user name specified with + the -u switch. When adding a new user, pdbedit will also + ask for the password to be used.</P ><P >Example: <B CLASS="COMMAND" >pdbedit -a -u sorce</B > - <TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="90%" -><TR -><TD -><PRE + <PRE CLASS="PROGRAMLISTING" >new password: retype new password</PRE -></TD -></TR -></TABLE > </P ></DD @@ -328,7 +301,7 @@ CLASS="COMMAND" ><DD ><P >This option causes pdbedit to delete an account - from the database. It need the username be specified with the + from the database. It needs a username specified with the -u switch.</P ><P >Example: <B @@ -340,37 +313,52 @@ CLASS="COMMAND" >-i passdb-backend</DT ><DD ><P ->Use a different passdb backend to retrieve users than the one specified in smb.conf.</P +>Use a different passdb backend to retrieve users + than the one specified in smb.conf. Can be used to import data into + your local user database.</P ><P ->This option will ease migration from one passdb backend to another. - </P +>This option will ease migration from one passdb backend to + another.</P ><P >Example: <B CLASS="COMMAND" ->pdbedit -i smbpasswd:/etc/smbpasswd.old -e tdbsam:/etc/samba/passwd.tdb</B -> - </P +>pdbedit -i smbpasswd:/etc/smbpasswd.old + </B +></P ></DD ><DT >-e passdb-backend</DT ><DD ><P ->Export all currently available users to the specified password database backend.</P +>Exports all currently available users to the + specified password database backend.</P ><P ->This option will ease migration from one passdb backend to another and will ease backupping</P +>This option will ease migration from one passdb backend to + another and will ease backing up.</P ><P >Example: <B CLASS="COMMAND" >pdbedit -e smbpasswd:/root/samba-users.backup</B ></P ></DD +><DT +>-b passdb-backend</DT +><DD +><P +>Use a different default passdb backend. </P +><P +>Example: <B +CLASS="COMMAND" +>pdbedit -b xml:/root/pdb-backup.xml -l</B +></P +></DD ></DL ></DIV ></DIV ><DIV CLASS="REFSECT1" ><A -NAME="AEN133" +NAME="AEN140" ></A ><H2 >NOTES</H2 @@ -380,7 +368,7 @@ NAME="AEN133" ><DIV CLASS="REFSECT1" ><A -NAME="AEN136" +NAME="AEN143" ></A ><H2 >VERSION</H2 @@ -391,7 +379,7 @@ NAME="AEN136" ><DIV CLASS="REFSECT1" ><A -NAME="AEN139" +NAME="AEN146" ></A ><H2 >SEE ALSO</H2 @@ -411,7 +399,7 @@ TARGET="_top" ><DIV CLASS="REFSECT1" ><A -NAME="AEN144" +NAME="AEN151" ></A ><H2 >AUTHOR</H2 diff --git a/docs/htmldocs/printer_driver2.html b/docs/htmldocs/printer_driver2.html deleted file mode 100644 index 5a6e6586da..0000000000 --- a/docs/htmldocs/printer_driver2.html +++ /dev/null @@ -1,987 +0,0 @@ -<HTML -><HEAD -><TITLE ->Printing Support in Samba 2.2.x</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD -><BODY -CLASS="ARTICLE" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="ARTICLE" -><DIV -CLASS="TITLEPAGE" -><H1 -CLASS="TITLE" -><A -NAME="PRINTING" ->Printing Support in Samba 2.2.x</A -></H1 -><HR></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN3" ->Introduction</A -></H1 -><P ->Beginning with the 2.2.0 release, Samba supports -the native Windows NT printing mechanisms implemented via -MS-RPC (i.e. the SPOOLSS named pipe). Previous versions of -Samba only supported LanMan printing calls.</P -><P ->The additional functionality provided by the new -SPOOLSS support includes:</P -><P -></P -><UL -><LI -><P ->Support for downloading printer driver - files to Windows 95/98/NT/2000 clients upon demand. - </P -></LI -><LI -><P ->Uploading of printer drivers via the - Windows NT Add Printer Wizard (APW) or the - Imprints tool set (refer to <A -HREF="http://imprints.sourceforge.net" -TARGET="_top" ->http://imprints.sourceforge.net</A ->). - </P -></LI -><LI -><P ->Support for the native MS-RPC printing - calls such as StartDocPrinter, EnumJobs(), etc... (See - the MSDN documentation at <A -HREF="http://msdn.microsoft.com/" -TARGET="_top" ->http://msdn.microsoft.com/</A -> - for more information on the Win32 printing API) - </P -></LI -><LI -><P ->Support for NT Access Control Lists (ACL) - on printer objects</P -></LI -><LI -><P ->Improved support for printer queue manipulation - through the use of an internal databases for spooled job - information</P -></LI -></UL -><P ->There has been some initial confusion about what all this means -and whether or not it is a requirement for printer drivers to be -installed on a Samba host in order to support printing from Windows -clients. A bug existed in Samba 2.2.0 which made Windows NT/2000 clients -require that the Samba server possess a valid driver for the printer. -This is fixed in Samba 2.2.1 and once again, Windows NT/2000 clients -can use the local APW for installing drivers to be used with a Samba -served printer. This is the same behavior exhibited by Windows 9x clients. -As a side note, Samba does not use these drivers in any way to process -spooled files. They are utilized entirely by the clients.</P -><P ->The following MS KB article, may be of some help if you are dealing with -Windows 2000 clients: <I -CLASS="EMPHASIS" ->How to Add Printers with No User -Interaction in Windows 2000</I -></P -><P -><A -HREF="http://support.microsoft.com/support/kb/articles/Q189/1/05.ASP" -TARGET="_top" ->http://support.microsoft.com/support/kb/articles/Q189/1/05.ASP</A -></P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN25" ->Configuration</A -></H1 -><DIV -CLASS="WARNING" -><P -></P -><TABLE -CLASS="WARNING" -BORDER="1" -WIDTH="100%" -><TR -><TD -ALIGN="CENTER" -><B ->[print$] vs. [printer$]</B -></TD -></TR -><TR -><TD -ALIGN="LEFT" -><P ->Previous versions of Samba recommended using a share named [printer$]. -This name was taken from the printer$ service created by Windows 9x -clients when a printer was shared. Windows 9x printer servers always have -a printer$ service which provides read-only access via no -password in order to support printer driver downloads.</P -><P ->However, the initial implementation allowed for a -parameter named <TT -CLASS="PARAMETER" -><I ->printer driver location</I -></TT -> -to be used on a per share basis to specify the location of -the driver files associated with that printer. Another -parameter named <TT -CLASS="PARAMETER" -><I ->printer driver</I -></TT -> provided -a means of defining the printer driver name to be sent to -the client.</P -><P ->These parameters, including <TT -CLASS="PARAMETER" -><I ->printer driver -file</I -></TT -> parameter, are being deprecated and should not -be used in new installations. For more information on this change, -you should refer to the <A -HREF="#MIGRATION" ->Migration section</A -> -of this document.</P -></TD -></TR -></TABLE -></DIV -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN36" ->Creating [print$]</A -></H2 -><P ->In order to support the uploading of printer driver -files, you must first configure a file share named [print$]. -The name of this share is hard coded in Samba's internals so -the name is very important (print$ is the service used by -Windows NT print servers to provide support for printer driver -download).</P -><P ->You should modify the server's smb.conf file to add the global -parameters and to create the -following file share (of course, some of the parameter values, -such as 'path' are arbitrary and should be replaced with -appropriate values for your site):</P -><P -><PRE -CLASS="PROGRAMLISTING" ->[global] - ; members of the ntadmin group should be able - ; to add drivers and set printer properties - ; root is implicitly a 'printer admin' - printer admin = @ntadmin - -[print$] - path = /usr/local/samba/printers - guest ok = yes - browseable = yes - read only = yes - ; since this share is configured as read only, then we need - ; a 'write list'. Check the file system permissions to make - ; sure this account can copy files to the share. If this - ; is setup to a non-root account, then it should also exist - ; as a 'printer admin' - write list = @ntadmin,root</PRE -></P -><P ->The <A -HREF="smb.conf.5.html#WRITELIST" -TARGET="_top" -><TT -CLASS="PARAMETER" -><I ->write list</I -></TT -></A -> is used to allow administrative -level user accounts to have write access in order to update files -on the share. See the <A -HREF="smb.conf.5.html" -TARGET="_top" ->smb.conf(5) -man page</A -> for more information on configuring file shares.</P -><P ->The requirement for <A -HREF="smb.conf.5.html#GUESTOK" -TARGET="_top" -><B -CLASS="COMMAND" ->guest -ok = yes</B -></A -> depends upon how your -site is configured. If users will be guaranteed to have -an account on the Samba host, then this is a non-issue.</P -><DIV -CLASS="NOTE" -><BLOCKQUOTE -CLASS="NOTE" -><P -><B ->Author's Note: </B ->The non-issue is that if all your Windows NT users are guaranteed to be -authenticated by the Samba server (such as a domain member server and the NT -user has already been validated by the Domain Controller in -order to logon to the Windows NT console), then guest access -is not necessary. Of course, in a workgroup environment where -you just want to be able to print without worrying about -silly accounts and security, then configure the share for -guest access. You'll probably want to add <A -HREF="smb.conf.5.html#MAPTOGUEST" -TARGET="_top" -><B -CLASS="COMMAND" ->map to guest = Bad User</B -></A -> in the [global] section as well. Make sure -you understand what this parameter does before using it -though. --jerry</P -></BLOCKQUOTE -></DIV -><P ->In order for a Windows NT print server to support -the downloading of driver files by multiple client architectures, -it must create subdirectories within the [print$] service -which correspond to each of the supported client architectures. -Samba follows this model as well.</P -><P ->Next create the directory tree below the [print$] share -for each architecture you wish to support.</P -><P -><PRE -CLASS="PROGRAMLISTING" ->[print$]----- - |-W32X86 ; "Windows NT x86" - |-WIN40 ; "Windows 95/98" - |-W32ALPHA ; "Windows NT Alpha_AXP" - |-W32MIPS ; "Windows NT R4000" - |-W32PPC ; "Windows NT PowerPC"</PRE -></P -><DIV -CLASS="WARNING" -><P -></P -><TABLE -CLASS="WARNING" -BORDER="1" -WIDTH="100%" -><TR -><TD -ALIGN="CENTER" -><B ->ATTENTION! REQUIRED PERMISSIONS</B -></TD -></TR -><TR -><TD -ALIGN="LEFT" -><P ->In order to currently add a new driver to you Samba host, -one of two conditions must hold true:</P -><P -></P -><UL -><LI -><P ->The account used to connect to the Samba host - must have a uid of 0 (i.e. a root account)</P -></LI -><LI -><P ->The account used to connect to the Samba host - must be a member of the <A -HREF="smb.conf.5.html#PRINTERADMIN" -TARGET="_top" -><TT -CLASS="PARAMETER" -><I ->printer - admin</I -></TT -></A -> list.</P -></LI -></UL -><P ->Of course, the connected account must still possess access -to add files to the subdirectories beneath [print$]. Remember -that all file shares are set to 'read only' by default.</P -></TD -></TR -></TABLE -></DIV -><P ->Once you have created the required [print$] service and -associated subdirectories, simply log onto the Samba server using -a root (or <TT -CLASS="PARAMETER" -><I ->printer admin</I -></TT ->) account -from a Windows NT 4.0/2k client. Open "Network Neighbourhood" or -"My Network Places" and browse for the Samba host. Once you have located -the server, navigate to the "Printers..." folder. -You should see an initial listing of printers -that matches the printer shares defined on your Samba host.</P -></DIV -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN71" ->Setting Drivers for Existing Printers</A -></H2 -><P ->The initial listing of printers in the Samba host's -Printers folder will have no real printer driver assigned -to them. By default, in Samba 2.2.0 this driver name was set to -<I -CLASS="EMPHASIS" ->NO PRINTER DRIVER AVAILABLE FOR THIS PRINTER</I ->. -Later versions changed this to a NULL string to allow the use -tof the local Add Printer Wizard on NT/2000 clients. -Attempting to view the printer properties for a printer -which has this default driver assigned will result in -the error message:</P -><P -><I -CLASS="EMPHASIS" ->Device settings cannot be displayed. The driver -for the specified printer is not installed, only spooler -properties will be displayed. Do you want to install the -driver now?</I -></P -><P ->Click "No" in the error dialog and you will be presented with -the printer properties window. The way assign a driver to a -printer is to either</P -><P -></P -><UL -><LI -><P ->Use the "New Driver..." button to install - a new printer driver, or</P -></LI -><LI -><P ->Select a driver from the popup list of - installed drivers. Initially this list will be empty.</P -></LI -></UL -><P ->If you wish to install printer drivers for client -operating systems other than "Windows NT x86", you will need -to use the "Sharing" tab of the printer properties dialog.</P -><P ->Assuming you have connected with a root account, you -will also be able modify other printer properties such as -ACLs and device settings using this dialog box.</P -><P ->A few closing comments for this section, it is possible -on a Windows NT print server to have printers -listed in the Printers folder which are not shared. Samba does -not make this distinction. By definition, the only printers of -which Samba is aware are those which are specified as shares in -<TT -CLASS="FILENAME" ->smb.conf</TT ->.</P -><P ->Another interesting side note is that Windows NT clients do -not use the SMB printer share, but rather can print directly -to any printer on another Windows NT host using MS-RPC. This -of course assumes that the printing client has the necessary -privileges on the remote host serving the printer. The default -permissions assigned by Windows NT to a printer gives the "Print" -permissions to the "Everyone" well-known group.</P -></DIV -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN88" ->Support a large number of printers</A -></H2 -><P ->One issue that has arisen during the development -phase of Samba 2.2 is the need to support driver downloads for -100's of printers. Using the Windows NT APW is somewhat -awkward to say the least. If more than one printer is using the -same driver, the <A -HREF="rpcclient.1.html" -TARGET="_top" -><B -CLASS="COMMAND" ->rpcclient's -setdriver command</B -></A -> can be used to set the driver -associated with an installed driver. The following is an example -of how this could be accomplished:</P -><P -><PRE -CLASS="PROGRAMLISTING" -> -<TT -CLASS="PROMPT" ->$ </TT ->rpcclient pogo -U root%secret -c "enumdrivers" -Domain=[NARNIA] OS=[Unix] Server=[Samba 2.2.0-alpha3] - -[Windows NT x86] -Printer Driver Info 1: - Driver Name: [HP LaserJet 4000 Series PS] - -Printer Driver Info 1: - Driver Name: [HP LaserJet 2100 Series PS] - -Printer Driver Info 1: - Driver Name: [HP LaserJet 4Si/4SiMX PS] - -<TT -CLASS="PROMPT" ->$ </TT ->rpcclient pogo -U root%secret -c "enumprinters" -Domain=[NARNIA] OS=[Unix] Server=[Samba 2.2.0-alpha3] - flags:[0x800000] - name:[\\POGO\hp-print] - description:[POGO\\POGO\hp-print,NO DRIVER AVAILABLE FOR THIS PRINTER,] - comment:[] - -<TT -CLASS="PROMPT" ->$ </TT ->rpcclient pogo -U root%secret \ -<TT -CLASS="PROMPT" ->> </TT -> -c "setdriver hp-print \"HP LaserJet 4000 Series PS\"" -Domain=[NARNIA] OS=[Unix] Server=[Samba 2.2.0-alpha3] -Successfully set hp-print to driver HP LaserJet 4000 Series PS.</PRE -></P -></DIV -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN99" ->Adding New Printers via the Windows NT APW</A -></H2 -><P ->By default, Samba offers all printer shares defined in <TT -CLASS="FILENAME" ->smb.conf</TT -> -in the "Printers..." folder. Also in this folder is the Windows NT -Add Printer Wizard icon. The APW will be show only if</P -><P -></P -><UL -><LI -><P ->The connected user is able to successfully - execute an OpenPrinterEx(\\server) with administrative - privileges (i.e. root or <TT -CLASS="PARAMETER" -><I ->printer admin</I -></TT ->). - </P -></LI -><LI -><P -><A -HREF="smb.conf.5.html#SHOWADDPRINTERWIZARD" -TARGET="_top" -><TT -CLASS="PARAMETER" -><I ->show - add printer wizard = yes</I -></TT -></A -> (the default). - </P -></LI -></UL -><P ->In order to be able to use the APW to successfully add a printer to a Samba -server, the <A -HREF="smb.conf.5.html#ADDPRINTERCOMMAND" -TARGET="_top" -><TT -CLASS="PARAMETER" -><I ->add -printer command</I -></TT -></A -> must have a defined value. The program -hook must successfully add the printer to the system (i.e. -<TT -CLASS="FILENAME" ->/etc/printcap</TT -> or appropriate files) and -<TT -CLASS="FILENAME" ->smb.conf</TT -> if necessary.</P -><P ->When using the APW from a client, if the named printer share does -not exist, <B -CLASS="COMMAND" ->smbd</B -> will execute the <TT -CLASS="PARAMETER" -><I ->add printer -command</I -></TT -> and reparse the <TT -CLASS="FILENAME" ->smb.conf</TT -> -to attempt to locate the new printer share. If the share is still not defined, -an error of "Access Denied" is returned to the client. Note that the -<TT -CLASS="PARAMETER" -><I ->add printer program</I -></TT -> is executed under the context -of the connected user, not necessarily a root account.</P -><P ->There is a complementary <A -HREF="smb.conf.5.html#DELETEPRINTERCOMMAND" -TARGET="_top" -><TT -CLASS="PARAMETER" -><I ->delete -printer command</I -></TT -></A -> for removing entries from the "Printers..." -folder.</P -></DIV -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN124" ->Samba and Printer Ports</A -></H2 -><P ->Windows NT/2000 print servers associate a port with each printer. These normally -take the form of LPT1:, COM1:, FILE:, etc... Samba must also support the -concept of ports associated with a printer. By default, only one printer port, -named "Samba Printer Port", exists on a system. Samba does not really need a port in -order to print, rather it is a requirement of Windows clients. </P -><P ->Note that Samba does not support the concept of "Printer Pooling" internally -either. This is when a logical printer is assigned to multiple ports as -a form of load balancing or fail over.</P -><P ->If you require that multiple ports be defined for some reason, -<TT -CLASS="FILENAME" ->smb.conf</TT -> possesses a <A -HREF="smb.conf.5.html#ENUMPORTSCOMMAND" -TARGET="_top" -><TT -CLASS="PARAMETER" -><I ->enumports -command</I -></TT -></A -> which can be used to define an external program -that generates a listing of ports on a system.</P -></DIV -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN132" ->The Imprints Toolset</A -></H1 -><P ->The Imprints tool set provides a UNIX equivalent of the - Windows NT Add Printer Wizard. For complete information, please - refer to the Imprints web site at <A -HREF="http://imprints.sourceforge.net/" -TARGET="_top" -> http://imprints.sourceforge.net/</A -> as well as the documentation - included with the imprints source distribution. This section will - only provide a brief introduction to the features of Imprints.</P -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN136" ->What is Imprints?</A -></H2 -><P ->Imprints is a collection of tools for supporting the goals - of</P -><P -></P -><UL -><LI -><P ->Providing a central repository information - regarding Windows NT and 95/98 printer driver packages</P -></LI -><LI -><P ->Providing the tools necessary for creating - the Imprints printer driver packages.</P -></LI -><LI -><P ->Providing an installation client which - will obtain and install printer drivers on remote Samba - and Windows NT 4 print servers.</P -></LI -></UL -></DIV -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN146" ->Creating Printer Driver Packages</A -></H2 -><P ->The process of creating printer driver packages is beyond - the scope of this document (refer to Imprints.txt also included - with the Samba distribution for more information). In short, - an Imprints driver package is a gzipped tarball containing the - driver files, related INF files, and a control file needed by the - installation client.</P -></DIV -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN149" ->The Imprints server</A -></H2 -><P ->The Imprints server is really a database server that - may be queried via standard HTTP mechanisms. Each printer - entry in the database has an associated URL for the actual - downloading of the package. Each package is digitally signed - via GnuPG which can be used to verify that package downloaded - is actually the one referred in the Imprints database. It is - <I -CLASS="EMPHASIS" ->not</I -> recommended that this security check - be disabled.</P -></DIV -><DIV -CLASS="SECT2" -><HR><H2 -CLASS="SECT2" -><A -NAME="AEN153" ->The Installation Client</A -></H2 -><P ->More information regarding the Imprints installation client - is available in the <TT -CLASS="FILENAME" ->Imprints-Client-HOWTO.ps</TT -> - file included with the imprints source package.</P -><P ->The Imprints installation client comes in two forms.</P -><P -></P -><UL -><LI -><P ->a set of command line Perl scripts</P -></LI -><LI -><P ->a GTK+ based graphical interface to - the command line perl scripts</P -></LI -></UL -><P ->The installation client (in both forms) provides a means - of querying the Imprints database server for a matching - list of known printer model names as well as a means to - download and install the drivers on remote Samba and Windows - NT print servers.</P -><P ->The basic installation process is in four steps and - perl code is wrapped around <B -CLASS="COMMAND" ->smbclient</B -> - and <B -CLASS="COMMAND" ->rpcclient</B ->.</P -><P -><PRE -CLASS="PROGRAMLISTING" -> -foreach (supported architecture for a given driver) -{ - 1. rpcclient: Get the appropriate upload directory - on the remote server - 2. smbclient: Upload the driver files - 3. rpcclient: Issues an AddPrinterDriver() MS-RPC -} - -4. rpcclient: Issue an AddPrinterEx() MS-RPC to actually - create the printer</PRE -></P -><P ->One of the problems encountered when implementing - the Imprints tool set was the name space issues between - various supported client architectures. For example, Windows - NT includes a driver named "Apple LaserWriter II NTX v51.8" - and Windows 95 calls its version of this driver "Apple - LaserWriter II NTX"</P -><P ->The problem is how to know what client drivers have - been uploaded for a printer. As astute reader will remember - that the Windows NT Printer Properties dialog only includes - space for one printer driver name. A quick look in the - Windows NT 4.0 system registry at</P -><P -><TT -CLASS="FILENAME" ->HKLM\System\CurrentControlSet\Control\Print\Environment - </TT -></P -><P ->will reveal that Windows NT always uses the NT driver - name. This is ok as Windows NT always requires that at least - the Windows NT version of the printer driver is present. - However, Samba does not have the requirement internally. - Therefore, how can you use the NT driver name if is has not - already been installed?</P -><P ->The way of sidestepping this limitation is to require - that all Imprints printer driver packages include both the Intel - Windows NT and 95/98 printer drivers and that NT driver is - installed first.</P -></DIV -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN175" -><A -NAME="MIGRATION" -></A ->Migration to from Samba 2.0.x to 2.2.x</A -></H1 -><P ->Given that printer driver management has changed (we hope improved) in -2.2 over prior releases, migration from an existing setup to 2.2 can -follow several paths. Here are the possible scenarios for -migration:</P -><P -></P -><UL -><LI -><P ->If you do not desire the new Windows NT - print driver support, nothing needs to be done. - All existing parameters work the same.</P -></LI -><LI -><P ->If you want to take advantage of NT printer - driver support but do not want to migrate the - 9x drivers to the new setup, the leave the existing - <TT -CLASS="FILENAME" ->printers.def</TT -> file. When smbd attempts - to locate a - 9x driver for the printer in the TDB and fails it - will drop down to using the printers.def (and all - associated parameters). The <B -CLASS="COMMAND" ->make_printerdef</B -> - tool will also remain for backwards compatibility but will - be removed in the next major release.</P -></LI -><LI -><P ->If you install a Windows 9x driver for a printer - on your Samba host (in the printing TDB), this information will - take precedence and the three old printing parameters - will be ignored (including print driver location).</P -></LI -><LI -><P ->If you want to migrate an existing <TT -CLASS="FILENAME" ->printers.def</TT -> - file into the new setup, the current only solution is to use the Windows - NT APW to install the NT drivers and the 9x drivers. This can be scripted - using <B -CLASS="COMMAND" ->smbclient</B -> and <B -CLASS="COMMAND" ->rpcclient</B ->. See the - Imprints installation client at <A -HREF="http://imprints.sourceforge.net/" -TARGET="_top" ->http://imprints.sourceforge.net/</A -> - for an example. - </P -></LI -></UL -><DIV -CLASS="WARNING" -><P -></P -><TABLE -CLASS="WARNING" -BORDER="1" -WIDTH="100%" -><TR -><TD -ALIGN="CENTER" -><B ->Achtung!</B -></TD -></TR -><TR -><TD -ALIGN="LEFT" -><P ->The following <TT -CLASS="FILENAME" ->smb.conf</TT -> parameters are considered to -be deprecated and will be removed soon. Do not use them in new -installations</P -><P -></P -><UL -><LI -><P -><TT -CLASS="PARAMETER" -><I ->printer driver file (G)</I -></TT -> - </P -></LI -><LI -><P -><TT -CLASS="PARAMETER" -><I ->printer driver (S)</I -></TT -> - </P -></LI -><LI -><P -><TT -CLASS="PARAMETER" -><I ->printer driver location (S)</I -></TT -> - </P -></LI -></UL -></TD -></TR -></TABLE -></DIV -><P ->The have been two new parameters add in Samba 2.2.2 to for -better support of Samba 2.0.x backwards capability (<TT -CLASS="PARAMETER" -><I ->disable -spoolss</I -></TT ->) and for using local printers drivers on Windows -NT/2000 clients (<TT -CLASS="PARAMETER" -><I ->use client driver</I -></TT ->). Both of -these options are described in the smb.conf(5) man page and are -disabled by default.</P -></DIV -></DIV -></BODY -></HTML -> diff --git a/docs/htmldocs/rpcclient.1.html b/docs/htmldocs/rpcclient.1.html index 9ffca61437..3669e19b03 100644 --- a/docs/htmldocs/rpcclient.1.html +++ b/docs/htmldocs/rpcclient.1.html @@ -1,10 +1,11 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >rpcclient</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD +CONTENT="Modular DocBook HTML Stylesheet Version 1.77"></HEAD ><BODY CLASS="REFENTRY" BGCOLOR="#FFFFFF" @@ -15,8 +16,8 @@ ALINK="#0000FF" ><H1 ><A NAME="RPCCLIENT" ->rpcclient</A -></H1 +></A +>rpcclient</H1 ><DIV CLASS="REFNAMEDIV" ><A @@ -37,7 +38,7 @@ NAME="AEN8" ><B CLASS="COMMAND" >rpcclient</B -> [-A authfile] [-c <command string>] [-d debuglevel] [-h] [-l logfile] [-N] [-s <smb config file>] [-U username[%password]] [-W workgroup] [-N] [-I destinationIP] {server}</P +> [-A authfile] [-c <command string>] [-d debuglevel] [-h] [-l logfile] [-N] [-s <smb config file>] [-U username[%password]] [-W workgroup] [-N] [-I destinationIP] {server}</P ></DIV ><DIV CLASS="REFSECT1" @@ -104,21 +105,12 @@ CLASS="FILENAME" password used in the connection. The format of the file is </P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="90%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" -> username = <value> - password = <value> - domain = <value> +> username = <value> + password = <value> + domain = <value> </PRE -></TD -></TR -></TABLE ></P ><P >Make certain that the permissions on the file restrict @@ -187,8 +179,8 @@ CLASS="PARAMETER" <TT CLASS="CONSTANT" >'.client'</TT -> will be appended. The log file is never removed - by the client. +> will be appended. The log file is + never removed by the client. </P ></DD ><DT @@ -202,19 +194,20 @@ CLASS="COMMAND" for a password. By default, <B CLASS="COMMAND" >rpcclient</B -> will prompt - for a password. See also the <TT +> will + prompt for a password. See also the <TT CLASS="PARAMETER" ><I >-U</I ></TT -> option.</P +> + option.</P ></DD ><DT >-s|--conf=smb.conf</DT ><DD ><P ->Specifies the location of the all important +>Specifies the location of the all-important <TT CLASS="FILENAME" >smb.conf</TT @@ -243,8 +236,8 @@ CLASS="CONSTANT" ><P >A third option is to use a credentials file which contains the plaintext of the username and password. This - option is mainly provided for scripts where the admin doesn't - desire to pass the credentials on the command line or via environment + option is mainly provided for scripts where the admin does not + wish to pass the credentials on the command line or via environment variables. If this method is used, make certain that the permissions on the file restrict access from unwanted users. See the <TT @@ -287,8 +280,12 @@ NAME="AEN101" ><H2 >COMMANDS</H2 ><P -><EM ->LSARPC</EM +><SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>LSARPC</I +></SPAN ></P ><P ></P @@ -314,7 +311,7 @@ CLASS="COMMAND" ><B CLASS="COMMAND" >lookupnames</B -> - Resolve s list +> - Resolve a list of usernames to SIDs. </P ></LI @@ -329,8 +326,12 @@ CLASS="COMMAND" ><P > </P ><P -><EM ->SAMR</EM +><SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>SAMR</I +></SPAN ></P ><P ></P @@ -395,8 +396,12 @@ CLASS="COMMAND" ><P > </P ><P -><EM ->SPOOLSS</EM +><SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>SPOOLSS</I +></SPAN ></P ><P ></P @@ -405,7 +410,7 @@ CLASS="COMMAND" ><P ><B CLASS="COMMAND" ->adddriver <arch> <config></B +>adddriver <arch> <config></B > - Execute an AddPrinterDriver() RPC to install the printer driver information on the server. Note that the driver files should @@ -432,12 +437,6 @@ CLASS="PARAMETER" > parameter is defined as follows: </P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="90%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > Long Printer Name:\ @@ -449,9 +448,6 @@ CLASS="PROGRAMLISTING" Default Data Type:\ Comma Separated list of Files </PRE -></TD -></TR -></TABLE ></P ><P >Any empty fields should be enter as the string "NULL". </P @@ -467,8 +463,8 @@ CLASS="PROGRAMLISTING" ><P ><B CLASS="COMMAND" ->addprinter <printername> - <sharename> <drivername> <port></B +>addprinter <printername> + <sharename> <drivername> <port></B > - Add a printer on the remote server. This printer will be automatically shared. Be aware that the printer driver @@ -514,9 +510,9 @@ CLASS="COMMAND" ><P ><B CLASS="COMMAND" ->enumjobs <printer></B +>enumjobs <printer></B > - - List the jobs and status of a given printer. + - List the jobs and status of a given printer. This command corresponds to the MS Platform SDK EnumJobs() function (* This command is currently unimplemented).</P ></LI @@ -556,7 +552,7 @@ CLASS="COMMAND" ><P ><B CLASS="COMMAND" ->getdata <printername></B +>getdata <printername></B > - Retrieve the data for a given printer setting. See the <B @@ -570,7 +566,7 @@ CLASS="COMMAND" ><P ><B CLASS="COMMAND" ->getdriver <printername></B +>getdriver <printername></B > - Retrieve the printer driver information (such as driver file, config file, dependent files, etc...) for @@ -582,10 +578,10 @@ CLASS="COMMAND" ><P ><B CLASS="COMMAND" ->getdriverdir <arch></B +>getdriverdir <arch></B > - Execute a GetPrinterDriverDirectory() - RPC to retreive the SMB share name and subdirectory for + RPC to retrieve the SMB share name and subdirectory for storing printer driver files for a given architecture. Possible values for <TT CLASS="PARAMETER" @@ -600,7 +596,7 @@ CLASS="PARAMETER" ><P ><B CLASS="COMMAND" ->getprinter <printername></B +>getprinter <printername></B > - Retrieve the current printer information. This command corresponds to the GetPrinter() MS Platform SDK function. @@ -610,7 +606,7 @@ CLASS="COMMAND" ><P ><B CLASS="COMMAND" ->openprinter <printername></B +>openprinter <printername></B > - Execute an OpenPrinterEx() and ClosePrinter() RPC against a given printer. </P @@ -619,11 +615,12 @@ CLASS="COMMAND" ><P ><B CLASS="COMMAND" ->setdriver <printername> <drivername></B -> - - Execute a SetPrinter() command to update the printer driver associated - with an installed printer. The printer driver must already be correctly - installed on the print server. </P +>setdriver <printername> + <drivername></B +> + - Execute a SetPrinter() command to update the printer driver + associated with an installed printer. The printer driver must + already be correctly installed on the print server. </P ><P >See also the <B CLASS="COMMAND" @@ -637,8 +634,12 @@ CLASS="COMMAND" ></LI ></UL ><P -><EM ->GENERAL OPTIONS</EM +><SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>GENERAL OPTIONS</I +></SPAN ></P ><P ></P @@ -648,8 +649,8 @@ CLASS="COMMAND" ><B CLASS="COMMAND" >debuglevel</B -> - Set the current debug level - used to log information.</P +> - Set the current + debug level used to log information.</P ></LI ><LI ><P @@ -691,8 +692,12 @@ CLASS="COMMAND" ><P >From Luke Leighton's original rpcclient man page:</P ><P -><EM ->"WARNING!</EM +><SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>"WARNING!</I +></SPAN > The MSRPC over SMB code has been developed from examining Network traces. No documentation is available from the original creators (Microsoft) on how MSRPC over diff --git a/docs/htmldocs/samba.7.html b/docs/htmldocs/samba.7.html index 6fb9eac578..0851e99bd5 100644 --- a/docs/htmldocs/samba.7.html +++ b/docs/htmldocs/samba.7.html @@ -1,10 +1,11 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >samba</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD +CONTENT="Modular DocBook HTML Stylesheet Version 1.77"></HEAD ><BODY CLASS="REFENTRY" BGCOLOR="#FFFFFF" @@ -15,8 +16,8 @@ ALINK="#0000FF" ><H1 ><A NAME="SAMBA" ->samba</A -></H1 +></A +>samba</H1 ><DIV CLASS="REFNAMEDIV" ><A @@ -49,8 +50,13 @@ NAME="AEN11" >The Samba software suite is a collection of programs that implements the Server Message Block (commonly abbreviated as SMB) protocol for UNIX systems. This protocol is sometimes - also referred to as the Common Internet File System (CIFS), - LanManager or NetBIOS protocol.</P + also referred to as the Common Internet File System (CIFS). For a + more thorough description, see <A +HREF="http://www.ubiqx.org/cifs/" +TARGET="_top" +> http://www.ubiqx.org/cifs/</A +>. Samba also implements the NetBIOS + protocol in nmbd.</P ><P ></P ><DIV @@ -87,7 +93,7 @@ CLASS="COMMAND" CLASS="COMMAND" >nmbd</B > - daemon provides NetBIOS nameserving and browsing + daemon provides NetBIOS nameservice and browsing support. The configuration file for this daemon is described in <TT CLASS="FILENAME" @@ -142,7 +148,7 @@ CLASS="COMMAND" utility supports testing printer names defined in your <TT CLASS="FILENAME" ->printcap></TT +>printcap</TT > file used by Samba.</P ></DD @@ -214,7 +220,7 @@ CLASS="COMMAND" ><DIV CLASS="REFSECT1" ><A -NAME="AEN75" +NAME="AEN76" ></A ><H2 >COMPONENTS</H2 @@ -223,17 +229,27 @@ NAME="AEN75" component is described in a separate manual page. It is strongly recommended that you read the documentation that comes with Samba and the manual pages of those components that you use. If the - manual pages aren't clear enough then please send a patch or - bug report to <A -HREF="mailto:samba@samba.org" + manual pages and documents aren't clear enough then please visit + <A +HREF="http://devel.samba.org/" TARGET="_top" -> samba@samba.org</A -></P +>http://devel.samba.org</A +> + for information on how to file a bug report or submit a patch.</P +><P +>If you require help, visit the Samba webpage at + <A +HREF="http://samba.org/" +TARGET="_top" +>http://www.samba.org/</A +> and + explore the many option available to you. + </P ></DIV ><DIV CLASS="REFSECT1" ><A -NAME="AEN79" +NAME="AEN82" ></A ><H2 >AVAILABILITY</H2 @@ -270,7 +286,7 @@ TARGET="_top" ><DIV CLASS="REFSECT1" ><A -NAME="AEN87" +NAME="AEN90" ></A ><H2 >VERSION</H2 @@ -281,7 +297,7 @@ NAME="AEN87" ><DIV CLASS="REFSECT1" ><A -NAME="AEN90" +NAME="AEN93" ></A ><H2 >CONTRIBUTIONS</H2 @@ -295,11 +311,14 @@ TARGET="_top" >. </P ><P ->If you have patches to submit or bugs to report - then you may mail them directly to samba-patches@samba.org. - Note, however, that due to the enormous popularity of this - package the Samba Team may take some time to respond to mail. We - prefer patches in <B +>If you have patches to submit, visit + <A +HREF="http://devel.samba.org/" +TARGET="_top" +>http://devel.samba.org/</A +> + for information on how to do it properly. We prefer patches in + <B CLASS="COMMAND" >diff -u</B > format.</P @@ -307,7 +326,7 @@ CLASS="COMMAND" ><DIV CLASS="REFSECT1" ><A -NAME="AEN96" +NAME="AEN100" ></A ><H2 >CONTRIBUTORS</H2 @@ -339,7 +358,7 @@ TARGET="_top" ><DIV CLASS="REFSECT1" ><A -NAME="AEN103" +NAME="AEN107" ></A ><H2 >AUTHOR</H2 diff --git a/docs/htmldocs/security_level.html b/docs/htmldocs/security_level.html deleted file mode 100644 index e26e1ea78b..0000000000 --- a/docs/htmldocs/security_level.html +++ /dev/null @@ -1,169 +0,0 @@ -<HTML -><HEAD -><TITLE ->Security levels</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD -><BODY -CLASS="ARTICLE" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="ARTICLE" -><DIV -CLASS="TITLEPAGE" -><H1 -CLASS="TITLE" -><A -NAME="SECURITY_LEVELS" ->Security levels</A -></H1 -><HR></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN3" ->Introduction</A -></H1 -><P ->Samba supports the following options to the global smb.conf parameter</P -><P -><PRE -CLASS="PROGRAMLISTING" ->[global] -<A -HREF="smb.conf.5.html#SECURITY" -TARGET="_top" -><TT -CLASS="PARAMETER" -><I ->security</I -></TT -></A -> = [share|user(default)|domain|ads]</PRE -></P -><P ->Please refer to the smb.conf man page for usage information and to the document -<A -HREF="DOMAIN_MEMBER.html" -TARGET="_top" ->DOMAIN_MEMBER.html</A -> for further background details -on domain mode security. The Windows 2000 Kerberos domain security model -(security = ads) is described in the <A -HREF="ADS-HOWTO.html" -TARGET="_top" ->ADS-HOWTO.html</A ->.</P -><P ->Of the above, "security = server" means that Samba reports to clients that -it is running in "user mode" but actually passes off all authentication -requests to another "user mode" server. This requires an additional -parameter "password server =" that points to the real authentication server. -That real authentication server can be another Samba server or can be a -Windows NT server, the later natively capable of encrypted password support.</P -></DIV -><DIV -CLASS="SECT1" -><HR><H1 -CLASS="SECT1" -><A -NAME="AEN14" ->More complete description of security levels</A -></H1 -><P ->A SMB server tells the client at startup what "security level" it is -running. There are two options "share level" and "user level". Which -of these two the client receives affects the way the client then tries -to authenticate itself. It does not directly affect (to any great -extent) the way the Samba server does security. I know this is -strange, but it fits in with the client/server approach of SMB. In SMB -everything is initiated and controlled by the client, and the server -can only tell the client what is available and whether an action is -allowed. </P -><P ->I'll describe user level security first, as its simpler. In user level -security the client will send a "session setup" command directly after -the protocol negotiation. This contains a username and password. The -server can either accept or reject that username/password -combination. Note that at this stage the server has no idea what -share the client will eventually try to connect to, so it can't base -the "accept/reject" on anything other than:</P -><P -></P -><OL -TYPE="1" -><LI -><P ->the username/password</P -></LI -><LI -><P ->the machine that the client is coming from</P -></LI -></OL -><P ->If the server accepts the username/password then the client expects to -be able to mount any share (using a "tree connection") without -specifying a password. It expects that all access rights will be as -the username/password specified in the "session setup". </P -><P ->It is also possible for a client to send multiple "session setup" -requests. When the server responds it gives the client a "uid" to use -as an authentication tag for that username/password. The client can -maintain multiple authentication contexts in this way (WinDD is an -example of an application that does this)</P -><P ->Ok, now for share level security. In share level security the client -authenticates itself separately for each share. It will send a -password along with each "tree connection" (share mount). It does not -explicitly send a username with this operation. The client is -expecting a password to be associated with each share, independent of -the user. This means that samba has to work out what username the -client probably wants to use. It is never explicitly sent the -username. Some commercial SMB servers such as NT actually associate -passwords directly with shares in share level security, but samba -always uses the unix authentication scheme where it is a -username/password that is authenticated, not a "share/password".</P -><P ->Many clients send a "session setup" even if the server is in share -level security. They normally send a valid username but no -password. Samba records this username in a list of "possible -usernames". When the client then does a "tree connection" it also adds -to this list the name of the share they try to connect to (useful for -home directories) and any users listed in the "user =" smb.conf -line. The password is then checked in turn against these "possible -usernames". If a match is found then the client is authenticated as -that user.</P -><P ->Finally "server level" security. In server level security the samba -server reports to the client that it is in user level security. The -client then does a "session setup" as described earlier. The samba -server takes the username/password that the client sends and attempts -to login to the "password server" by sending exactly the same -username/password that it got from the client. If that server is in -user level security and accepts the password then samba accepts the -clients connection. This allows the samba server to use another SMB -server as the "password server". </P -><P ->You should also note that at the very start of all this, where the -server tells the client what security level it is in, it also tells -the client if it supports encryption. If it does then it supplies the -client with a random "cryptkey". The client will then send all -passwords in encrypted form. You have to compile samba with encryption -enabled to support this feature, and you have to maintain a separate -smbpasswd file with SMB style encrypted passwords. It is -cryptographically impossible to translate from unix style encryption -to SMB style encryption, although there are some fairly simple management -schemes by which the two could be kept in sync.</P -></DIV -></DIV -></BODY -></HTML ->
\ No newline at end of file diff --git a/docs/htmldocs/smb.conf.5.html b/docs/htmldocs/smb.conf.5.html index 5d1cc21da7..14820cb623 100644 --- a/docs/htmldocs/smb.conf.5.html +++ b/docs/htmldocs/smb.conf.5.html @@ -5,8 +5,7 @@ >smb.conf</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+ -"></HEAD +CONTENT="Modular DocBook HTML Stylesheet Version 1.77"></HEAD ><BODY CLASS="REFENTRY" BGCOLOR="#FFFFFF" @@ -16,7 +15,9 @@ VLINK="#840084" ALINK="#0000FF" ><H1 ><A -NAME="SMB.CONF">smb.conf</H1 +NAME="SMB.CONF" +></A +>smb.conf</H1 ><DIV CLASS="REFNAMEDIV" ><A @@ -183,7 +184,7 @@ CLASS="SCREEN" CLASS="COMPUTEROUTPUT" > [foo] path = /home/bar - writeable = true + read only = no </TT > </PRE @@ -206,9 +207,9 @@ CLASS="SCREEN" CLASS="COMPUTEROUTPUT" > [aprinter] path = /usr/spool/public - writeable = false - printable = true - guest ok = true + read only = yes + printable = yes + guest ok = yes </TT > </PRE @@ -308,7 +309,7 @@ CLASS="SCREEN" > <TT CLASS="COMPUTEROUTPUT" > [homes] - writeable = yes + read only = no </TT > </PRE @@ -900,7 +901,7 @@ NAME="AEN255" ><LI ><P ><A -HREF="index.html#ABORTSHUTDOWNSCRIPT" +HREF="#ABORTSHUTDOWNSCRIPT" ><TT CLASS="PARAMETER" ><I @@ -912,7 +913,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#ADDGROUPSCRIPT" +HREF="#ADDGROUPSCRIPT" ><TT CLASS="PARAMETER" ><I @@ -924,7 +925,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#ADDPRINTERCOMMAND" +HREF="#ADDPRINTERCOMMAND" ><TT CLASS="PARAMETER" ><I @@ -936,7 +937,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#ADDSHARECOMMAND" +HREF="#ADDSHARECOMMAND" ><TT CLASS="PARAMETER" ><I @@ -948,7 +949,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#ADDUSERSCRIPT" +HREF="#ADDUSERSCRIPT" ><TT CLASS="PARAMETER" ><I @@ -960,7 +961,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#ADDUSERTOGROUPSCRIPT" +HREF="#ADDUSERTOGROUPSCRIPT" ><TT CLASS="PARAMETER" ><I @@ -972,7 +973,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#ADDMACHINESCRIPT" +HREF="#ADDMACHINESCRIPT" ><TT CLASS="PARAMETER" ><I @@ -984,7 +985,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#DELETEGROUPSCRIPT" +HREF="#DELETEGROUPSCRIPT" ><TT CLASS="PARAMETER" ><I @@ -996,7 +997,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#ADSSERVER" +HREF="#ADSSERVER" ><TT CLASS="PARAMETER" ><I @@ -1008,7 +1009,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#ALGORITHMICRIDBASE" +HREF="#ALGORITHMICRIDBASE" ><TT CLASS="PARAMETER" ><I @@ -1020,7 +1021,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#ALLOWTRUSTEDDOMAINS" +HREF="#ALLOWTRUSTEDDOMAINS" ><TT CLASS="PARAMETER" ><I @@ -1032,7 +1033,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#ANNOUNCEAS" +HREF="#ANNOUNCEAS" ><TT CLASS="PARAMETER" ><I @@ -1044,7 +1045,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#ANNOUNCEVERSION" +HREF="#ANNOUNCEVERSION" ><TT CLASS="PARAMETER" ><I @@ -1056,7 +1057,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#AUTHMETHODS" +HREF="#AUTHMETHODS" ><TT CLASS="PARAMETER" ><I @@ -1068,7 +1069,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#AUTOSERVICES" +HREF="#AUTOSERVICES" ><TT CLASS="PARAMETER" ><I @@ -1080,7 +1081,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#BINDINTERFACESONLY" +HREF="#BINDINTERFACESONLY" ><TT CLASS="PARAMETER" ><I @@ -1092,7 +1093,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#BROWSELIST" +HREF="#BROWSELIST" ><TT CLASS="PARAMETER" ><I @@ -1104,7 +1105,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#CHANGENOTIFYTIMEOUT" +HREF="#CHANGENOTIFYTIMEOUT" ><TT CLASS="PARAMETER" ><I @@ -1116,7 +1117,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#CHANGESHARECOMMAND" +HREF="#CHANGESHARECOMMAND" ><TT CLASS="PARAMETER" ><I @@ -1128,7 +1129,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#CONFIGFILE" +HREF="#CONFIGFILE" ><TT CLASS="PARAMETER" ><I @@ -1140,7 +1141,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#DEADTIME" +HREF="#DEADTIME" ><TT CLASS="PARAMETER" ><I @@ -1152,7 +1153,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#DEBUGHIRESTIMESTAMP" +HREF="#DEBUGHIRESTIMESTAMP" ><TT CLASS="PARAMETER" ><I @@ -1164,7 +1165,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#DEBUGPID" +HREF="#DEBUGPID" ><TT CLASS="PARAMETER" ><I @@ -1176,7 +1177,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#DEBUGTIMESTAMP" +HREF="#DEBUGTIMESTAMP" ><TT CLASS="PARAMETER" ><I @@ -1188,7 +1189,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#DEBUGUID" +HREF="#DEBUGUID" ><TT CLASS="PARAMETER" ><I @@ -1200,7 +1201,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#DEBUGLEVEL" +HREF="#DEBUGLEVEL" ><TT CLASS="PARAMETER" ><I @@ -1212,7 +1213,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#DEFAULT" +HREF="#DEFAULT" ><TT CLASS="PARAMETER" ><I @@ -1224,7 +1225,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#DEFAULTSERVICE" +HREF="#DEFAULTSERVICE" ><TT CLASS="PARAMETER" ><I @@ -1236,7 +1237,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#DELETEPRINTERCOMMAND" +HREF="#DELETEPRINTERCOMMAND" ><TT CLASS="PARAMETER" ><I @@ -1248,7 +1249,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#DELETESHARECOMMAND" +HREF="#DELETESHARECOMMAND" ><TT CLASS="PARAMETER" ><I @@ -1260,7 +1261,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#DELETEUSERSCRIPT" +HREF="#DELETEUSERSCRIPT" ><TT CLASS="PARAMETER" ><I @@ -1272,7 +1273,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#DELETEUSERFROMGROUPSCRIPT" +HREF="#DELETEUSERFROMGROUPSCRIPT" ><TT CLASS="PARAMETER" ><I @@ -1284,7 +1285,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#DFREECOMMAND" +HREF="#DFREECOMMAND" ><TT CLASS="PARAMETER" ><I @@ -1296,7 +1297,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#DISABLENETBIOS" +HREF="#DISABLENETBIOS" ><TT CLASS="PARAMETER" ><I @@ -1308,7 +1309,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#DISABLESPOOLSS" +HREF="#DISABLESPOOLSS" ><TT CLASS="PARAMETER" ><I @@ -1320,7 +1321,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#DISPLAYCHARSET" +HREF="#DISPLAYCHARSET" ><TT CLASS="PARAMETER" ><I @@ -1332,7 +1333,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#DNSPROXY" +HREF="#DNSPROXY" ><TT CLASS="PARAMETER" ><I @@ -1344,31 +1345,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#DOMAINADMINGROUP" -><TT -CLASS="PARAMETER" -><I ->domain admin group</I -></TT -></A -></P -></LI -><LI -><P -><A -HREF="index.html#DOMAINGUESTGROUP" -><TT -CLASS="PARAMETER" -><I ->domain guest group</I -></TT -></A -></P -></LI -><LI -><P -><A -HREF="index.html#DOMAINLOGONS" +HREF="#DOMAINLOGONS" ><TT CLASS="PARAMETER" ><I @@ -1380,7 +1357,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#DOMAINMASTER" +HREF="#DOMAINMASTER" ><TT CLASS="PARAMETER" ><I @@ -1392,7 +1369,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#DOSCHARSET" +HREF="#DOSCHARSET" ><TT CLASS="PARAMETER" ><I @@ -1404,7 +1381,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#ENCRYPTPASSWORDS" +HREF="#ENCRYPTPASSWORDS" ><TT CLASS="PARAMETER" ><I @@ -1416,7 +1393,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#ENHANCEDBROWSING" +HREF="#ENHANCEDBROWSING" ><TT CLASS="PARAMETER" ><I @@ -1428,7 +1405,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#ENUMPORTSCOMMAND" +HREF="#ENUMPORTSCOMMAND" ><TT CLASS="PARAMETER" ><I @@ -1440,7 +1417,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#GETWDCACHE" +HREF="#GETWDCACHE" ><TT CLASS="PARAMETER" ><I @@ -1452,7 +1429,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#HIDELOCALUSERS" +HREF="#HIDELOCALUSERS" ><TT CLASS="PARAMETER" ><I @@ -1464,7 +1441,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#HIDEUNREADABLE" +HREF="#HIDEUNREADABLE" ><TT CLASS="PARAMETER" ><I @@ -1476,7 +1453,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#HIDEUNWRITEABLEFILES" +HREF="#HIDEUNWRITEABLEFILES" ><TT CLASS="PARAMETER" ><I @@ -1488,7 +1465,19 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#HOMEDIRMAP" +HREF="#HIDESPECIALFILES" +><TT +CLASS="PARAMETER" +><I +>hide special files</I +></TT +></A +></P +></LI +><LI +><P +><A +HREF="#HOMEDIRMAP" ><TT CLASS="PARAMETER" ><I @@ -1500,7 +1489,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#HOSTMSDFS" +HREF="#HOSTMSDFS" ><TT CLASS="PARAMETER" ><I @@ -1512,7 +1501,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#HOSTNAMELOOKUPS" +HREF="#HOSTNAMELOOKUPS" ><TT CLASS="PARAMETER" ><I @@ -1524,7 +1513,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#HOSTSEQUIV" +HREF="#HOSTSEQUIV" ><TT CLASS="PARAMETER" ><I @@ -1536,7 +1525,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#INTERFACES" +HREF="#INTERFACES" ><TT CLASS="PARAMETER" ><I @@ -1548,7 +1537,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#KEEPALIVE" +HREF="#KEEPALIVE" ><TT CLASS="PARAMETER" ><I @@ -1560,7 +1549,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#KERNELOPLOCKS" +HREF="#KERNELOPLOCKS" ><TT CLASS="PARAMETER" ><I @@ -1572,7 +1561,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#LANMANAUTH" +HREF="#LANMANAUTH" ><TT CLASS="PARAMETER" ><I @@ -1584,7 +1573,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#LARGEREADWRITE" +HREF="#LARGEREADWRITE" ><TT CLASS="PARAMETER" ><I @@ -1596,7 +1585,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#LDAPADMINDN" +HREF="#LDAPADMINDN" ><TT CLASS="PARAMETER" ><I @@ -1608,7 +1597,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#LDAPFILTER" +HREF="#LDAPFILTER" ><TT CLASS="PARAMETER" ><I @@ -1620,7 +1609,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#LDAPSSL" +HREF="#LDAPSSL" ><TT CLASS="PARAMETER" ><I @@ -1632,7 +1621,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#LDAPSUFFIX" +HREF="#LDAPSUFFIX" ><TT CLASS="PARAMETER" ><I @@ -1644,11 +1633,11 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#LDAPUSERSUFFIX" +HREF="#LDAPUSERSUFFIX" ><TT CLASS="PARAMETER" ><I ->ldap suffix</I +>ldap user suffix</I ></TT ></A ></P @@ -1656,11 +1645,23 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#LDAPMACHINESUFFIX" +HREF="#LDAPMACHINESUFFIX" ><TT CLASS="PARAMETER" ><I ->ldap suffix</I +>ldap machine suffix</I +></TT +></A +></P +></LI +><LI +><P +><A +HREF="#LDAPPASSWDSYNC" +><TT +CLASS="PARAMETER" +><I +>ldap passwd sync</I ></TT ></A ></P @@ -1668,7 +1669,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#LMANNOUNCE" +HREF="#LMANNOUNCE" ><TT CLASS="PARAMETER" ><I @@ -1680,7 +1681,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#LMINTERVAL" +HREF="#LMINTERVAL" ><TT CLASS="PARAMETER" ><I @@ -1692,7 +1693,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#LOADPRINTERS" +HREF="#LOADPRINTERS" ><TT CLASS="PARAMETER" ><I @@ -1704,7 +1705,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#LOCALMASTER" +HREF="#LOCALMASTER" ><TT CLASS="PARAMETER" ><I @@ -1716,7 +1717,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#LOCKDIR" +HREF="#LOCKDIR" ><TT CLASS="PARAMETER" ><I @@ -1728,7 +1729,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#LOCKDIRECTORY" +HREF="#LOCKDIRECTORY" ><TT CLASS="PARAMETER" ><I @@ -1740,7 +1741,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#LOCKSPINCOUNT" +HREF="#LOCKSPINCOUNT" ><TT CLASS="PARAMETER" ><I @@ -1752,7 +1753,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#LOCKSPINTIME" +HREF="#LOCKSPINTIME" ><TT CLASS="PARAMETER" ><I @@ -1764,7 +1765,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#PIDDIRECTORY" +HREF="#PIDDIRECTORY" ><TT CLASS="PARAMETER" ><I @@ -1776,7 +1777,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#LOGFILE" +HREF="#LOGFILE" ><TT CLASS="PARAMETER" ><I @@ -1788,7 +1789,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#LOGLEVEL" +HREF="#LOGLEVEL" ><TT CLASS="PARAMETER" ><I @@ -1800,7 +1801,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#LOGONDRIVE" +HREF="#LOGONDRIVE" ><TT CLASS="PARAMETER" ><I @@ -1812,7 +1813,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#LOGONHOME" +HREF="#LOGONHOME" ><TT CLASS="PARAMETER" ><I @@ -1824,7 +1825,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#LOGONPATH" +HREF="#LOGONPATH" ><TT CLASS="PARAMETER" ><I @@ -1836,7 +1837,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#LOGONSCRIPT" +HREF="#LOGONSCRIPT" ><TT CLASS="PARAMETER" ><I @@ -1848,7 +1849,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#LPQCACHETIME" +HREF="#LPQCACHETIME" ><TT CLASS="PARAMETER" ><I @@ -1860,7 +1861,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#MACHINEPASSWORDTIMEOUT" +HREF="#MACHINEPASSWORDTIMEOUT" ><TT CLASS="PARAMETER" ><I @@ -1872,7 +1873,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#MANGLEDSTACK" +HREF="#MANGLEDSTACK" ><TT CLASS="PARAMETER" ><I @@ -1884,7 +1885,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#MAPTOGUEST" +HREF="#MAPTOGUEST" ><TT CLASS="PARAMETER" ><I @@ -1896,7 +1897,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#MAXDISKSIZE" +HREF="#MAXDISKSIZE" ><TT CLASS="PARAMETER" ><I @@ -1908,7 +1909,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#MAXLOGSIZE" +HREF="#MAXLOGSIZE" ><TT CLASS="PARAMETER" ><I @@ -1920,7 +1921,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#MAXMUX" +HREF="#MAXMUX" ><TT CLASS="PARAMETER" ><I @@ -1932,7 +1933,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#MAXOPENFILES" +HREF="#MAXOPENFILES" ><TT CLASS="PARAMETER" ><I @@ -1944,7 +1945,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#MAXPROTOCOL" +HREF="#MAXPROTOCOL" ><TT CLASS="PARAMETER" ><I @@ -1956,7 +1957,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#MAXSMBDPROCESSES" +HREF="#MAXSMBDPROCESSES" ><TT CLASS="PARAMETER" ><I @@ -1968,7 +1969,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#MAXTTL" +HREF="#MAXTTL" ><TT CLASS="PARAMETER" ><I @@ -1980,7 +1981,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#MAXWINSTTL" +HREF="#MAXWINSTTL" ><TT CLASS="PARAMETER" ><I @@ -1992,7 +1993,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#MAXXMIT" +HREF="#MAXXMIT" ><TT CLASS="PARAMETER" ><I @@ -2004,7 +2005,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#MESSAGECOMMAND" +HREF="#MESSAGECOMMAND" ><TT CLASS="PARAMETER" ><I @@ -2016,7 +2017,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#MINPASSWDLENGTH" +HREF="#MINPASSWDLENGTH" ><TT CLASS="PARAMETER" ><I @@ -2028,7 +2029,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#MINPASSWORDLENGTH" +HREF="#MINPASSWORDLENGTH" ><TT CLASS="PARAMETER" ><I @@ -2040,7 +2041,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#MINPROTOCOL" +HREF="#MINPROTOCOL" ><TT CLASS="PARAMETER" ><I @@ -2052,7 +2053,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#MINWINSTTL" +HREF="#MINWINSTTL" ><TT CLASS="PARAMETER" ><I @@ -2064,7 +2065,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#NAMECACHETIMEOUT" +HREF="#NAMECACHETIMEOUT" ><TT CLASS="PARAMETER" ><I @@ -2076,7 +2077,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#NAMERESOLVEORDER" +HREF="#NAMERESOLVEORDER" ><TT CLASS="PARAMETER" ><I @@ -2088,7 +2089,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#NETBIOSALIASES" +HREF="#NETBIOSALIASES" ><TT CLASS="PARAMETER" ><I @@ -2100,7 +2101,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#NETBIOSNAME" +HREF="#NETBIOSNAME" ><TT CLASS="PARAMETER" ><I @@ -2112,7 +2113,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#NETBIOSSCOPE" +HREF="#NETBIOSSCOPE" ><TT CLASS="PARAMETER" ><I @@ -2124,7 +2125,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#NISHOMEDIR" +HREF="#NISHOMEDIR" ><TT CLASS="PARAMETER" ><I @@ -2136,7 +2137,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#NTLMAUTH" +HREF="#NTLMAUTH" ><TT CLASS="PARAMETER" ><I @@ -2148,7 +2149,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#NONUNIXACCOUNTRANGE" +HREF="#NONUNIXACCOUNTRANGE" ><TT CLASS="PARAMETER" ><I @@ -2160,7 +2161,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#NTPIPESUPPORT" +HREF="#NTPIPESUPPORT" ><TT CLASS="PARAMETER" ><I @@ -2172,7 +2173,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#NTSTATUSSUPPORT" +HREF="#NTSTATUSSUPPORT" ><TT CLASS="PARAMETER" ><I @@ -2184,7 +2185,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#NULLPASSWORDS" +HREF="#NULLPASSWORDS" ><TT CLASS="PARAMETER" ><I @@ -2196,7 +2197,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#OBEYPAMRESTRICTIONS" +HREF="#OBEYPAMRESTRICTIONS" ><TT CLASS="PARAMETER" ><I @@ -2208,7 +2209,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#OPLOCKBREAKWAITTIME" +HREF="#OPLOCKBREAKWAITTIME" ><TT CLASS="PARAMETER" ><I @@ -2220,7 +2221,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#OSLEVEL" +HREF="#OSLEVEL" ><TT CLASS="PARAMETER" ><I @@ -2232,7 +2233,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#OS2DRIVERMAP" +HREF="#OS2DRIVERMAP" ><TT CLASS="PARAMETER" ><I @@ -2244,7 +2245,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#PAMPASSWORDCHANGE" +HREF="#PAMPASSWORDCHANGE" ><TT CLASS="PARAMETER" ><I @@ -2256,7 +2257,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#PANICACTION" +HREF="#PANICACTION" ><TT CLASS="PARAMETER" ><I @@ -2268,7 +2269,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#PARANOIDSERVERSECURITY" +HREF="#PARANOIDSERVERSECURITY" ><TT CLASS="PARAMETER" ><I @@ -2280,7 +2281,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#PASSDBBACKEND" +HREF="#PASSDBBACKEND" ><TT CLASS="PARAMETER" ><I @@ -2292,7 +2293,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#PASSWDCHAT" +HREF="#PASSWDCHAT" ><TT CLASS="PARAMETER" ><I @@ -2304,7 +2305,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#PASSWDCHATDEBUG" +HREF="#PASSWDCHATDEBUG" ><TT CLASS="PARAMETER" ><I @@ -2316,7 +2317,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#PASSWDPROGRAM" +HREF="#PASSWDPROGRAM" ><TT CLASS="PARAMETER" ><I @@ -2328,7 +2329,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#PASSWORDLEVEL" +HREF="#PASSWORDLEVEL" ><TT CLASS="PARAMETER" ><I @@ -2340,7 +2341,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#PASSWORDSERVER" +HREF="#PASSWORDSERVER" ><TT CLASS="PARAMETER" ><I @@ -2352,7 +2353,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#PREFEREDMASTER" +HREF="#PREFEREDMASTER" ><TT CLASS="PARAMETER" ><I @@ -2364,7 +2365,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#PREFERREDMASTER" +HREF="#PREFERREDMASTER" ><TT CLASS="PARAMETER" ><I @@ -2376,7 +2377,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#PRELOAD" +HREF="#PRELOAD" ><TT CLASS="PARAMETER" ><I @@ -2388,7 +2389,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#PRINTCAP" +HREF="#PRINTCAP" ><TT CLASS="PARAMETER" ><I @@ -2400,7 +2401,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#PRINTCAPNAME" +HREF="#PRINTCAPNAME" ><TT CLASS="PARAMETER" ><I @@ -2412,7 +2413,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#PRINTERDRIVERFILE" +HREF="#PRINTERDRIVERFILE" ><TT CLASS="PARAMETER" ><I @@ -2424,7 +2425,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#PRIVATEDIR" +HREF="#PRIVATEDIR" ><TT CLASS="PARAMETER" ><I @@ -2436,7 +2437,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#PROTOCOL" +HREF="#PROTOCOL" ><TT CLASS="PARAMETER" ><I @@ -2448,7 +2449,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#READBMPX" +HREF="#READBMPX" ><TT CLASS="PARAMETER" ><I @@ -2460,7 +2461,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#READRAW" +HREF="#READRAW" ><TT CLASS="PARAMETER" ><I @@ -2472,7 +2473,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#READSIZE" +HREF="#READSIZE" ><TT CLASS="PARAMETER" ><I @@ -2484,7 +2485,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#REALM" +HREF="#REALM" ><TT CLASS="PARAMETER" ><I @@ -2496,7 +2497,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#REMOTEANNOUNCE" +HREF="#REMOTEANNOUNCE" ><TT CLASS="PARAMETER" ><I @@ -2508,7 +2509,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#REMOTEBROWSESYNC" +HREF="#REMOTEBROWSESYNC" ><TT CLASS="PARAMETER" ><I @@ -2520,7 +2521,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#RESTRICTANONYMOUS" +HREF="#RESTRICTANONYMOUS" ><TT CLASS="PARAMETER" ><I @@ -2532,7 +2533,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#ROOT" +HREF="#ROOT" ><TT CLASS="PARAMETER" ><I @@ -2544,7 +2545,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#ROOTDIR" +HREF="#ROOTDIR" ><TT CLASS="PARAMETER" ><I @@ -2556,7 +2557,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#ROOTDIRECTORY" +HREF="#ROOTDIRECTORY" ><TT CLASS="PARAMETER" ><I @@ -2568,7 +2569,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#SECURITY" +HREF="#SECURITY" ><TT CLASS="PARAMETER" ><I @@ -2580,7 +2581,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#SERVERSTRING" +HREF="#SERVERSTRING" ><TT CLASS="PARAMETER" ><I @@ -2592,7 +2593,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#SHOWADDPRINTERWIZARD" +HREF="#SHOWADDPRINTERWIZARD" ><TT CLASS="PARAMETER" ><I @@ -2604,7 +2605,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#SHUTDOWNSCRIPT" +HREF="#SHUTDOWNSCRIPT" ><TT CLASS="PARAMETER" ><I @@ -2616,7 +2617,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#SMBPASSWDFILE" +HREF="#SMBPASSWDFILE" ><TT CLASS="PARAMETER" ><I @@ -2628,7 +2629,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#SMBPORTS" +HREF="#SMBPORTS" ><TT CLASS="PARAMETER" ><I @@ -2640,7 +2641,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#SOCKETADDRESS" +HREF="#SOCKETADDRESS" ><TT CLASS="PARAMETER" ><I @@ -2652,7 +2653,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#SOCKETOPTIONS" +HREF="#SOCKETOPTIONS" ><TT CLASS="PARAMETER" ><I @@ -2664,7 +2665,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#SOURCEENVIRONMENT" +HREF="#SOURCEENVIRONMENT" ><TT CLASS="PARAMETER" ><I @@ -2676,7 +2677,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#SPNEGO" +HREF="#SPNEGO" ><TT CLASS="PARAMETER" ><I @@ -2688,7 +2689,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#STATCACHE" +HREF="#STATCACHE" ><TT CLASS="PARAMETER" ><I @@ -2700,7 +2701,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#STATCACHESIZE" +HREF="#STATCACHESIZE" ><TT CLASS="PARAMETER" ><I @@ -2712,7 +2713,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#STRIPDOT" +HREF="#STRIPDOT" ><TT CLASS="PARAMETER" ><I @@ -2724,7 +2725,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#SYSLOG" +HREF="#SYSLOG" ><TT CLASS="PARAMETER" ><I @@ -2736,7 +2737,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#SYSLOGONLY" +HREF="#SYSLOGONLY" ><TT CLASS="PARAMETER" ><I @@ -2748,7 +2749,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#TEMPLATEHOMEDIR" +HREF="#TEMPLATEHOMEDIR" ><TT CLASS="PARAMETER" ><I @@ -2760,7 +2761,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#TEMPLATESHELL" +HREF="#TEMPLATESHELL" ><TT CLASS="PARAMETER" ><I @@ -2772,7 +2773,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#TIMEOFFSET" +HREF="#TIMEOFFSET" ><TT CLASS="PARAMETER" ><I @@ -2784,7 +2785,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#TIMESERVER" +HREF="#TIMESERVER" ><TT CLASS="PARAMETER" ><I @@ -2796,7 +2797,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#TIMESTAMPLOGS" +HREF="#TIMESTAMPLOGS" ><TT CLASS="PARAMETER" ><I @@ -2808,7 +2809,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#TOTALPRINTJOBS" +HREF="#TOTALPRINTJOBS" ><TT CLASS="PARAMETER" ><I @@ -2820,7 +2821,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#UNICODE" +HREF="#UNICODE" ><TT CLASS="PARAMETER" ><I @@ -2832,7 +2833,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#UNIXCHARSET" +HREF="#UNIXCHARSET" ><TT CLASS="PARAMETER" ><I @@ -2844,7 +2845,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#UNIXEXTENSIONS" +HREF="#UNIXEXTENSIONS" ><TT CLASS="PARAMETER" ><I @@ -2856,7 +2857,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#UNIXPASSWORDSYNC" +HREF="#UNIXPASSWORDSYNC" ><TT CLASS="PARAMETER" ><I @@ -2868,7 +2869,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#UPDATEENCRYPTED" +HREF="#UPDATEENCRYPTED" ><TT CLASS="PARAMETER" ><I @@ -2880,7 +2881,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#USEMMAP" +HREF="#USEMMAP" ><TT CLASS="PARAMETER" ><I @@ -2892,7 +2893,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#USERHOSTS" +HREF="#USERHOSTS" ><TT CLASS="PARAMETER" ><I @@ -2904,7 +2905,19 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#USERNAMELEVEL" +HREF="#USESENDFILE" +><TT +CLASS="PARAMETER" +><I +>use sendfile</I +></TT +></A +></P +></LI +><LI +><P +><A +HREF="#USERNAMELEVEL" ><TT CLASS="PARAMETER" ><I @@ -2916,7 +2929,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#USERNAMEMAP" +HREF="#USERNAMEMAP" ><TT CLASS="PARAMETER" ><I @@ -2928,7 +2941,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#UTMP" +HREF="#UTMP" ><TT CLASS="PARAMETER" ><I @@ -2940,7 +2953,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#UTMPDIRECTORY" +HREF="#UTMPDIRECTORY" ><TT CLASS="PARAMETER" ><I @@ -2952,7 +2965,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#WTMPDIRECTORY" +HREF="#WTMPDIRECTORY" ><TT CLASS="PARAMETER" ><I @@ -2964,7 +2977,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#WINBINDCACHETIME" +HREF="#WINBINDCACHETIME" ><TT CLASS="PARAMETER" ><I @@ -2976,7 +2989,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#WINBINDENUMUSERS" +HREF="#WINBINDENUMUSERS" ><TT CLASS="PARAMETER" ><I @@ -2988,7 +3001,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#WINBINDENUMGROUPS" +HREF="#WINBINDENUMGROUPS" ><TT CLASS="PARAMETER" ><I @@ -3000,7 +3013,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#WINBINDGID" +HREF="#WINBINDGID" ><TT CLASS="PARAMETER" ><I @@ -3012,7 +3025,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#WINBINDSEPARATOR" +HREF="#WINBINDSEPARATOR" ><TT CLASS="PARAMETER" ><I @@ -3024,7 +3037,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#WINBINDUID" +HREF="#WINBINDUID" ><TT CLASS="PARAMETER" ><I @@ -3036,7 +3049,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#WINBINDUSEDEFAULTDOMAIN" +HREF="#WINBINDUSEDEFAULTDOMAIN" ><TT CLASS="PARAMETER" ><I @@ -3048,7 +3061,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#WINSHOOK" +HREF="#WINSHOOK" ><TT CLASS="PARAMETER" ><I @@ -3060,7 +3073,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#WINSPARTNERS" +HREF="#WINSPARTNERS" ><TT CLASS="PARAMETER" ><I @@ -3072,7 +3085,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#WINSPROXY" +HREF="#WINSPROXY" ><TT CLASS="PARAMETER" ><I @@ -3084,7 +3097,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#WINSSERVER" +HREF="#WINSSERVER" ><TT CLASS="PARAMETER" ><I @@ -3096,7 +3109,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#WINSSUPPORT" +HREF="#WINSSUPPORT" ><TT CLASS="PARAMETER" ><I @@ -3108,7 +3121,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#WORKGROUP" +HREF="#WORKGROUP" ><TT CLASS="PARAMETER" ><I @@ -3120,7 +3133,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#WRITERAW" +HREF="#WRITERAW" ><TT CLASS="PARAMETER" ><I @@ -3134,7 +3147,7 @@ CLASS="PARAMETER" ><DIV CLASS="REFSECT1" ><A -NAME="AEN1003" +NAME="AEN1007" ></A ><H2 >COMPLETE LIST OF SERVICE PARAMETERS</H2 @@ -3147,7 +3160,7 @@ NAME="AEN1003" ><LI ><P ><A -HREF="index.html#ADMINUSERS" +HREF="#ADMINUSERS" ><TT CLASS="PARAMETER" ><I @@ -3159,7 +3172,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#ALLOWHOSTS" +HREF="#ALLOWHOSTS" ><TT CLASS="PARAMETER" ><I @@ -3171,7 +3184,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#AVAILABLE" +HREF="#AVAILABLE" ><TT CLASS="PARAMETER" ><I @@ -3183,7 +3196,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#BLOCKINGLOCKS" +HREF="#BLOCKINGLOCKS" ><TT CLASS="PARAMETER" ><I @@ -3195,7 +3208,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#BLOCKSIZE" +HREF="#BLOCKSIZE" ><TT CLASS="PARAMETER" ><I @@ -3207,7 +3220,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#BROWSABLE" +HREF="#BROWSABLE" ><TT CLASS="PARAMETER" ><I @@ -3219,7 +3232,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#BROWSEABLE" +HREF="#BROWSEABLE" ><TT CLASS="PARAMETER" ><I @@ -3231,7 +3244,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#CASESENSITIVE" +HREF="#CASESENSITIVE" ><TT CLASS="PARAMETER" ><I @@ -3243,7 +3256,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#CASESIGNAMES" +HREF="#CASESIGNAMES" ><TT CLASS="PARAMETER" ><I @@ -3255,7 +3268,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#COMMENT" +HREF="#COMMENT" ><TT CLASS="PARAMETER" ><I @@ -3267,7 +3280,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#COPY" +HREF="#COPY" ><TT CLASS="PARAMETER" ><I @@ -3279,7 +3292,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#CREATEMASK" +HREF="#CREATEMASK" ><TT CLASS="PARAMETER" ><I @@ -3291,7 +3304,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#CREATEMODE" +HREF="#CREATEMODE" ><TT CLASS="PARAMETER" ><I @@ -3303,7 +3316,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#CSCPOLICY" +HREF="#CSCPOLICY" ><TT CLASS="PARAMETER" ><I @@ -3315,7 +3328,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#DEFAULTCASE" +HREF="#DEFAULTCASE" ><TT CLASS="PARAMETER" ><I @@ -3327,7 +3340,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#DEFAULTDEVMODE" +HREF="#DEFAULTDEVMODE" ><TT CLASS="PARAMETER" ><I @@ -3339,7 +3352,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#DELETEREADONLY" +HREF="#DELETEREADONLY" ><TT CLASS="PARAMETER" ><I @@ -3351,7 +3364,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#DELETEVETOFILES" +HREF="#DELETEVETOFILES" ><TT CLASS="PARAMETER" ><I @@ -3363,7 +3376,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#DENYHOSTS" +HREF="#DENYHOSTS" ><TT CLASS="PARAMETER" ><I @@ -3375,7 +3388,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#DIRECTORY" +HREF="#DIRECTORY" ><TT CLASS="PARAMETER" ><I @@ -3387,7 +3400,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#DIRECTORYMASK" +HREF="#DIRECTORYMASK" ><TT CLASS="PARAMETER" ><I @@ -3399,7 +3412,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#DIRECTORYMODE" +HREF="#DIRECTORYMODE" ><TT CLASS="PARAMETER" ><I @@ -3411,7 +3424,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#DIRECTORYSECURITYMASK" +HREF="#DIRECTORYSECURITYMASK" ><TT CLASS="PARAMETER" ><I @@ -3423,7 +3436,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#DONTDESCEND" +HREF="#DONTDESCEND" ><TT CLASS="PARAMETER" ><I @@ -3435,7 +3448,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#DOSFILEMODE" +HREF="#DOSFILEMODE" ><TT CLASS="PARAMETER" ><I @@ -3447,7 +3460,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#DOSFILETIMERESOLUTION" +HREF="#DOSFILETIMERESOLUTION" ><TT CLASS="PARAMETER" ><I @@ -3459,7 +3472,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#DOSFILETIMES" +HREF="#DOSFILETIMES" ><TT CLASS="PARAMETER" ><I @@ -3471,7 +3484,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#EXEC" +HREF="#EXEC" ><TT CLASS="PARAMETER" ><I @@ -3483,7 +3496,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#FAKEDIRECTORYCREATETIMES" +HREF="#FAKEDIRECTORYCREATETIMES" ><TT CLASS="PARAMETER" ><I @@ -3495,7 +3508,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#FAKEOPLOCKS" +HREF="#FAKEOPLOCKS" ><TT CLASS="PARAMETER" ><I @@ -3507,7 +3520,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#FOLLOWSYMLINKS" +HREF="#FOLLOWSYMLINKS" ><TT CLASS="PARAMETER" ><I @@ -3519,7 +3532,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#FORCECREATEMODE" +HREF="#FORCECREATEMODE" ><TT CLASS="PARAMETER" ><I @@ -3531,7 +3544,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#FORCEDIRECTORYMODE" +HREF="#FORCEDIRECTORYMODE" ><TT CLASS="PARAMETER" ><I @@ -3543,7 +3556,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#FORCEDIRECTORYSECURITYMODE" +HREF="#FORCEDIRECTORYSECURITYMODE" ><TT CLASS="PARAMETER" ><I @@ -3555,7 +3568,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#FORCEGROUP" +HREF="#FORCEGROUP" ><TT CLASS="PARAMETER" ><I @@ -3567,7 +3580,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#FORCESECURITYMODE" +HREF="#FORCESECURITYMODE" ><TT CLASS="PARAMETER" ><I @@ -3579,7 +3592,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#FORCEUSER" +HREF="#FORCEUSER" ><TT CLASS="PARAMETER" ><I @@ -3591,7 +3604,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#FSTYPE" +HREF="#FSTYPE" ><TT CLASS="PARAMETER" ><I @@ -3603,7 +3616,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#GROUP" +HREF="#GROUP" ><TT CLASS="PARAMETER" ><I @@ -3615,7 +3628,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#GUESTACCOUNT" +HREF="#GUESTACCOUNT" ><TT CLASS="PARAMETER" ><I @@ -3627,7 +3640,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#GUESTOK" +HREF="#GUESTOK" ><TT CLASS="PARAMETER" ><I @@ -3639,7 +3652,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#GUESTONLY" +HREF="#GUESTONLY" ><TT CLASS="PARAMETER" ><I @@ -3651,7 +3664,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#HIDEDOTFILES" +HREF="#HIDEDOTFILES" ><TT CLASS="PARAMETER" ><I @@ -3663,7 +3676,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#HIDEFILES" +HREF="#HIDEFILES" ><TT CLASS="PARAMETER" ><I @@ -3675,7 +3688,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#HOSTSALLOW" +HREF="#HOSTSALLOW" ><TT CLASS="PARAMETER" ><I @@ -3687,7 +3700,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#HOSTSDENY" +HREF="#HOSTSDENY" ><TT CLASS="PARAMETER" ><I @@ -3699,7 +3712,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#INCLUDE" +HREF="#INCLUDE" ><TT CLASS="PARAMETER" ><I @@ -3711,7 +3724,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#INHERITACLS" +HREF="#INHERITACLS" ><TT CLASS="PARAMETER" ><I @@ -3723,7 +3736,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#INHERITPERMISSIONS" +HREF="#INHERITPERMISSIONS" ><TT CLASS="PARAMETER" ><I @@ -3735,7 +3748,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#INVALIDUSERS" +HREF="#INVALIDUSERS" ><TT CLASS="PARAMETER" ><I @@ -3747,7 +3760,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#LEVEL2OPLOCKS" +HREF="#LEVEL2OPLOCKS" ><TT CLASS="PARAMETER" ><I @@ -3759,7 +3772,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#LOCKING" +HREF="#LOCKING" ><TT CLASS="PARAMETER" ><I @@ -3771,7 +3784,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#LPPAUSECOMMAND" +HREF="#LPPAUSECOMMAND" ><TT CLASS="PARAMETER" ><I @@ -3783,7 +3796,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#LPQCOMMAND" +HREF="#LPQCOMMAND" ><TT CLASS="PARAMETER" ><I @@ -3795,7 +3808,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#LPRESUMECOMMAND" +HREF="#LPRESUMECOMMAND" ><TT CLASS="PARAMETER" ><I @@ -3807,7 +3820,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#LPRMCOMMAND" +HREF="#LPRMCOMMAND" ><TT CLASS="PARAMETER" ><I @@ -3819,7 +3832,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#MAGICOUTPUT" +HREF="#MAGICOUTPUT" ><TT CLASS="PARAMETER" ><I @@ -3831,7 +3844,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#MAGICSCRIPT" +HREF="#MAGICSCRIPT" ><TT CLASS="PARAMETER" ><I @@ -3843,7 +3856,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#MANGLECASE" +HREF="#MANGLECASE" ><TT CLASS="PARAMETER" ><I @@ -3855,7 +3868,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#MANGLEDMAP" +HREF="#MANGLEDMAP" ><TT CLASS="PARAMETER" ><I @@ -3867,7 +3880,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#MANGLEDNAMES" +HREF="#MANGLEDNAMES" ><TT CLASS="PARAMETER" ><I @@ -3879,7 +3892,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#MANGLINGCHAR" +HREF="#MANGLINGCHAR" ><TT CLASS="PARAMETER" ><I @@ -3891,7 +3904,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#MANGLINGMETHOD" +HREF="#MANGLINGMETHOD" ><TT CLASS="PARAMETER" ><I @@ -3903,7 +3916,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#MAPARCHIVE" +HREF="#MAPARCHIVE" ><TT CLASS="PARAMETER" ><I @@ -3915,7 +3928,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#MAPHIDDEN" +HREF="#MAPHIDDEN" ><TT CLASS="PARAMETER" ><I @@ -3927,7 +3940,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#MAPSYSTEM" +HREF="#MAPSYSTEM" ><TT CLASS="PARAMETER" ><I @@ -3939,7 +3952,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#MAXCONNECTIONS" +HREF="#MAXCONNECTIONS" ><TT CLASS="PARAMETER" ><I @@ -3951,7 +3964,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#MAXPRINTJOBS" +HREF="#MAXPRINTJOBS" ><TT CLASS="PARAMETER" ><I @@ -3963,7 +3976,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#MINPRINTSPACE" +HREF="#MINPRINTSPACE" ><TT CLASS="PARAMETER" ><I @@ -3975,7 +3988,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#MSDFSROOT" +HREF="#MSDFSROOT" ><TT CLASS="PARAMETER" ><I @@ -3987,7 +4000,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#NTACLSUPPORT" +HREF="#NTACLSUPPORT" ><TT CLASS="PARAMETER" ><I @@ -3999,7 +4012,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#ONLYGUEST" +HREF="#ONLYGUEST" ><TT CLASS="PARAMETER" ><I @@ -4011,7 +4024,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#ONLYUSER" +HREF="#ONLYUSER" ><TT CLASS="PARAMETER" ><I @@ -4023,7 +4036,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#OPLOCKCONTENTIONLIMIT" +HREF="#OPLOCKCONTENTIONLIMIT" ><TT CLASS="PARAMETER" ><I @@ -4035,7 +4048,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#OPLOCKS" +HREF="#OPLOCKS" ><TT CLASS="PARAMETER" ><I @@ -4047,7 +4060,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#PATH" +HREF="#PATH" ><TT CLASS="PARAMETER" ><I @@ -4059,7 +4072,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#POSIXLOCKING" +HREF="#POSIXLOCKING" ><TT CLASS="PARAMETER" ><I @@ -4071,7 +4084,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#POSTEXEC" +HREF="#POSTEXEC" ><TT CLASS="PARAMETER" ><I @@ -4083,7 +4096,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#POSTSCRIPT" +HREF="#POSTSCRIPT" ><TT CLASS="PARAMETER" ><I @@ -4095,7 +4108,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#PREEXEC" +HREF="#PREEXEC" ><TT CLASS="PARAMETER" ><I @@ -4107,7 +4120,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#PREEXECCLOSE" +HREF="#PREEXECCLOSE" ><TT CLASS="PARAMETER" ><I @@ -4119,7 +4132,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#PRESERVECASE" +HREF="#PRESERVECASE" ><TT CLASS="PARAMETER" ><I @@ -4131,7 +4144,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#PRINTCOMMAND" +HREF="#PRINTCOMMAND" ><TT CLASS="PARAMETER" ><I @@ -4143,7 +4156,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#PRINTOK" +HREF="#PRINTOK" ><TT CLASS="PARAMETER" ><I @@ -4155,7 +4168,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#PRINTABLE" +HREF="#PRINTABLE" ><TT CLASS="PARAMETER" ><I @@ -4167,7 +4180,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#PRINTER" +HREF="#PRINTER" ><TT CLASS="PARAMETER" ><I @@ -4179,7 +4192,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#PRINTERADMIN" +HREF="#PRINTERADMIN" ><TT CLASS="PARAMETER" ><I @@ -4191,7 +4204,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#PRINTERDRIVER" +HREF="#PRINTERDRIVER" ><TT CLASS="PARAMETER" ><I @@ -4203,7 +4216,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#PRINTERDRIVERLOCATION" +HREF="#PRINTERDRIVERLOCATION" ><TT CLASS="PARAMETER" ><I @@ -4215,7 +4228,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#PRINTERNAME" +HREF="#PRINTERNAME" ><TT CLASS="PARAMETER" ><I @@ -4227,7 +4240,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#PRINTING" +HREF="#PRINTING" ><TT CLASS="PARAMETER" ><I @@ -4239,7 +4252,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#PUBLIC" +HREF="#PUBLIC" ><TT CLASS="PARAMETER" ><I @@ -4251,7 +4264,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#QUEUEPAUSECOMMAND" +HREF="#QUEUEPAUSECOMMAND" ><TT CLASS="PARAMETER" ><I @@ -4263,7 +4276,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#QUEUERESUMECOMMAND" +HREF="#QUEUERESUMECOMMAND" ><TT CLASS="PARAMETER" ><I @@ -4275,7 +4288,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#READLIST" +HREF="#READLIST" ><TT CLASS="PARAMETER" ><I @@ -4287,7 +4300,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#READONLY" +HREF="#READONLY" ><TT CLASS="PARAMETER" ><I @@ -4299,7 +4312,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#ROOTPOSTEXEC" +HREF="#ROOTPOSTEXEC" ><TT CLASS="PARAMETER" ><I @@ -4311,7 +4324,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#ROOTPREEXEC" +HREF="#ROOTPREEXEC" ><TT CLASS="PARAMETER" ><I @@ -4323,7 +4336,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#ROOTPREEXECCLOSE" +HREF="#ROOTPREEXECCLOSE" ><TT CLASS="PARAMETER" ><I @@ -4335,7 +4348,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#SECURITYMASK" +HREF="#SECURITYMASK" ><TT CLASS="PARAMETER" ><I @@ -4347,7 +4360,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#SETDIRECTORY" +HREF="#SETDIRECTORY" ><TT CLASS="PARAMETER" ><I @@ -4359,7 +4372,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#SHAREMODES" +HREF="#SHAREMODES" ><TT CLASS="PARAMETER" ><I @@ -4371,7 +4384,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#SHORTPRESERVECASE" +HREF="#SHORTPRESERVECASE" ><TT CLASS="PARAMETER" ><I @@ -4383,19 +4396,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#STATUS" -><TT -CLASS="PARAMETER" -><I ->status</I -></TT -></A -></P -></LI -><LI -><P -><A -HREF="index.html#STRICTALLOCATE" +HREF="#STRICTALLOCATE" ><TT CLASS="PARAMETER" ><I @@ -4407,7 +4408,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#STRICTLOCKING" +HREF="#STRICTLOCKING" ><TT CLASS="PARAMETER" ><I @@ -4419,7 +4420,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#STRICTSYNC" +HREF="#STRICTSYNC" ><TT CLASS="PARAMETER" ><I @@ -4431,7 +4432,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#SYNCALWAYS" +HREF="#SYNCALWAYS" ><TT CLASS="PARAMETER" ><I @@ -4443,7 +4444,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#USECLIENTDRIVER" +HREF="#USECLIENTDRIVER" ><TT CLASS="PARAMETER" ><I @@ -4455,7 +4456,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#USER" +HREF="#USER" ><TT CLASS="PARAMETER" ><I @@ -4467,7 +4468,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#USERNAME" +HREF="#USERNAME" ><TT CLASS="PARAMETER" ><I @@ -4479,7 +4480,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#USERS" +HREF="#USERS" ><TT CLASS="PARAMETER" ><I @@ -4491,7 +4492,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#VALIDUSERS" +HREF="#VALIDUSERS" ><TT CLASS="PARAMETER" ><I @@ -4503,7 +4504,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#VETOFILES" +HREF="#VETOFILES" ><TT CLASS="PARAMETER" ><I @@ -4515,7 +4516,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#VETOOPLOCKFILES" +HREF="#VETOOPLOCKFILES" ><TT CLASS="PARAMETER" ><I @@ -4527,7 +4528,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#VFSPATH" +HREF="#VFSPATH" ><TT CLASS="PARAMETER" ><I @@ -4539,7 +4540,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#VFSOBJECT" +HREF="#VFSOBJECT" ><TT CLASS="PARAMETER" ><I @@ -4551,7 +4552,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#VFSOPTIONS" +HREF="#VFSOPTIONS" ><TT CLASS="PARAMETER" ><I @@ -4563,7 +4564,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#VOLUME" +HREF="#VOLUME" ><TT CLASS="PARAMETER" ><I @@ -4575,7 +4576,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#WIDELINKS" +HREF="#WIDELINKS" ><TT CLASS="PARAMETER" ><I @@ -4587,7 +4588,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#WRITABLE" +HREF="#WRITABLE" ><TT CLASS="PARAMETER" ><I @@ -4599,7 +4600,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#WRITECACHESIZE" +HREF="#WRITECACHESIZE" ><TT CLASS="PARAMETER" ><I @@ -4611,7 +4612,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#WRITELIST" +HREF="#WRITELIST" ><TT CLASS="PARAMETER" ><I @@ -4623,7 +4624,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#WRITEOK" +HREF="#WRITEOK" ><TT CLASS="PARAMETER" ><I @@ -4635,7 +4636,7 @@ CLASS="PARAMETER" ><LI ><P ><A -HREF="index.html#WRITEABLE" +HREF="#WRITEABLE" ><TT CLASS="PARAMETER" ><I @@ -4682,7 +4683,7 @@ CLASS="COMMAND" ></A > that should stop a shutdown procedure issued by the <A -HREF="index.html#SHUTDOWNSCRIPT" +HREF="#SHUTDOWNSCRIPT" ><TT CLASS="PARAMETER" ><I @@ -4838,7 +4839,7 @@ CLASS="COMMAND" > will return an ACCESS_DENIED error to the client.</P ><P >See also <A -HREF="index.html#DELETEPRINTERCOMMAND" +HREF="#DELETEPRINTERCOMMAND" ><TT CLASS="PARAMETER" ><I @@ -4846,7 +4847,7 @@ CLASS="PARAMETER" ></TT ></A >, <A -HREF="index.html#PRINTING" +HREF="#PRINTING" ><TT CLASS="PARAMETER" ><I @@ -4855,7 +4856,7 @@ CLASS="PARAMETER" ></A >, <A -HREF="index.html#SHOWADDPRINTERWIZARD" +HREF="#SHOWADDPRINTERWIZARD" ><TT CLASS="PARAMETER" ><I @@ -4977,7 +4978,7 @@ CLASS="PARAMETER" ><P > This parameter is only used for add file shares. To add printer shares, see the <A -HREF="index.html#ADDPRINTERCOMMAND" +HREF="#ADDPRINTERCOMMAND" ><TT CLASS="PARAMETER" ><I @@ -4989,7 +4990,7 @@ CLASS="PARAMETER" </P ><P > See also <A -HREF="index.html#CHANGESHARECOMMAND" +HREF="#CHANGESHARECOMMAND" ><TT CLASS="PARAMETER" ><I @@ -4998,7 +4999,7 @@ CLASS="PARAMETER" ></TT ></A >, <A -HREF="index.html#DELETESHARECOMMAND" +HREF="#DELETESHARECOMMAND" ><TT CLASS="PARAMETER" ><I @@ -5195,7 +5196,7 @@ CLASS="COMMAND" match existing Windows NT accounts.</P ><P >See also <A -HREF="index.html#SECURITY" +HREF="#SECURITY" ><TT CLASS="PARAMETER" ><I @@ -5203,7 +5204,7 @@ CLASS="PARAMETER" ></TT ></A >, <A -HREF="index.html#PASSWORDSERVER" +HREF="#PASSWORDSERVER" > <TT CLASS="PARAMETER" ><I @@ -5212,7 +5213,7 @@ CLASS="PARAMETER" ></A >, <A -HREF="index.html#DELETEUSERSCRIPT" +HREF="#DELETEUSERSCRIPT" ><TT CLASS="PARAMETER" ><I @@ -5252,12 +5253,20 @@ CLASS="EMPHASIS" HREF="smbd.8.html" TARGET="_top" >smbd(8)</A -> when a new group is requested. It will expand any <TT +> when a new group is + requested. It will expand any + <TT CLASS="PARAMETER" ><I >%g</I ></TT -> to the group name passed. This script is only useful for installations using the Windows NT domain administration tools. +> to the group name passed. + This script is only useful for installations using the + Windows NT domain administration tools. The script is + free to create a group with an arbitrary name to + circumvent unix group name restrictions. In that case + the script must print the numeric gid of the created + group on stdout. </P ></DD ><DT @@ -5341,7 +5350,7 @@ NAME="ALLOWHOSTS" ><DD ><P >Synonym for <A -HREF="index.html#HOSTSALLOW" +HREF="#HOSTSALLOW" > <TT CLASS="PARAMETER" ><I @@ -5390,7 +5399,7 @@ NAME="ALLOWTRUSTEDDOMAINS" ><DD ><P >This option only takes effect when the <A -HREF="index.html#SECURITY" +HREF="#SECURITY" ><TT CLASS="PARAMETER" ><I @@ -5494,7 +5503,7 @@ NAME="AUTOSERVICES" ><DD ><P >This is a synonym for the <A -HREF="index.html#PRELOAD" +HREF="#PRELOAD" > <TT CLASS="PARAMETER" ><I @@ -5516,7 +5525,7 @@ CLASS="COMMAND" >smbd</B > will use when authenticating a user. This option defaults to sensible values based on <A -HREF="index.html#SECURITY" +HREF="#SECURITY" ><TT CLASS="PARAMETER" ><I @@ -5594,7 +5603,7 @@ CLASS="COMMAND" >nmbd</B > to bind to ports 137 and 138 on the interfaces listed in the <A -HREF="index.html#INTERFACES" +HREF="#INTERFACES" >interfaces</A > parameter. <B CLASS="COMMAND" @@ -5648,7 +5657,7 @@ TARGET="_top" >smbd(8)</A > to bind only to the interface list given in the <A -HREF="index.html#INTERFACES" +HREF="#INTERFACES" > interfaces</A > parameter. This restricts the networks that <B @@ -5826,7 +5835,7 @@ TARGET="_top" ><P >If this parameter is set to <TT CLASS="CONSTANT" ->false</TT +>no</TT >, then Samba 2.2 will behave as previous versions of Samba would and will fail the lock request immediately if the lock range @@ -5882,7 +5891,7 @@ NAME="BROWSABLE" ><DD ><P >See the <A -HREF="index.html#BROWSEABLE" +HREF="#BROWSEABLE" ><TT CLASS="PARAMETER" ><I @@ -5912,7 +5921,7 @@ CLASS="COMMAND" > call. Normally set to <TT CLASS="CONSTANT" ->true</TT +>yes</TT >. You should never need to change this.</P ><P @@ -5944,7 +5953,7 @@ NAME="CASESENSITIVE" ><DD ><P >See the discussion in the section <A -HREF="index.html#AEN203" +HREF="#AEN203" >NAME MANGLING</A >.</P ><P @@ -5961,7 +5970,7 @@ NAME="CASESIGNAMES" ><DD ><P >Synonym for <A -HREF="index.html#CASESENSITIVE" +HREF="#CASESENSITIVE" >case sensitive</A >.</P @@ -6105,7 +6114,7 @@ CLASS="PARAMETER" </P ><P > See also <A -HREF="index.html#ADDSHARECOMMAND" +HREF="#ADDSHARECOMMAND" ><TT CLASS="PARAMETER" ><I @@ -6114,7 +6123,7 @@ CLASS="PARAMETER" ></TT ></A >, <A -HREF="index.html#DELETESHARECOMMAND" +HREF="#DELETESHARECOMMAND" ><TT CLASS="PARAMETER" ><I @@ -6155,7 +6164,7 @@ CLASS="COMMAND" ><P >If you want to set the string that is displayed next to the machine name then see the <A -HREF="index.html#SERVERSTRING" +HREF="#SERVERSTRING" ><TT CLASS="PARAMETER" ><I @@ -6248,7 +6257,7 @@ NAME="CREATEMASK" ><P >A synonym for this parameter is <A -HREF="index.html#CREATEMODE" +HREF="#CREATEMODE" ><TT CLASS="PARAMETER" ><I @@ -6277,7 +6286,7 @@ CLASS="EMPHASIS" ><P >Following this Samba will bit-wise 'OR' the UNIX mode created from this parameter with the value of the <A -HREF="index.html#FORCECREATEMODE" +HREF="#FORCECREATEMODE" ><TT CLASS="PARAMETER" ><I @@ -6289,7 +6298,7 @@ CLASS="PARAMETER" ><P >This parameter does not affect directory modes. See the parameter <A -HREF="index.html#DIRECTORYMODE" +HREF="#DIRECTORYMODE" ><TT CLASS="PARAMETER" ><I @@ -6300,7 +6309,7 @@ CLASS="PARAMETER" > for details.</P ><P >See also the <A -HREF="index.html#FORCECREATEMODE" +HREF="#FORCECREATEMODE" ><TT CLASS="PARAMETER" ><I @@ -6310,7 +6319,7 @@ CLASS="PARAMETER" ></A > parameter for forcing particular mode bits to be set on created files. See also the <A -HREF="index.html#DIRECTORYMODE" +HREF="#DIRECTORYMODE" > <TT CLASS="PARAMETER" ><I @@ -6319,7 +6328,7 @@ CLASS="PARAMETER" ></A > parameter for masking mode bits on created directories. See also the <A -HREF="index.html#INHERITPERMISSIONS" +HREF="#INHERITPERMISSIONS" > <TT CLASS="PARAMETER" ><I @@ -6331,7 +6340,7 @@ CLASS="PARAMETER" >Note that this parameter does not apply to permissions set by Windows NT/2000 ACL editors. If the administrator wishes to enforce a mask on access control lists also, they need to set the <A -HREF="index.html#SECURITYMASK" +HREF="#SECURITYMASK" ><TT CLASS="PARAMETER" ><I @@ -6358,7 +6367,7 @@ NAME="CREATEMODE" ><DD ><P >This is a synonym for <A -HREF="index.html#CREATEMASK" +HREF="#CREATEMASK" ><TT CLASS="PARAMETER" ><I @@ -6453,7 +6462,7 @@ NAME="DEBUGHIRESTIMESTAMP" message header when turned on.</P ><P >Note that the parameter <A -HREF="index.html#DEBUGTIMESTAMP" +HREF="#DEBUGTIMESTAMP" ><TT CLASS="PARAMETER" ><I @@ -6485,7 +6494,7 @@ TARGET="_top" to the timestamp message headers in the logfile when turned on.</P ><P >Note that the parameter <A -HREF="index.html#DEBUGTIMESTAMP" +HREF="#DEBUGTIMESTAMP" ><TT CLASS="PARAMETER" ><I @@ -6509,7 +6518,7 @@ NAME="DEBUGTIMESTAMP" ><P >Samba 2.2 debug log messages are timestamped by default. If you are running at a high <A -HREF="index.html#DEBUGLEVEL" +HREF="#DEBUGLEVEL" > <TT CLASS="PARAMETER" ><I @@ -6538,7 +6547,7 @@ NAME="DEBUGUID" in the log file if turned on.</P ><P >Note that the parameter <A -HREF="index.html#DEBUGTIMESTAMP" +HREF="#DEBUGTIMESTAMP" ><TT CLASS="PARAMETER" ><I @@ -6561,7 +6570,7 @@ NAME="DEBUGLEVEL" ><DD ><P >Synonym for <A -HREF="index.html#LOGLEVEL" +HREF="#LOGLEVEL" ><TT CLASS="PARAMETER" ><I @@ -6578,7 +6587,7 @@ NAME="DEFAULT" ><DD ><P >A synonym for <A -HREF="index.html#DEFAULTSERVICE" +HREF="#DEFAULTSERVICE" ><TT CLASS="PARAMETER" ><I @@ -6595,10 +6604,10 @@ NAME="DEFAULTCASE" ><DD ><P >See the section on <A -HREF="index.html#AEN203" +HREF="#AEN203" > NAME MANGLING</A >. Also note the <A -HREF="index.html#SHORTPRESERVECASE" +HREF="#SHORTPRESERVECASE" > <TT CLASS="PARAMETER" ><I @@ -6620,7 +6629,7 @@ NAME="DEFAULTDEVMODE" ><DD ><P >This parameter is only applicable to <A -HREF="index.html#PRINTOK" +HREF="#PRINTOK" >printable</A > services. When smbd is serving Printer Drivers to Windows NT/2k/XP clients, each printer on the Samba @@ -6686,7 +6695,7 @@ CLASS="EMPHASIS" service results in an error.</P ><P >Typically the default service would be a <A -HREF="index.html#GUESTOK" +HREF="#GUESTOK" > <TT CLASS="PARAMETER" ><I @@ -6694,7 +6703,7 @@ CLASS="PARAMETER" ></TT ></A >, <A -HREF="index.html#READONLY" +HREF="#READONLY" > <TT CLASS="PARAMETER" ><I @@ -6814,7 +6823,7 @@ CLASS="COMMAND" > will return an ACCESS_DENIED error to the client.</P ><P >See also <A -HREF="index.html#ADDPRINTERCOMMAND" +HREF="#ADDPRINTERCOMMAND" ><TT CLASS="PARAMETER" ><I @@ -6822,7 +6831,7 @@ CLASS="PARAMETER" ></TT ></A >, <A -HREF="index.html#PRINTING" +HREF="#PRINTING" ><TT CLASS="PARAMETER" ><I @@ -6831,7 +6840,7 @@ CLASS="PARAMETER" ></A >, <A -HREF="index.html#SHOWADDPRINTERWIZARD" +HREF="#SHOWADDPRINTERWIZARD" ><TT CLASS="PARAMETER" ><I @@ -6950,7 +6959,7 @@ CLASS="PARAMETER" ><P > This parameter is only used to remove file shares. To delete printer shares, see the <A -HREF="index.html#DELETEPRINTERCOMMAND" +HREF="#DELETEPRINTERCOMMAND" ><TT CLASS="PARAMETER" ><I @@ -6962,7 +6971,7 @@ CLASS="PARAMETER" </P ><P > See also <A -HREF="index.html#ADDSHARECOMMAND" +HREF="#ADDSHARECOMMAND" ><TT CLASS="PARAMETER" ><I @@ -6971,7 +6980,7 @@ CLASS="PARAMETER" ></TT ></A >, <A -HREF="index.html#CHANGESHARECOMMAND" +HREF="#CHANGESHARECOMMAND" ><TT CLASS="PARAMETER" ><I @@ -7092,7 +7101,7 @@ NAME="DELETEVETOFILES" >This option is used when Samba is attempting to delete a directory that contains one or more vetoed directories (see the <A -HREF="index.html#VETOFILES" +HREF="#VETOFILES" ><TT CLASS="PARAMETER" ><I @@ -7102,14 +7111,14 @@ CLASS="PARAMETER" > option). If this option is set to <TT CLASS="CONSTANT" ->false</TT +>no</TT > (the default) then if a vetoed directory contains any non-vetoed files or directories then the directory delete will fail. This is usually what you want.</P ><P >If this option is set to <TT CLASS="CONSTANT" ->true</TT +>yes</TT >, then Samba will attempt to recursively delete any files and directories within the vetoed directory. This can be useful for integration with file @@ -7128,7 +7137,7 @@ CLASS="COMMAND" is deleted (so long as the user has permissions to do so).</P ><P >See also the <A -HREF="index.html#VETOFILES" +HREF="#VETOFILES" ><TT CLASS="PARAMETER" ><I @@ -7151,7 +7160,7 @@ NAME="DENYHOSTS" ><DD ><P >Synonym for <A -HREF="index.html#HOSTSDENY" +HREF="#HOSTSDENY" ><TT CLASS="PARAMETER" ><I @@ -7252,7 +7261,7 @@ NAME="DIRECTORY" ><DD ><P >Synonym for <A -HREF="index.html#PATH" +HREF="#PATH" ><TT CLASS="PARAMETER" ><I @@ -7293,7 +7302,7 @@ CLASS="EMPHASIS" ><P >Following this Samba will bit-wise 'OR' the UNIX mode created from this parameter with the value of the <A -HREF="index.html#FORCEDIRECTORYMODE" +HREF="#FORCEDIRECTORYMODE" ><TT CLASS="PARAMETER" ><I @@ -7307,7 +7316,7 @@ CLASS="PARAMETER" >Note that this parameter does not apply to permissions set by Windows NT/2000 ACL editors. If the administrator wishes to enforce a mask on access control lists also, they need to set the <A -HREF="index.html#DIRECTORYSECURITYMASK" +HREF="#DIRECTORYSECURITYMASK" ><TT CLASS="PARAMETER" ><I @@ -7317,7 +7326,7 @@ CLASS="PARAMETER" >.</P ><P >See the <A -HREF="index.html#FORCEDIRECTORYMODE" +HREF="#FORCEDIRECTORYMODE" ><TT CLASS="PARAMETER" ><I @@ -7329,7 +7338,7 @@ CLASS="PARAMETER" bits to always be set on created directories.</P ><P >See also the <A -HREF="index.html#CREATEMODE" +HREF="#CREATEMODE" ><TT CLASS="PARAMETER" ><I @@ -7339,7 +7348,7 @@ CLASS="PARAMETER" ></A > parameter for masking mode bits on created files, and the <A -HREF="index.html#DIRECTORYSECURITYMASK" +HREF="#DIRECTORYSECURITYMASK" ><TT CLASS="PARAMETER" ><I @@ -7350,7 +7359,7 @@ CLASS="PARAMETER" > parameter.</P ><P >Also refer to the <A -HREF="index.html#INHERITPERMISSIONS" +HREF="#INHERITPERMISSIONS" ><TT CLASS="PARAMETER" ><I @@ -7377,7 +7386,7 @@ NAME="DIRECTORYMODE" ><DD ><P >Synonym for <A -HREF="index.html#DIRECTORYMASK" +HREF="#DIRECTORYMASK" ><TT CLASS="PARAMETER" ><I @@ -7424,7 +7433,7 @@ CLASS="CONSTANT" >.</P ><P >See also the <A -HREF="index.html#FORCEDIRECTORYSECURITYMODE" +HREF="#FORCEDIRECTORYSECURITYMODE" ><TT CLASS="PARAMETER" ><I @@ -7432,7 +7441,7 @@ CLASS="PARAMETER" ></TT ></A >, <A -HREF="index.html#SECURITYMASK" +HREF="#SECURITYMASK" ><TT CLASS="PARAMETER" ><I @@ -7441,7 +7450,7 @@ CLASS="PARAMETER" ></A >, <A -HREF="index.html#FORCESECURITYMODE" +HREF="#FORCESECURITYMODE" ><TT CLASS="PARAMETER" ><I @@ -7512,7 +7521,7 @@ CLASS="EMPHASIS" </P ><P >See also <A -HREF="index.html#USECLIENTDRIVER" +HREF="#USECLIENTDRIVER" >use client driver</A > </P @@ -7576,7 +7585,7 @@ CLASS="COMMAND" action.</P ><P >See also the parameter <A -HREF="index.html#WINSSUPPORT" +HREF="#WINSSUPPORT" ><TT CLASS="PARAMETER" ><I @@ -7592,112 +7601,6 @@ CLASS="COMMAND" ></DD ><DT ><A -NAME="DOMAINADMINGROUP" -></A ->domain admin group (G)</DT -><DD -><P ->This parameter is intended as a temporary solution - to enable users to be a member of the "Domain Admins" group when - a Samba host is acting as a PDC. A complete solution will be provided - by a system for mapping Windows NT/2000 groups onto UNIX groups. - Please note that this parameter has a somewhat confusing name. It - accepts a list of usernames and of group names in standard - <TT -CLASS="FILENAME" ->smb.conf</TT -> notation. - </P -><P ->See also <A -HREF="index.html#DOMAINGUESTGROUP" -><TT -CLASS="PARAMETER" -><I ->domain - guest group</I -></TT -></A ->, <A -HREF="index.html#DOMAINLOGONS" -><TT -CLASS="PARAMETER" -><I ->domain - logons</I -></TT -></A -> - </P -><P ->Default: <SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->no domain administrators</I -></SPAN -></P -><P ->Example: <B -CLASS="COMMAND" ->domain admin group = root @wheel</B -></P -></DD -><DT -><A -NAME="DOMAINGUESTGROUP" -></A ->domain guest group (G)</DT -><DD -><P ->This parameter is intended as a temporary solution - to enable users to be a member of the "Domain Guests" group when - a Samba host is acting as a PDC. A complete solution will be provided - by a system for mapping Windows NT/2000 groups onto UNIX groups. - Please note that this parameter has a somewhat confusing name. It - accepts a list of usernames and of group names in standard - <TT -CLASS="FILENAME" ->smb.conf</TT -> notation. - </P -><P ->See also <A -HREF="index.html#DOMAINADMINGROUP" -><TT -CLASS="PARAMETER" -><I ->domain - admin group</I -></TT -></A ->, <A -HREF="index.html#DOMAINLOGONS" -><TT -CLASS="PARAMETER" -><I ->domain - logons</I -></TT -></A -> - </P -><P ->Default: <SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->no domain guests</I -></SPAN -></P -><P ->Example: <B -CLASS="COMMAND" ->domain guest group = nobody @guest</B -></P -></DD -><DT -><A NAME="DOMAINLOGONS" ></A >domain logons (G)</DT @@ -7705,10 +7608,10 @@ NAME="DOMAINLOGONS" ><P >If set to <TT CLASS="CONSTANT" ->true</TT +>yes</TT >, the Samba server will serve Windows 95/98 Domain logons for the <A -HREF="index.html#WORKGROUP" +HREF="#WORKGROUP" > <TT CLASS="PARAMETER" ><I @@ -7750,7 +7653,7 @@ CLASS="COMMAND" > to claim a special domain specific NetBIOS name that identifies it as a domain master browser for its given <A -HREF="index.html#WORKGROUP" +HREF="#WORKGROUP" > <TT CLASS="PARAMETER" ><I @@ -7810,7 +7713,7 @@ CLASS="PARAMETER" strangely and may fail.</P ><P >If <A -HREF="index.html#DOMAINLOGONS" +HREF="#DOMAINLOGONS" ><B CLASS="COMMAND" >domain logons = yes</B @@ -7980,7 +7883,7 @@ CLASS="COMMAND" > is acting on behalf of is not the file owner. Setting this option to <TT CLASS="CONSTANT" -> true</TT +> yes</TT > allows DOS semantics and <A HREF="smbd.8.html" TARGET="_top" @@ -8036,7 +7939,7 @@ CLASS="COMMAND" ></A > program for information on how to set up and maintain this file), or set the <A -HREF="index.html#SECURITY" +HREF="#SECURITY" >security = [server|domain|ads]</A > parameter which causes <B @@ -8139,7 +8042,7 @@ NAME="EXEC" ><DD ><P >This is a synonym for <A -HREF="index.html#PREEXEC" +HREF="#PREEXEC" > <TT CLASS="PARAMETER" ><I @@ -8216,7 +8119,7 @@ CLASS="COMMAND" the file.</P ><P >It is generally much better to use the real <A -HREF="index.html#OPLOCKS" +HREF="#OPLOCKS" ><TT CLASS="PARAMETER" ><I @@ -8308,7 +8211,7 @@ CLASS="PARAMETER" parameter is applied.</P ><P >See also the parameter <A -HREF="index.html#CREATEMASK" +HREF="#CREATEMASK" ><TT CLASS="PARAMETER" ><I @@ -8319,7 +8222,7 @@ CLASS="PARAMETER" > for details on masking mode bits on files.</P ><P >See also the <A -HREF="index.html#INHERITPERMISSIONS" +HREF="#INHERITPERMISSIONS" ><TT CLASS="PARAMETER" ><I @@ -8371,7 +8274,7 @@ CLASS="PARAMETER" applied.</P ><P >See also the parameter <A -HREF="index.html#DIRECTORYMASK" +HREF="#DIRECTORYMASK" ><TT CLASS="PARAMETER" ><I @@ -8382,7 +8285,7 @@ CLASS="PARAMETER" on created directories.</P ><P >See also the <A -HREF="index.html#INHERITPERMISSIONS" +HREF="#INHERITPERMISSIONS" ><TT CLASS="PARAMETER" ><I @@ -8439,7 +8342,7 @@ CLASS="EMPHASIS" it set as 0000.</P ><P >See also the <A -HREF="index.html#DIRECTORYSECURITYMASK" +HREF="#DIRECTORYSECURITYMASK" ><TT CLASS="PARAMETER" ><I @@ -8447,7 +8350,7 @@ CLASS="PARAMETER" ></TT ></A >, <A -HREF="index.html#SECURITYMASK" +HREF="#SECURITYMASK" > <TT CLASS="PARAMETER" ><I @@ -8456,7 +8359,7 @@ CLASS="PARAMETER" ></A >, <A -HREF="index.html#FORCESECURITYMODE" +HREF="#FORCESECURITYMODE" ><TT CLASS="PARAMETER" ><I @@ -8508,7 +8411,7 @@ CLASS="FILENAME" other users will retain their ordinary primary group.</P ><P >If the <A -HREF="index.html#FORCEUSER" +HREF="#FORCEUSER" ><TT CLASS="PARAMETER" ><I @@ -8531,7 +8434,7 @@ CLASS="PARAMETER" >.</P ><P >See also <A -HREF="index.html#FORCEUSER" +HREF="#FORCEUSER" ><TT CLASS="PARAMETER" ><I @@ -8589,7 +8492,7 @@ CLASS="EMPHASIS" this set to 0000.</P ><P >See also the <A -HREF="index.html#FORCEDIRECTORYSECURITYMODE" +HREF="#FORCEDIRECTORYSECURITYMODE" ><TT CLASS="PARAMETER" ><I @@ -8598,7 +8501,7 @@ CLASS="PARAMETER" ></A >, <A -HREF="index.html#DIRECTORYSECURITYMASK" +HREF="#DIRECTORYSECURITYMASK" ><TT CLASS="PARAMETER" ><I @@ -8607,7 +8510,7 @@ CLASS="PARAMETER" ></TT ></A >, <A -HREF="index.html#SECURITYMASK" +HREF="#SECURITYMASK" ><TT CLASS="PARAMETER" ><I @@ -8650,7 +8553,7 @@ NAME="FORCEUSER" as the primary group of the connecting user (this was a bug).</P ><P >See also <A -HREF="index.html#FORCEGROUP" +HREF="#FORCEGROUP" ><TT CLASS="PARAMETER" ><I @@ -8726,7 +8629,7 @@ NAME="GETWDCACHE" caching algorithm will be used to reduce the time taken for getwd() calls. This can have a significant impact on performance, especially when the <A -HREF="index.html#WIDELINKS" +HREF="#WIDELINKS" ><TT CLASS="PARAMETER" ><I @@ -8736,7 +8639,7 @@ CLASS="PARAMETER" </A >parameter is set to <TT CLASS="CONSTANT" ->false</TT +>no</TT >.</P ><P >Default: <B @@ -8752,7 +8655,7 @@ NAME="GROUP" ><DD ><P >Synonym for <A -HREF="index.html#FORCEGROUP" +HREF="#FORCEGROUP" ><TT CLASS="PARAMETER" ><I @@ -8771,7 +8674,7 @@ NAME="GUESTACCOUNT" ><P >This is a username which will be used for access to services which are specified as <A -HREF="index.html#GUESTOK" +HREF="#GUESTOK" ><TT CLASS="PARAMETER" ><I @@ -8800,9 +8703,9 @@ CLASS="COMMAND" > lp(1)</B >.</P ><P ->This paramater does not accept % marcos, becouse +>This paramater does not accept % macros, because many parts of the system require this value to be - constant for correct operation</P + constant for correct operation.</P ><P >Default: <SPAN CLASS="emphasis" @@ -8831,7 +8734,7 @@ CLASS="CONSTANT" > for a service, then no password is required to connect to the service. Privileges will be those of the <A -HREF="index.html#GUESTACCOUNT" +HREF="#GUESTACCOUNT" ><TT CLASS="PARAMETER" ><I @@ -8841,7 +8744,7 @@ CLASS="PARAMETER" >.</P ><P >See the section below on <A -HREF="index.html#SECURITY" +HREF="#SECURITY" ><TT CLASS="PARAMETER" ><I @@ -8869,7 +8772,7 @@ CLASS="CONSTANT" > for a service, then only guest connections to the service are permitted. This parameter will have no effect if <A -HREF="index.html#GUESTOK" +HREF="#GUESTOK" > <TT CLASS="PARAMETER" ><I @@ -8879,7 +8782,7 @@ CLASS="PARAMETER" > is not set for the service.</P ><P >See the section below on <A -HREF="index.html#SECURITY" +HREF="#SECURITY" ><TT CLASS="PARAMETER" ><I @@ -8936,7 +8839,7 @@ NAME="HIDEFILES" as they are scanned.</P ><P >See also <A -HREF="index.html#HIDEDOTFILES" +HREF="#HIDEDOTFILES" ><TT CLASS="PARAMETER" ><I @@ -8945,7 +8848,7 @@ CLASS="PARAMETER" ></TT ></A >, <A -HREF="index.html#VETOFILES" +HREF="#VETOFILES" ><TT CLASS="PARAMETER" ><I @@ -8953,7 +8856,7 @@ CLASS="PARAMETER" ></TT ></A > and <A -HREF="index.html#CASESENSITIVE" +HREF="#CASESENSITIVE" > <TT CLASS="PARAMETER" ><I @@ -9034,13 +8937,30 @@ CLASS="COMMAND" ></DD ><DT ><A +NAME="HIDESPECIALFILES" +></A +>hide special files (G)</DT +><DD +><P +>This parameter prevents clients from seeing + special files such as sockets, devices and fifo's in directory + listings. + </P +><P +>Default: <B +CLASS="COMMAND" +>hide special files = no</B +></P +></DD +><DT +><A NAME="HOMEDIRMAP" ></A >homedir map (G)</DT ><DD ><P >If<A -HREF="index.html#NISHOMEDIR" +HREF="#NISHOMEDIR" ><TT CLASS="PARAMETER" ><I @@ -9050,7 +8970,7 @@ CLASS="PARAMETER" ></A > is <TT CLASS="CONSTANT" ->true</TT +>yes</TT >, and <A HREF="smbd.8.html" TARGET="_top" @@ -9089,7 +9009,7 @@ CLASS="EMPHASIS" the system for this option to work.</P ><P >See also <A -HREF="index.html#NISHOMEDIR" +HREF="#NISHOMEDIR" ><TT CLASS="PARAMETER" ><I @@ -9098,7 +9018,7 @@ CLASS="PARAMETER" > </A >, <A -HREF="index.html#DOMAINLOGONS" +HREF="#DOMAINLOGONS" ><TT CLASS="PARAMETER" ><I @@ -9137,7 +9057,7 @@ CLASS="CONSTANT" to browse Dfs trees hosted on the server.</P ><P >See also the <A -HREF="index.html#MSDFSROOT" +HREF="#MSDFSROOT" ><TT CLASS="PARAMETER" ><I @@ -9225,7 +9145,7 @@ CLASS="FILENAME" ><P >Note that the localhost address 127.0.0.1 will always be allowed access unless specifically denied by a <A -HREF="index.html#HOSTSDENY" +HREF="#HOSTSDENY" ><TT CLASS="PARAMETER" ><I @@ -9364,7 +9284,7 @@ NAME="HOSTSEQUIV" </P ><P >This is not be confused with <A -HREF="index.html#HOSTSALLOW" +HREF="#HOSTSALLOW" > <TT CLASS="PARAMETER" ><I @@ -9499,7 +9419,7 @@ NAME="INHERITPERMISSIONS" ><P >The permissions on new files and directories are normally governed by <A -HREF="index.html#CREATEMASK" +HREF="#CREATEMASK" ><TT CLASS="PARAMETER" ><I @@ -9507,7 +9427,7 @@ CLASS="PARAMETER" ></TT ></A >, <A -HREF="index.html#DIRECTORYMASK" +HREF="#DIRECTORYMASK" > <TT CLASS="PARAMETER" ><I @@ -9515,7 +9435,7 @@ CLASS="PARAMETER" ></TT ></A >, <A -HREF="index.html#FORCECREATEMODE" +HREF="#FORCECREATEMODE" ><TT CLASS="PARAMETER" ><I @@ -9524,7 +9444,7 @@ CLASS="PARAMETER" > </A > and <A -HREF="index.html#FORCEDIRECTORYMODE" +HREF="#FORCEDIRECTORYMODE" ><TT CLASS="PARAMETER" ><I @@ -9541,7 +9461,7 @@ CLASS="PARAMETER" >New files inherit their read/write bits from the parent directory. Their execute bits continue to be determined by <A -HREF="index.html#MAPARCHIVE" +HREF="#MAPARCHIVE" ><TT CLASS="PARAMETER" ><I @@ -9550,7 +9470,7 @@ CLASS="PARAMETER" > </A >, <A -HREF="index.html#MAPHIDDEN" +HREF="#MAPHIDDEN" ><TT CLASS="PARAMETER" ><I @@ -9559,7 +9479,7 @@ CLASS="PARAMETER" > </A > and <A -HREF="index.html#MAPSYSTEM" +HREF="#MAPSYSTEM" ><TT CLASS="PARAMETER" ><I @@ -9583,7 +9503,7 @@ CLASS="EMPHASIS" share to be used flexibly by each user.</P ><P >See also <A -HREF="index.html#CREATEMASK" +HREF="#CREATEMASK" ><TT CLASS="PARAMETER" ><I @@ -9592,7 +9512,7 @@ CLASS="PARAMETER" ></TT ></A >, <A -HREF="index.html#DIRECTORYMASK" +HREF="#DIRECTORYMASK" ><TT CLASS="PARAMETER" ><I @@ -9600,7 +9520,7 @@ CLASS="PARAMETER" ></TT ></A >, <A -HREF="index.html#FORCECREATEMODE" +HREF="#FORCECREATEMODE" > <TT CLASS="PARAMETER" ><I @@ -9608,7 +9528,7 @@ CLASS="PARAMETER" ></TT ></A > and <A -HREF="index.html#FORCEDIRECTORYMODE" +HREF="#FORCEDIRECTORYMODE" ><TT CLASS="PARAMETER" ><I @@ -9684,7 +9604,7 @@ CLASS="COMMAND" The netmasks of the latter two interfaces would be set to 255.255.255.0.</P ><P >See also <A -HREF="index.html#BINDINTERFACESONLY" +HREF="#BINDINTERFACESONLY" ><TT CLASS="PARAMETER" ><I @@ -9755,7 +9675,7 @@ CLASS="PARAMETER" This is useful in the [homes] section.</P ><P >See also <A -HREF="index.html#VALIDUSERS" +HREF="#VALIDUSERS" ><TT CLASS="PARAMETER" ><I @@ -9799,7 +9719,7 @@ CLASS="PARAMETER" ><P >Keepalives should, in general, not be needed if the socket being used has the SO_KEEPALIVE attribute set on it (see <A -HREF="index.html#SOCKETOPTIONS" +HREF="#SOCKETOPTIONS" ><TT CLASS="PARAMETER" ><I @@ -9827,7 +9747,7 @@ NAME="KERNELOPLOCKS" ><DD ><P >For UNIXes that support kernel based <A -HREF="index.html#OPLOCKS" +HREF="#OPLOCKS" ><TT CLASS="PARAMETER" ><I @@ -9871,7 +9791,7 @@ CLASS="CONSTANT" You should never need to touch this parameter.</P ><P >See also the <A -HREF="index.html#OPLOCKS" +HREF="#OPLOCKS" ><TT CLASS="PARAMETER" ><I @@ -9880,7 +9800,7 @@ CLASS="PARAMETER" > </A > and <A -HREF="index.html#LEVEL2OPLOCKS" +HREF="#LEVEL2OPLOCKS" ><TT CLASS="PARAMETER" ><I @@ -10043,26 +9963,45 @@ CLASS="PARAMETER" >ldap ssl</I ></TT > can be set to one of three values: - (a) <TT -CLASS="CONSTANT" ->on</TT -> - Always use SSL when contacting the - <TT + </P +><P +></P +><UL +><LI +><P +><TT +CLASS="PARAMETER" +><I +>On</I +></TT +> = Always use SSL when contacting the + <TT CLASS="PARAMETER" ><I >ldap server</I ></TT ->, (b) <TT -CLASS="CONSTANT" ->off</TT -> - - Never use SSL when querying the directory, or (c) <TT -CLASS="CONSTANT" ->start_tls</TT -> - - Use the LDAPv3 StartTLS extended operation - (RFC2830) for communicating with the directory server. - </P +>.</P +></LI +><LI +><P +><TT +CLASS="PARAMETER" +><I +>Off</I +></TT +> = Never use SSL when querying the directory.</P +></LI +><LI +><P +><TT +CLASS="PARAMETER" +><I +>Start_tls</I +></TT +> = Use the LDAPv3 StartTLS extended operation + (RFC2830) for communicating with the directory server.</P +></LI +></UL ><P >Default : <B CLASS="COMMAND" @@ -10123,6 +10062,64 @@ CLASS="EMPHASIS" ></DD ><DT ><A +NAME="LDAPPASSWDSYNC" +></A +>ldap passwd sync (G)</DT +><DD +><P +>This option is used to define whether + or not Samba should sync the LDAP password with the NT + and LM hashes for normal accounts (NOT for + workstation, server or domain trusts) on a password + change via SAMBA. + </P +><P +> The <TT +CLASS="PARAMETER" +><I +>ldap passwd sync</I +></TT +> can be set to one of three values: + </P +><P +></P +><UL +><LI +><P +><TT +CLASS="PARAMETER" +><I +>Yes</I +></TT +> = Try to update the LDAP, NT and LM passwords and update the pwdLastSet time.</P +></LI +><LI +><P +><TT +CLASS="PARAMETER" +><I +>No</I +></TT +> = Update NT and LM passwords and update the pwdLastSet time.</P +></LI +><LI +><P +><TT +CLASS="PARAMETER" +><I +>Only</I +></TT +> = Only update the LDAP password and let the LDAP server do the rest.</P +></LI +></UL +><P +>Default : <B +CLASS="COMMAND" +>ldap passwd sync = no</B +></P +></DD +><DT +><A NAME="LEVEL2OPLOCKS" ></A >level2 oplocks (S)</DT @@ -10152,7 +10149,7 @@ NAME="LEVEL2OPLOCKS" >For more discussions on level2 oplocks see the CIFS spec.</P ><P >Currently, if <A -HREF="index.html#KERNELOPLOCKS" +HREF="#KERNELOPLOCKS" ><TT CLASS="PARAMETER" ><I @@ -10166,7 +10163,7 @@ CLASS="CONSTANT" >yes</TT >). Note also, the <A -HREF="index.html#OPLOCKS" +HREF="#OPLOCKS" ><TT CLASS="PARAMETER" ><I @@ -10176,12 +10173,12 @@ CLASS="PARAMETER" </A > parameter must be set to <TT CLASS="CONSTANT" ->true</TT +>yes</TT > on this share in order for this parameter to have any effect.</P ><P >See also the <A -HREF="index.html#OPLOCKS" +HREF="#OPLOCKS" ><TT CLASS="PARAMETER" ><I @@ -10190,7 +10187,7 @@ CLASS="PARAMETER" > </A > and <A -HREF="index.html#OPLOCKS" +HREF="#OPLOCKS" ><TT CLASS="PARAMETER" ><I @@ -10224,10 +10221,10 @@ CLASS="COMMAND" the Samba server in their browse list. This parameter can have three values, <TT CLASS="CONSTANT" ->true</TT +>yes</TT >, <TT CLASS="CONSTANT" ->false</TT +>no</TT >, or <TT CLASS="CONSTANT" @@ -10238,11 +10235,11 @@ CLASS="CONSTANT" >. If set to <TT CLASS="CONSTANT" ->false</TT +>no</TT > Samba will never produce these broadcasts. If set to <TT CLASS="CONSTANT" ->true</TT +>yes</TT > Samba will produce Lanman announce broadcasts at a frequency set by the parameter <TT @@ -10265,7 +10262,7 @@ CLASS="PARAMETER" >.</P ><P >See also <A -HREF="index.html#LMINTERVAL" +HREF="#LMINTERVAL" ><TT CLASS="PARAMETER" ><I @@ -10294,7 +10291,7 @@ NAME="LMINTERVAL" ><P >If Samba is set to produce Lanman announce broadcasts needed by OS/2 clients (see the <A -HREF="index.html#LMANNOUNCE" +HREF="#LMANNOUNCE" > <TT CLASS="PARAMETER" ><I @@ -10313,7 +10310,7 @@ CLASS="PARAMETER" parameter.</P ><P >See also <A -HREF="index.html#LMANNOUNCE" +HREF="#LMANNOUNCE" ><TT CLASS="PARAMETER" ><I @@ -10343,7 +10340,7 @@ NAME="LOADPRINTERS" >A boolean variable that controls whether all printers in the printcap will be loaded for browsing by default. See the <A -HREF="index.html#AEN79" +HREF="#AEN79" >printers</A > section for more details.</P @@ -10370,7 +10367,7 @@ CLASS="COMMAND" > to try and become a local master browser on a subnet. If set to <TT CLASS="CONSTANT" ->false</TT +>no</TT > then <B CLASS="COMMAND" > nmbd</B @@ -10378,10 +10375,10 @@ CLASS="COMMAND" on a subnet and will also lose in all browsing elections. By default this value is set to <TT CLASS="CONSTANT" ->true</TT +>yes</TT >. Setting this value to <TT CLASS="CONSTANT" ->true</TT +>yes</TT > doesn't mean that Samba will <SPAN CLASS="emphasis" @@ -10403,7 +10400,7 @@ CLASS="EMPHASIS" ><P >Setting this value to <TT CLASS="CONSTANT" ->false</TT +>no</TT > will cause <B CLASS="COMMAND" >nmbd</B @@ -10429,7 +10426,7 @@ NAME="LOCKDIR" ><DD ><P >Synonym for <A -HREF="index.html#LOCKDIRECTORY" +HREF="#LOCKDIRECTORY" ><TT CLASS="PARAMETER" ><I @@ -10448,7 +10445,7 @@ NAME="LOCKDIRECTORY" >This option specifies the directory where lock files will be placed. The lock files are used to implement the <A -HREF="index.html#MAXCONNECTIONS" +HREF="#MAXCONNECTIONS" ><TT CLASS="PARAMETER" ><I @@ -10502,7 +10499,7 @@ NAME="LOCKSPINTIME" >The time in microseconds that smbd should pause before attempting to gain a failed lock. See <A -HREF="index.html#LOCKSPINCOUNT" +HREF="#LOCKSPINCOUNT" ><TT CLASS="PARAMETER" ><I @@ -10626,7 +10623,7 @@ NAME="LOGONDRIVE" ><P >This parameter specifies the local path to which the home directory will be connected (see <A -HREF="index.html#LOGONHOME" +HREF="#LOGONHOME" ><TT CLASS="PARAMETER" ><I @@ -10695,7 +10692,7 @@ CLASS="COMMAND" but use the whole string when dealing with profiles.</P ><P >Note that in prior versions of Samba, the <A -HREF="index.html#LOGONPATH" +HREF="#LOGONPATH" > <TT CLASS="PARAMETER" ><I @@ -10742,7 +10739,7 @@ NAME="LOGONPATH" stored. Contrary to previous versions of these manual pages, it has nothing to do with Win 9X roaming profiles. To find out how to handle roaming profiles for Win 9X system, see the <A -HREF="index.html#LOGONHOME" +HREF="#LOGONHOME" > <TT CLASS="PARAMETER" ><I @@ -10826,7 +10823,7 @@ NAME="LOGONSCRIPT" ><P >The script must be a relative path to the [netlogon] service. If the [netlogon] service specifies a <A -HREF="index.html#PATH" +HREF="#PATH" > <TT CLASS="PARAMETER" ><I @@ -10937,7 +10934,7 @@ CLASS="PARAMETER" in the lppause command as the PATH may not be available to the server.</P ><P >See also the <A -HREF="index.html#PRINTING" +HREF="#PRINTING" ><TT CLASS="PARAMETER" ><I @@ -11031,7 +11028,7 @@ CLASS="COMMAND" >A value of 0 will disable caching completely.</P ><P >See also the <A -HREF="index.html#PRINTING" +HREF="#PRINTING" ><TT CLASS="PARAMETER" ><I @@ -11115,7 +11112,7 @@ CLASS="PARAMETER" print queue listing.</P ><P >See also the <A -HREF="index.html#PRINTING" +HREF="#PRINTING" ><TT CLASS="PARAMETER" ><I @@ -11157,7 +11154,7 @@ NAME="LPRESUMECOMMAND" >This command should be a program or script which takes a printer name and job number to resume the print job. See also the <A -HREF="index.html#LPPAUSECOMMAND" +HREF="#LPPAUSECOMMAND" ><TT CLASS="PARAMETER" ><I @@ -11191,7 +11188,7 @@ CLASS="PARAMETER" be available to the server.</P ><P >See also the <A -HREF="index.html#PRINTING" +HREF="#PRINTING" ><TT CLASS="PARAMETER" ><I @@ -11277,7 +11274,7 @@ CLASS="PARAMETER" available to the server.</P ><P >See also the <A -HREF="index.html#PRINTING" +HREF="#PRINTING" ><TT CLASS="PARAMETER" ><I @@ -11322,7 +11319,7 @@ NAME="MACHINEPASSWORDTIMEOUT" ><P >If a Samba server is a member of a Windows NT Domain (see the <A -HREF="index.html#SECURITYEQUALSDOMAIN" +HREF="#SECURITYEQUALSDOMAIN" >security = domain</A >) parameter) then periodically a running <A @@ -11347,7 +11344,7 @@ CLASS="COMMAND" </B ></A >, and the <A -HREF="index.html#SECURITYEQUALSDOMAIN" +HREF="#SECURITYEQUALSDOMAIN" > security = domain</A >) parameter.</P ><P @@ -11366,7 +11363,7 @@ NAME="MAGICOUTPUT" >This parameter specifies the name of a file which will contain output created by a magic script (see the <A -HREF="index.html#MAGICSCRIPT" +HREF="#MAGICSCRIPT" ><TT CLASS="PARAMETER" ><I @@ -11414,7 +11411,7 @@ NAME="MAGICSCRIPT" ><P >If the script generates output, output will be sent to the file specified by the <A -HREF="index.html#MAGICOUTPUT" +HREF="#MAGICOUTPUT" ><TT CLASS="PARAMETER" ><I @@ -11471,7 +11468,7 @@ NAME="MANGLECASE" ><DD ><P >See the section on <A -HREF="index.html#AEN203" +HREF="#AEN203" > NAME MANGLING</A ></P ><P @@ -11547,7 +11544,7 @@ NAME="MANGLEDNAMES" or whether non-DOS names should simply be ignored.</P ><P >See the section on <A -HREF="index.html#AEN203" +HREF="#AEN203" > NAME MANGLING</A > for details on how to control the mangling process.</P ><P @@ -11573,7 +11570,7 @@ HREF="index.html#AEN203" ><P >Note that the character to use may be specified using the <A -HREF="index.html#MANGLINGCHAR" +HREF="#MANGLINGCHAR" ><TT CLASS="PARAMETER" ><I @@ -11699,7 +11696,7 @@ CLASS="EMPHASIS" >magic</I ></SPAN > character in <A -HREF="index.html#AEN203" +HREF="#AEN203" >name mangling</A >. The default is a '~' but this may interfere with some software. Use this option to set @@ -11737,7 +11734,7 @@ CLASS="PARAMETER" > parameter to be set such that owner execute bit is not masked out (i.e. it must include 100). See the parameter <A -HREF="index.html#CREATEMASK" +HREF="#CREATEMASK" > <TT CLASS="PARAMETER" ><I @@ -11769,7 +11766,7 @@ CLASS="PARAMETER" > to be set such that the world execute bit is not masked out (i.e. it must include 001). See the parameter <A -HREF="index.html#CREATEMASK" +HREF="#CREATEMASK" > <TT CLASS="PARAMETER" ><I @@ -11801,7 +11798,7 @@ CLASS="PARAMETER" > to be set such that the group execute bit is not masked out (i.e. it must include 010). See the parameter <A -HREF="index.html#CREATEMASK" +HREF="#CREATEMASK" > <TT CLASS="PARAMETER" ><I @@ -11823,7 +11820,7 @@ NAME="MAPTOGUEST" ><DD ><P >This parameter is only useful in <A -HREF="index.html#SECURITY" +HREF="#SECURITY" > security</A > modes other than <TT CLASS="PARAMETER" @@ -11873,7 +11870,7 @@ CLASS="CONSTANT" logins with an invalid password are rejected, unless the username does not exist, in which case it is treated as a guest login and mapped into the <A -HREF="index.html#GUESTACCOUNT" +HREF="#GUESTACCOUNT" ><TT CLASS="PARAMETER" ><I @@ -11890,7 +11887,7 @@ CLASS="CONSTANT" > - Means user logins with an invalid password are treated as a guest login and mapped into the <A -HREF="index.html#GUESTACCOUNT" +HREF="#GUESTACCOUNT" >guest account</A >. Note that this can cause problems as it means that any user incorrectly typing @@ -11969,7 +11966,7 @@ CLASS="PARAMETER" ><P >Record lock files are used to implement this feature. The lock files will be stored in the directory specified by the <A -HREF="index.html#LOCKDIRECTORY" +HREF="#LOCKDIRECTORY" ><TT CLASS="PARAMETER" ><I @@ -12121,7 +12118,7 @@ CLASS="COMMAND" ></A > will remote "Out of Space" to the client. See all <A -HREF="index.html#TOTALPRINTJOBS" +HREF="#TOTALPRINTJOBS" ><TT CLASS="PARAMETER" ><I @@ -12209,7 +12206,7 @@ CLASS="CONSTANT" the appropriate protocol.</P ><P >See also <A -HREF="index.html#MINPROTOCOL" +HREF="#MINPROTOCOL" ><TT CLASS="PARAMETER" ><I @@ -12305,7 +12302,7 @@ TARGET="_top" >nmbd(8) </A > when acting as a WINS server (<A -HREF="index.html#WINSSUPPORT" +HREF="#WINSSUPPORT" > <TT CLASS="PARAMETER" ><I @@ -12321,7 +12318,7 @@ CLASS="COMMAND" parameter. The default is 6 days (518400 seconds).</P ><P >See also the <A -HREF="index.html#MINWINSTTL" +HREF="#MINWINSTTL" ><TT CLASS="PARAMETER" ><I @@ -12495,7 +12492,7 @@ NAME="MINPASSWDLENGTH" ><DD ><P >Synonym for <A -HREF="index.html#MINPASSWORDLENGTH" +HREF="#MINPASSWORDLENGTH" > <TT CLASS="PARAMETER" ><I @@ -12519,7 +12516,7 @@ CLASS="COMMAND" UNIX password changing.</P ><P >See also <A -HREF="index.html#UNIXPASSWORDSYNC" +HREF="#UNIXPASSWORDSYNC" ><TT CLASS="PARAMETER" ><I @@ -12528,7 +12525,7 @@ CLASS="PARAMETER" ></TT ></A >, <A -HREF="index.html#PASSWDPROGRAM" +HREF="#PASSWDPROGRAM" > <TT CLASS="PARAMETER" ><I @@ -12536,7 +12533,7 @@ CLASS="PARAMETER" ></TT ></A > and <A -HREF="index.html#PASSWDCHATDEBUG" +HREF="#PASSWDCHATDEBUG" ><TT CLASS="PARAMETER" ><I @@ -12564,7 +12561,7 @@ NAME="MINPRINTSPACE" means a user can always spool a print job.</P ><P >See also the <A -HREF="index.html#PRINTING" +HREF="#PRINTING" ><TT CLASS="PARAMETER" ><I @@ -12594,7 +12591,7 @@ NAME="MINPROTOCOL" >The value of the parameter (a string) is the lowest SMB protocol dialect than Samba will support. Please refer to the <A -HREF="index.html#MAXPROTOCOL" +HREF="#MAXPROTOCOL" ><TT CLASS="PARAMETER" ><I @@ -12612,7 +12609,7 @@ CLASS="FILENAME" ><P >If you are viewing this parameter as a security measure, you should also refer to the <A -HREF="index.html#LANMANAUTH" +HREF="#LANMANAUTH" ><TT CLASS="PARAMETER" ><I @@ -12647,7 +12644,7 @@ TARGET="_top" >nmbd(8)</A > when acting as a WINS server (<A -HREF="index.html#WINSSUPPORT" +HREF="#WINSSUPPORT" ><TT CLASS="PARAMETER" ><I @@ -12698,7 +12695,7 @@ TARGET="_top" >.</P ><P >See also <A -HREF="index.html#HOSTMSDFS" +HREF="#HOSTMSDFS" ><TT CLASS="PARAMETER" ><I @@ -12793,7 +12790,7 @@ CLASS="CONSTANT" >wins</TT > : Query a name with the IP address listed in the <A -HREF="index.html#WINSSERVER" +HREF="#WINSSERVER" ><TT CLASS="PARAMETER" ><I @@ -12810,7 +12807,7 @@ CLASS="CONSTANT" >bcast</TT > : Do a broadcast on each of the known local interfaces listed in the <A -HREF="index.html#INTERFACES" +HREF="#INTERFACES" ><TT CLASS="PARAMETER" ><I @@ -12860,7 +12857,7 @@ TARGET="_top" with these capabilities.</P ><P >See also <A -HREF="index.html#NETBIOSNAME" +HREF="#NETBIOSNAME" ><TT CLASS="PARAMETER" ><I @@ -12898,7 +12895,7 @@ NAME="NETBIOSNAME" advertised under.</P ><P >See also <A -HREF="index.html#NETBIOSALIASES" +HREF="#NETBIOSALIASES" ><TT CLASS="PARAMETER" ><I @@ -12957,7 +12954,7 @@ NAME="NISHOMEDIR" it will be mounted on the Samba client directly from the directory server. When Samba is returning the home share to the client, it will consult the NIS map specified in <A -HREF="index.html#HOMEDIRMAP" +HREF="#HOMEDIRMAP" > <TT CLASS="PARAMETER" ><I @@ -13116,7 +13113,7 @@ NAME="OBEYPAMRESTRICTIONS" default behavior is to use PAM for clear text authentication only and to ignore any account or session management. Note that Samba always ignores PAM for authentication in the case of <A -HREF="index.html#ENCRYPTPASSWORDS" +HREF="#ENCRYPTPASSWORDS" ><TT CLASS="PARAMETER" ><I @@ -13157,7 +13154,7 @@ CLASS="PARAMETER" ></TT > list and is only really useful in <A -HREF="index.html#SECURITYEQUALSSHARE" +HREF="#SECURITYEQUALSSHARE" >shave level</A > security.</P @@ -13178,7 +13175,7 @@ CLASS="PARAMETER" name of the user.</P ><P >See also the <A -HREF="index.html#USER" +HREF="#USER" ><TT CLASS="PARAMETER" ><I @@ -13201,7 +13198,7 @@ NAME="ONLYGUEST" ><DD ><P >A synonym for <A -HREF="index.html#GUESTONLY" +HREF="#GUESTONLY" ><TT CLASS="PARAMETER" ><I @@ -13316,7 +13313,7 @@ CLASS="FILENAME" ><P >Oplocks may be selectively turned off on certain files with a share. See the <A -HREF="index.html#VETOOPLOCKFILES" +HREF="#VETOOPLOCKFILES" ><TT CLASS="PARAMETER" ><I @@ -13335,7 +13332,7 @@ CLASS="PARAMETER" > parameter for details.</P ><P >See also the <A -HREF="index.html#KERNELOPLOCKS" +HREF="#KERNELOPLOCKS" ><TT CLASS="PARAMETER" ><I @@ -13344,7 +13341,7 @@ CLASS="PARAMETER" ></TT ></A > and <A -HREF="index.html#LEVEL2OPLOCKS" +HREF="#LEVEL2OPLOCKS" ><TT CLASS="PARAMETER" ><I @@ -13489,7 +13486,7 @@ NAME="PAMPASSWORDCHANGE" flag for Samba. If enabled, then PAM will be used for password changes when requested by an SMB client instead of the program listed in <A -HREF="index.html#PASSWDPROGRAM" +HREF="#PASSWDPROGRAM" ><TT CLASS="PARAMETER" ><I @@ -13499,7 +13496,7 @@ CLASS="PARAMETER" >. It should be possible to enable this without changing your <A -HREF="index.html#PASSWDCHAT" +HREF="#PASSWDCHAT" ><TT CLASS="PARAMETER" ><I @@ -13603,7 +13600,7 @@ CLASS="COMMAND" Takes a path to the smbpasswd file as an optional argument.</P ><P >See also <A -HREF="index.html#NONUNIXACCOUNTRANGE" +HREF="#NONUNIXACCOUNTRANGE" > <TT CLASS="PARAMETER" ><I @@ -13620,7 +13617,7 @@ CLASS="COMMAND" > - The TDB based password storage backend. Takes a path to the TDB as an optional argument (defaults to passdb.tdb in the <A -HREF="index.html#PRIVATEDIR" +HREF="#PRIVATEDIR" > <TT CLASS="PARAMETER" ><I @@ -13637,7 +13634,7 @@ CLASS="COMMAND" > - The TDB based password storage backend, with non unix account support. Takes a path to the TDB as an optional argument (defaults to passdb.tdb in the <A -HREF="index.html#PRIVATEDIR" +HREF="#PRIVATEDIR" > <TT CLASS="PARAMETER" ><I @@ -13647,7 +13644,7 @@ CLASS="PARAMETER" > directory.</P ><P >See also <A -HREF="index.html#NONUNIXACCOUNTRANGE" +HREF="#NONUNIXACCOUNTRANGE" > <TT CLASS="PARAMETER" ><I @@ -13681,7 +13678,7 @@ CLASS="COMMAND" >)</P ><P >See also <A -HREF="index.html#NONUNIXACCOUNTRANGE" +HREF="#NONUNIXACCOUNTRANGE" > <TT CLASS="PARAMETER" ><I @@ -13777,7 +13774,7 @@ TARGET="_top" > smbd(8)</A > uses to determine what to send to the <A -HREF="index.html#PASSWDPROGRAM" +HREF="#PASSWDPROGRAM" ><TT CLASS="PARAMETER" ><I @@ -13793,7 +13790,7 @@ CLASS="PARAMETER" etc).</P ><P >Note that this parameter only is only used if the <A -HREF="index.html#UNIXPASSWORDSYNC" +HREF="#UNIXPASSWORDSYNC" ><TT CLASS="PARAMETER" ><I @@ -13816,7 +13813,7 @@ CLASS="EMPHASIS" password cleartext. This means that root must be able to reset the user's password without knowing the text of the previous password. In the presence of NIS/YP, this means that the <A -HREF="index.html#PASSWDPROGRAM" +HREF="#PASSWDPROGRAM" >passwd program</A > must be executed on the NIS master. @@ -13852,7 +13849,7 @@ CLASS="CONSTANT" if the expect string is a full stop then no string is expected.</P ><P >If the <A -HREF="index.html#PAMPASSWORDCHANGE" +HREF="#PAMPASSWORDCHANGE" ><TT CLASS="PARAMETER" ><I @@ -13860,13 +13857,16 @@ CLASS="PARAMETER" password change</I ></TT ></A -> parameter is set to true, the chat pairs +> parameter is set to <TT +CLASS="CONSTANT" +>yes</TT +>, the chat pairs may be matched in any order, and success is determined by the PAM result, not any particular output. The \n macro is ignored for PAM conversions. </P ><P >See also <A -HREF="index.html#UNIXPASSWORDSYNC" +HREF="#UNIXPASSWORDSYNC" ><TT CLASS="PARAMETER" ><I @@ -13875,7 +13875,7 @@ CLASS="PARAMETER" ></TT ></A >, <A -HREF="index.html#PASSWDPROGRAM" +HREF="#PASSWDPROGRAM" ><TT CLASS="PARAMETER" ><I @@ -13883,7 +13883,7 @@ CLASS="PARAMETER" ></TT ></A > ,<A -HREF="index.html#PASSWDCHATDEBUG" +HREF="#PASSWDCHATDEBUG" > <TT CLASS="PARAMETER" ><I @@ -13891,7 +13891,7 @@ CLASS="PARAMETER" ></TT ></A > and <A -HREF="index.html#PAMPASSWORDCHANGE" +HREF="#PAMPASSWORDCHANGE" > <TT CLASS="PARAMETER" ><I @@ -13935,7 +13935,7 @@ TARGET="_top" >smbd(8)</A > log with a <A -HREF="index.html#DEBUGLEVEL" +HREF="#DEBUGLEVEL" ><TT CLASS="PARAMETER" ><I @@ -13962,7 +13962,7 @@ CLASS="PARAMETER" > and should be turned off after this has been done. This option has no effect if the <A -HREF="index.html#PAMPASSWORDCHANGE" +HREF="#PAMPASSWORDCHANGE" ><TT CLASS="PARAMETER" ><I @@ -13973,7 +13973,7 @@ CLASS="PARAMETER" paramter is set. This parameter is off by default.</P ><P >See also <A -HREF="index.html#PASSWDCHAT" +HREF="#PASSWDCHAT" ><TT CLASS="PARAMETER" ><I @@ -13982,7 +13982,7 @@ CLASS="PARAMETER" > </A >, <A -HREF="index.html#PAMPASSWORDCHANGE" +HREF="#PAMPASSWORDCHANGE" ><TT CLASS="PARAMETER" ><I @@ -13991,7 +13991,7 @@ CLASS="PARAMETER" > </A >, <A -HREF="index.html#PASSWDPROGRAM" +HREF="#PASSWDPROGRAM" ><TT CLASS="PARAMETER" ><I @@ -14049,7 +14049,7 @@ CLASS="PARAMETER" ></TT > parameter is set to <TT CLASS="CONSTANT" ->true +>yes </TT > then this program is called <SPAN CLASS="emphasis" @@ -14098,11 +14098,11 @@ CLASS="PARAMETER" ></TT > is set to <TT CLASS="CONSTANT" ->false</TT +>no</TT >.</P ><P >See also <A -HREF="index.html#UNIXPASSWORDSYNC" +HREF="#UNIXPASSWORDSYNC" ><TT CLASS="PARAMETER" ><I @@ -14212,7 +14212,7 @@ CLASS="FILENAME" ><P >The name of the password server is looked up using the parameter <A -HREF="index.html#NAMERESOLVEORDER" +HREF="#NAMERESOLVEORDER" ><TT CLASS="PARAMETER" ><I @@ -14358,7 +14358,7 @@ CLASS="COMMAND" ></UL ><P >See also the <A -HREF="index.html#SECURITY" +HREF="#SECURITY" ><TT CLASS="PARAMETER" ><I @@ -14421,7 +14421,7 @@ CLASS="PARAMETER" up pseudo home directories for users.</P ><P >Note that this path will be based on <A -HREF="index.html#ROOTDIR" +HREF="#ROOTDIR" > <TT CLASS="PARAMETER" ><I @@ -14512,7 +14512,7 @@ CLASS="COMMAND" ></P ><P >See also <A -HREF="index.html#PREEXEC" +HREF="#PREEXEC" ><TT CLASS="PARAMETER" ><I @@ -14583,7 +14583,7 @@ CLASS="COMMAND" >Of course, this could get annoying after a while :-)</P ><P >See also <A -HREF="index.html#PREEXECCLOSE" +HREF="#PREEXECCLOSE" ><TT CLASS="PARAMETER" ><I @@ -14592,7 +14592,7 @@ CLASS="PARAMETER" ></TT ></A > and <A -HREF="index.html#POSTEXEC" +HREF="#POSTEXEC" ><TT CLASS="PARAMETER" ><I @@ -14625,7 +14625,7 @@ NAME="PREEXECCLOSE" ><P >This boolean option controls whether a non-zero return code from <A -HREF="index.html#PREEXEC" +HREF="#PREEXEC" ><TT CLASS="PARAMETER" ><I @@ -14656,7 +14656,7 @@ TARGET="_top" ><P >If this is set to <TT CLASS="CONSTANT" ->true</TT +>yes</TT >, on startup, <B CLASS="COMMAND" >nmbd</B @@ -14666,7 +14666,7 @@ CLASS="COMMAND" used in conjunction with <B CLASS="COMMAND" ><A -HREF="index.html#DOMAINMASTER" +HREF="#DOMAINMASTER" ><TT CLASS="PARAMETER" ><I @@ -14687,7 +14687,7 @@ CLASS="COMMAND" capabilities.</P ><P >See also <A -HREF="index.html#OSLEVEL" +HREF="#OSLEVEL" ><TT CLASS="PARAMETER" ><I @@ -14710,7 +14710,7 @@ NAME="PREFEREDMASTER" ><DD ><P >Synonym for <A -HREF="index.html#PREFERREDMASTER" +HREF="#PREFERREDMASTER" ><TT CLASS="PARAMETER" ><I @@ -14723,7 +14723,7 @@ CLASS="PARAMETER" ><A NAME="PRELOAD" ></A ->preload</DT +>preload (G)</DT ><DD ><P >This is a list of services that you want to be @@ -14733,7 +14733,7 @@ NAME="PRELOAD" ><P >Note that if you just want all printers in your printcap file loaded then the <A -HREF="index.html#LOADPRINTERS" +HREF="#LOADPRINTERS" > <TT CLASS="PARAMETER" ><I @@ -14765,7 +14765,7 @@ NAME="PRESERVECASE" > This controls if new filenames are created with the case that the client passes, or if they are forced to be the <A -HREF="index.html#DEFAULTCASE" +HREF="#DEFAULTCASE" ><TT CLASS="PARAMETER" ><I @@ -14781,7 +14781,7 @@ CLASS="COMMAND" ></P ><P >See the section on <A -HREF="index.html#AEN203" +HREF="#AEN203" >NAME MANGLING</A > for a fuller discussion.</P @@ -14869,7 +14869,7 @@ CLASS="CONSTANT" >nobody</TT > account. If this happens then create an alternative guest account that can print and set the <A -HREF="index.html#GUESTACCOUNT" +HREF="#GUESTACCOUNT" ><TT CLASS="PARAMETER" ><I @@ -14893,7 +14893,7 @@ CLASS="COMMAND" >You may have to vary this command considerably depending on how you normally print files on your system. The default for the parameter varies depending on the setting of the <A -HREF="index.html#PRINTING" +HREF="#PRINTING" > <TT CLASS="PARAMETER" ><I @@ -14935,7 +14935,7 @@ CLASS="COMMAND" ><P >For printing = CUPS : If SAMBA is compiled against libcups, then <A -HREF="index.html#PRINTING" +HREF="#PRINTING" >printcap = cups</A > uses the CUPS API to @@ -14966,7 +14966,7 @@ NAME="PRINTOK" ><DD ><P >Synonym for <A -HREF="index.html#PRINTABLE" +HREF="#PRINTABLE" > <TT CLASS="PARAMETER" ><I @@ -14992,11 +14992,11 @@ CLASS="CONSTANT" >Note that a printable service will ALWAYS allow writing to the service path (user privileges permitting) via the spooling of print data. The <A -HREF="index.html#WRITEABLE" +HREF="#READONLY" ><TT CLASS="PARAMETER" ><I ->writeable +>read only </I ></TT ></A @@ -15016,7 +15016,7 @@ NAME="PRINTCAP" ><DD ><P >Synonym for <A -HREF="index.html#PRINTCAPNAME" +HREF="#PRINTCAPNAME" ><TT CLASS="PARAMETER" ><I @@ -15037,7 +15037,7 @@ NAME="PRINTCAPNAME" CLASS="FILENAME" > /etc/printcap</TT >). See the discussion of the <A -HREF="index.html#AEN79" +HREF="#AEN79" >[printers]</A > section above for reasons why you might want to do this.</P @@ -15048,7 +15048,7 @@ CLASS="COMMAND" </B >. This should be supplemented by an addtional setting <A -HREF="index.html#PRINTING" +HREF="#PRINTING" >printing = cups</A > in the [global] section. <B @@ -15188,7 +15188,7 @@ TARGET="_top" sensitive) that describes the appropriate printer driver for your system. If you don't know the exact string to use then you should first try with no <A -HREF="index.html#PRINTERDRIVER" +HREF="#PRINTERDRIVER" ><TT CLASS="PARAMETER" ><I @@ -15200,7 +15200,7 @@ CLASS="PARAMETER" shown in a scroll box after you have chosen the printer manufacturer.</P ><P >See also <A -HREF="index.html#PRINTERDRIVERFILE" +HREF="#PRINTERDRIVERFILE" ><TT CLASS="PARAMETER" ><I @@ -15271,7 +15271,7 @@ CLASS="FILENAME" >.</P ><P >See also <A -HREF="index.html#PRINTERDRIVERLOCATION" +HREF="#PRINTERDRIVERLOCATION" ><TT CLASS="PARAMETER" ><I @@ -15341,7 +15341,7 @@ CLASS="FILENAME" >.</P ><P >See also <A -HREF="index.html#PRINTERDRIVERFILE" +HREF="#PRINTERDRIVERFILE" ><TT CLASS="PARAMETER" ><I @@ -15400,7 +15400,7 @@ NAME="PRINTER" ><DD ><P >Synonym for <A -HREF="index.html#PRINTERNAME" +HREF="#PRINTERNAME" ><TT CLASS="PARAMETER" ><I @@ -15493,7 +15493,7 @@ TARGET="_top" >This option can be set on a per printer basis</P ><P >See also the discussion in the <A -HREF="index.html#AEN79" +HREF="#AEN79" > [printers]</A > section.</P ></DD @@ -15528,7 +15528,7 @@ NAME="PROTOCOL" ><DD ><P >Synonym for <A -HREF="index.html#MAXPROTOCOL" +HREF="#MAXPROTOCOL" > <TT CLASS="PARAMETER" ><I @@ -15545,7 +15545,7 @@ NAME="PUBLIC" ><DD ><P >Synonym for <A -HREF="index.html#GUESTOK" +HREF="#GUESTOK" ><TT CLASS="PARAMETER" ><I @@ -15616,7 +15616,7 @@ NAME="QUEUERESUMECOMMAND" executed on the server host in order to resume the printer queue. It is the command to undo the behavior that is caused by the previous parameter (<A -HREF="index.html#QUEUEPAUSECOMMAND" +HREF="#QUEUEPAUSECOMMAND" ><TT CLASS="PARAMETER" ><I @@ -15651,7 +15651,7 @@ CLASS="emphasis" ><I CLASS="EMPHASIS" >depends on the setting of <A -HREF="index.html#PRINTING" +HREF="#PRINTING" ><TT CLASS="PARAMETER" ><I @@ -15703,17 +15703,17 @@ NAME="READLIST" >This is a list of users that are given read-only access to a service. If the connecting user is in this list then they will not be given write access, no matter what the <A -HREF="index.html#WRITEABLE" +HREF="#READONLY" ><TT CLASS="PARAMETER" ><I ->writeable</I +>read only</I ></TT ></A > option is set to. The list can include group names using the syntax described in the <A -HREF="index.html#INVALIDUSERS" +HREF="#INVALIDUSERS" ><TT CLASS="PARAMETER" ><I @@ -15723,7 +15723,7 @@ CLASS="PARAMETER" > parameter.</P ><P >See also the <A -HREF="index.html#WRITELIST" +HREF="#WRITELIST" ><TT CLASS="PARAMETER" ><I @@ -15731,7 +15731,7 @@ CLASS="PARAMETER" ></TT ></A > parameter and the <A -HREF="index.html#INVALIDUSERS" +HREF="#INVALIDUSERS" ><TT CLASS="PARAMETER" ><I @@ -15758,15 +15758,40 @@ NAME="READONLY" >read only (S)</DT ><DD ><P ->Note that this is an inverted synonym for <A -HREF="index.html#WRITEABLE" -><TT +>An inverted synonym is <A +HREF="#WRITEABLE" +> <TT CLASS="PARAMETER" ><I >writeable</I ></TT ></A >.</P +><P +>If this parameter is <TT +CLASS="CONSTANT" +>yes</TT +>, then users + of a service may not create or modify files in the service's + directory.</P +><P +>Note that a printable service (<B +CLASS="COMMAND" +>printable = yes</B +>) + will <SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>ALWAYS</I +></SPAN +> allow writing to the directory + (user privileges permitting), but only via spooling operations.</P +><P +>Default: <B +CLASS="COMMAND" +>read only = yes</B +></P ></DD ><DT ><A @@ -15789,7 +15814,7 @@ NAME="READRAW" ><P >In general this parameter should be viewed as a system tuning tool and left severely alone. See also <A -HREF="index.html#WRITERAW" +HREF="#WRITERAW" > <TT CLASS="PARAMETER" ><I @@ -15903,7 +15928,7 @@ CLASS="COMMAND" to the two given IP addresses using the given workgroup names. If you leave out the workgroup name then the one given in the <A -HREF="index.html#WORKGROUP" +HREF="#WORKGROUP" ><TT CLASS="PARAMETER" ><I @@ -15991,13 +16016,13 @@ NAME="RESTRICTANONYMOUS" ><P >This is a boolean parameter. If it is <TT CLASS="CONSTANT" ->true</TT +>yes</TT >, then anonymous access to the server will be restricted, namely in the case where the server is expecting the client to send a username, but it doesn't. Setting it to <TT CLASS="CONSTANT" ->true</TT +>yes</TT > will force these anonymous connections to be denied, and the client will be required to always supply a username and password when connecting. Use of this parameter @@ -16010,7 +16035,7 @@ CLASS="CONSTANT" ><P >When restrict anonymous is <TT CLASS="CONSTANT" ->true</TT +>yes</TT >, all anonymous connections are denied no matter what they are for. This can effect the ability of a machine to access the Samba Primary Domain Controller to revalidate @@ -16034,7 +16059,7 @@ NAME="ROOT" ><DD ><P >Synonym for <A -HREF="index.html#ROOTDIRECTORY" +HREF="#ROOTDIRECTORY" > <TT CLASS="PARAMETER" ><I @@ -16051,7 +16076,7 @@ NAME="ROOTDIR" ><DD ><P >Synonym for <A -HREF="index.html#ROOTDIRECTORY" +HREF="#ROOTDIRECTORY" > <TT CLASS="PARAMETER" ><I @@ -16077,7 +16102,7 @@ CLASS="COMMAND" It may also check for, and deny access to, soft links to other parts of the filesystem, or attempts to use ".." in file names to access other directories (depending on the setting of the <A -HREF="index.html#WIDELINKS" +HREF="#WIDELINKS" ><TT CLASS="PARAMETER" ><I @@ -16152,7 +16177,7 @@ CLASS="PARAMETER" (such as CDROMs) after a connection is closed.</P ><P >See also <A -HREF="index.html#POSTEXEC" +HREF="#POSTEXEC" ><TT CLASS="PARAMETER" ><I @@ -16185,7 +16210,7 @@ CLASS="PARAMETER" connection is opened.</P ><P >See also <A -HREF="index.html#PREEXEC" +HREF="#PREEXEC" ><TT CLASS="PARAMETER" ><I @@ -16193,7 +16218,7 @@ CLASS="PARAMETER" ></TT ></A > and <A -HREF="index.html#PREEXECCLOSE" +HREF="#PREEXECCLOSE" > <TT CLASS="PARAMETER" ><I @@ -16224,7 +16249,7 @@ CLASS="PARAMETER" > parameter except that the command is run as root.</P ><P >See also <A -HREF="index.html#PREEXEC" +HREF="#PREEXEC" ><TT CLASS="PARAMETER" ><I @@ -16232,7 +16257,7 @@ CLASS="PARAMETER" ></TT ></A > and <A -HREF="index.html#PREEXECCLOSE" +HREF="#PREEXECCLOSE" > <TT CLASS="PARAMETER" ><I @@ -16326,7 +16351,7 @@ CLASS="COMMAND" >security = user</B >, see the <A -HREF="index.html#MAPTOGUEST" +HREF="#MAPTOGUEST" ><TT CLASS="PARAMETER" ><I @@ -16347,7 +16372,7 @@ CLASS="EMPHASIS" ></SPAN > where it is offers both user and share level security under different <A -HREF="index.html#NETBIOSALIASES" +HREF="#NETBIOSALIASES" > <TT CLASS="PARAMETER" ><I @@ -16414,7 +16439,7 @@ CLASS="COMMAND" ><LI ><P >If the <A -HREF="index.html#GUESTONLY" +HREF="#GUESTONLY" ><TT CLASS="PARAMETER" ><I @@ -16424,7 +16449,7 @@ CLASS="PARAMETER" ></A > parameter is set, then all the other stages are missed and only the <A -HREF="index.html#GUESTACCOUNT" +HREF="#GUESTACCOUNT" > <TT CLASS="PARAMETER" ><I @@ -16438,7 +16463,7 @@ CLASS="PARAMETER" ><P >Is a username is sent with the share connection request, then this username (after mapping - see <A -HREF="index.html#USERNAMEMAP" +HREF="#USERNAMEMAP" ><TT CLASS="PARAMETER" ><I @@ -16474,7 +16499,7 @@ CLASS="EMPHASIS" ><LI ><P >Any users on the <A -HREF="index.html#USER" +HREF="#USER" ><TT CLASS="PARAMETER" ><I @@ -16522,7 +16547,7 @@ CLASS="EMPHASIS" be used in granting access.</P ><P >See also the section <A -HREF="index.html#AEN236" +HREF="#AEN236" > NOTE ABOUT USERNAME/PASSWORD VALIDATION</A >.</P ><P @@ -16541,7 +16566,7 @@ CLASS="EMPHASIS" >This is the default security setting in Samba 2.2. With user-level security a client must first "log-on" with a valid username and password (which can be mapped using the <A -HREF="index.html#USERNAMEMAP" +HREF="#USERNAMEMAP" ><TT CLASS="PARAMETER" ><I @@ -16550,7 +16575,7 @@ CLASS="PARAMETER" ></A > parameter). Encrypted passwords (see the <A -HREF="index.html#ENCRYPTPASSWORDS" +HREF="#ENCRYPTPASSWORDS" > <TT CLASS="PARAMETER" ><I @@ -16559,7 +16584,7 @@ CLASS="PARAMETER" ></A > parameter) can also be used in this security mode. Parameters such as <A -HREF="index.html#USER" +HREF="#USER" > <TT CLASS="PARAMETER" ><I @@ -16567,7 +16592,7 @@ CLASS="PARAMETER" ></TT ></A > and <A -HREF="index.html#GUESTONLY" +HREF="#GUESTONLY" > <TT CLASS="PARAMETER" ><I @@ -16595,7 +16620,7 @@ CLASS="EMPHASIS" the server has successfully authenticated the client. This is why guest shares don't work in user level security without allowing the server to automatically map unknown users into the <A -HREF="index.html#GUESTACCOUNT" +HREF="#GUESTACCOUNT" ><TT CLASS="PARAMETER" ><I @@ -16604,7 +16629,7 @@ CLASS="PARAMETER" ></A >. See the <A -HREF="index.html#MAPTOGUEST" +HREF="#MAPTOGUEST" ><TT CLASS="PARAMETER" ><I @@ -16615,7 +16640,7 @@ CLASS="PARAMETER" > parameter for details on doing this.</P ><P >See also the section <A -HREF="index.html#AEN236" +HREF="#AEN236" > NOTE ABOUT USERNAME/PASSWORD VALIDATION</A >.</P ><P @@ -16687,7 +16712,7 @@ CLASS="EMPHASIS" the server has successfully authenticated the client. This is why guest shares don't work in user level security without allowing the server to automatically map unknown users into the <A -HREF="index.html#GUESTACCOUNT" +HREF="#GUESTACCOUNT" ><TT CLASS="PARAMETER" ><I @@ -16696,7 +16721,7 @@ CLASS="PARAMETER" ></A >. See the <A -HREF="index.html#MAPTOGUEST" +HREF="#MAPTOGUEST" ><TT CLASS="PARAMETER" ><I @@ -16707,12 +16732,12 @@ CLASS="PARAMETER" > parameter for details on doing this.</P ><P >See also the section <A -HREF="index.html#AEN236" +HREF="#AEN236" > NOTE ABOUT USERNAME/PASSWORD VALIDATION</A >.</P ><P >See also the <A -HREF="index.html#PASSWORDSERVER" +HREF="#PASSWORDSERVER" ><TT CLASS="PARAMETER" ><I @@ -16721,7 +16746,7 @@ CLASS="PARAMETER" ></TT ></A > parameter and the <A -HREF="index.html#ENCRYPTPASSWORDS" +HREF="#ENCRYPTPASSWORDS" ><TT CLASS="PARAMETER" ><I @@ -16749,7 +16774,7 @@ TARGET="_top" >smbpasswd(8)</A > has been used to add this machine into a Windows NT Domain. It expects the <A -HREF="index.html#ENCRYPTPASSWORDS" +HREF="#ENCRYPTPASSWORDS" ><TT CLASS="PARAMETER" ><I @@ -16759,7 +16784,7 @@ CLASS="PARAMETER" </A > parameter to be set to <TT CLASS="CONSTANT" ->true</TT +>yes</TT >. In this mode Samba will try to validate the username/password by passing it to a Windows NT Primary or Backup Domain Controller, in exactly @@ -16809,7 +16834,7 @@ CLASS="EMPHASIS" the server has successfully authenticated the client. This is why guest shares don't work in user level security without allowing the server to automatically map unknown users into the <A -HREF="index.html#GUESTACCOUNT" +HREF="#GUESTACCOUNT" ><TT CLASS="PARAMETER" ><I @@ -16818,7 +16843,7 @@ CLASS="PARAMETER" ></A >. See the <A -HREF="index.html#MAPTOGUEST" +HREF="#MAPTOGUEST" ><TT CLASS="PARAMETER" ><I @@ -16846,12 +16871,12 @@ CLASS="COMMAND" Domain Controller. This issue will be addressed in a future release.</P ><P >See also the section <A -HREF="index.html#AEN236" +HREF="#AEN236" > NOTE ABOUT USERNAME/PASSWORD VALIDATION</A >.</P ><P >See also the <A -HREF="index.html#PASSWORDSERVER" +HREF="#PASSWORDSERVER" ><TT CLASS="PARAMETER" ><I @@ -16860,7 +16885,7 @@ CLASS="PARAMETER" ></TT ></A > parameter and the <A -HREF="index.html#ENCRYPTPASSWORDS" +HREF="#ENCRYPTPASSWORDS" ><TT CLASS="PARAMETER" ><I @@ -16918,7 +16943,7 @@ CLASS="CONSTANT" >.</P ><P >See also the <A -HREF="index.html#FORCEDIRECTORYSECURITYMODE" +HREF="#FORCEDIRECTORYSECURITYMODE" > <TT CLASS="PARAMETER" ><I @@ -16927,7 +16952,7 @@ CLASS="PARAMETER" ></A >, <A -HREF="index.html#DIRECTORYSECURITYMASK" +HREF="#DIRECTORYSECURITYMASK" ><TT CLASS="PARAMETER" ><I @@ -16936,7 +16961,7 @@ CLASS="PARAMETER" ></TT ></A >, <A -HREF="index.html#FORCESECURITYMODE" +HREF="#FORCESECURITYMODE" > <TT CLASS="PARAMETER" ><I @@ -17099,7 +17124,7 @@ NAME="SHORTPRESERVECASE" which conform to 8.3 syntax, that is all in upper case and of suitable length, are created upper case, or if they are forced to be the <A -HREF="index.html#DEFAULTCASE" +HREF="#DEFAULTCASE" ><TT CLASS="PARAMETER" ><I @@ -17108,7 +17133,7 @@ CLASS="PARAMETER" ></TT ></A >. This option can be use with <A -HREF="index.html#PRESERVECASE" +HREF="#PRESERVECASE" ><B CLASS="COMMAND" >preserve case = yes</B @@ -17118,7 +17143,7 @@ CLASS="COMMAND" names are lowered. </P ><P >See the section on <A -HREF="index.html#AEN203" +HREF="#AEN203" > NAME MANGLING</A >.</P ><P @@ -17172,7 +17197,7 @@ CLASS="EMPHASIS" administrative privilege on an individual printer.</P ><P >See also <A -HREF="index.html#ADDPRINTERCOMMAND" +HREF="#ADDPRINTERCOMMAND" ><TT CLASS="PARAMETER" ><I @@ -17181,7 +17206,7 @@ CLASS="PARAMETER" ></TT ></A >, <A -HREF="index.html#DELETEPRINTERCOMMAND" +HREF="#DELETEPRINTERCOMMAND" > <TT CLASS="PARAMETER" ><I @@ -17189,7 +17214,7 @@ CLASS="PARAMETER" ></TT ></A >, <A -HREF="index.html#PRINTERADMIN" +HREF="#PRINTERADMIN" ><TT CLASS="PARAMETER" ><I @@ -17310,7 +17335,7 @@ CLASS="PROGRAMLISTING" </P ><P >See also <A -HREF="index.html#ABORTSHUTDOWNSCRIPT" +HREF="#ABORTSHUTDOWNSCRIPT" ><TT CLASS="PARAMETER" ><I @@ -17621,33 +17646,6 @@ CLASS="COMMAND" ></DD ><DT ><A -NAME="STATUS" -></A ->status (G)</DT -><DD -><P ->This enables or disables logging of connections - to a status file that <A -HREF="smbstatus.1.html" -TARGET="_top" ->smbstatus(1)</A -> - can read.</P -><P ->With this disabled <B -CLASS="COMMAND" ->smbstatus</B -> won't be able - to tell you what connections are active. You should never need to - change this parameter.</P -><P ->Default: <B -CLASS="COMMAND" ->status = yes</B -></P -></DD -><DT -><A NAME="STRICTALLOCATE" ></A >strict allocate (S)</DT @@ -17745,7 +17743,7 @@ TARGET="_top" explorer shell file copies.</P ><P >See also the <A -HREF="index.html#SYNCALWAYS" +HREF="#SYNCALWAYS" ><TT CLASS="PARAMETER" ><I @@ -17787,13 +17785,13 @@ NAME="SYNCALWAYS" whether writes will always be written to stable storage before the write call returns. If this is <TT CLASS="CONSTANT" ->false</TT +>no</TT > then the server will be guided by the client's request in each write call (clients can set a bit indicating that a particular write should be synchronous). If this is <TT CLASS="CONSTANT" ->true</TT +>yes</TT > then every write will be followed by a <B CLASS="COMMAND" >fsync() @@ -17812,7 +17810,7 @@ CLASS="CONSTANT" any affect.</P ><P >See also the <A -HREF="index.html#STRICTSYNC" +HREF="#STRICTSYNC" ><TT CLASS="PARAMETER" ><I @@ -17982,7 +17980,7 @@ NAME="TIMESTAMPLOGS" ><DD ><P >Synonym for <A -HREF="index.html#DEBUGTIMESTAMP" +HREF="#DEBUGTIMESTAMP" ><TT CLASS="PARAMETER" ><I @@ -18011,7 +18009,7 @@ TARGET="_top" can be used to prevent a server from exceeding its capacity and is designed as a printing throttle. See also <A -HREF="index.html#MAXPRINTJOBS" +HREF="#MAXPRINTJOBS" ><TT CLASS="PARAMETER" ><I @@ -18095,7 +18093,7 @@ NAME="UNIXPASSWORDSYNC" when the encrypted SMB password in the smbpasswd file is changed. If this is set to <TT CLASS="CONSTANT" ->true</TT +>yes</TT > the program specified in the <TT CLASS="PARAMETER" ><I @@ -18114,7 +18112,7 @@ CLASS="EMPHASIS" access to the old password cleartext, only the new).</P ><P >See also <A -HREF="index.html#PASSWDPROGRAM" +HREF="#PASSWDPROGRAM" ><TT CLASS="PARAMETER" ><I @@ -18123,7 +18121,7 @@ CLASS="PARAMETER" ></TT ></A >, <A -HREF="index.html#PASSWDCHAT" +HREF="#PASSWDCHAT" ><TT CLASS="PARAMETER" ><I @@ -18162,7 +18160,7 @@ CLASS="CONSTANT" >.</P ><P >In order for this parameter to work correctly the <A -HREF="index.html#ENCRYPTPASSWORDS" +HREF="#ENCRYPTPASSWORDS" ><TT CLASS="PARAMETER" ><I @@ -18236,7 +18234,7 @@ CLASS="EMPHASIS" ></P ><P >See also <A -HREF="index.html#DISABLESPOOLSS" +HREF="#DISABLESPOOLSS" >disable spoolss</A > </P @@ -18258,7 +18256,7 @@ NAME="USEMMAP" mmap/read-write system memory cache. Currently only HPUX does not have such a coherent cache, and so this parameter is set to <TT CLASS="CONSTANT" ->false</TT +>no</TT > by default on HPUX. On all other systems this parameter should be left alone. This parameter is provided to help the Samba developers track down problems with @@ -18279,7 +18277,7 @@ NAME="USERHOSTS" ><P >If this global parameter is <TT CLASS="CONSTANT" ->true</TT +>yes</TT >, it specifies that the UNIX user's <TT CLASS="FILENAME" @@ -18323,7 +18321,7 @@ NAME="USER" ><DD ><P >Synonym for <A -HREF="index.html#USERNAME" +HREF="#USERNAME" ><TT CLASS="PARAMETER" ><I @@ -18340,7 +18338,7 @@ NAME="USERS" ><DD ><P >Synonym for <A -HREF="index.html#USERNAME" +HREF="#USERNAME" ><TT CLASS="PARAMETER" ><I @@ -18399,7 +18397,7 @@ CLASS="PARAMETER" ><P >To restrict a service to a particular set of users you can use the <A -HREF="index.html#VALIDUSERS" +HREF="#VALIDUSERS" ><TT CLASS="PARAMETER" ><I @@ -18429,7 +18427,7 @@ CLASS="PARAMETER" search.</P ><P >See the section <A -HREF="index.html#AEN236" +HREF="#AEN236" >NOTE ABOUT USERNAME/PASSWORD VALIDATION</A > for more information on how @@ -18512,16 +18510,16 @@ NAME="USERNAMEMAP" >If any line begins with a '#' or a ';' then it is ignored</P ><P ->If any line begins with an '!' then the processing - will stop after that line if a mapping was done by the line. - Otherwise mapping continues with every line being processed. - Using '!' is most useful when you have a wildcard mapping line +>If any line begins with an '!' then the processing + will stop after that line if a mapping was done by the line. + Otherwise mapping continues with every line being processed. + Using '!' is most useful when you have a wildcard mapping line later in the file.</P ><P >For example to map from the name <TT CLASS="CONSTANT" >admin</TT -> +> or <TT CLASS="CONSTANT" >administrator</TT @@ -18538,7 +18536,7 @@ CLASS="COMMAND" >Or to map anyone in the UNIX group <TT CLASS="CONSTANT" >system</TT -> +> to the UNIX name <TT CLASS="CONSTANT" >sys</TT @@ -18549,10 +18547,10 @@ CLASS="COMMAND" >sys = @system</B ></P ><P ->You can have as many mappings as you like in a username +>You can have as many mappings as you like in a username map file.</P ><P ->If your system supports the NIS NETGROUP option then +>If your system supports the NIS NETGROUP option then the netgroup database is checked before the <TT CLASS="FILENAME" >/etc/group @@ -18567,12 +18565,12 @@ CLASS="COMMAND" >tridge = "Andrew Tridgell"</B ></P ><P ->would map the windows username "Andrew Tridgell" to the +>would map the windows username "Andrew Tridgell" to the unix username "tridge".</P ><P ->The following example would map mary and fred to the - unix user sys, and map the rest to guest. Note the use of the - '!' to tell Samba to stop processing if it gets a match on +>The following example would map mary and fred to the + unix user sys, and map the rest to guest. Note the use of the + '!' to tell Samba to stop processing if it gets a match on that line.</P ><P ><PRE @@ -18582,38 +18580,38 @@ CLASS="PROGRAMLISTING" </PRE ></P ><P ->Note that the remapping is applied to all occurrences +>Note that the remapping is applied to all occurrences of usernames. Thus if you connect to \\server\fred and <TT CLASS="CONSTANT" > fred</TT > is remapped to <TT CLASS="CONSTANT" >mary</TT -> then you - will actually be connecting to \\server\mary and will need to +> then you + will actually be connecting to \\server\mary and will need to supply a password suitable for <TT CLASS="CONSTANT" >mary</TT -> not +> not <TT CLASS="CONSTANT" >fred</TT ->. The only exception to this is the +>. The only exception to this is the username passed to the <A -HREF="index.html#PASSWORDSERVER" +HREF="#PASSWORDSERVER" ><TT CLASS="PARAMETER" ><I > password server</I ></TT ></A -> (if you have one). The password - server will receive whatever username the client supplies without +> (if you have one). The password + server will receive whatever username the client supplies without modification.</P ><P ->Also note that no reverse mapping is done. The main effect - this has is with printing. Users who have been mapped may have - trouble deleting print jobs as PrintManager under WfWg will think +>Also note that no reverse mapping is done. The main effect + this has is with printing. Users who have been mapped may have + trouble deleting print jobs as PrintManager under WfWg will think they don't own the print job.</P ><P >Default: <SPAN @@ -18632,18 +18630,42 @@ CLASS="COMMAND" ></DD ><DT ><A +NAME="USESENDFILE" +></A +>use sendfile (S)</DT +><DD +><P +>If this parameter is <TT +CLASS="CONSTANT" +>yes</TT +>, and Samba + was built with the --with-sendfile-support option, and the underlying operating + system supports sendfile system call, then some SMB read calls (mainly ReadAndX + and ReadRaw) will use the more efficient sendfile system call for files that + are exclusively oplocked. This may make more efficient use of the system CPU's + and cause Samba to be faster. This is off by default as it's effects are unknown + as yet. + </P +><P +>Default: <B +CLASS="COMMAND" +>use sendfile = no</B +></P +></DD +><DT +><A NAME="UTMP" ></A >utmp (G)</DT ><DD ><P ->This boolean parameter is only available if +>This boolean parameter is only available if Samba has been configured and compiled with the option <B CLASS="COMMAND" > --with-utmp</B >. If set to <TT CLASS="CONSTANT" ->true</TT +>yes</TT > then Samba will attempt to add utmp or utmpx records (depending on the UNIX system) whenever a connection is made to a Samba server. Sites may use this to record the @@ -18656,7 +18678,7 @@ CLASS="CONSTANT" performance on large installations. </P ><P >See also the <A -HREF="index.html#UTMPDIRECTORY" +HREF="#UTMPDIRECTORY" ><TT CLASS="PARAMETER" ><I @@ -18684,7 +18706,7 @@ CLASS="COMMAND" >. It specifies a directory pathname that is used to store the utmp or utmpx files (depending on the UNIX system) that record user connections to a Samba server. See also the <A -HREF="index.html#UTMP" +HREF="#UTMP" > <TT CLASS="PARAMETER" ><I @@ -18730,7 +18752,7 @@ CLASS="COMMAND" has logged out. See also the <A -HREF="index.html#UTMP" +HREF="#UTMP" > <TT CLASS="PARAMETER" ><I @@ -18793,7 +18815,7 @@ CLASS="PARAMETER" >. This is useful in the [homes] section.</P ><P >See also <A -HREF="index.html#INVALIDUSERS" +HREF="#INVALIDUSERS" ><TT CLASS="PARAMETER" ><I @@ -18877,7 +18899,7 @@ CLASS="PARAMETER" for a match as they are scanned.</P ><P >See also <A -HREF="index.html#HIDEFILES" +HREF="#HIDEFILES" ><TT CLASS="PARAMETER" ><I @@ -18886,7 +18908,7 @@ CLASS="PARAMETER" ></TT ></A > and <A -HREF="index.html#CASESENSITIVE" +HREF="#CASESENSITIVE" ><TT CLASS="PARAMETER" ><I @@ -18924,7 +18946,7 @@ NAME="VETOOPLOCKFILES" ><DD ><P >This parameter is only valid when the <A -HREF="index.html#OPLOCKS" +HREF="#OPLOCKS" ><TT CLASS="PARAMETER" ><I @@ -18936,7 +18958,7 @@ CLASS="PARAMETER" to selectively turn off the granting of oplocks on selected files that match a wildcarded list, similar to the wildcarded list used in the <A -HREF="index.html#VETOFILES" +HREF="#VETOFILES" ><TT CLASS="PARAMETER" ><I @@ -19029,7 +19051,7 @@ NAME="VFSOPTIONS" to the vfs layer at initialization time. The Samba VFS layer is new to Samba 2.2 and must be enabled at compile time with --with-vfs. See also <A -HREF="index.html#VFSOBJECT" +HREF="#VFSOBJECT" ><TT CLASS="PARAMETER" ><I @@ -19140,7 +19162,10 @@ CLASS="PARAMETER" >winbind enum users</I ></TT > parameter is - false, calls to the <B + <TT +CLASS="CONSTANT" +>no</TT +>, calls to the <B CLASS="COMMAND" >getpwent</B > system call @@ -19195,7 +19220,10 @@ CLASS="PARAMETER" >winbind enum groups</I ></TT > parameter is - false, calls to the <B + <TT +CLASS="CONSTANT" +>no</TT +>, calls to the <B CLASS="COMMAND" >getgrent()</B > system @@ -19319,7 +19347,7 @@ CLASS="COMMAND" >winbind use default domain, <A NAME="WINBINDUSEDEFAULTDOMAIN" ></A ->winbind use default domain</DT +>winbind use default domain (G)</DT ><DD ><P >This parameter specifies whether the <A @@ -19334,13 +19362,13 @@ TARGET="_top" ><P >Default: <B CLASS="COMMAND" ->winbind use default domain = <falseg> +>winbind use default domain = <no> </B ></P ><P >Example: <B CLASS="COMMAND" ->winbind use default domain = true</B +>winbind use default domain = yes</B ></P ></DD ><DT @@ -19493,7 +19521,7 @@ TARGET="_top" > process in Samba will act as a WINS server. You should not set this to <TT CLASS="CONSTANT" ->true</TT +>yes</TT > unless you have a multi-subnetted network and you wish a particular <B CLASS="COMMAND" @@ -19507,7 +19535,7 @@ CLASS="EMPHASIS" ></SPAN > set this to <TT CLASS="CONSTANT" ->true</TT +>yes</TT > on more than one machine in your network.</P ><P @@ -19526,7 +19554,7 @@ NAME="WORKGROUP" >This controls what workgroup your server will appear to be in when queried by clients. Note that this parameter also controls the Domain name used with the <A -HREF="index.html#SECURITYEQUALSDOMAIN" +HREF="#SECURITYEQUALSDOMAIN" ><B CLASS="COMMAND" >security = domain</B @@ -19555,7 +19583,7 @@ NAME="WRITABLE" ><DD ><P >Synonym for <A -HREF="index.html#WRITEABLE" +HREF="#WRITEABLE" ><TT CLASS="PARAMETER" ><I @@ -19618,11 +19646,11 @@ NAME="WRITELIST" >This is a list of users that are given read-write access to a service. If the connecting user is in this list then they will be given write access, no matter what the <A -HREF="index.html#WRITEABLE" +HREF="#READONLY" ><TT CLASS="PARAMETER" ><I ->writeable</I +>read only</I ></TT ></A > @@ -19633,7 +19661,7 @@ CLASS="PARAMETER" write list then they will be given write access.</P ><P >See also the <A -HREF="index.html#READLIST" +HREF="#READLIST" ><TT CLASS="PARAMETER" ><I @@ -19686,12 +19714,12 @@ NAME="WRITEOK" >write ok (S)</DT ><DD ><P ->Synonym for <A -HREF="index.html#WRITEABLE" +>Inverted synonym for <A +HREF="#READONLY" ><TT CLASS="PARAMETER" ><I -> writeable</I +> read only</I ></TT ></A >.</P @@ -19719,40 +19747,15 @@ NAME="WRITEABLE" >writeable (S)</DT ><DD ><P ->An inverted synonym is <A -HREF="index.html#READONLY" -> <TT +>Inverted synonym for <A +HREF="#READONLY" +><TT CLASS="PARAMETER" ><I ->read only</I +> read only</I ></TT ></A >.</P -><P ->If this parameter is <TT -CLASS="CONSTANT" ->no</TT ->, then users - of a service may not create or modify files in the service's - directory.</P -><P ->Note that a printable service (<B -CLASS="COMMAND" ->printable = yes</B ->) - will <SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->ALWAYS</I -></SPAN -> allow writing to the directory - (user privileges permitting), but only via spooling operations.</P -><P ->Default: <B -CLASS="COMMAND" ->writeable = no</B -></P ></DD ></DL ></DIV @@ -19760,7 +19763,7 @@ CLASS="COMMAND" ><DIV CLASS="REFSECT1" ><A -NAME="AEN6109" +NAME="AEN6113" ></A ><H2 >WARNINGS</H2 @@ -19790,7 +19793,7 @@ TARGET="_top" ><DIV CLASS="REFSECT1" ><A -NAME="AEN6115" +NAME="AEN6119" ></A ><H2 >VERSION</H2 @@ -19801,7 +19804,7 @@ NAME="AEN6115" ><DIV CLASS="REFSECT1" ><A -NAME="AEN6118" +NAME="AEN6122" ></A ><H2 >SEE ALSO</H2 @@ -19880,7 +19883,7 @@ CLASS="COMMAND" ><DIV CLASS="REFSECT1" ><A -NAME="AEN6138" +NAME="AEN6142" ></A ><H2 >AUTHOR</H2 diff --git a/docs/htmldocs/smbcacls.1.html b/docs/htmldocs/smbcacls.1.html index 637720fa6b..e0425d481d 100644 --- a/docs/htmldocs/smbcacls.1.html +++ b/docs/htmldocs/smbcacls.1.html @@ -1,10 +1,11 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >smbcacls</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD +CONTENT="Modular DocBook HTML Stylesheet Version 1.77"></HEAD ><BODY CLASS="REFENTRY" BGCOLOR="#FFFFFF" @@ -15,8 +16,8 @@ ALINK="#0000FF" ><H1 ><A NAME="SMBCACLS" ->smbcacls</A -></H1 +></A +>smbcacls</H1 ><DIV CLASS="REFNAMEDIV" ><A @@ -55,8 +56,8 @@ TARGET="_top" >The <B CLASS="COMMAND" >smbcacls</B -> program manipulates NT Access Control Lists - (ACLs) on SMB file shares. </P +> program manipulates NT Access Control + Lists (ACLs) on SMB file shares. </P ></DIV ><DIV CLASS="REFSECT1" @@ -106,7 +107,7 @@ CLASS="VARIABLELIST" ><P >This command sets the ACLs on the file with only the ones specified on the command line. All other ACLs are - erased. Note that the ACL specified must contain at least a revision, + erased. Note that the ACL specified must contain at least a revision, type, owner and group for the call to succeed. </P ></DD ><DT @@ -189,23 +190,14 @@ NAME="AEN75" >The format of an ACL is one or more ACL entries separated by either commas or newlines. An ACL entry is one of the following: </P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > -REVISION:<revision number> -OWNER:<sid or name> -GROUP:<sid or name> -ACL:<sid or name>:<type>/<flags>/<mask> +REVISION:<revision number> +OWNER:<sid or name> +GROUP:<sid or name> +ACL:<sid or name>:<type>/<flags>/<mask> </PRE -></TD -></TR -></TABLE ></P ><P >The revision of the ACL specifies the internal Windows @@ -262,38 +254,62 @@ ACL:<sid or name>:<type>/<flags>/<mask> ><UL ><LI ><P -><EM ->R</EM +><SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>R</I +></SPAN > - Allow read access </P ></LI ><LI ><P -><EM ->W</EM +><SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>W</I +></SPAN > - Allow write access</P ></LI ><LI ><P -><EM ->X</EM +><SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>X</I +></SPAN > - Execute permission on the object</P ></LI ><LI ><P -><EM ->D</EM +><SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>D</I +></SPAN > - Delete the object</P ></LI ><LI ><P -><EM ->P</EM +><SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>P</I +></SPAN > - Change permissions</P ></LI ><LI ><P -><EM ->O</EM +><SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>O</I +></SPAN > - Take ownership</P ></LI ></UL @@ -304,22 +320,34 @@ ACL:<sid or name>:<type>/<flags>/<mask> ><UL ><LI ><P -><EM ->READ</EM +><SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>READ</I +></SPAN > - Equivalent to 'RX' permissions</P ></LI ><LI ><P -><EM ->CHANGE</EM +><SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>CHANGE</I +></SPAN > - Equivalent to 'RXWD' permissions </P ></LI ><LI ><P -><EM ->FULL</EM +><SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>FULL</I +></SPAN > - Equivalent to 'RWXDPO' permissions</P ></LI diff --git a/docs/htmldocs/smbclient.1.html b/docs/htmldocs/smbclient.1.html index 4c770f9eb2..1e251c2ca5 100644 --- a/docs/htmldocs/smbclient.1.html +++ b/docs/htmldocs/smbclient.1.html @@ -1,10 +1,11 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >smbclient</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD +CONTENT="Modular DocBook HTML Stylesheet Version 1.77"></HEAD ><BODY CLASS="REFENTRY" BGCOLOR="#FFFFFF" @@ -15,8 +16,8 @@ ALINK="#0000FF" ><H1 ><A NAME="SMBCLIENT" ->smbclient</A -></H1 +></A +>smbclient</H1 ><DIV CLASS="REFNAMEDIV" ><A @@ -37,7 +38,7 @@ NAME="AEN8" ><B CLASS="COMMAND" >smbclient</B -> {servicename} [password] [-b <buffer size>] [-d debuglevel] [-D Directory] [-U username] [-W workgroup] [-M <netbios name>] [-m maxprotocol] [-A authfile] [-N] [-l logfile] [-L <netbios name>] [-I destinationIP] [-E <terminal code>] [-c <command string>] [-i scope] [-O <socket options>] [-p port] [-R <name resolve order>] [-s <smb config file>] [-T<c|x>IXFqgbNan]</P +> {servicename} [password] [-b <buffer size>] [-d debuglevel] [-D Directory] [-U username] [-W workgroup] [-M <netbios name>] [-m maxprotocol] [-A authfile] [-N] [-l logfile] [-L <netbios name>] [-I destinationIP] [-E <terminal code>] [-c <command string>] [-i scope] [-O <socket options>] [-p port] [-R <name resolve order>] [-s <smb config file>] [-T<c|x>IXFqgbNan]</P ></DIV ><DIV CLASS="REFSECT1" @@ -195,7 +196,7 @@ CLASS="FILENAME" options. </P ></DD ><DT ->-R <name resolve order></DT +>-R <name resolve order></DT ><DD ><P >This option is used by the programs in the Samba @@ -348,8 +349,12 @@ CLASS="FILENAME" > for a description of how to handle incoming WinPopup messages in Samba. </P ><P -><EM ->Note</EM +><SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>Note</I +></SPAN >: Copy WinPopup into the startup group on your WfWg PCs if you want them to always be able to receive messages. </P @@ -368,8 +373,12 @@ CLASS="FILENAME" CLASS="FILENAME" >rfc1002.txt</TT >. - NetBIOS scopes are <EM ->very</EM + NetBIOS scopes are <SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>very</I +></SPAN > rarely used, only set this parameter if you are the system administrator in charge of all the NetBIOS systems you communicate with. </P @@ -426,12 +435,20 @@ CLASS="REPLACEABLE" ><I >debuglevel</I ></TT -> is set to the letter 'A', then <EM +> is set to the letter 'A', then <SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" >all - </EM + </I +></SPAN > debug messages will be printed. This setting - is for developers only (and people who <EM ->really</EM + is for developers only (and people who <SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>really</I +></SPAN > want to know how the code works internally). </P ><P @@ -593,21 +610,12 @@ CLASS="COMMAND" password used in the connection. The format of the file is </P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="90%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" ->username = <value> -password = <value> -domain = <value> +>username = <value> +password = <value> +domain = <value> </PRE -></TD -></TR -></TABLE ></P ><P >If the domain parameter is missing the current workgroup name @@ -643,10 +651,18 @@ CLASS="COMMAND" > how to interpret filenames coming from the remote server. Usually Asian language multibyte UNIX implementations use different character sets than - SMB/CIFS servers (<EM ->EUC</EM -> instead of <EM -> SJIS</EM + SMB/CIFS servers (<SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>EUC</I +></SPAN +> instead of <SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +> SJIS</I +></SPAN > for example). Setting this parameter will let <B CLASS="COMMAND" @@ -860,8 +876,12 @@ CLASS="PARAMETER" ></LI ></UL ><P -><EM ->Tar Long File Names</EM +><SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>Tar Long File Names</I +></SPAN ></P ><P ><B @@ -877,16 +897,24 @@ CLASS="COMMAND" files in the archive with relative names, not absolute names. </P ><P -><EM ->Tar Filenames</EM +><SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>Tar Filenames</I +></SPAN ></P ><P >All file names can be given as DOS path names (with '\' as the component separator) or as UNIX path names (with '/' as the component separator). </P ><P -><EM ->Examples</EM +><SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>Examples</I +></SPAN ></P ><P >Restore from tar file <TT @@ -988,7 +1016,7 @@ NAME="AEN310" ><P ><TT CLASS="PROMPT" ->smb:\> </TT +>smb:\> </TT ></P ><P >The backslash ("\") indicates the current working directory @@ -1008,7 +1036,7 @@ CLASS="PROMPT" ><P >Parameters shown in square brackets (e.g., "[parameter]") are optional. If not given, the command will use suitable defaults. Parameters - shown in angle brackets (e.g., "<parameter>") are required. + shown in angle brackets (e.g., "<parameter>") are required. </P ><P >Note that all commands operating on the server are actually @@ -1099,7 +1127,7 @@ CLASS="REPLACEABLE" directory on the server will be reported. </P ></DD ><DT ->del <mask></DT +>del <mask></DT ><DD ><P >The client will request that the server attempt @@ -1112,7 +1140,7 @@ CLASS="REPLACEABLE" directory on the server. </P ></DD ><DT ->dir <mask></DT +>dir <mask></DT ><DD ><P >A list of the files matching <TT @@ -1132,7 +1160,7 @@ CLASS="REPLACEABLE" from the program. </P ></DD ><DT ->get <remote file name> [local file name]</DT +>get <remote file name> [local file name]</DT ><DD ><P >Copy the file called <TT @@ -1197,13 +1225,13 @@ CLASS="REPLACEABLE" lowercase filenames are the norm on UNIX systems. </P ></DD ><DT ->ls <mask></DT +>ls <mask></DT ><DD ><P >See the dir command above. </P ></DD ><DT ->mask <mask></DT +>mask <mask></DT ><DD ><P >This command allows the user to set up a mask @@ -1229,13 +1257,13 @@ CLASS="REPLACEABLE" mask back to "*" after using the mget or mput commands. </P ></DD ><DT ->md <directory name></DT +>md <directory name></DT ><DD ><P >See the mkdir command. </P ></DD ><DT ->mget <mask></DT +>mget <mask></DT ><DD ><P >Copy all files matching <TT @@ -1260,14 +1288,14 @@ CLASS="COMMAND" > are binary. See also the lowercase command. </P ></DD ><DT ->mkdir <directory name></DT +>mkdir <directory name></DT ><DD ><P >Create a new directory on the server (user access privileges permitting) with the specified name. </P ></DD ><DT ->mput <mask></DT +>mput <mask></DT ><DD ><P >Copy all files matching <TT @@ -1293,7 +1321,7 @@ CLASS="COMMAND" are binary. </P ></DD ><DT ->print <file name></DT +>print <file name></DT ><DD ><P >Print the specified file from the local machine @@ -1302,7 +1330,7 @@ CLASS="COMMAND" >See also the printmode command.</P ></DD ><DT ->printmode <graphics or text></DT +>printmode <graphics or text></DT ><DD ><P >Set the print mode to suit either binary data @@ -1322,7 +1350,7 @@ CLASS="COMMAND" </P ></DD ><DT ->put <local file name> [remote file name]</DT +>put <local file name> [remote file name]</DT ><DD ><P >Copy the file called <TT @@ -1354,7 +1382,7 @@ CLASS="COMMAND" >See the exit command. </P ></DD ><DT ->rd <directory name></DT +>rd <directory name></DT ><DD ><P >See the rmdir command. </P @@ -1379,7 +1407,7 @@ CLASS="COMMAND" using the mask command will be ignored. </P ></DD ><DT ->rm <mask></DT +>rm <mask></DT ><DD ><P >Remove all files matching <TT @@ -1391,14 +1419,14 @@ CLASS="REPLACEABLE" working directory on the server. </P ></DD ><DT ->rmdir <directory name></DT +>rmdir <directory name></DT ><DD ><P >Remove the specified directory (user access privileges permitting) from the server. </P ></DD ><DT ->setmode <filename> <perm=[+|\-]rsha></DT +>setmode <filename> <perm=[+|\-]rsha></DT ><DD ><P >A version of the DOS attrib command to set @@ -1423,7 +1451,7 @@ CLASS="COMMAND" </P ></DD ><DT ->tar <c|x>[IXbgNa]</DT +>tar <c|x>[IXbgNa]</DT ><DD ><P >Performs a tar operation - see the <TT @@ -1439,7 +1467,7 @@ CLASS="PARAMETER" </P ></DD ><DT ->blocksize <blocksize></DT +>blocksize <blocksize></DT ><DD ><P >Blocksize. Must be followed by a valid (greater @@ -1452,7 +1480,7 @@ CLASS="REPLACEABLE" >*TBLOCK (usually 512 byte) blocks. </P ></DD ><DT ->tarmode <full|inc|reset|noreset></DT +>tarmode <full|inc|reset|noreset></DT ><DD ><P >Changes tar's behavior with regard to archive @@ -1540,8 +1568,12 @@ CLASS="FILENAME" > /usr/samba/bin/</TT > directory, this directory readable by all, writeable only by root. The client program itself should - be executable by all. The client should <EM ->NOT</EM + be executable by all. The client should <SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>NOT</I +></SPAN > be setuid or setgid! </P ><P diff --git a/docs/htmldocs/smbcontrol.1.html b/docs/htmldocs/smbcontrol.1.html index 74c2854a86..12662dcc04 100644 --- a/docs/htmldocs/smbcontrol.1.html +++ b/docs/htmldocs/smbcontrol.1.html @@ -1,10 +1,11 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >smbcontrol</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD +CONTENT="Modular DocBook HTML Stylesheet Version 1.77"></HEAD ><BODY CLASS="REFENTRY" BGCOLOR="#FFFFFF" @@ -15,8 +16,8 @@ ALINK="#0000FF" ><H1 ><A NAME="SMBCONTROL" ->smbcontrol</A -></H1 +></A +>smbcontrol</H1 ><DIV CLASS="REFNAMEDIV" ><A @@ -249,7 +250,7 @@ CLASS="CONSTANT" >printnotify</TT > message-type sends a message to smbd which in turn sends a printer notify message to - any Windows NT clients connected to a printer. This message-type + any Windows NT clients connected to a printer. This message-type takes the following arguments: <P diff --git a/docs/htmldocs/smbd.8.html b/docs/htmldocs/smbd.8.html index 6a4996d938..22340139ed 100644 --- a/docs/htmldocs/smbd.8.html +++ b/docs/htmldocs/smbd.8.html @@ -1,10 +1,11 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >smbd</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD +CONTENT="Modular DocBook HTML Stylesheet Version 1.77"></HEAD ><BODY CLASS="REFENTRY" BGCOLOR="#FFFFFF" @@ -15,8 +16,8 @@ ALINK="#0000FF" ><H1 ><A NAME="SMBD" ->smbd</A -></H1 +></A +>smbd</H1 ><DIV CLASS="REFNAMEDIV" ><A @@ -36,7 +37,7 @@ NAME="AEN8" ><B CLASS="COMMAND" >smbd</B -> [-D] [-a] [-i] [-o] [-P] [-h] [-V] [-b] [-d <debug level>] [-l <log directory>] [-p <port number>] [-O <socket option>] [-s <configuration file>]</P +> [-D] [-a] [-i] [-o] [-P] [-h] [-V] [-b] [-d <debug level>] [-l <log directory>] [-p <port number>] [-O <socket option>] [-s <configuration file>]</P ></DIV ><DIV CLASS="REFSECT1" @@ -205,7 +206,7 @@ CLASS="COMMAND" Samba was built.</P ></DD ><DT ->-d <debug level></DT +>-d <debug level></DT ><DD ><P ><TT @@ -246,7 +247,7 @@ CLASS="FILENAME" > file.</P ></DD ><DT ->-l <log directory></DT +>-l <log directory></DT ><DD ><P >If specified, @@ -272,8 +273,12 @@ TARGET="_top" CLASS="FILENAME" > smb.conf(5)</TT ></A -> file. <EM ->Beware:</EM +> file. <SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>Beware:</I +></SPAN > If the directory specified does not exist, <B CLASS="COMMAND" @@ -286,7 +291,7 @@ CLASS="COMMAND" compile time.</P ></DD ><DT ->-O <socket options></DT +>-O <socket options></DT ><DD ><P >See the <A @@ -305,7 +310,7 @@ CLASS="FILENAME" > file for details.</P ></DD ><DT ->-p <port number></DT +>-p <port number></DT ><DD ><P ><TT @@ -336,7 +341,7 @@ CLASS="REPLACEABLE" in the above situation.</P ></DD ><DT ->-s <configuration file></DT +>-s <configuration file></DT ><DD ><P >The file specified contains the @@ -544,8 +549,12 @@ TARGET="_top" ><UL ><LI ><P -><EM ->Account Validation</EM +><SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>Account Validation</I +></SPAN >: All acccesses to a samba server are checked against PAM to see if the account is vaild, not disabled and is permitted to @@ -554,8 +563,12 @@ TARGET="_top" ></LI ><LI ><P -><EM ->Session Management</EM +><SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>Session Management</I +></SPAN >: When not using share level secuirty, users must pass PAM's session checks before access is granted. Note however, that this is bypassed in share level secuirty. @@ -624,8 +637,12 @@ CLASS="COMMAND" that <B CLASS="COMMAND" >SIGKILL (-9)</B -> <EM ->NOT</EM +> <SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>NOT</I +></SPAN > be used, except as a last resort, as this may leave the shared memory area in an inconsistent state. The safe way to terminate diff --git a/docs/htmldocs/smbgroupedit.8.html b/docs/htmldocs/smbgroupedit.8.html index 4af49672ca..b93e900dcd 100644 --- a/docs/htmldocs/smbgroupedit.8.html +++ b/docs/htmldocs/smbgroupedit.8.html @@ -1,10 +1,11 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >smbgroupedit</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD +CONTENT="Modular DocBook HTML Stylesheet Version 1.77"></HEAD ><BODY CLASS="REFENTRY" BGCOLOR="#FFFFFF" @@ -15,8 +16,8 @@ ALINK="#0000FF" ><H1 ><A NAME="SMBGROUPEDIT" ->smbgroupedit</A -></H1 +></A +>smbgroupedit</H1 ><DIV CLASS="REFNAMEDIV" ><A @@ -36,7 +37,7 @@ NAME="AEN8" ><B CLASS="COMMAND" >smbroupedit</B -> [-v [l|s]] [-a UNIX-groupname [-d NT-groupname|-p prividge|]</P +> [-v [l|s]] [-a UNIX-groupname [-d NT-groupname|-p privilege|]]</P ></DIV ><DIV CLASS="REFSECT1" @@ -88,12 +89,6 @@ CLASS="VARIABLELIST" ><P >give a long listing, of the format:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="90%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >"NT Group Name" @@ -102,30 +97,18 @@ CLASS="PROGRAMLISTING" Group type : Comment : Privilege :</PRE -></TD -></TR -></TABLE ></P ><P >For examples,</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="90%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >Users - SID : S-1-5-32-545 + SID : S-1-5-32-545 Unix group: -1 Group type: Local group - Comment : + Comment : Privilege : No privilege</PRE -></TD -></TR -></TABLE ></P ></DD ><DT @@ -134,34 +117,16 @@ CLASS="PROGRAMLISTING" ><P >display a short listing of the format:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="90%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >NTGroupName(SID) -> UnixGroupName</PRE -></TD -></TR -></TABLE ></P ><P >For example,</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="90%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >Users (S-1-5-32-545) -> -1</PRE -></TD -></TR -></TABLE ></P ></DD ></DL @@ -246,12 +211,6 @@ TYPE="a" >Get the SID for the Windows NT "Domain Admins" group:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="90%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" ><TT @@ -262,9 +221,6 @@ CLASS="COMMAND" >smbgroupedit -vs | grep "Domain Admins"</B > Domain Admins (S-1-5-21-1108995562-3116817432-1375597819-512) -> -1</PRE -></TD -></TR -></TABLE ></P ></LI ><LI @@ -273,12 +229,6 @@ Domain Admins (S-1-5-21-1108995562-3116817432-1375597819-512) -> -1</PRE "Domain Admins" group, by running the command: </P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="90%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" ><TT @@ -290,13 +240,14 @@ CLASS="COMMAND" -c S-1-5-21-1108995562-3116817432-1375597819-512 \ -u domadm</B ></PRE -></TD -></TR -></TABLE ></P ><P -> <EM ->warning:</EM +> <SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>warning:</I +></SPAN > don't copy and paste this sample, the Domain Admins SID (the S-1-5-21-...-512) is different for every PDC. </P @@ -305,14 +256,8 @@ CLASS="COMMAND" ></LI ></OL ><P ->To verify that you mapping has taken effect:</P +>To verify that your mapping has taken effect:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" ><TT @@ -323,21 +268,12 @@ CLASS="COMMAND" >smbgroupedit -vs|grep "Domain Admins"</B > Domain Admins (S-1-5-21-1108995562-3116817432-1375597819-512) -> domadm</PRE -></TD -></TR -></TABLE ></P ><P >To give access to a certain directory on a domain member machine (an NT/W2K or a samba server running winbind) to some users who are member of a group on your samba PDC, flag that group as a domain group:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" ><TT @@ -347,9 +283,6 @@ CLASS="PROMPT" CLASS="COMMAND" >smbgroupedit -a unixgroup -td</B ></PRE -></TD -></TR -></TABLE ></P ></DIV ><DIV diff --git a/docs/htmldocs/smbmnt.8.html b/docs/htmldocs/smbmnt.8.html index a7d10b6e19..06b9fb1fd3 100644 --- a/docs/htmldocs/smbmnt.8.html +++ b/docs/htmldocs/smbmnt.8.html @@ -1,10 +1,11 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >smbmnt</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD +CONTENT="Modular DocBook HTML Stylesheet Version 1.77"></HEAD ><BODY CLASS="REFENTRY" BGCOLOR="#FFFFFF" @@ -15,8 +16,8 @@ ALINK="#0000FF" ><H1 ><A NAME="SMBMNT" ->smbmnt</A -></H1 +></A +>smbmnt</H1 ><DIV CLASS="REFNAMEDIV" ><A @@ -36,7 +37,7 @@ NAME="AEN8" ><B CLASS="COMMAND" >smbmnt</B -> {mount-point} [-s <share>] [-r] [-u <uid>] [-g <gid>] [-f <mask>] [-d <mask>] [-o <options>]</P +> {mount-point} [-s <share>] [-r] [-u <uid>] [-g <gid>] [-f <mask>] [-d <mask>] [-o <options>]</P ></DIV ><DIV CLASS="REFSECT1" diff --git a/docs/htmldocs/smbmount.8.html b/docs/htmldocs/smbmount.8.html index 9d620f1397..81a3ac04b2 100644 --- a/docs/htmldocs/smbmount.8.html +++ b/docs/htmldocs/smbmount.8.html @@ -1,10 +1,11 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >smbmount</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD +CONTENT="Modular DocBook HTML Stylesheet Version 1.77"></HEAD ><BODY CLASS="REFENTRY" BGCOLOR="#FFFFFF" @@ -15,8 +16,8 @@ ALINK="#0000FF" ><H1 ><A NAME="SMBMOUNT" ->smbmount</A -></H1 +></A +>smbmount</H1 ><DIV CLASS="REFNAMEDIV" ><A @@ -85,8 +86,12 @@ CLASS="COMMAND" >smbmount</B > process may also be called mount.smbfs.</P ><P -><EM ->NOTE:</EM +><SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>NOTE:</I +></SPAN > <B CLASS="COMMAND" >smbmount</B @@ -114,7 +119,7 @@ NAME="AEN31" CLASS="VARIABLELIST" ><DL ><DT ->username=<arg></DT +>username=<arg></DT ><DD ><P >specifies the username to connect as. If @@ -127,7 +132,7 @@ CLASS="ENVAR" to be specified as part of the username.</P ></DD ><DT ->password=<arg></DT +>password=<arg></DT ><DD ><P >specifies the SMB password. If this @@ -143,7 +148,7 @@ CLASS="COMMAND" for a passeword, unless the guest option is given. </P ><P -> Note that password which contain the arguement delimiter +> Note that passwords which contain the argument delimiter character (i.e. a comma ',') will failed to be parsed correctly on the command line. However, the same password defined in the PASSWD environment variable or a credentials file (see @@ -151,26 +156,17 @@ CLASS="COMMAND" </P ></DD ><DT ->credentials=<filename></DT +>credentials=<filename></DT ><DD ><P >specifies a file that contains a username and/or password. The format of the file is:</P ><P -> <TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="90%" -><TR -><TD -><PRE +> <PRE CLASS="PROGRAMLISTING" -> username = <value> - password = <value> +> username = <value> + password = <value> </PRE -></TD -></TR -></TABLE > </P ><P @@ -183,14 +179,14 @@ CLASS="FILENAME" </P ></DD ><DT ->netbiosname=<arg></DT +>netbiosname=<arg></DT ><DD ><P >sets the source NetBIOS name. It defaults to the local hostname. </P ></DD ><DT ->uid=<arg></DT +>uid=<arg></DT ><DD ><P >sets the uid that will own all files on @@ -199,7 +195,7 @@ CLASS="FILENAME" </P ></DD ><DT ->gid=<arg></DT +>gid=<arg></DT ><DD ><P >sets the gid that will own all files on @@ -208,14 +204,14 @@ CLASS="FILENAME" gid. </P ></DD ><DT ->port=<arg></DT +>port=<arg></DT ><DD ><P >sets the remote SMB port number. The default is 139. </P ></DD ><DT ->fmask=<arg></DT +>fmask=<arg></DT ><DD ><P >sets the file mask. This determines the @@ -223,7 +219,7 @@ CLASS="FILENAME" The default is based on the current umask. </P ></DD ><DT ->dmask=<arg></DT +>dmask=<arg></DT ><DD ><P >sets the directory mask. This determines the @@ -231,7 +227,7 @@ CLASS="FILENAME" The default is based on the current umask. </P ></DD ><DT ->debug=<arg></DT +>debug=<arg></DT ><DD ><P >sets the debug level. This is useful for @@ -240,20 +236,20 @@ CLASS="FILENAME" output, possibly hiding the useful output.</P ></DD ><DT ->ip=<arg></DT +>ip=<arg></DT ><DD ><P >sets the destination host or IP address. </P ></DD ><DT ->workgroup=<arg></DT +>workgroup=<arg></DT ><DD ><P >sets the workgroup on the destination </P ></DD ><DT ->sockopt=<arg></DT +>sockopt=<arg></DT ><DD ><P >sets the TCP socket options. See the <A @@ -273,7 +269,7 @@ CLASS="PARAMETER" </P ></DD ><DT ->scope=<arg></DT +>scope=<arg></DT ><DD ><P >sets the NetBIOS scope </P @@ -297,7 +293,7 @@ CLASS="PARAMETER" >mount read-write </P ></DD ><DT ->iocharset=<arg></DT +>iocharset=<arg></DT ><DD ><P > sets the charset used by the Linux side for codepage @@ -307,7 +303,7 @@ CLASS="PARAMETER" </P ></DD ><DT ->codepage=<arg></DT +>codepage=<arg></DT ><DD ><P > sets the codepage the server uses. See the iocharset @@ -316,10 +312,10 @@ CLASS="PARAMETER" </P ></DD ><DT ->ttl=<arg></DT +>ttl=<arg></DT ><DD ><P -> how long a directory listing is cached in milliseconds +> sets how long a directory listing is cached in milliseconds (also affects visibility of file size and date changes). A higher value means that changes on the server take longer to be noticed but it can give diff --git a/docs/htmldocs/smbpasswd.5.html b/docs/htmldocs/smbpasswd.5.html index 1f862b6611..04fab30ed6 100644 --- a/docs/htmldocs/smbpasswd.5.html +++ b/docs/htmldocs/smbpasswd.5.html @@ -1,10 +1,11 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >smbpasswd</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD +CONTENT="Modular DocBook HTML Stylesheet Version 1.77"></HEAD ><BODY CLASS="REFENTRY" BGCOLOR="#FFFFFF" @@ -15,8 +16,8 @@ ALINK="#0000FF" ><H1 ><A NAME="SMBPASSWD" ->smbpasswd</A -></H1 +></A +>smbpasswd</H1 ><DIV CLASS="REFNAMEDIV" ><A @@ -118,17 +119,29 @@ CLASS="CONSTANT" > and the user will not be able to log onto the Samba server. </P ><P -><EM ->WARNING !!</EM +><SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>WARNING !!</I +></SPAN > Note that, due to the challenge-response nature of the SMB/CIFS authentication protocol, anyone with a knowledge of this password hash will be able to impersonate the user on the network. For this - reason these hashes are known as <EM + reason these hashes are known as <SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" >plain text - equivalents</EM -> and must <EM ->NOT</EM + equivalents</I +></SPAN +> and must <SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>NOT</I +></SPAN > be made available to anyone but the root user. To protect these passwords the smbpasswd file is placed in a directory with read and @@ -153,17 +166,29 @@ CLASS="CONSTANT" password this entry will be identical (i.e. the password is not "salted" as the UNIX password is). </P ><P -><EM ->WARNING !!</EM +><SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>WARNING !!</I +></SPAN >. Note that, due to the challenge-response nature of the SMB/CIFS authentication protocol, anyone with a knowledge of this password hash will be able to impersonate the user on the network. For this - reason these hashes are known as <EM + reason these hashes are known as <SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" >plain text - equivalents</EM -> and must <EM ->NOT</EM + equivalents</I +></SPAN +> and must <SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>NOT</I +></SPAN > be made available to anyone but the root user. To protect these passwords the smbpasswd file is placed in a directory with read and @@ -186,8 +211,12 @@ CLASS="CONSTANT" ><UL ><LI ><P -><EM ->U</EM +><SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>U</I +></SPAN > - This means this is a "User" account, i.e. an ordinary user. Only User and Workstation Trust accounts are currently supported @@ -195,8 +224,12 @@ CLASS="CONSTANT" ></LI ><LI ><P -><EM ->N</EM +><SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>N</I +></SPAN > - This means the account has no password (the passwords in the fields LANMAN Password Hash and NT Password Hash are ignored). Note that this @@ -217,16 +250,24 @@ CLASS="FILENAME" ></LI ><LI ><P -><EM ->D</EM +><SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>D</I +></SPAN > - This means the account is disabled and no SMB/CIFS logins will be allowed for this user. </P ></LI ><LI ><P -><EM ->W</EM +><SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>W</I +></SPAN > - This means this account is a "Workstation Trust" account. This kind of account is used in the Samba PDC code stream to allow Windows NT Workstations diff --git a/docs/htmldocs/smbpasswd.8.html b/docs/htmldocs/smbpasswd.8.html index a8b39b37e5..fa7b4b2520 100644 --- a/docs/htmldocs/smbpasswd.8.html +++ b/docs/htmldocs/smbpasswd.8.html @@ -1,10 +1,11 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >smbpasswd</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD +CONTENT="Modular DocBook HTML Stylesheet Version 1.77"></HEAD ><BODY CLASS="REFENTRY" BGCOLOR="#FFFFFF" @@ -15,8 +16,8 @@ ALINK="#0000FF" ><H1 ><A NAME="SMBPASSWD" ->smbpasswd</A -></H1 +></A +>smbpasswd</H1 ><DIV CLASS="REFNAMEDIV" ><A @@ -36,12 +37,12 @@ NAME="AEN8" ><B CLASS="COMMAND" >smbpasswd</B -> [-a] [-x] [-d] [-e] [-D debuglevel] [-n] [-r <remote machine>] [-R <name resolve order>] [-m] [-j DOMAIN] [-U username[%password]] [-h] [-s] [-w pass] [username]</P +> [-a] [-x] [-d] [-e] [-D debuglevel] [-n] [-r <remote machine>] [-R <name resolve order>] [-m] [-U username[%password]] [-h] [-s] [-w pass] [username]</P ></DIV ><DIV CLASS="REFSECT1" ><A -NAME="AEN26" +NAME="AEN25" ></A ><H2 >DESCRIPTION</H2 @@ -53,8 +54,12 @@ TARGET="_top" > suite.</P ><P >The smbpasswd program has several different - functions, depending on whether it is run by the <EM ->root</EM + functions, depending on whether it is run by the <SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>root</I +></SPAN > user or not. When run as a normal user it allows the user to change the password used for their SMB sessions on any machines that store @@ -70,8 +75,12 @@ CLASS="COMMAND" CLASS="COMMAND" >smbpasswd</B > differs from how the passwd program works - however in that it is not <EM ->setuid root</EM + however in that it is not <SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>setuid root</I +></SPAN > but works in a client-server mode and communicates with a locally running <B @@ -85,13 +94,13 @@ CLASS="FILENAME" >smbpasswd(5)</TT > file. </P ><P ->When run by an ordinary user with no options. smbpasswd +>When run by an ordinary user with no options, smbpasswd will prompt them for their old SMB password and then ask them for their new password twice, to ensure that the new password was typed correctly. No passwords will be echoed on the screen whilst being typed. If you have a blank SMB password (specified by the string "NO PASSWORD" in the smbpasswd file) then just press - the <Enter> key when asked for your old password. </P + the <Enter> key when asked for your old password. </P ><P >smbpasswd can also be used by a normal user to change their SMB password on remote machines, such as Windows NT Primary Domain @@ -110,7 +119,7 @@ CLASS="COMMAND" ><DIV CLASS="REFSECT1" ><A -NAME="AEN42" +NAME="AEN41" ></A ><H2 >OPTIONS</H2 @@ -125,7 +134,7 @@ CLASS="VARIABLELIST" ><P >This option specifies that the username following should be added to the local smbpasswd file, with the - new password typed (type <Enter> for the old password). This + new password typed (type <Enter> for the old password). This option is ignored if the username following already exists in the smbpasswd file and it is treated like a regular change password command. Note that the default passdb backends require @@ -134,7 +143,7 @@ CLASS="VARIABLELIST" CLASS="FILENAME" >/etc/passwd</TT >), else the request to add the - user will fail. </P + user will fail. </P ><P >This option is only available when running smbpasswd as root. </P @@ -294,8 +303,12 @@ CLASS="PARAMETER" copy of the user account database and will not allow the password change).</P ><P -><EM ->Note</EM +><SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>Note</I +></SPAN > that Windows 95/98 do not have a real password database so it is not possible to change passwords specifying a Win95/98 machine as remote machine target. </P @@ -304,12 +317,12 @@ CLASS="PARAMETER" >-R name resolve order</DT ><DD ><P ->This option allows the user of smbpasswd to determine +>This option allows the user of smbpasswd to determine what name resolution services to use when looking up the NetBIOS name of the host being connected to. </P ><P ->The options are :"lmhosts", "host", "wins" and "bcast". They cause - names to be resolved as follows : </P +>The options are :"lmhosts", "host", "wins" and "bcast". They + cause names to be resolved as follows : </P ><P ></P ><UL @@ -359,8 +372,8 @@ CLASS="PARAMETER" >wins server</I ></TT > - parameter. If no WINS server has been specified this method - will be ignored.</P + parameter. If no WINS server has been specified this method + will be ignored.</P ></LI ><LI ><P @@ -375,8 +388,8 @@ CLASS="PARAMETER" >interfaces</I ></TT > parameter. This is the least - reliable of the name resolution methods as it depends on the - target host being on a locally connected subnet.</P + reliable of the name resolution methods as it depends on the + target host being on a locally connected subnet.</P ></LI ></UL ><P @@ -399,7 +412,7 @@ CLASS="FILENAME" being changed is a MACHINE account. Currently this is used when Samba is being used as an NT Primary Domain Controller.</P ><P ->This option is only available when running smbpasswd as root. +>This option is only available when running smbpasswd as root. </P ></DD ><DT @@ -448,8 +461,8 @@ CLASS="COMMAND" >-w password</DT ><DD ><P ->This parameter is only available is Samba - has been configured to use the experiemental +>This parameter is only available if Samba + has been configured to use the experimental <B CLASS="COMMAND" >--with-ldapsam</B @@ -481,7 +494,7 @@ CLASS="PARAMETER" >ldap admin dn</I ></TT -> ever changes, the password will beed to be +> ever changes, the password will need to be manually updated as well. </P ></DD @@ -490,8 +503,12 @@ CLASS="PARAMETER" ><DD ><P >This specifies the username for all of the - <EM ->root only</EM + <SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>root only</I +></SPAN > options to operate on. Only root can specify this parameter as only root has the permission needed to modify attributes directly in the local smbpasswd file. @@ -503,7 +520,7 @@ CLASS="PARAMETER" ><DIV CLASS="REFSECT1" ><A -NAME="AEN163" +NAME="AEN162" ></A ><H2 >NOTES</H2 @@ -546,7 +563,7 @@ CLASS="FILENAME" ><DIV CLASS="REFSECT1" ><A -NAME="AEN173" +NAME="AEN172" ></A ><H2 >VERSION</H2 @@ -557,7 +574,7 @@ NAME="AEN173" ><DIV CLASS="REFSECT1" ><A -NAME="AEN176" +NAME="AEN175" ></A ><H2 >SEE ALSO</H2 @@ -580,7 +597,7 @@ TARGET="_top" ><DIV CLASS="REFSECT1" ><A -NAME="AEN182" +NAME="AEN181" ></A ><H2 >AUTHOR</H2 diff --git a/docs/htmldocs/smbsh.1.html b/docs/htmldocs/smbsh.1.html index ba2cc7b492..72dbda5418 100644 --- a/docs/htmldocs/smbsh.1.html +++ b/docs/htmldocs/smbsh.1.html @@ -1,10 +1,11 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >smbsh</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD +CONTENT="Modular DocBook HTML Stylesheet Version 1.77"></HEAD ><BODY CLASS="REFENTRY" BGCOLOR="#FFFFFF" @@ -15,8 +16,8 @@ ALINK="#0000FF" ><H1 ><A NAME="SMBSH" ->smbsh</A -></H1 +></A +>smbsh</H1 ><DIV CLASS="REFNAMEDIV" ><A @@ -37,7 +38,7 @@ NAME="AEN8" ><B CLASS="COMMAND" >smbsh</B -> [-W workgroup] [-U username] [-P prefix] [-R <name resolve order>] [-d <debug level>] [-l logfile] [-L libdir]</P +> [-W workgroup] [-U username] [-P prefix] [-R <name resolve order>] [-d <debug level>] [-l logfile] [-L libdir]</P ></DIV ><DIV CLASS="REFSECT1" @@ -114,13 +115,17 @@ CLASS="FILENAME" >This option allows the user to set the directory prefix for SMB access. The default value if this option is not specified is - <EM ->smb</EM + <SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>smb</I +></SPAN >. </P ></DD ><DT ->-R <name resolve order></DT +>-R <name resolve order></DT ><DD ><P >This option is used to determine what naming @@ -231,7 +236,7 @@ CLASS="FILENAME" order. </P ></DD ><DT ->-d <debug level></DT +>-d <debug level></DT ><DD ><P >debug level is an integer from 0 to 10.</P @@ -300,12 +305,6 @@ CLASS="COMMAND" that authenticates you to the machine running the Windows NT operating system.</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > <TT @@ -336,9 +335,6 @@ CLASS="USERINPUT" ></TT > </PRE -></TD -></TR -></TABLE ></P ><P >Any dynamically linked command you execute from @@ -358,7 +354,7 @@ CLASS="COMMAND" the workgroup MYGROUP. The command <B CLASS="COMMAND" ->ls /smb/MYGROUP/<machine-name></B +>ls /smb/MYGROUP/<machine-name></B > will show the share names for that machine. You could then, for example, use the <B CLASS="COMMAND" diff --git a/docs/htmldocs/smbspool.8.html b/docs/htmldocs/smbspool.8.html index 254abe9a9d..8dc2fbbd63 100644 --- a/docs/htmldocs/smbspool.8.html +++ b/docs/htmldocs/smbspool.8.html @@ -1,10 +1,11 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >smbspool</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD +CONTENT="Modular DocBook HTML Stylesheet Version 1.77"></HEAD ><BODY CLASS="REFENTRY" BGCOLOR="#FFFFFF" @@ -15,8 +16,8 @@ ALINK="#0000FF" ><H1 ><A NAME="SMBSPOOL" ->smbspool</A -></H1 +></A +>smbspool</H1 ><DIV CLASS="REFNAMEDIV" ><A @@ -24,7 +25,7 @@ NAME="AEN5" ></A ><H2 >Name</H2 ->smbspool -- send print file to an SMB printer</DIV +>smbspool -- send a print file to an SMB printer</DIV ><DIV CLASS="REFSYNOPSISDIV" ><A @@ -58,8 +59,12 @@ TARGET="_top" Printing System, but you can use smbspool with any printing system or from a program or script.</P ><P -><EM ->DEVICE URI</EM +><SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>DEVICE URI</I +></SPAN ></P ><P >smbspool specifies the destination using a Uniform Resource @@ -136,13 +141,13 @@ NAME="AEN39" ><P >The copies argument (argv[4]) contains the number of copies to be printed of the named file. If - no filename is provided than this argument is not used by + no filename is provided then this argument is not used by smbspool.</P ></LI ><LI ><P >The options argument (argv[5]) contains - the print options in a single string and is presently + the print options in a single string and is currently not used by smbspool.</P ></LI ><LI diff --git a/docs/htmldocs/smbstatus.1.html b/docs/htmldocs/smbstatus.1.html index 1d3dc9f952..fb7e14fadd 100644 --- a/docs/htmldocs/smbstatus.1.html +++ b/docs/htmldocs/smbstatus.1.html @@ -1,10 +1,11 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >smbstatus</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD +CONTENT="Modular DocBook HTML Stylesheet Version 1.77"></HEAD ><BODY CLASS="REFENTRY" BGCOLOR="#FFFFFF" @@ -15,8 +16,8 @@ ALINK="#0000FF" ><H1 ><A NAME="SMBSTATUS" ->smbstatus</A -></H1 +></A +>smbstatus</H1 ><DIV CLASS="REFNAMEDIV" ><A @@ -36,12 +37,12 @@ NAME="AEN8" ><B CLASS="COMMAND" >smbstatus</B -> [-P] [-b] [-d] [-L] [-p] [-S] [-s <configuration file>] [-u <username>]</P +> [-P] [-b] [-d <debug level>] [-v] [-L] [-B] [-p] [-S] [-s <configuration file>] [-u <username>]</P ></DIV ><DIV CLASS="REFSECT1" ><A -NAME="AEN19" +NAME="AEN21" ></A ><H2 >DESCRIPTION</H2 @@ -61,7 +62,7 @@ CLASS="COMMAND" ><DIV CLASS="REFSECT1" ><A -NAME="AEN25" +NAME="AEN27" ></A ><H2 >OPTIONS</H2 @@ -71,7 +72,7 @@ NAME="AEN25" CLASS="VARIABLELIST" ><DL ><DT ->-P</DT +>-P|--profile</DT ><DD ><P >If samba has been compiled with the @@ -79,25 +80,38 @@ CLASS="VARIABLELIST" shared memory area.</P ></DD ><DT ->-b</DT +>-b|--brief</DT ><DD ><P >gives brief output.</P ></DD ><DT ->-d</DT +>-d|--debug=<debuglevel></DT +><DD +><P +>sets debugging to specified level</P +></DD +><DT +>-v|--verbose</DT ><DD ><P >gives verbose output.</P ></DD ><DT ->-L</DT +>-L|--locks</DT ><DD ><P >causes smbstatus to only list locks.</P ></DD ><DT ->-p</DT +>-B|--byterange</DT +><DD +><P +>causes smbstatus to include byte range locks. + </P +></DD +><DT +>-p|--processes</DT ><DD ><P >print a list of <A @@ -111,13 +125,13 @@ CLASS="COMMAND" Useful for scripting.</P ></DD ><DT ->-S</DT +>-S|--shares</DT ><DD ><P >causes smbstatus to only list shares.</P ></DD ><DT ->-s <configuration file></DT +>-s|--conf=<configuration file></DT ><DD ><P >The default configuration file name is @@ -133,7 +147,7 @@ CLASS="FILENAME" > for more information.</P ></DD ><DT ->-u <username></DT +>-u|--user=<username></DT ><DD ><P >selects information relevant to @@ -150,18 +164,18 @@ CLASS="PARAMETER" ><DIV CLASS="REFSECT1" ><A -NAME="AEN65" +NAME="AEN75" ></A ><H2 >VERSION</H2 ><P ->This man page is correct for version 2.2 of +>This man page is correct for version 3.0 of the Samba suite.</P ></DIV ><DIV CLASS="REFSECT1" ><A -NAME="AEN68" +NAME="AEN78" ></A ><H2 >SEE ALSO</H2 @@ -183,7 +197,7 @@ TARGET="_top" ><DIV CLASS="REFSECT1" ><A -NAME="AEN74" +NAME="AEN84" ></A ><H2 >AUTHOR</H2 diff --git a/docs/htmldocs/smbtar.1.html b/docs/htmldocs/smbtar.1.html index 47c41a015a..d3215c6901 100644 --- a/docs/htmldocs/smbtar.1.html +++ b/docs/htmldocs/smbtar.1.html @@ -1,10 +1,11 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >smbtar</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD +CONTENT="Modular DocBook HTML Stylesheet Version 1.77"></HEAD ><BODY CLASS="REFENTRY" BGCOLOR="#FFFFFF" @@ -15,8 +16,8 @@ ALINK="#0000FF" ><H1 ><A NAME="SMBTAR" ->smbtar</A -></H1 +></A +>smbtar</H1 ><DIV CLASS="REFNAMEDIV" ><A @@ -230,7 +231,7 @@ NAME="AEN99" CLASS="COMMAND" >smbtar</B > script has different - options from ordinary tar and tar called from smbclient. </P + options from ordinary tar and from smbclient's tar command. </P ></DIV ><DIV CLASS="REFSECT1" @@ -242,7 +243,7 @@ NAME="AEN103" ><P >Sites that are more careful about security may not like the way the script handles PC passwords. Backup and restore work - on entire shares, should work on file lists. smbtar works best + on entire shares; should work on file lists. smbtar works best with GNU tar and may not work well with other versions. </P ></DIV ><DIV @@ -253,8 +254,12 @@ NAME="AEN106" ><H2 >DIAGNOSTICS</H2 ><P ->See the <EM ->DIAGNOSTICS</EM +>See the <SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>DIAGNOSTICS</I +></SPAN > section for the <A HREF="smbclient.1.html" @@ -274,7 +279,7 @@ NAME="AEN112" ><H2 >VERSION</H2 ><P ->This man page is correct for version 2.2 of +>This man page is correct for version 3.0 of the Samba suite.</P ></DIV ><DIV diff --git a/docs/htmldocs/smbumount.8.html b/docs/htmldocs/smbumount.8.html index 68929fd5f9..993436f0c6 100644 --- a/docs/htmldocs/smbumount.8.html +++ b/docs/htmldocs/smbumount.8.html @@ -1,10 +1,11 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >smbumount</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD +CONTENT="Modular DocBook HTML Stylesheet Version 1.77"></HEAD ><BODY CLASS="REFENTRY" BGCOLOR="#FFFFFF" @@ -15,8 +16,8 @@ ALINK="#0000FF" ><H1 ><A NAME="SMBUMOUNT" ->smbumount</A -></H1 +></A +>smbumount</H1 ><DIV CLASS="REFNAMEDIV" ><A diff --git a/docs/htmldocs/swat.8.html b/docs/htmldocs/swat.8.html index 386fe5bc7a..f101a7bc26 100644 --- a/docs/htmldocs/swat.8.html +++ b/docs/htmldocs/swat.8.html @@ -1,10 +1,11 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >swat</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD +CONTENT="Modular DocBook HTML Stylesheet Version 1.77"></HEAD ><BODY CLASS="REFENTRY" BGCOLOR="#FFFFFF" @@ -15,8 +16,8 @@ ALINK="#0000FF" ><H1 ><A NAME="SWAT" ->swat</A -></H1 +></A +>swat</H1 ><DIV CLASS="REFNAMEDIV" ><A @@ -36,7 +37,7 @@ NAME="AEN8" ><B CLASS="COMMAND" >swat</B -> [-s <smb config file>] [-a]</P +> [-s <smb config file>] [-a]</P ></DIV ><DIV CLASS="REFSECT1" @@ -131,9 +132,13 @@ CLASS="FILENAME" >smb.conf</TT > file. </P ><P -><EM ->Do NOT enable this option on a production - server. </EM +><SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>WARNING: Do NOT enable this option on a production + server. </I +></SPAN ></P ></DD ></DL @@ -345,7 +350,7 @@ CLASS="PARAMETER" > and <TT CLASS="PARAMETER" ><I ->copy=" +>copy= </I ></TT > options. If you have a carefully crafted <TT diff --git a/docs/htmldocs/testparm.1.html b/docs/htmldocs/testparm.1.html index bae907c687..0fc94cd880 100644 --- a/docs/htmldocs/testparm.1.html +++ b/docs/htmldocs/testparm.1.html @@ -1,10 +1,11 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >testparm</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD +CONTENT="Modular DocBook HTML Stylesheet Version 1.77"></HEAD ><BODY CLASS="REFENTRY" BGCOLOR="#FFFFFF" @@ -15,8 +16,8 @@ ALINK="#0000FF" ><H1 ><A NAME="TESTPARM" ->testparm</A -></H1 +></A +>testparm</H1 ><DIV CLASS="REFNAMEDIV" ><A @@ -37,12 +38,12 @@ NAME="AEN8" ><B CLASS="COMMAND" >testparm</B -> [-s] [-h] [-L <servername>] {config filename} [hostname hostIP]</P +> [-s] [-h] [-v] [-L <servername>] {config filename} [hostname hostIP]</P ></DIV ><DIV CLASS="REFSECT1" ><A -NAME="AEN16" +NAME="AEN17" ></A ><H2 >DESCRIPTION</H2 @@ -68,8 +69,12 @@ CLASS="COMMAND" </B > will successfully load the configuration file.</P ><P ->Note that this is <EM ->NOT</EM +>Note that this is <SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>NOT</I +></SPAN > a guarantee that the services specified in the configuration file will be available or will operate as expected. </P @@ -95,7 +100,7 @@ CLASS="COMMAND" ><DIV CLASS="REFSECT1" ><A -NAME="AEN31" +NAME="AEN32" ></A ><H2 >OPTIONS</H2 @@ -135,6 +140,18 @@ CLASS="REPLACEABLE" %L macro. </P ></DD ><DT +>-v</DT +><DD +><P +>If this option is specified, testparm + will also output all options that were not used in + <TT +CLASS="FILENAME" +>smb.conf</TT +> and are thus set to + their defaults.</P +></DD +><DT >configfilename</DT ><DD ><P @@ -192,7 +209,7 @@ CLASS="COMMAND" ><DIV CLASS="REFSECT1" ><A -NAME="AEN66" +NAME="AEN72" ></A ><H2 >FILES</H2 @@ -221,7 +238,7 @@ CLASS="COMMAND" ><DIV CLASS="REFSECT1" ><A -NAME="AEN75" +NAME="AEN81" ></A ><H2 >DIAGNOSTICS</H2 @@ -235,7 +252,7 @@ NAME="AEN75" ><DIV CLASS="REFSECT1" ><A -NAME="AEN78" +NAME="AEN84" ></A ><H2 >VERSION</H2 @@ -246,7 +263,7 @@ NAME="AEN78" ><DIV CLASS="REFSECT1" ><A -NAME="AEN81" +NAME="AEN87" ></A ><H2 >SEE ALSO</H2 @@ -272,7 +289,7 @@ CLASS="COMMAND" ><DIV CLASS="REFSECT1" ><A -NAME="AEN88" +NAME="AEN94" ></A ><H2 >AUTHOR</H2 diff --git a/docs/htmldocs/testprns.1.html b/docs/htmldocs/testprns.1.html index 4929415da0..0225aad9d5 100644 --- a/docs/htmldocs/testprns.1.html +++ b/docs/htmldocs/testprns.1.html @@ -1,10 +1,11 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >testprns</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD +CONTENT="Modular DocBook HTML Stylesheet Version 1.77"></HEAD ><BODY CLASS="REFENTRY" BGCOLOR="#FFFFFF" @@ -15,8 +16,8 @@ ALINK="#0000FF" ><H1 ><A NAME="TESTPRNS" ->testprns</A -></H1 +></A +>testprns</H1 ><DIV CLASS="REFNAMEDIV" ><A @@ -163,11 +164,11 @@ NAME="AEN48" >DIAGNOSTICS</H2 ><P >If a printer is found to be valid, the message - "Printer name <printername> is valid" will be + "Printer name <printername> is valid" will be displayed. </P ><P >If a printer is found to be invalid, the message - "Printer name <printername> is not valid" will be + "Printer name <printername> is not valid" will be displayed. </P ><P >All messages that would normally be logged during diff --git a/docs/htmldocs/wbinfo.1.html b/docs/htmldocs/wbinfo.1.html index fe218a8f67..26e098868e 100644 --- a/docs/htmldocs/wbinfo.1.html +++ b/docs/htmldocs/wbinfo.1.html @@ -1,10 +1,11 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >wbinfo</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD +CONTENT="Modular DocBook HTML Stylesheet Version 1.77"></HEAD ><BODY CLASS="REFENTRY" BGCOLOR="#FFFFFF" @@ -15,8 +16,8 @@ ALINK="#0000FF" ><H1 ><A NAME="WBINFO" ->wbinfo</A -></H1 +></A +>wbinfo</H1 ><DIV CLASS="REFNAMEDIV" ><A diff --git a/docs/htmldocs/winbind.html b/docs/htmldocs/winbind.html index cac9a70a6d..cbec6e39a6 100644 --- a/docs/htmldocs/winbind.html +++ b/docs/htmldocs/winbind.html @@ -5,11 +5,10 @@ >Unified Logons between Windows NT and UNIX using Winbind</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+ -"><LINK +CONTENT="Modular DocBook HTML Stylesheet Version 1.77"><LINK REL="HOME" TITLE="SAMBA Project Documentation" -HREF="Samba-HOWTO.html"><LINK +HREF="samba-howto-collection.html"><LINK REL="PREVIOUS" TITLE="security = domain in Samba 2.x" HREF="domain-security.html"><LINK @@ -70,13 +69,17 @@ WIDTH="100%"></DIV CLASS="CHAPTER" ><H1 ><A -NAME="WINBIND">Chapter 11. Unified Logons between Windows NT and UNIX using Winbind</H1 +NAME="WINBIND" +></A +>Chapter 10. Unified Logons between Windows NT and UNIX using Winbind</H1 ><DIV CLASS="SECT1" ><H1 CLASS="SECT1" ><A -NAME="AEN1394">11.1. Abstract</H1 +NAME="AEN1255" +></A +>10.1. Abstract</H1 ><P >Integration of UNIX and Microsoft Windows NT through a unified logon has been considered a "holy grail" in heterogeneous @@ -101,7 +104,9 @@ CLASS="SECT1" ><H1 CLASS="SECT1" ><A -NAME="AEN1398">11.2. Introduction</H1 +NAME="AEN1259" +></A +>10.2. Introduction</H1 ><P >It is well known that UNIX and Microsoft Windows NT have different models for representing user and group information and @@ -153,7 +158,9 @@ CLASS="SECT1" ><H1 CLASS="SECT1" ><A -NAME="AEN1411">11.3. What Winbind Provides</H1 +NAME="AEN1272" +></A +>10.3. What Winbind Provides</H1 ><P >Winbind unifies UNIX and Windows NT account management by allowing a UNIX box to become a full member of a NT domain. Once @@ -193,7 +200,9 @@ CLASS="SECT2" ><H2 CLASS="SECT2" ><A -NAME="AEN1418">11.3.1. Target Uses</H2 +NAME="AEN1279" +></A +>10.3.1. Target Uses</H2 ><P >Winbind is targeted at organizations that have an existing NT based domain infrastructure into which they wish @@ -215,7 +224,9 @@ CLASS="SECT1" ><H1 CLASS="SECT1" ><A -NAME="AEN1422">11.4. How Winbind Works</H1 +NAME="AEN1283" +></A +>10.4. How Winbind Works</H1 ><P >The winbind system is designed around a client/server architecture. A long running <B @@ -233,7 +244,9 @@ CLASS="SECT2" ><H2 CLASS="SECT2" ><A -NAME="AEN1427">11.4.1. Microsoft Remote Procedure Calls</H2 +NAME="AEN1288" +></A +>10.4.1. Microsoft Remote Procedure Calls</H2 ><P >Over the last two years, efforts have been underway by various Samba Team members to decode various aspects of @@ -257,7 +270,9 @@ CLASS="SECT2" ><H2 CLASS="SECT2" ><A -NAME="AEN1431">11.4.2. Name Service Switch</H2 +NAME="AEN1292" +></A +>10.4.2. Name Service Switch</H2 ><P >The Name Service Switch, or NSS, is a feature that is present in many UNIX operating systems. It allows system @@ -335,7 +350,9 @@ CLASS="SECT2" ><H2 CLASS="SECT2" ><A -NAME="AEN1447">11.4.3. Pluggable Authentication Modules</H2 +NAME="AEN1308" +></A +>10.4.3. Pluggable Authentication Modules</H2 ><P >Pluggable Authentication Modules, also known as PAM, is a system for abstracting authentication and authorization @@ -382,7 +399,9 @@ CLASS="SECT2" ><H2 CLASS="SECT2" ><A -NAME="AEN1455">11.4.4. User and Group ID Allocation</H2 +NAME="AEN1316" +></A +>10.4.4. User and Group ID Allocation</H2 ><P >When a user or group is created under Windows NT is it allocated a numerical relative identifier (RID). This is @@ -406,7 +425,9 @@ CLASS="SECT2" ><H2 CLASS="SECT2" ><A -NAME="AEN1459">11.4.5. Result Caching</H2 +NAME="AEN1320" +></A +>10.4.5. Result Caching</H2 ><P >An active system can generate a lot of user and group name lookups. To reduce the network cost of these lookups winbind @@ -427,7 +448,9 @@ CLASS="SECT1" ><H1 CLASS="SECT1" ><A -NAME="AEN1462">11.5. Installation and Configuration</H1 +NAME="AEN1323" +></A +>10.5. Installation and Configuration</H1 ><P >Many thanks to John Trostel <A HREF="mailto:jtrostel@snapserver.com" @@ -452,7 +475,9 @@ CLASS="SECT2" ><H2 CLASS="SECT2" ><A -NAME="AEN1469">11.5.1. Introduction</H2 +NAME="AEN1330" +></A +>10.5.1. Introduction</H2 ><P >This HOWTO describes the procedures used to get winbind up and running on my RedHat 7.1 system. Winbind is capable of providing access @@ -509,7 +534,9 @@ CLASS="SECT2" ><H2 CLASS="SECT2" ><A -NAME="AEN1482">11.5.2. Requirements</H2 +NAME="AEN1343" +></A +>10.5.2. Requirements</H2 ><P >If you have a samba configuration file that you are currently using... <SPAN @@ -577,7 +604,9 @@ CLASS="SECT2" ><H2 CLASS="SECT2" ><A -NAME="AEN1496">11.5.3. Testing Things Out</H2 +NAME="AEN1357" +></A +>10.5.3. Testing Things Out</H2 ><P >Before starting, it is probably best to kill off all the SAMBA related daemons running on your server. Kill off all <B @@ -620,7 +649,9 @@ CLASS="SECT3" ><H3 CLASS="SECT3" ><A -NAME="AEN1507">11.5.3.1. Configure and compile SAMBA</H3 +NAME="AEN1368" +></A +>10.5.3.1. Configure and compile SAMBA</H3 ><P >The configuration and compilation of SAMBA is pretty straightforward. The first three steps may not be necessary depending upon @@ -684,7 +715,9 @@ CLASS="SECT3" ><H3 CLASS="SECT3" ><A -NAME="AEN1526">11.5.3.2. Configure <TT +NAME="AEN1387" +></A +>10.5.3.2. Configure <TT CLASS="FILENAME" >nsswitch.conf</TT > and the @@ -787,7 +820,9 @@ CLASS="SECT3" ><H3 CLASS="SECT3" ><A -NAME="AEN1559">11.5.3.3. Configure smb.conf</H3 +NAME="AEN1420" +></A +>10.5.3.3. Configure smb.conf</H3 ><P >Several parameters are needed in the smb.conf file to control the behavior of <B @@ -860,7 +895,9 @@ CLASS="SECT3" ><H3 CLASS="SECT3" ><A -NAME="AEN1575">11.5.3.4. Join the SAMBA server to the PDC domain</H3 +NAME="AEN1436" +></A +>10.5.3.4. Join the SAMBA server to the PDC domain</H3 ><P >Enter the following command to make the SAMBA server join the PDC domain, where <TT @@ -904,7 +941,9 @@ CLASS="SECT3" ><H3 CLASS="SECT3" ><A -NAME="AEN1586">11.5.3.5. Start up the winbindd daemon and test it!</H3 +NAME="AEN1447" +></A +>10.5.3.5. Start up the winbindd daemon and test it!</H3 ><P >Eventually, you will want to modify your smb startup script to automatically invoke the winbindd daemon when the other parts of @@ -1025,13 +1064,17 @@ CLASS="SECT3" ><H3 CLASS="SECT3" ><A -NAME="AEN1622">11.5.3.6. Fix the init.d startup scripts</H3 +NAME="AEN1483" +></A +>10.5.3.6. Fix the init.d startup scripts</H3 ><DIV CLASS="SECT4" ><H4 CLASS="SECT4" ><A -NAME="AEN1624">11.5.3.6.1. Linux</H4 +NAME="AEN1485" +></A +>10.5.3.6.1. Linux</H4 ><P >The <B CLASS="COMMAND" @@ -1125,7 +1168,9 @@ CLASS="SECT4" ><H4 CLASS="SECT4" ><A -NAME="AEN1641">11.5.3.6.2. Solaris</H4 +NAME="AEN1502" +></A +>10.5.3.6.2. Solaris</H4 ><P >On solaris, you need to modify the <TT @@ -1194,7 +1239,9 @@ CLASS="SECT4" ><H4 CLASS="SECT4" ><A -NAME="AEN1648">11.5.3.6.3. Restarting</H4 +NAME="AEN1509" +></A +>10.5.3.6.3. Restarting</H4 ><P >If you restart the <B CLASS="COMMAND" @@ -1216,7 +1263,9 @@ CLASS="SECT3" ><H3 CLASS="SECT3" ><A -NAME="AEN1654">11.5.3.7. Configure Winbind and PAM</H3 +NAME="AEN1515" +></A +>10.5.3.7. Configure Winbind and PAM</H3 ><P >If you have made it this far, you know that winbindd and samba are working together. If you want to use winbind to provide authentication for other @@ -1272,7 +1321,9 @@ CLASS="SECT4" ><H4 CLASS="SECT4" ><A -NAME="AEN1671">11.5.3.7.1. Linux/FreeBSD-specific PAM configuration</H4 +NAME="AEN1532" +></A +>10.5.3.7.1. Linux/FreeBSD-specific PAM configuration</H4 ><P >The <TT CLASS="FILENAME" @@ -1399,7 +1450,9 @@ CLASS="SECT4" ><H4 CLASS="SECT4" ><A -NAME="AEN1704">11.5.3.7.2. Solaris-specific configuration</H4 +NAME="AEN1565" +></A +>10.5.3.7.2. Solaris-specific configuration</H4 ><P >The /etc/pam.conf needs to be changed. I changed this file so that my Domain users can logon both locally as well as telnet.The following are the changes @@ -1484,7 +1537,9 @@ CLASS="SECT1" ><H1 CLASS="SECT1" ><A -NAME="AEN1711">11.6. Limitations</H1 +NAME="AEN1572" +></A +>10.6. Limitations</H1 ><P >Winbind has a number of limitations in its current released version that we hope to overcome in future @@ -1523,7 +1578,9 @@ CLASS="SECT1" ><H1 CLASS="SECT1" ><A -NAME="AEN1721">11.7. Conclusion</H1 +NAME="AEN1582" +></A +>10.7. Conclusion</H1 ><P >The winbind system, through the use of the Name Service Switch, Pluggable Authentication Modules, and appropriate @@ -1558,7 +1615,7 @@ WIDTH="34%" ALIGN="center" VALIGN="top" ><A -HREF="Samba-HOWTO.html" +HREF="samba-howto-collection.html" ACCESSKEY="H" >Home</A ></TD diff --git a/docs/htmldocs/winbindd.8.html b/docs/htmldocs/winbindd.8.html index 1ecb08cdb4..3aecf62509 100644 --- a/docs/htmldocs/winbindd.8.html +++ b/docs/htmldocs/winbindd.8.html @@ -1,10 +1,11 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >winbindd</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD +CONTENT="Modular DocBook HTML Stylesheet Version 1.77"></HEAD ><BODY CLASS="REFENTRY" BGCOLOR="#FFFFFF" @@ -15,8 +16,8 @@ ALINK="#0000FF" ><H1 ><A NAME="WINBINDD" ->winbindd</A -></H1 +></A +>winbindd</H1 ><DIV CLASS="REFNAMEDIV" ><A @@ -37,7 +38,7 @@ NAME="AEN8" ><B CLASS="COMMAND" >winbindd</B -> [-i] [-d <debug level>] [-s <smb config file>]</P +> [-i] [-d <debug level>] [-s <smb config file>]</P ></DIV ><DIV CLASS="REFSECT1" @@ -92,13 +93,13 @@ CLASS="PARAMETER" >account</I ></TT > - module-types. The latter is simply + module-types. The latter simply performs a getpwnam() to verify that the system can obtain a uid for the user. If the <TT CLASS="FILENAME" >libnss_winbind</TT > library has been correctly - installed, this should always suceed. + installed, this should always succeed. </P ><P >The following nsswitch databases are implemented by @@ -170,20 +171,11 @@ CLASS="FILENAME" > and then from the Windows NT server. </P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >passwd: files winbind group: files winbind </PRE -></TD -></TR -></TABLE ></P ><P >The following simple configuration in the @@ -287,279 +279,130 @@ CLASS="FILENAME" [global] section of smb.conf. </P ><P ></P -><DIV -CLASS="VARIABLELIST" -><DL -><DT ->winbind separator</DT -><DD -><P ->The winbind separator option allows you - to specify how NT domain names and user names are combined - into unix user names when presented to users. By default, - <B -CLASS="COMMAND" ->winbindd</B -> will use the traditional '\' - separator so that the unix user names look like - DOMAIN\username. In some cases this separator character may - cause problems as the '\' character has special meaning in - unix shells. In that case you can use the winbind separator - option to specify an alternative separator character. Good - alternatives may be '/' (although that conflicts - with the unix directory separator) or a '+ 'character. - The '+' character appears to be the best choice for 100% - compatibility with existing unix utilities, but may be an - aesthetically bad choice depending on your taste. </P -><P ->Default: <B -CLASS="COMMAND" ->winbind separator = \ </B -> - </P -><P ->Example: <B -CLASS="COMMAND" ->winbind separator = + </B -></P -></DD -><DT ->winbind uid</DT -><DD -><P ->The winbind uid parameter specifies the - range of user ids that are allocated by the winbindd daemon. - This range of ids should have no existing local or NIS users - within it as strange conflicts can occur otherwise. </P -><P ->Default: <B -CLASS="COMMAND" ->winbind uid = <empty string> - </B -></P +><UL +><LI ><P ->Example: <B -CLASS="COMMAND" ->winbind uid = 10000-20000</B +><A +HREF="smb.conf.5.html#WINBINDSEPARATOR" +TARGET="_top" +> <TT +CLASS="PARAMETER" +><I +>winbind separator</I +></TT +></A ></P -></DD -><DT ->winbind gid</DT -><DD -><P ->The winbind gid parameter specifies the - range of group ids that are allocated by the winbindd daemon. - This range of group ids should have no existing local or NIS - groups within it as strange conflicts can occur otherwise.</P +></LI +><LI ><P ->Default: <B -CLASS="COMMAND" ->winbind gid = <empty string> - </B +><A +HREF="smb.conf.5.html#WINBINDUID" +TARGET="_top" +> <TT +CLASS="PARAMETER" +><I +>winbind uid</I +></TT +></A ></P +></LI +><LI ><P ->Example: <B -CLASS="COMMAND" ->winbind gid = 10000-20000 - </B -> </P -></DD -><DT ->winbind cache time</DT -><DD -><P ->This parameter specifies the number of - seconds the winbindd daemon will cache user and group information - before querying a Windows NT server again. When a item in the - cache is older than this time winbindd will ask the domain - controller for the sequence number of the server's account database. - If the sequence number has not changed then the cached item is - marked as valid for a further <TT +><A +HREF="smb.conf.5.html#WINBINDGID" +TARGET="_top" +> <TT CLASS="PARAMETER" ><I ->winbind cache time - </I +>winbind gid</I ></TT -> seconds. Otherwise the item is fetched from the - server. This means that as long as the account database is not - actively changing winbindd will only have to send one sequence - number query packet every <TT +></A +></P +></LI +><LI +><P +><A +HREF="smb.conf.5.html#WINBINDCACHETIME" +TARGET="_top" +> <TT CLASS="PARAMETER" ><I ->winbind cache time - </I +>winbind cache time</I ></TT -> seconds. </P -><P ->Default: <B -CLASS="COMMAND" ->winbind cache time = 15</B -> - </P -></DD -><DT ->winbind enum users</DT -><DD +></A +></P +></LI +><LI ><P ->On large installations it may be necessary - to suppress the enumeration of users through the <B -CLASS="COMMAND" -> setpwent()</B ->, <B -CLASS="COMMAND" ->getpwent()</B -> and - <B -CLASS="COMMAND" ->endpwent()</B -> group of system calls. If - the <TT +><A +HREF="smb.conf.5.html#WINBINDENUMUSERS" +TARGET="_top" +> <TT CLASS="PARAMETER" ><I >winbind enum users</I ></TT -> parameter is false, - calls to the <B -CLASS="COMMAND" ->getpwent</B -> system call will not - return any data. </P -><P -><EM ->Warning:</EM -> Turning off user enumeration - may cause some programs to behave oddly. For example, the <B -CLASS="COMMAND" ->finger</B -> - program relies on having access to the full user list when - searching for matching usernames. </P -><P ->Default: <B -CLASS="COMMAND" ->winbind enum users = yes </B +></A ></P -></DD -><DT ->winbind enum groups</DT -><DD +></LI +><LI ><P ->On large installations it may be necessary - to suppress the enumeration of groups through the <B -CLASS="COMMAND" -> setgrent()</B ->, <B -CLASS="COMMAND" ->getgrent()</B -> and - <B -CLASS="COMMAND" ->endgrent()</B -> group of system calls. If - the <TT +><A +HREF="smb.conf.5.html#WINBINDENUMGROUPS" +TARGET="_top" +> <TT CLASS="PARAMETER" ><I >winbind enum groups</I ></TT -> parameter is - false, calls to the <B -CLASS="COMMAND" ->getgrent()</B -> system - call will not return any data. </P -><P -><EM ->Warning:</EM -> Turning off group - enumeration may cause some programs to behave oddly. - </P -><P ->Default: <B -CLASS="COMMAND" ->winbind enum groups = no </B -> - </P -></DD -><DT ->template homedir</DT -><DD +></A +></P +></LI +><LI ><P ->When filling out the user information - for a Windows NT user, the <B -CLASS="COMMAND" ->winbindd</B -> daemon - uses this parameter to fill in the home directory for that user. - If the string <TT +><A +HREF="smb.conf.5.html#TEMPLATEHOMEDIR" +TARGET="_top" +> <TT CLASS="PARAMETER" ><I ->%D</I +>template homedir</I ></TT -> is present it is - substituted with the user's Windows NT domain name. If the - string <TT +></A +></P +></LI +><LI +><P +><A +HREF="smb.conf.5.html#TEMPLATESHELL" +TARGET="_top" +> <TT CLASS="PARAMETER" ><I ->%U</I +>template shell</I ></TT -> is present it is substituted - with the user's Windows NT user name. </P -><P ->Default: <B -CLASS="COMMAND" ->template homedir = /home/%D/%U </B -> - </P -></DD -><DT ->template shell</DT -><DD -><P ->When filling out the user information for - a Windows NT user, the <B -CLASS="COMMAND" ->winbindd</B -> daemon - uses this parameter to fill in the shell for that user. - </P -><P ->Default: <B -CLASS="COMMAND" ->template shell = /bin/false </B -> - </P -></DD -><DT ->winbind use default domain</DT -><DD -><P ->This parameter specifies whether the <B -CLASS="COMMAND" ->winbindd</B -> - daemon should operate on users without domain component in their username. - Users without a domain component are treated as is part of the winbindd server's - own domain. While this does not benifit Windows users, it makes SSH, FTP and e-mail - function in a way much closer to the way they would in a native unix system.</P -><P ->Default: <B -CLASS="COMMAND" ->winbind use default domain = <falseg> - </B +></A ></P +></LI +><LI ><P ->Example: <B -CLASS="COMMAND" ->winbind use default domain = true</B +><A +HREF="smb.conf.5.html#WINBINDUSEDEFAULTDOMAIN" +TARGET="_top" +> <TT +CLASS="PARAMETER" +><I +>winbind use default domain</I +></TT +></A ></P -></DD -></DL -></DIV +></LI +></UL ></DIV ><DIV CLASS="REFSECT1" ><A -NAME="AEN167" +NAME="AEN118" ></A ><H2 >EXAMPLE SETUP</H2 @@ -574,20 +417,11 @@ CLASS="FILENAME" > put the following:</P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >passwd: files winbind group: files winbind </PRE -></TD -></TR -></TABLE ></P ><P >In <TT @@ -601,12 +435,6 @@ CLASS="PARAMETER" ></TT > lines with something like this: </P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >auth required /lib/security/pam_securetty.so @@ -614,9 +442,6 @@ auth required /lib/security/pam_nologin.so auth sufficient /lib/security/pam_winbind.so auth required /lib/security/pam_pwdb.so use_first_pass shadow nullok </PRE -></TD -></TR -></TABLE ></P ><P >Note in particular the use of the <TT @@ -697,12 +522,6 @@ CLASS="FILENAME" > containing directives like the following: </P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="100%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" >[global] @@ -716,9 +535,6 @@ CLASS="PROGRAMLISTING" security = domain password server = * </PRE -></TD -></TR -></TABLE ></P ><P >Now start winbindd and you should find that your user and @@ -737,7 +553,7 @@ CLASS="COMMAND" ><DIV CLASS="REFSECT1" ><A -NAME="AEN206" +NAME="AEN157" ></A ><H2 >NOTES</H2 @@ -795,7 +611,7 @@ CLASS="COMMAND" ><DIV CLASS="REFSECT1" ><A -NAME="AEN222" +NAME="AEN173" ></A ><H2 >SIGNALS</H2 @@ -846,7 +662,7 @@ CLASS="COMMAND" ><DIV CLASS="REFSECT1" ><A -NAME="AEN239" +NAME="AEN190" ></A ><H2 >FILES</H2 @@ -922,7 +738,7 @@ CLASS="FILENAME" ><DIV CLASS="REFSECT1" ><A -NAME="AEN268" +NAME="AEN219" ></A ><H2 >VERSION</H2 @@ -933,7 +749,7 @@ NAME="AEN268" ><DIV CLASS="REFSECT1" ><A -NAME="AEN271" +NAME="AEN222" ></A ><H2 >SEE ALSO</H2 @@ -961,7 +777,7 @@ TARGET="_top" ><DIV CLASS="REFSECT1" ><A -NAME="AEN278" +NAME="AEN229" ></A ><H2 >AUTHOR</H2 |