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

From PC-BSD Wiki
Jump to: navigation, search
 
(7 intermediate revisions by 2 users not shown)
Line 2: Line 2:
  
 
<!--T:1-->
 
<!--T:1-->
{{NavHeader|back=About|forward=Boot Manager}}</noinclude>
+
{{UseTOC{{putVers}}|Nav}}</noinclude>
  
 
<!--T:2-->
 
<!--T:2-->
The “Active Directory & LDAP” icon is used 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.
+
The “Active Directory & LDAP” icon is used 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.[[File:ldap.png|thumb|393px|'''Figure 8.3b: Managing LDAP Client Settings''']]
  
 
<!--T:32-->
 
<!--T:32-->
{{note|width=60%|icon64=This utility is used to manage the settings of the client, not the Active Directory or OpenLDAP server itself. This application also needs more testing from users. If you have trouble using this utility or find a bug, please post the details to the [http://lists.pcbsd.org/mailman/listinfo/testing testing mailing list].}}
+
{{note|icon64=This utility is used to manage the settings of the client, not the Active Directory or OpenLDAP server itself. This application also needs more testing from users. If you have trouble using this utility or find a bug, please post the details using the {{local|link=PC-BSD® Bug Reporting}} tool.}}
 
+
<!--T:34-->
+
[[File:ldap.png|thumb|393px|'''Figure 8.3b: Managing LDAP Client Settings''']]
+
  
 
<!--T:4-->
 
<!--T:4-->
Line 25: Line 22:
  
 
<!--T:8-->
 
<!--T:8-->
* '''NetBIOS Name:''' input the hostname of the PC-BSD® system as listed in the [[About]] icon.
+
* '''NetBIOS Name:''' input the hostname of the PC-BSD® system as listed in the {{local|link=About}} icon.
  
 
<!--T:9-->
 
<!--T:9-->
Line 42: Line 39:
 
The values that you input using this GUI are saved to ''/usr/local/etc/pc-activedirectory.conf''.
 
The values that you input using this GUI are saved to ''/usr/local/etc/pc-activedirectory.conf''.
  
{{note|width=60%|icon64=Once you enable AD, you can no longer use [[GDM_Manager|auto login]] as users will now authenticate with the Active Directory server.}}
+
<!--T:35-->
 +
{{note|icon64=Once you enable AD, you can no longer use {{local|link=GDM_Manager|auto login}} as users will now authenticate with the Active Directory server.}}
  
 
=== Connecting to an OpenLDAP Server === <!--T:14-->
 
=== Connecting to an OpenLDAP Server === <!--T:14-->

Latest revision as of 00:40, 16 December 2013


Contents


The “Active Directory & LDAP” icon is used 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.
Figure 8.3b: Managing LDAP Client Settings
NOTE: This utility is used to manage the settings of the client, not the Active Directory or OpenLDAP server itself. This application also needs more testing from users. If you have trouble using this utility or find a bug, please post the details using the PC-BSD® Bug Reporting tool.

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

[edit] 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.

The values that you input using this GUI are saved to /usr/local/etc/pc-activedirectory.conf.

NOTE: Once you enable AD, you can no longer use auto login as users will now authenticate with the Active Directory server.

[edit] Connecting to an OpenLDAP Server

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

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:

Figure 8.3a: Initial Active Directory & LDAP Screen
  • Hostname: input the hostname or IP address of the OpenLDAP server. This setting is mandatory.
  • Base DN: input the top level of the LDAP directory tree to be used when searching for resources (e.g. dc=test,dc=org).
  • Allow Anon Binding: only check this box if the LDAP server allows read and write access without requiring authentication.
  • Root bind DN: input the name of the administrative account on the LDAP server (e.g. cn=Manager,dc=test,dc=org).
  • Root bind password: input the password for the 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: this setting is optional and is usually a dept. or company name. The input value will be added to the name when a user account is added to the LDAP directory
  • Group Suffix: this setting is optional and is usually a dept. or company name. The input value will be added to the name when a group is added to the LDAP directory.
  • Password Suffix: this setting is optional. The input value will be added to the password when a password is added to the LDAP directory.
  • Machine Suffix: this setting is optional and usually represents a description such as server or accounting. The input value will be added to the name when a system is added to the LDAP directory.
  • Encryption Mode: choices are "Off", "SSL", or "TLS". The selected type must be supported by the LDAP server.
  • 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.

The values that you input into this tab are saved to /usr/local/etc/pc-ldap.conf.

If you are new to LDAP terminology, you may find it useful to skim through the OpenLDAP Software 2.4 Administrator's Guide[3].


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
  3. http://www.openldap.org/doc/admin24/
Other languages:German 9% • ‎English 100% • ‎French 58%