| United States-English |
|
|
|
![]() |
HP CIFS Server 3.0g Administrator's Guide version A.02.03.01: HP-UX 11i v1, v2 and v3 > Chapter 9 HP CIFS Deployment ModelsSamba Domain Model |
|
You can use the Samba Domain Deployment Model in environments with the following characteristics:
The Samba Domain Model provides the following benefits:
Figure 9-1 shows a standalone HP CIFS Server as a PDC with the local password database: Figure 9-2 shows a standalone HP CIFS Server as a PDC using the Netscape Directory Server (NDS) as an LDAP backend: Figure 9-3 shows multiple HP CIFS Servers using Netscape Directory Server as an LDAP backend: Figure 9-4 shows the Samba Domain Model: The Samba Domain Deployment Model consists of a HP CIFS Server configured as a Primary Domain Controller (PDC), and one or more HP CIFS Servers acting as Backup Domain Controllers (BDCs). The PDC, BDCs, and member servers use the central LDAP backend to consolidate POSIX and Windows accounts on the LDAP directory. It requires HP LDAP-UX Client Services software installed and configured on HP CIFS Servers for larger deployments. As demand requires multiple servers, this model makes use of a directory server and LDAP access. You must install and configure LDAP-UX Client Services software on all nodes for centralization of both POSIX and Windows user data. See Chapter 6 “LDAP Integration Support” for detailed information on how to set up LDAP. WINS is used for multi-subnetted environments. Multi-subnetted environments require name-to-IP-address mapping to go beyond broadcast limits of a single LAN segment. HP CIFS Server provides WINS server capabilities, which can be enabled on one node (usually the PDC) for the domain and whose address needs to be specified in the configuration of the remaining nodes (usually BDCs and member servers). PC client configurations also can specify the WINS server address to ensure that they are able to join the domain. Set wins support = yes in smb.conf on one HP CIFS Server to be the WINS server. Set "wins server = <ip address>" in smb.conf on the rest of the HP CIFS Servers. Because Samba supplied WINS does not provide for replication, the WINS server can be a single point of failure in the network. Consider using Serviceguard on the WINS server, using client host files or static caches of NetBIOS names in DNS servers if high availability requirements are needed. HP CIFS Server configured as a PDC is responsible for Windows authentication throughout the domain. "security = user" and "domain logons = yes" smb.conf parameters force this behavior. Single server installations may use smbpasswd or tdbsam password backends, but large installations should use the LDAP backend to provide centralized management of both Posix users and Windows users. Configure LDAP with passdb backend = ldapsam:ldap://<ldap server name> or passdb backend = ldapsam_compat:ldap://<ldap server name>. An important characteristic of a CIFS PDC is browsing control. The parameter, domain master = yes, causes the server to register the NetBIOS name <pdc name>1B, where 1B is reserved for the domain master browser. This name will be recognized by other servers. When you integrate the HP CIFS Server acting as a PDC with the LDAP directory, you must install the HP LDAP-UX Integration software and configure the LDAP-UX client. This permits the consolidation of POSIX and Windows user accounts on the LDAP directory. The LDAP database can replace /etc/passwd and smbpasswd, and the PDC can access the LDAP directory for Windows authentication. The configuration of BDCs is similar to that of the PDC. This enables BDCs to carry much of the network logon processing. A BDC on a local segment handles logon requests and authenticates users when the PDC is busy on the local network. When a segment becomes heavily loaded, the reponsibility is offloaded to another segment's BDC or to the PDC. Therefore, you can optimize resources and add robustness to network services by deploying BDCs throughout the network. If you set the local master parameter to yes in smb.conf, browsing can also be spread throughout the network. You can promote a BDC to a PDC if the PDC needs to be taken out of service or fails. To promote a BDC to a PDC, change the domain masterparameter from no to yes. The PDC and BDCs use the central LDAP directory to store common POSIX and Windows accounts on the LDAP directory. When you integrate the HP CIFS Server acting as a BDC with the LDAP directory, you must install the HP LDAP-UX Integration software and configure the LDAP-UX client. The BDC can access the LDAP directory for Windows authentication. To ensure that there are always sufficient domain controllers to handle authentication and logon requests, in general, configure BDCs rather than member servers unless there are fewer than about 30 Windows clients per BDC. You can join an HP CIFS Server to the Samba Domain.The Windows authentication requests are managed by the PDC or BDCs using LDAP, smbpasswd or other backend. For detailed information on how to join an HP CIFS Server to the Samba Domain, see “Domain Member Server” in Chapter 4. The member server smb.conf configuration differs from that of the PDC and BDC. You must set the security parameter to domain. This forces the member server to authenticate via the PDC or BDCs. You must set the password server parameter to the names of the PDC and may also add the names of one or more BDCs. Set the domain master parameter to no to let the PDC take control. As with the PDC and BDC, you set the passdb backend parameter to the name of LDAP server to centralize POSIX and Windows account database management. Using LDAP requires to install the HP LDAP-UX Integration software and configures the LDAP client to consolidate POSIX and Windows users on the LDAP directory. Figure 9-5 shows an example of the Samba Domain Model which has HP CIFS Server machine hostW and IP address 1.13.115.226 acting as a PDC and WINs server, HP CIFS Server machine hostB and IP address 1.13.117.248 acting as a BDC, and Netscape Directory Server machine hptem128. The following is a sample Samba configuration File, /etc/smb.conf, used for an HP CIFS Server machine hostW acting as a PDC in the sample Samba Domain Model shown in Figure 9-5:
The following is a sample Samba configuration File, /etc/smb.conf, used for an HP CIFS Server machine hostB acting as a BDC in the sample Samba Domain Model shown in Figure 9-5:
When configuring the HP CIFS Server to act as a member server, you need to configure the relative domain parameters in the /etc/opt/samba/smb.conf file by using the SWAT tool, or an editor, or by running samba_setup. The following is a sample Samba configuration File, /etc/smb.conf, used for an HP CIFS Server machine hostC acting as a domain member server in the sample Samba Domain Model shown in Figure 9-5:
When you set up the PDC, BDC and member servers using the LDAP backend support, you need to configure the /etc/nsswitch.conf file to restrieve your user account information from Netscape Directory Server.You can save a copy of the/etc/nsswitch conf file and edit the original to specify the LDAP name service and other name services that you want to use. You may just copy /etc/nsswitch.ldap to /etc/nsswitch.conf. The following is a sample /etc/nsswitch.ldap used in the sample Samba Domain Model shown in the Figure 9-5:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||