Apple Mac OS X Server Command-Line Dokumentacja

Przeglądaj online lub pobierz Dokumentacja dla Serwery Apple Mac OS X Server Command-Line. Apple Mac OS X Server Command-Line Specifications [en] [fr] Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 295
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów

Podsumowanie treści

Strona 1 - Mac OS X Server

Mac OS X ServerOpen Directory AdministrationVersion 10.6 Snow Leopard

Strona 2

10 Contents260 Mappings for Computers262 Mappings for ComputerLists263 Mappings for Cong265 Mappings for People266 Mappings for PresetCompute

Strona 3 - Contents

Delegating Authority to Join an Open Directory Kerberos RealmUsing Server Admin, you can delegate the authority to join a server to an Open Directory

Strona 4 - 4 Contents

Chapter 5 Setting Up Open Directory Services 101If any item in the array of preference categories has a small arrow next to its icon, the item h

Strona 5 - Contents 5

Joining a Server to a Kerberos RealmUsing Server Admin, a Kerberos administrator or a user whose account has the properly delegated authority can join

Strona 6 - 6 Contents

Chapter 5 Setting Up Open Directory Services 103Magic Triangle General Setup OverviewHere is a summary of the general tasks you perform to set u

Strona 7 - Contents 7

104Use this chapter to learn how to reset user passwords, change password types, set password policies, select authentication methods, and perform o

Strona 8 - 8 Contents

Chapter 6 Managing User Authentication Using Workgroup Manager 105Composing a PasswordThe password associated with a user’s account must be ente

Strona 9 - Contents 9

To open a directory domain, click the small globe icon above the list of users and choose from the pop-up menu.If the user’s password type is Open Dir

Strona 10 - 10 Contents

Chapter 6 Managing User Authentication Using Workgroup Manager 107If you change the password of accounts whose password type is Open Directory a

Strona 11 - About This Guide

Note: To set a user account’s password type to Open Directory, you must have administrator rights for Open Directory authentication in the directory

Strona 12 - What’s in This Guide

Chapter 6 Managing User Authentication Using Workgroup Manager 109Changing the Password Type to Crypt PasswordIf necessary, you can use Workgrou

Strona 13 - Using Onscreen Help

11This guide describes the directory and authentication services you can set up using Mac OS X Server. It also explains how to congure Mac OS X S

Strona 14 - Documentation Map

Click the lock and authenticate as a directory domain administrator, then select the user in the list. 2 Click Advanced. 3 From the User Password Ty

Strona 15 - Getting Documentation Updates

Chapter 6 Managing User Authentication Using Workgroup Manager 111Administrator accounts are exempt from password policies. Each user can have a

Strona 16

Setting Password Policies for Individual UsersUsing Workgroup Manager, you can set password policies for user accounts whose password type is Open Dir

Strona 17 - Directory

Chapter 6 Managing User Authentication Using Workgroup Manager 11 3From the command line:To change the global password policy of user accounts:

Strona 18

To enable or disable authentication methods for a Shadow Password user: 1 In Workgroup Manager, open the account you want to work with (if it is not

Strona 19 - A Historical Perspective

Chapter 6 Managing User Authentication Using Workgroup Manager 11 5To enable or disable authentication methods for Open Directory passwords: 1

Strona 20

Keeping the Primary Administrator’s Passwords in SyncHaving dierent passwords for the primary local administrator account and the LDAP administrator

Strona 21 - Data Distribution

Chapter 6 Managing User Authentication Using Workgroup Manager 11 7If you congure an LDAP connection that doesn’t map the password and authenti

Strona 22 - Uses of Directory Data

Although existing crypt passwords can continue to be used after importing or upgrading, you can change user accounts to have Open Directory or shadow

Strona 23 - Inside a Directory Domain

11 9Use this chapter to learn how to access, congure, and manage computers using Accounts preferences.After you congure your directory server, y

Strona 24

12 Preface About This GuideFor services that don’t accept Kerberos authentication, the integrated Secure Authentication and Service Layer (SA

Strona 25

Mac OS X v10.6 computers can connect to an Open Directory, Active Directory, or LDAP directory server. If you don’t know which server to connect to,

Strona 26

Chapter 7 Managing Directory Clients Using Accounts Preferences 121 6 When the UpgradeUser tool is complete, click Continue. 7 When the messag

Strona 27

If you see an Edit button, your computer has at least one connection to a directory server. 4 Click the Add (+) button. 5 From the “Add a new direc

Strona 28

Chapter 7 Managing Directory Clients Using Accounts Preferences 12 3Editing a Directory Server ConnectionYou can use Account preferences to edit

Strona 29

Managing the Root User AccountYou can use Directory Utility (located in Accounts preferences) to manage the root user account by enabling or disabling

Strona 30

Chapter 7 Managing Directory Clients Using Accounts Preferences 12 5Changing the Root User Account PasswordYou can use Directory Utility (locate

Strona 31 - Search Policy Levels

12 6Use this chapter to set up and manage how a computer with Mac OS X or Mac OS X Server accesses directory services.After you congure your direct

Strona 32 - Two-Level Search Policies

Chapter 8 Advanced Directory Client Settings 12 7Setting Up Directory Utility on a Remote ServerYou can use Directory Utility on your computer t

Strona 33 - Multilevel Search Policies

The authentication and contacts search policies can have one of the following settings: Â Automatic: Starts with the local directory domain and can in

Strona 34 - Automatic Search Policies

Chapter 8 Advanced Directory Client Settings 12 9To have a search policy dened automatically: 1 Open System Preferences and click Accounts. 2

Strona 35

Preface About This Guide 13Chapter  9, “Maintaining Open Directory Services,” tells you how to monitor Open Directory services, view and edit

Strona 36 - Custom Search Policies

6 Click Search Policy and choose a search policy. Â Authentication: Shows the search policy used for authentication and most other administrative da

Strona 37 - Open Directory Authentication

Chapter 8 Advanced Directory Client Settings 131 6 Click Search Policy and choose a search policy: Â Authentication: Shows the search policy us

Strona 38

Using Advanced Directory Services SettingsDirectory Utility lists the directory services that Mac OS X can access. The list includes directory service

Strona 39 - About Crypt Passwords

Chapter 8 Advanced Directory Client Settings 133Enabling or Disabling LDAP Directory ServicesYou can use Directory Utility to enable or disable

Strona 40 - Oine Attacks on Passwords

“ Â Changing the Connection Settings for an LDAP Directory” on page 143“ Â Changing the Security Policy for an LDAP Connection” on page 145“ Â Congur

Strona 41

Chapter 8 Advanced Directory Client Settings 13 5 7 In the list of services, select LDAPv3 and click the Edit (/) button. 8 Click the Show Opt

Strona 42 - About Password Policies

9 Select the options for accessing the directory:Select “Encrypt using SSL” if you want Open Directory to use Secure Sockets Layer Â(SSL) for conne

Strona 43 - About Kerberos Authentication

Chapter 8 Advanced Directory Client Settings 137For more information about adding a computer to a computer group, see the computer groups chapte

Strona 44

 Active Directory, for a directory hosted by a Windows 2000, Windows 2003, or later server  RFC 2307, for most directories hosted by UNIX servers

Strona 45 - Secure Authentication

Chapter 8 Advanced Directory Client Settings 13 9If you choose Custom, you must set up mappings between Mac OS X record Âtypes and attributes a

Strona 46 - Moving Beyond Passwords

14 Preface About This GuideDocumentation MapMac OS X Server has a suite of guides that cover management of individual services. Each service m

Strona 47 - About Kerberized Services

Changing a Conguration for Accessing an LDAP DirectoryYou can use Directory Utility to change the settings of an LDAP directory conguration. The con

Strona 48

Chapter 8 Advanced Directory Client Settings 141 10 To change the following default settings for this LDAP conguration, click Edit to display

Strona 49

 LDAP Mapping: Choose a template from the pop-up menu, then enter the search base sux for the LDAP directory and click OK.If you chose a template,

Strona 50

Chapter 8 Advanced Directory Client Settings 143Deleting a Conguration for Accessing an LDAP DirectoryYou can use Directory Utility to delete a

Strona 51

To change the connection settings for accessing an LDAP directory: 1 Open System Preferences and click Accounts. 2 If the lock icon is locked, unloc

Strona 52

Chapter 8 Advanced Directory Client Settings 145Changing the Security Policy for an LDAP ConnectionUsing Directory Utility, you can congure a s

Strona 53

If any of the last four options are selected but disabled, the LDAP directory requires them. If any of these options are unselected and disabled, the

Strona 54 - LDAP Bind Authentication

Chapter 8 Advanced Directory Client Settings 147The mapping of Mac OS X data types, or attributes, to LDAP attributes for each Ârecord typeThe

Strona 55 - Management Tools

To add record types, click Add (below the Record Types and Attributes list); then, in Âthe sheet that appears, select Record Types, select record typ

Strona 56

Chapter 8 Advanced Directory Client Settings 149Templates saved in the default location are listed in pop-up menus of LDAP mapping templates the

Strona 57

Preface About This Guide 15Viewing PDF Guides OnscreenWhile reading the PDF version of a guide onscreen:Show bookmarks to see the guide’s outlin

Strona 58

7 In the list of services, select LDAPv3 and click the Edit (/) button. 8 If the list of server congurations is hidden, click Show Options. 9 Sel

Strona 59

Chapter 8 Advanced Directory Client Settings 151 10 Click Unbind, then enter the following credentials and click OK.Enter the name and passwor

Strona 60

Changing the Query Timeout for an LDAP ConnectionUsing Directory Utility, you can specify how long Open Directory waits before cancelling a query sent

Strona 61 - Cascading Replication

Chapter 8 Advanced Directory Client Settings 153Changing the Idle Timeout for an LDAP ConnectionUsing Directory Utility, you can specify how lon

Strona 62

9 In the list, select a server conguration and click Edit. 10 Click Connection and select “Ignore server referrals.”Authenticating an LDAP Connec

Strona 63

Chapter 8 Advanced Directory Client Settings 155Changing the Password Used for Authenticating an LDAP ConnectionUsing Directory Utility, you can

Strona 64

To enable creating user records in an LDAP directory with RFC 2307 mappings: 1 Open System Preferences and click Accounts. 2 If the lock icon is loc

Strona 65 - Replica Services

Chapter 8 Advanced Directory Client Settings 157Preparing a Read-Only LDAP Directory for Mac OS XIf you want a Mac OS X computer to get administ

Strona 66

Using Advanced Active Directory Service SettingsYou can congure a server with Mac OS X Server or a computer with Mac OS X to access an Active Directo

Strona 67

Chapter 8 Advanced Directory Client Settings 159Mac OS X v10.6 supports packet encryption and packet signing options for all Windows Active Dire

Strona 68

16 Preface About This GuideGetting Additional InformationFor more information, consult these resources: Â Read Me documents—get important upda

Strona 69

If the Active Directory schema has been extended to include Mac OS X record types (object classes) and attributes, the Active Directory connector dete

Strona 70

Chapter 8 Advanced Directory Client Settings 161Important: If your computer name contains a hyphen you might not be able to join or bind to a D

Strona 71

“ Â Changing the Active Directory Groups That Can Administer the Computer” on page 169“ Â Controlling Authentication from All Domains in the Active D

Strona 72 - Open Directory Security

Chapter 8 Advanced Directory Client Settings 163Setting Up Mobile User Accounts in Active DirectoryYou can enable or disable mobile Active Direc

Strona 73

Setting Up Home Folders for Active Directory User AccountsOn a computer that’s congured to use the Directory Utility Active Directory connector you c

Strona 74 - Server Admin

Chapter 8 Advanced Directory Client Settings 165 12 To use the Mac OS X attribute for the home folder location, deselect “Use UNC path from A

Strona 75 - Directory Utility

Mapping the UID to an Active Directory AttributeOn a computer that’s congured to use Directory Utility’s Active Directory connector, you can specify

Strona 76 - Command-Line Tools

Chapter 8 Advanced Directory Client Settings 167Mapping the Primary Group ID to an Active Directory AttributeOn a computer that’s congured to u

Strona 77 - Setting Up Open Directory

Mapping the Group ID in Group Accounts to an Active Directory AttributeOn a computer that’s congured to use Directory Utility’s Active Directory conn

Strona 78 - Before You Begin

Chapter 8 Advanced Directory Client Settings 169Specifying a Preferred Active Directory ServerOn a computer that’s congured to use Directory Ut

Strona 79 - Turning Open Directory On

17Use this chapter to learn about directory domains, how they are used, and how they are organized.Benets of Using Directory ServicesA directory

Strona 80

To add or remove Active Directory group accounts whose members have administrator privileges: 1 Open System Preferences and click Accounts. 2 If the

Strona 81

Chapter 8 Advanced Directory Client Settings 171 7 If the lock icon is locked, unlock it by clicking it and entering the name and password of a

Strona 82

5 If the lock icon is locked, unlock it by clicking it and entering the name and password of an administrator. 6 Click Services. 7 In the list of

Strona 83

Chapter 8 Advanced Directory Client Settings 173Automatic mounting of the Windows home folder ÂMobile user accounts with cached authentication c

Strona 84

The Active Directory mapping template for an LDAPv3 conguration maps some Mac OS X record types and attributes to object classes and attributes that

Strona 85

Chapter 8 Advanced Directory Client Settings 175Specifying BSD Conguration File SettingsHistorically, UNIX computers have stored administrative

Strona 86

Setting Up Data in BSD Conguration FilesIf you want a Mac OS X computer to get administrative data from BSD conguration les, the data must exist in

Strona 87

177Use this chapter to learn how to monitor Open Directory services, view and edit raw data from Open Directory domains, and back up Open Director

Strona 88

Controlling Access to a Server’s Login WindowYou can use Server Admin to control which users can log in to Mac OS X Server using the login window. Use

Strona 89

Chapter 9 Maintaining Open Directory Services 179 5 Select “Allow only users and groups below” and edit the list of users and groups that you w

Strona 90

With centralized directory service and le service set up to host network home folders, wherever a user logs in, the user gets the same home folder, p

Strona 91

7 Set the users permission:To grant administrator access, choose Administrator from the Permission pop-up Âmenu next to the user name.To grant moni

Strona 92

Chapter 9 Maintaining Open Directory Services 181 3 From the expanded Servers list, select Open Directory. 4 Click Settings, then click Genera

Strona 93

To see Open Directory authentication logs: 1 Open Server Admin and connect to the server. 2 Click the triangle at the left of the server.The list of

Strona 94

Chapter 9 Maintaining Open Directory Services 183 5 To see other types of records, click the All Records button next to the Computer Group butt

Strona 95

Deleting RecordsYou can use the Inspector in Workgroup Manager to delete a record.WARNING: After using the Inspector to delete user or computer recor

Strona 96

Chapter 9 Maintaining Open Directory Services 185If you delete a user account in Workgroup Manager by clicking the User button (not the All Reco

Strona 97

Importing Records of Any TypeWorkgroup Manager can import all types of records into the LDAP directory of an Open Directory master. This includes user

Strona 98

Chapter 9 Maintaining Open Directory Services 187Setting a Binding Policy for an Open Directory ServerUsing Server Admin, you can congure an Op

Strona 99 - OF.KERBEROSREALM

Note: If you change the security policy for the LDAP directory of an Open Directory master, you must disconnect and reconnect (unbind and rebind) eve

Strona 100

Chapter 9 Maintaining Open Directory Services 189Limiting Search Results for LDAP ServiceUsing Server Admin, you can prevent one type of denial-

Strona 101

Chapter 1 Directory Services with Open Directory 19Other application and system software processes can also use the user account information sto

Strona 102

Setting Up SSL for LDAP ServiceUsing Server Admin, you can enable Secure Sockets Layer (SSL) for encrypted communications between an Open Directory se

Strona 103

Chapter 9 Maintaining Open Directory Services 191To create an Open Directory service certicate: 1 Generate a private key for the server in the

Strona 104 - Using Workgroup Manager

Managing Open Directory ReplicationYou can schedule Open Directory replication or replicate on demand, promote a replica to a master, or take a replic

Strona 105 - Changing a User’s Password

Chapter 9 Maintaining Open Directory Services 193 4 Click Settings, then click General. 5 Click Change.This opens the Open Directory Assistant

Strona 106

This saves your setting and restarts the service. 19 Click Change.The Open Directory Assistant opens. 20 Choose Set up an Open Directory Replica,

Strona 107

Chapter 9 Maintaining Open Directory Services 195Decommissioning an Open Directory ReplicaYou can take an Open Directory replica server out of s

Strona 108

11 If you chose “Decommission replica and connect to another directory” from the Open Directory Assistant, click the Open Directory Utility button

Strona 109

Chapter 9 Maintaining Open Directory Services 197Restoring an Open Directory MasterYou can use Server Admin or the slapconfig command-line tool

Strona 110

6 Enter the password that was used to encrypt the archive when it was created, then click OK. 7 When the restore operation nishes, check the slapc

Strona 111

Chapter 9 Maintaining Open Directory Services 199Managing OpenLDAPTo provide directory services for mixed-platform environments, Open Directory

Strona 112

Apple Inc. K© 2009 Apple Inc. All rights reserved.The owner or authorized user of a valid copy of Mac OS X Server software may reproduce this publicat

Strona 113

If you’re experienced with UNIX, you probably know about the les in the /etc directory—group, hosts, hosts.equiv, master.passwd, and so forth. For ex

Strona 114 - Passwords

These tools are included in the standard OpenLDAP distribution:Tool Used to/usr/bin/ldapaddAdd entries to the LDAP directory./usr/bin/ldapcompareCompa

Strona 115 - Authentication

Chapter 9 Maintaining Open Directory Services 201If this parameter doesn’t exist in the DSLDAPv3PlugInCong.plist le, add it near <key>Op

Strona 116

supportedextension: 1.3.18.0.2.12.44supportedextension: 1.3.18.0.2.12.24supportedextension: 1.3.18.0.2.12.22supportedextension: 1.3.18.0.2.12.20suppor

Strona 117

Chapter 9 Maintaining Open Directory Services 203ibm-supportedAuditVersion: 2ibm-sasldigestrealmname: tr17n01.aset.psu.eduIf the server is an Op

Strona 118

Using LDIF FilesLightweight Directory Interchange Format (LDIF) is a le format used to represent LDAP entries in text form. LDAP tools such as ldappa

Strona 119 - Accounts Preferences

Chapter 9 Maintaining Open Directory Services 205Maintaining KerberosA robust authentication server that uses MIT’s Kerberos Key Distribution Ce

Strona 120 - Automated Client Conguration

Managing PrincipalsMac OS X Server uses MIT’s Kerberos administration architecture for principal management. The Kerberos kadmind administration daemo

Strona 121

Chapter 9 Maintaining Open Directory Services 207Using kadmin to Kerberize a Service You can use kadmin to Kerberize additional services, depend

Strona 122

Using Directory Service ToolsThe following are miscellaneous directory service tools that you can use to congure directory services and to troublesho

Strona 123

Chapter 9 Maintaining Open Directory Services 209Parameter Descriptiondiradmin_nameName of the directory administratordiradmin_passwordPassword

Strona 124

Chapter 1 Directory Services with Open Directory 21However, a directory domain stores much more data to support functions that are unique to Mac

Strona 125

210Use this chapter to nd solutions for common problems you might encounter while working with Open Directory.This section contains solutions to co

Strona 126

Chapter 10 Solving Open Directory Problems 2 11If the Open Directory server’s host name still isn’t its fully qualied DNS name, restart the se

Strona 127

Solving Directory Connection ProblemsProblems accessing directory services during startup can have several causes.If a Delay Occurs During StartupIf M

Strona 128

Chapter 10 Solving Open Directory Problems 213If a User Can’t Authenticate for VPN ServiceUsers whose accounts are stored on a server with Mac O

Strona 129

If You Can’t Log In as an Active Directory UserAfter conguring a connection to an Active Directory domain in the Service pane of Directory Utility (l

Strona 130

Chapter 10 Solving Open Directory Problems 215For information that can help you solve problems, see the KDC log. Also see “Viewing Open Direct

Strona 131

If Users Can’t Change Their PasswordsUsers whose accounts reside in an LDAP directory not hosted by Mac OS X Server and who have a password type of cr

Strona 132

Chapter 10 Solving Open Directory Problems 217If You Must Reset an Administrator PasswordUsing the Mac OS X Server installation disc, you can ch

Strona 133

218Open Directory Service SettingsTo change settings for the Open Directory service, use the following parameters with the serveradmin tool. Be sur

Strona 134

Appendix A Command-Line Parameters for Open Directory 219OpenLDAP Standard Distribution ToolsTwo types of tools come with OpenLDAP:Tools that op

Strona 135

Uses of Directory DataOpen Directory makes it possible to consolidate and maintain network information easily in a directory domain, but this informat

Strona 136

220Use this appendix to learn Open Directory extensions to LDAP schema, mappings of Open Directory attributes to LDAP and Active Directory attribute

Strona 137

Appendix B Mac OS X Directory Data 221“ Â Mappings for Computers” on page 260“ Â Mappings for ComputerLists” on page 262“ Â Mappings for Cong”

Strona 138

222 Appendix B Mac OS X Directory DataNote: Apple might extend the Open Directory LDAP schema in the future; for example, to support new vers

Strona 139

Appendix B Mac OS X Directory Data 223 apple-user-printattribute $ apple-mcxflags $ apple-mcxsettings $ apple-user-adminlimits $ apple-

Strona 140

224 Appendix B Mac OS X Directory Data apple-group-services $ apple-contactguid $ apple-ownerguid $ labeledURI $ apple-services

Strona 141

Appendix B Mac OS X Directory Data 225Computer Object Classobjectclass ( 1.3.6.1.4.1.63.1000.1.1.2.10 NAME 'apple-computer' D

Strona 142

226 Appendix B Mac OS X Directory DataConguration Object Classobjectclass ( 1.3.6.1.4.1.63.1000.1.1.2.12 NAME 'apple-configuration

Strona 143

Appendix B Mac OS X Directory Data 227Preset Computer Group Object Classobjectclass ( 1.3.6.1.4.1.63.1000.1.1.2.26 NAME 'apple-preset

Strona 144

228 Appendix B Mac OS X Directory DataPreset User Object Classobjectclass ( 1.3.6.1.4.1.63.1000.1.1.2.15 NAME 'apple-preset-user&ap

Strona 145

Appendix B Mac OS X Directory Data 229Server Assistant Conguration Object Classobjectclass ( 1.3.6.1.4.1.63.1000.1.1.2.17 NAME 'appl

Strona 146

Chapter 1 Directory Services with Open Directory 23 Â Managed network views: The administrator can set up custom views that users see when they

Strona 147

230 Appendix B Mac OS X Directory Data apple-computeralias $ apple-keyword $ apple-realname $ apple-xmlplist $ ttl ) )ACL Object C

Strona 148

Appendix B Mac OS X Directory Data 231Automount Object Classobjectclass ( 1.3.6.1.1.1.2.17 NAME 'automount' SUP top STRUCTURA

Strona 149

232 Appendix B Mac OS X Directory Dataapple-user-homequotaUsed to specify the home folder quota in kilobytes.attributetype ( 1.3.6.1.4.1.63

Strona 150

Appendix B Mac OS X Directory Data 233 1.3.6.1.4.1.63.1000.1.1.1.1.16 NAME ( 'apple-mcxsettings' 'apple-mcxsettings2'

Strona 151

234 Appendix B Mac OS X Directory Dataapple-user-authenticationhintUsed by the login window to provide a hint if the user logs in incorrectly

Strona 152

Appendix B Mac OS X Directory Data 235 EQUALITY caseExactMatch SUBSTR caseExactSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SIN

Strona 153

236 Appendix B Mac OS X Directory Data DESC 'Phone Contacts' EQUALITY caseExactIA5Match SUBSTR caseExactIA5SubstringsMatch

Strona 154

Appendix B Mac OS X Directory Data 237 NAME ( 'apple-nickname' ) DESC 'nickname' EQUALITY caseExactMatch SUBSTR

Strona 155

238 Appendix B Mac OS X Directory Dataapple-namesuxattributetype ( 1.3.6.1.4.1.63.1000.1.1.1.1.35 NAME ( 'apple-namesuffix' )

Strona 156

Appendix B Mac OS X Directory Data 239apple-primarycomputerguidattributetype ( 1.3.6.1.4.1.63.1000.1.1.1.14.11 NAME ( 'apple-primaryc

Strona 157

For an object class, a directory domain can contain multiple entries, and each entry can contain multiple attributes. Some attributes have a single va

Strona 158 - About Active Directory Access

240 Appendix B Mac OS X Directory Dataapple-group-realnameUsed to associate a longer, more user-friendly name with groups. This name appears i

Strona 159

Appendix B Mac OS X Directory Data 241# 1.3.6.1.4.1.63.1000.1.1.1.14.1000# NAME 'apple-group-memberUid'# DESC 'group member list&

Strona 160

242 Appendix B Mac OS X Directory Dataapple-machine-suxattributeType ( 1.3.6.1.4.1.63.1000.1.1.1.3.11 NAME 'apple-machine-suffix&a

Strona 161

Appendix B Mac OS X Directory Data 243 SUBSTR caseExactSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )mountTypeattribu

Strona 162

244 Appendix B Mac OS X Directory Data# NAME ( 'apple-mount-name' )# DESC 'mount name'# SUP name )Printer Attributesapple-

Strona 163

Appendix B Mac OS X Directory Data 245 NAME 'apple-printer-note' DESC 'printer note' EQUALITY caseIgnoreMatch SU

Strona 164

246 Appendix B Mac OS X Directory Dataapple-computer-list-groupsattributetype ( 1.3.6.1.4.1.63.1000.1.1.1.11.4 NAME 'apple-computer

Strona 165

Appendix B Mac OS X Directory Data 247 NAME 'apple-password-server-location' DESC 'password server location' EQUALI

Strona 166

248 Appendix B Mac OS X Directory Dataapple-ldap-writable-replicaattributetype ( 1.3.6.1.4.1.63.1000.1.1.1.12.6 NAME 'apple-ldap-wr

Strona 167 - Attribute

Appendix B Mac OS X Directory Data 249# EQUALITY caseExactIA5Match# SUBSTR caseExactIA5SubstringsMatch# SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )au

Strona 168 - Directory Attribute

Chapter 1 Directory Services with Open Directory 25About the Structure of LDAP EntriesIn an LDAP directory, entries are arranged in a hierarchic

Strona 169

250 Appendix B Mac OS X Directory Dataapple-service-url#attributetype (# 1.3.6.1.4.1.63.1000.1.1.1.19.2# NAME 'apple-service-url'# D

Strona 170 - Directory Forest

Appendix B Mac OS X Directory Data 251 SUBSTR caseExactSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )apple-neighborhoodaliasattrib

Strona 171

252 Appendix B Mac OS X Directory Data# NAME 'objectClassesConfig'# DESC 'object class configuration'# EQUALITY objectIden

Strona 172

Appendix B Mac OS X Directory Data 253automountKeyattributetype ( 1.3.6.1.1.1.1.32 NAME 'automountKey' DESC 'Automount K

Strona 173

254 Appendix B Mac OS X Directory DataRecord Type Mappings for UsersOpen Directory name,RFC/classLDAP object class nameOID Active Directory co

Strona 174 - Specifying NIS Settings

Appendix B Mac OS X Directory Data 255Open Directory name,RFC/class, special purposeLDAP attribute name OID Active Directory connectorAuthentica

Strona 175

256 Appendix B Mac OS X Directory DataOpen Directory name,RFC/class, special purposeLDAP attribute name OID Active Directory connectorPostalCo

Strona 176

Appendix B Mac OS X Directory Data 257Open Directory name,RFC/class, special purposeLDAP attribute name OID Active Directory connectorSMBKickoT

Strona 177 - Services

258 Appendix B Mac OS X Directory DataOpen Directory name,RFC/class, special purposeLDAP attribute name OID Active Directory connectorPagerNum

Strona 178

Appendix B Mac OS X Directory Data 259Attribute Mappings for GroupsOpen Directory name,RFC/classLDAP attribute nameOID Active Directory connecto

Strona 179

Local and Shared Directory DomainsWhere you store your server’s user information and other administrative data is determined by whether the data must

Strona 180 - Monitoring Open Directory

260 Appendix B Mac OS X Directory DataRecord Type Mappings for MountsOpen Directory name,RFC/classLDAP object class nameOID Active Directory c

Strona 181

Appendix B Mac OS X Directory Data 261Attribute Mappings for ComputersOpen Directory name,RFC/class,special purposeLDAP attribute nameOID Active

Strona 182

262 Appendix B Mac OS X Directory DataOpen Directory name,RFC/class,special purposeLDAP attribute nameOID Active Directory connectorSMBLogoTi

Strona 183

Appendix B Mac OS X Directory Data 263Attribute Mappings for ComputerListsOpen Directory name,RFC/classLDAP attribute nameOID Active Directory c

Strona 184 - Deleting Records

264 Appendix B Mac OS X Directory DataAttribute Mappings for CongOpen Directory name,RFC/class,special purposeLDAP attribute nameOID Active D

Strona 185 - Changing a User’s Short Name

Appendix B Mac OS X Directory Data 265Mappings for PeopleThe following tables specify how the LDAPv3 plug-in in Directory Utility (located in Ac

Strona 186 - Importing Records of Any Type

266 Appendix B Mac OS X Directory DataOpen Directory name,RFC/classLDAP attribute nameOID Active Directory connectorJobTitle,RFC 2256title2.5.

Strona 187

Appendix B Mac OS X Directory Data 267Record Type Mappings for PresetComputerListsOpen Directory name,RFC/classLDAP object class nameOID Active

Strona 188

268 Appendix B Mac OS X Directory DataAttribute Mappings for PresetGroupsOpen Directory name,RFC/classLDAP attribute nameOID Active Directory

Strona 189

Appendix B Mac OS X Directory Data 269Attribute Mappings for PresetUsersOpen Directory name,RFC/classLDAP attribute nameOIDActive Directory conn

Strona 190

Chapter 1 Directory Services with Open Directory 27About Shared Directory DomainsAlthough Open Directory on any Mac OS X computer can store admi

Strona 191

270 Appendix B Mac OS X Directory DataOpen Directory name,RFC/classLDAP attribute nameOIDActive Directory connectorPassword,RFC 2256userPasswo

Strona 192

Appendix B Mac OS X Directory Data 271Attribute Mappings for PrintersOpen Directory name,RFC/class,special purposeLDAP attribute nameOIDActive D

Strona 193

272 Appendix B Mac OS X Directory DataMappings for AutoServerSetupThe following tables specify how the LDAPv3 plug-in in Directory Utility (lo

Strona 194

Appendix B Mac OS X Directory Data 273Attribute Mappings for LocationsOpen Directory name,RFC/classLDAP attribute nameOIDActive Directory connec

Strona 195

274 Appendix B Mac OS X Directory DataMac OS X user attribute Format Example valuesRecordName:A list of names associated with a user. The rst

Strona 196

Appendix B Mac OS X Directory Data 275Mac OS X user attribute Format Example valuesHomeDirectory:The location of an AFP-based home folder.UTF-8

Strona 197

276 Appendix B Mac OS X Directory DataMac OS X user attribute Format Example valuesUserShell:The location of the default shell for command-lin

Strona 198 - The path to the archive le

Appendix B Mac OS X Directory Data 277Mac OS X user attribute Format Example valuesFirstName:Used by Address Book and other applications that us

Strona 199 - Managing OpenLDAP

278 Appendix B Mac OS X Directory DataFormat of MailAttribute in User RecordsUser record MailAttribute eld Format Sample valuesAttributeVersi

Strona 200 - Idle Rebinding Options

Appendix B Mac OS X Directory Data 279User record MailAttribute eld Format Sample valuesNoticationState An optional keyword describing whether

Strona 201 - Searching the LDAP Server

Shared Data in Existing Directory DomainsSome organizations—such as universities and worldwide corporations—maintain user information and other admini

Strona 202

280 Appendix B Mac OS X Directory DataUser Data That Mac OS X Server UsesThe following table describes how your Mac OS X Server uses data from

Strona 203

Appendix B Mac OS X Directory Data 281Standard Attributes in Group RecordsThe following table describes the standard attributes found in Open Di

Strona 204 - Using LDIF Files

282 Appendix B Mac OS X Directory DataMac OS X group attribute Format Example valuesHomeLocOwner:The short name of the user that owns the grou

Strona 205 - Maintaining Kerberos

Appendix B Mac OS X Directory Data 283Mac OS X computer attribute Format Example valuesMCXFlags:Used only in the “guest” computer record; if pre

Strona 206 - Managing Principals

284 Appendix B Mac OS X Directory DataStandard Attributes in Mount RecordsThe following table describes the standard attributes found in Open

Strona 207

Appendix B Mac OS X Directory Data 285Standard Attributes in Cong RecordsThe following table describes the standard attributes found in the fol

Strona 208 - Using Directory Service Tools

AaccessACLs 38, 72, 73, 179, 183Active Directory domains 160, 17 2administrator 73, 179directory domain uses 22directory service 132, 133le 22f

Strona 209

Index 287mount 253, 284neighborhood 253passwords 253printer 233, 253replication 253resource 253schema 253service 253standard 273, 278, 280

Strona 210

288 Indexclient computers 120, 121command-line tools 15 9connection 92, 93, 94cross-domain authorization 66directory domain integration 65, 66

Strona 211

Index 289exporting users 117See also importingFfailoverBDC 30, 90load balancing 63PDC 30setup 91le servicesauthentication 50share points 22

Strona 212

Chapter 1 Directory Services with Open Directory 29The same user account that can be used for logging in from a Windows workstation can also be

Strona 213

290 Indexconnection settings 92, 14 3, 15 0, 152, 153denition 23deleting conguration 143DHCP 35, 89directory schemas 69disabling 133distrib

Strona 214

Index 291password policies 43, 11 2search policies 35, 36VPN service 64mount attributes 253, 284mount object class 231Mount record type 259,

Strona 215

292 Indexreplica management 58, 61, 63, 64, 81, 192, 19 5restoring 197security policy 187setup 81, 83status checking 180troubleshooting 210,

Strona 216

Index 293See also DHCP, LDAPpseudo-master server 66public network 64pwpolicy tool 111, 11 3, 114, 11 5Qquery timeout, LDAP 152RRAID (Redundant

Strona 217

294 Indexports for 72pseudo-master 66referrals 153remote 79, 12 7, 178removing 12 2restoring 197, 198security policy 187setup 93, 94, 272su

Strona 218 - Open Directory

Index 295record types 268, 269, 273, 278, 280searching for 201troubleshooting authentication 212, 213, 214, 216Windows 28, 29, 84See also clien

Strona 219 - Â ldap

11 Preface: About This Guide12 What’s in This Guide13 Using Onscreen Help14 Documentation Map15 Viewing PDF Guides Onscreen15 Printing PDF Guid

Strona 220 - Mac OS X Directory Data

When setting up Mac OS X Server as a PDC, make sure your network doesn’t have another PDC with the same domain name. The network can have multiple Ope

Strona 221

31Use this chapter to learn how to use search policies with domains and to understand automatic, custom, and local-only search policies.Each Mac O

Strona 222

The following illustration shows two computers on a network that only search their own local directory domain for administrative data.Local directoryd

Strona 223 - Group Auxiliary Object Class

Chapter 2 Open Directory Search Policies 33Each class (English, math, science) has its own computer. The students in each class are dened as us

Strona 224 - Printer Object Class

Here’s a scenario in which more than one shared directory might be used:School directorydomainScience directorydomain1Search Policy2English directoryd

Strona 225 - ComputerList Object Class

Chapter 2 Open Directory Search Policies 35A computer’s automatic search policy always begins with the computer’s local directory domain. If a M

Strona 226 - Preset Computer Object Class

Important: If you congure Mac OS X to use an automatic authentication search policy and a DHCP-supplied LDAP server or a DHCP-supplied local directo

Strona 227 - Preset Group Object Class

37Use this chapter to learn how to use Open Directory authentication, shadow and crypt passwords, Kerberos, LDAP bind, and single sign-on.Open Dir

Strona 228 - Preset User Object Class

Authentication and AuthorizationServices such as the login window and Apple Filing Protocol (AFP) service request user authentication from Open Direct

Strona 229 - Neighborhood Object Class

Chapter 3 Open Directory Authentication 39User accounts in the following directory domains can have Open Directory passwords:The LDAP directory

Strona 230 - Automount Map Object Class

4 Contents36 Custom Search Policies36 Search Policies for Authentication and Contacts37 Chapter 3: Open Directory Authentication37 About Pas

Strona 231

Providing Secure Authentication for Windows UsersMac OS X Server also oers the same types of secure passwords for Windows users:Open Directory passwo

Strona 232

Chapter 3 Open Directory Authentication 41Shadow passwords and Open Directory passwords are far less susceptible to oine attack because they ar

Strona 233

Password type Authentication authority Attribute in user recordOpen Directory Open Directory Password Server and Kerberos1Either or both:; Â ApplePass

Strona 234

Chapter 3 Open Directory Authentication 43The password policy for a mobile user account applies when the account is used while disconnected from

Strona 235

Kerberos permits a client and a server to identify each other much more securely than typical challenge-response password authentication methods. Kerb

Strona 236

Chapter 3 Open Directory Authentication 45You needed a suite of Kerberized applications (server and client software). Some of Âthe basics were

Strona 237

Kerberos was designed to solve network security problems. It never transmits the user’s password across the network, nor does it save the password in

Strona 238

Chapter 3 Open Directory Authentication 47Multiplatform AuthenticationKerberos is available on every major platform, including Mac OS X, Windows

Strona 239

To congure new and upgraded services to use Kerberos: 1 Open Server Admin and connect to the upgraded server. 2 Click the triangle at the left of t

Strona 240

Chapter 3 Open Directory Authentication 49About the Kerberos Authentication ProcessThere are several phases to Kerberos authentication. In the 

Strona 241 - Machine Attributes

Contents 564 Open Directory Master and Replica Compatibility65 Mixing Active Directory and Open Directory Master and Replica Services66 Integrati

Strona 242

Time is very important with Kerberos. If the client and the KDC are out of sync by more than a few minutes, the client fails to achieve authentication

Strona 243

Chapter 3 Open Directory Authentication 51Open Directory supports many authentication methods because each service that requires authentication

Strona 244

Disabling Open Directory Authentication MethodsTo make Open Directory password storage on the server more secure, you can selectively disable authenti

Strona 245

Chapter 3 Open Directory Authentication 53Disabling Shadow Password Authentication MethodsYou can selectively disable authentication methods to

Strona 246

Contents of the Open Directory Password Server DatabaseOpen Directory Password Server maintains an authentication database separate from the directory

Strona 247

55Use this chapter to assess directory domain needs, estimate directory and authentication requirements, identify servers for hosting shared domai

Strona 248

With this arrangement, each user has two accounts, one for logging in to a computer and one for accessing services of Mac OS X Server, as illustrated

Strona 249

Chapter 4 Open Directory Planning and Management Tools 57In many organizations, a single shared directory domain is adequate. It can handle hund

Strona 250

You also congure Mac OS X Server to handle cross-domain authorization if a Kerberos realm exists.If you have an existing Active Directory server, you

Strona 251

Chapter 4 Open Directory Planning and Management Tools 59The Open Directory server can provide LDAP and authentication services to more client c

Strona 252

6 Contents102 Joining a Server to a Kerberos Realm103 Magic Triangle General Setup Overview104 Chapter 6: Managing User Authentication Using

Strona 253 - Active Directory

Replicating Open Directory ServicesMac OS X Server supports replication of the LDAP directory service, the Open Directory Password Server, and the Ker

Strona 254 - Attribute Mappings for Users

Chapter 4 Open Directory Planning and Management Tools 61Replica version Mac OS X Server v10.5 or later masterMac OS X Server v10.4 masterMac OS

Strona 255

A single Open Directory master server can have up to 32 replicas and each of those replicas can have up to 32 replicas, which gives you 1,056 replicas

Strona 256

Chapter 4 Open Directory Planning and Management Tools 63Load Balancing in Small, Medium, and Large EnvironmentsDo not use service load-balancin

Strona 257

Using an Open Directory Master, Replica, or Relay with NATIf your network has an Open Directory server on the private network side of a network addres

Strona 258 - Mappings for Groups

Chapter 4 Open Directory Planning and Management Tools 65Mixing Active Directory and Open Directory Master and Replica ServicesThere are some sp

Strona 259 - Mappings for Mounts

OrActive Directory Domain = ads.company.com ÂActive Directory Kerberos realm = ADS.COMPANY.COM ÂOpen Directory Server master = server1.od.company.com

Strona 260 - Mappings for Computers

Chapter 4 Open Directory Planning and Management Tools 67Using cross-domain authorization keeps you from needing to create dierent user names a

Strona 261

The Active Directory server manages authentication requests while the Open Directory server manages preference and policy settings of client computers

Strona 262 - Mappings for ComputerLists

Chapter 4 Open Directory Planning and Management Tools 69Integrating Without Schema ChangesMac OS X and Mac OS X Server integrate with most LDAP

Strona 263 - Mappings for Cong

Contents 7131 Protecting Computers from a Malicious DHCP Server132 Using Advanced Directory Services Settings132 Enabling or Disabling Active Dir

Strona 264 - Attribute Mappings for Cong

Mac OS X Server must belong to the same Kerberos realm as its client users. The realm has only one authoritative Kerberos server, which is responsible

Strona 265 - Mappings for People

Chapter 4 Open Directory Planning and Management Tools 71If you must use an Open Directory server to manage users in another server’s directory

Strona 266

Open Directory SecurityWith Mac OS X Server, a server with a shared LDAP directory domain also provides Open Directory authentication.It is important

Strona 267 - Mappings for PresetGroups

Chapter 4 Open Directory Planning and Management Tools 73Equip the Open Directory master computer with an uninterruptible power supply. ÂIn summ

Strona 268 - Mappings for PresetUsers

Tools for Managing Open Directory ServicesThe Server Admin, Directory Utility, and Workgroup Manager applications provide a graphical interface for m

Strona 269

Chapter 4 Open Directory Planning and Management Tools 75For basic information about using Server Admin, see the Server Administration chapter i

Strona 270 - Mappings for Printers

Workgroup ManagerWorkgroup Manager provides comprehensive management of Mac OS X Server clients. You use Workgroup Manager to:Set up and manage user a

Strona 271

77Use this chapter to learn how to set up Open Directory services, including congurations, roles, master and replica LDAP service options, and si

Strona 272 - Mappings for Locations

Step 5: Set up a Primary Domain Controller (PDC).To set up a server to provide directory and authentication services for Windows and Mac OS X platform

Strona 273

Chapter 5 Setting Up Open Directory Services 79Users whose information can be managed most easily on a server should be dened in the shared LDA

Strona 274

8 Contents174 Specifying NIS Settings175 Specifying BSD Conguration File Settings176 Setting Up Data in BSD Conguration Files177 Chapter 9:

Strona 275

Setting Up a Standalone Directory ServiceUsing Server Admin, you can set up Mac OS X Server to use only the server’s local directory domain. The serve

Strona 276 - Â ShadowHash;

Chapter 5 Setting Up Open Directory Services 81If your server is an Open Directory replica, select “Decommission replica and Âset up standalon

Strona 277

To congure a server to be an Open Directory master: 1 Open Server Admin and connect to the server. 2 Click the triangle at the left of the server.T

Strona 278

Chapter 5 Setting Up Open Directory Services 83 Â Search Base: This eld is set to a search base sux for the new LDAP directory, derived from t

Strona 279

Setting Up a Primary Domain Controller (PDC)Using Server Admin, you can set up Mac OS X Server as a Windows PDC. The PDC hosts a Windows domain and pr

Strona 280

Chapter 5 Setting Up Open Directory Services 85 Â Domain: Enter the name of the Windows domain that the server will host. The domain name canno

Strona 281

Setting Up Windows XP for Domain LoginYou can enable domain login on a Windows XP computer by joining it to the Windows domain of a Mac OS X Server PD

Strona 282

Chapter 5 Setting Up Open Directory Services 87Setting Up an Open Directory ReplicaUsing Server Admin, you can set up Mac OS X Server to be a re

Strona 283

To congure a server to host a replica of an Open Directory master: 1 Make sure the master, the prospective replica, and every rewall between them i

Strona 284

Chapter 5 Setting Up Open Directory Services 89After you set up an Open Directory replica, other computers will connect to it as needed.Computer

Strona 285

Contents 9207 Using kadmin to Kerberize a Service 207 Kerberizing Services with an Active Directory Server208 Using Directory Service Tools208 O

Strona 286

Setting Up a Server as a Backup Domain Controller (BDC)Using Server Admin, you can set up Mac OS X Server as a Windows backup domain controller (BDC).

Strona 287 - Index 287

Chapter 5 Setting Up Open Directory Services 91After setting up a BDC, you might want to change access restrictions, logging detail level, code

Strona 288 - 288 Index

Setting Up a Connection to a Directory ServerUsing Server Admin, you can set up Mac OS X Server to get user records and other directory information fr

Strona 289 - Index 289

Chapter 5 Setting Up Open Directory Services 93Open Directory Password Server in Mac OS X Server v10.4 or later supports NTLMv2 authentication,

Strona 290 - 290 Index

 Computer Name: Enter the name you want Windows users to see when they connect to the server. This is the server’s NetBIOS name. The name should con

Strona 291 - Index 291

Chapter 5 Setting Up Open Directory Services 95 8 Click Done. 9 If you want to congure advanced settings for your Active Directory connection

Strona 292 - 292 Index

24 Click OK. 25 From the Servers list, select SMB. 26 Click Settings, then click General. 27 Verify that the server is now a member of the Ac

Strona 293 - Index 293

Chapter 5 Setting Up Open Directory Services 97When Open Directory is started for the rst time, Kerberos uses DNS to generate conguration sett

Strona 294 - 294 Index

The server can also support single sign-on Kerberos authentication for Kerberized services of other servers on the network. The other servers must be

Strona 295 - Index 295

Chapter 5 Setting Up Open Directory Services 99 5 Use Network Utility (in /Applications/Utilities/) to do a DNS lookup of the Open Directory ma

Komentarze do niniejszej Instrukcji

Brak uwag