Difference between revisions of "Active Directory & LDAP/9.2"

From PC-BSD Wiki
Jump to: navigation, search
(Connecting to Active Directory)
Line 15: Line 15:
 
If you need to connect to a network running Active Directory, check the box "Enable Active Directory". This will change the greyed-out status of the rest of the screen, allowing you to configure the following:
 
If you need to connect to a network running Active Directory, check the box "Enable Active Directory". This will change the greyed-out status of the rest of the screen, allowing you to configure the following:
  
* '''Domain Name:''' name of Active Directory domain (e.g. example.com) or child domain (e.g. sales.example.com). This setting is mandatory.
+
* '''Domain Name (DNS/Realm-Name):''' input the name of the Active Directory domain (e.g. example.com) or child domain (e.g. sales.example.com). This setting is mandatory.
  
* '''NetBIOS Name:''' hostname of PC-BSD® system.
+
* '''NetBIOS Name:''' input the hostname of the PC-BSD® system as listed in the [[About]] icon.
  
* '''Workgroup Name:''' name of Windows server's workgroup.
+
* '''Workgroup Name:''' input the name of the Windows workgroup. Unless the administrator has changed it, the default workgroup name is ''WORKGROUP''.
  
* '''Allow Trusted Domains:''' checking this box is optional. It should only be checked if the network has {{citelink|url=http://technet.microsoft.com/en-us/library/cc757352%28WS.10%29.aspx|txt=active domain/forest trusts}}.
+
* '''Allow Trusted Domains:''' only check this box if the network has {{citelink|url=http://technet.microsoft.com/en-us/library/cc757352%28WS.10%29.aspx|txt=active domain/forest trusts}}.
  
* '''Administrator Name:''' name of the Active Directory Administrator account.
+
* '''Administrator Name:''' input the name of the Active Directory Administrator account.
  
* '''Administrator Password:''' password for the Active Directory Administrator account.
+
* '''Administrator Password:''' input and confirm the password for the Active Directory Administrator account.
  
 
=== Connecting to an OpenLDAP Server ===
 
=== Connecting to an OpenLDAP Server ===

Revision as of 10:27, 28 November 2012

(Sorry for the inconvenience)

Contents

Beginning with PC-BSD® 9.1, the Control Panel contains an "Active Directory & LDAP" icon for managing connections to an Active Directory or OpenLDAP domain. If your network contains an Active Directory or OpenLDAP server, use this icon to input the settings needed to connect to your account information stored on the network. At this time, these settings can not be set during installation of PC-BSD® 9.1; this will be added as a feature of version 9.2.

NOTE: this utility is to manage the settings of the client, not the Active Directory or OpenLDAP server itself.

To start the application, double-click its icon in Control Panel or type pc-su pc-adsldap. You will be prompted to input the administrative password. Figure 8.3a shows the configuration utility with the Active Directory tab open.

Figure 8.3a: Initial Active Directory & LDAP Screen

Ad2.png

Connecting to Active Directory

If you need to connect to a network running Active Directory, check the box "Enable Active Directory". This will change the greyed-out status of the rest of the screen, allowing you to configure the following:

  • Domain Name (DNS/Realm-Name): input the name of the Active Directory domain (e.g. example.com) or child domain (e.g. sales.example.com). This setting is mandatory.
  • NetBIOS Name: input the hostname of the PC-BSD® system as listed in the About icon.
  • Workgroup Name: input the name of the Windows workgroup. Unless the administrator has changed it, the default workgroup name is WORKGROUP.
  • Administrator Name: input the name of the Active Directory Administrator account.
  • Administrator Password: input and confirm the password for the Active Directory Administrator account.

Connecting to an OpenLDAP Server

Figure 8.3b shows the configuration utility with the LDAP tab open.

Figure 8.3b: Managing LDAP Client Settings

Ldap.png

If you need to connect to a network which contains a configured LDAP server, check the box "Enable LDAP". This will change the greyed-out status of the rest of the screen, allowing you to configure the following:

  • Hostname: hostname or IP address of LDAP server. This setting is mandatory.
  • Base DN: top level of the LDAP directory tree to be used when searching for resources (e.g. dc=test,dc=org).
  • Allow Anon Binding: instructs the LDAP server to allow read/write access without requiring authentication.
  • Root bind DN: name of administrative account on LDAP server (e.g. cn=Manager,dc=test,dc=org).
  • Root bind password: password for Root bind DN.
  • Password Encryption: select a type supported by the LDAP server, choices are: clear (unencrypted), crypt, md5, nds, racf, ad, or exop.
  • User Suffix: optional, can be added to name when user account added to LDAP directory (e.g. dept. or company name).
  • Group Suffix: optional, can be added to name when group added to LDAP directory (e.g. dept. or company name).
  • Password Suffix: optional, can be added to password when password added to LDAP directory.
  • Machine Suffix: optional, can be added to name when system added to LDAP directory (e.g. server, accounting).
  • Encryption Mode: choices are "Off", "SSL", or "TLS".
  • Self Signed Certificate: used to verify the certificate of the LDAP server if SSL connections are used; paste the output of the command openssl s_client -connect server:port -showcerts.
  • Auxiliary Parameters: ldap.conf(5)[2] options, one per line, not covered by other options in this screen.

References


  1. http://technet.microsoft.com/en-us/library/cc757352%28WS.10%29.aspx
  2. http://www.openldap.org/software/man.cgi?query=ldap.conf