Apple Mac OS X Server Command-Line Specifiche

Navigare online o scaricare Specifiche per Server Apple Mac OS X Server Command-Line. Apple Mac OS X Server Command-Line Specifications [en] [fr] Manuale Utente

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 295
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti

Sommario

Pagina 1 - Mac OS X Server

Mac OS X ServerOpen Directory AdministrationVersion 10.6 Snow Leopard

Pagina 2

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 8 - 8 Contents

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 15 - Getting Documentation Updates

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

Pagina 16

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

Pagina 17 - Directory

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

Pagina 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

Pagina 19 - A Historical Perspective

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

Pagina 20

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

Pagina 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

Pagina 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

Pagina 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

Pagina 24

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

Pagina 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,

Pagina 26

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

Pagina 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

Pagina 28

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

Pagina 29

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

Pagina 30

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 35

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

Pagina 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

Pagina 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

Pagina 38

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

Pagina 39 - About Crypt Passwords

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 48

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

Pagina 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,

Pagina 50

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

Pagina 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

Pagina 52

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

Pagina 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

Pagina 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

Pagina 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

Pagina 56

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

Pagina 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

Pagina 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

Pagina 59

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

Pagina 60

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

Pagina 61 - Cascading Replication

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

Pagina 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

Pagina 63

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

Pagina 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

Pagina 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

Pagina 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

Pagina 67

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

Pagina 68

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

Pagina 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

Pagina 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

Pagina 71

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 80

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

Pagina 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

Pagina 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

Pagina 83

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

Pagina 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

Pagina 85

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 92

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 98

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

Pagina 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

Pagina 100

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

Pagina 101

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

Pagina 102

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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,

Pagina 107

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

Pagina 108

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

Pagina 109

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

Pagina 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

Pagina 111

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 117

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

Pagina 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

Pagina 119 - Accounts Preferences

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

Pagina 120 - Automated Client Conguration

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

Pagina 121

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

Pagina 122

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

Pagina 123

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

Pagina 124

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

Pagina 125

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

Pagina 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

Pagina 127

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

Pagina 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

Pagina 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

Pagina 130

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

Pagina 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

Pagina 132

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

Pagina 133

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

Pagina 134

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

Pagina 135

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

Pagina 136

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

Pagina 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”

Pagina 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

Pagina 139

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

Pagina 140

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 146

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

Pagina 147

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

Pagina 148

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

Pagina 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

Pagina 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'

Pagina 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

Pagina 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

Pagina 153

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

Pagina 154

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

Pagina 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' )

Pagina 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

Pagina 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

Pagina 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

Pagina 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&

Pagina 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

Pagina 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

Pagina 162

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

Pagina 163

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

Pagina 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

Pagina 165

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 171

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

Pagina 172

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

Pagina 173

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

Pagina 174 - Specifying NIS Settings

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

Pagina 175

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

Pagina 176

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

Pagina 177 - Services

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

Pagina 178

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

Pagina 179

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

Pagina 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

Pagina 181

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

Pagina 182

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

Pagina 183

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

Pagina 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

Pagina 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

Pagina 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.

Pagina 187

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

Pagina 188

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

Pagina 189

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

Pagina 190

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

Pagina 191

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

Pagina 192

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

Pagina 193

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

Pagina 194

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 199 - Managing OpenLDAP

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

Pagina 200 - Idle Rebinding Options

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

Pagina 201 - Searching the LDAP Server

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

Pagina 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

Pagina 203

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

Pagina 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

Pagina 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

Pagina 206 - Managing Principals

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

Pagina 207

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

Pagina 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

Pagina 209

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

Pagina 210

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

Pagina 211

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

Pagina 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

Pagina 213

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

Pagina 214

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

Pagina 215

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

Pagina 216

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

Pagina 217

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

Pagina 218 - Open Directory

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

Pagina 219 - Â ldap

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

Pagina 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

Pagina 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

Pagina 222

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

Pagina 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

Pagina 224 - Printer Object Class

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 229 - Neighborhood Object Class

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

Pagina 230 - Automount Map Object Class

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

Pagina 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

Pagina 232

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

Pagina 233

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

Pagina 234

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

Pagina 235

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

Pagina 236

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

Pagina 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

Pagina 238

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

Pagina 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

Pagina 240

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

Pagina 241 - Machine Attributes

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

Pagina 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

Pagina 243

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

Pagina 244

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

Pagina 245

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

Pagina 246

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

Pagina 247

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

Pagina 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

Pagina 249

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

Pagina 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

Pagina 251

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

Pagina 252

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

Pagina 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

Pagina 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

Pagina 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

Pagina 256

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 261

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

Pagina 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

Pagina 263 - Mappings for Cong

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

Pagina 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

Pagina 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

Pagina 266

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

Pagina 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

Pagina 268 - Mappings for PresetUsers

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

Pagina 269

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 274

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

Pagina 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

Pagina 276 - Â ShadowHash;

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 285

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

Pagina 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).

Pagina 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

Pagina 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

Pagina 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,

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Commenti su questo manuale

Nessun commento