How awesome is this person!!! How do I work for them…
1. Children are our most precious natural resource
2. The solution to poverty, peace and environment is education
3. Teaching is one but not the only way to achieve learning
Your server contains an Auto Server Setup profile. It can be optionally encrypted with a pass phrase. If you cannot ensure this files security you should encrypt it. Otherwise the XML file is stored as clear text, letting any user see its contents as well as the configuration of your server with the administrators password. The pass phrase can be supplied to the server assistant by either:
1. Typing it in locally at the server itself.
2. Placing the pass phrase in clear text in a .pass file with the same name as the Auto Server Setup folder. (make sure this is at the root of any available volume in order to be seen by Server Assistant).
When server installation has completed, that computer will restart with Mac OS X Server to be configured. The “More Options”, Server Assistant pane appears, offering the following choices:
1. Install Mac OS X Server remotely
2. Setup Mac OS X Server remotely
3. Prepare and save information for automatic setup.
Server Monitor remotely restarts, powers off and on Xserves. It also monitors the following server stats:
- General server information
- Drive status
- Power information
- Network activity
- Temperature and blower statistics
- Memory configuration and health
- Security lock information
If the status of any server components change you can configure Server Monitor to send email notifications to a particular address.
If you enable the Internet gateway, Server Assistant automatically:
Assigns the internal Ethernet port the IP address 192.168.1.1
Enables the DHCP service with a scope of 192.168.1.100 through 192.168.1.199
Enables the NAT service to share your server’s Internet connection with computers on the local network
Enables the firewall
Enables the DNS service for the local network
To learn more on this topic, see Chapter 1 – Installing and Configuring Mac OS X Server in Apple Training Series: Mac OS X Support Essentials v10.6
if the Internet gateway is enabled by you, the Server Assistant automatically performs the following:
- Assigns the internal Ethernet port to 192.168.1.1
- Enables the DHCP service with a scope of 192.168.1.100 through 192.168.1.199
- Enables the NAT service to share your server’s Internet connection with computers on the local network.
- Enables the firewall
- Enables the DNS service for the local network
Server Assistant automatically creates an Open Directory master for you when you select:
1. Create users and groups or
2. Import users and groups.
The following variables default to:
1. Directory Administrator Name = Directory Administrator
2. short name = diradmin
3. UID of 1000
4. Password defaults to the same password the local administrators has been set to.
A word on security…if you export user accounts and then later import those users, you will need to set their passwords after the import.
Workgroup Manager removes a user from a group by:
1. Editing the Other Groups field (in user account)
2. Editing the Group Account.
Depending on what he or she is trying to access, the user may or may not get feedback on whether the user typed the wrong password (authentication) or the user is not allowed access to the service (authorization).
If a user can’t get access to a particular service they don’t get feedback on that specifically. Thus if the incorrect password is typed or they don’t get access to a particular service, the error message is no different.
When searching, to construct an advanced search:
1. Use the Search button in the toolbar
2. Click the Search pop-up above the accounts list and choose the Advanced option.
This is Emma take on initiating children into the computing industry…
Most small businesses use Windows Small Business Server or Windows Server both of which use active directory. Active directory controls the accounts, authentication and shared services on the network. Macintosh’s can join either active directory or open directory. Open directory is another directory server implementation that enables LDAP services.
Binding: Configures a MAC to connect to a directory server. Binding is a separate process for Active Directory and Open Directory.
Configuring a Mac to Connect to a Network Account Server is almost the same for Active or Open Directory Server (LDAP).
- Open system preferences
- Click on Users and Groups
- Click Login Options
- If the lock icon is locked, unlock it by clicking on it and entering the name and password of an administrator account.
- Click the Join button. If you have previously joined a directory server, click the Edit Button instead of the Join button. Now click Add(+)
For Active Directory Server:
- In the server field enter the Active Directory address
- Enter the Active Directory user name and password
- Edit the ID you want that conforms
- Click OK
For Open Directory Server:
- Choose a server or manually enter servers domain name or IP address
- Click OK
Once you have a network user account name and password from the server administrator in either format:
- If you’re logged in, log out. (Under Apple Menu)
- Click Other
- Press Return or click the Log In (right arrow) button.
So that is how you bind a MAC to a directory server and log into a Mac with a network user account.
It’s occurred to me over the last week about how many young developers we have in gaming out there. I have completed a few tutorials and you tube in xcode where the tutor has possibly been under the age of 12!!! You get half way through the tutorial and think – “hang on a minute, how old is this child!!!!!” Its quite funny. My daughter has been asking me to demonstrate app development to her year 5 class room so I am going in before christmas to do this. Really looking forward to this…..
Basically when I started using Xcode I loved the error reporting. There are basically three types of errors: Syntax, runtime and logic errors. Its important to set your preferences here so that Xcode opens the Build results window.
You will politely and continually get reminded of these until you have fixed them. To set this preference: Go into Xcode, Preferences, Building and choose Always from the Open During Builds pop-up menu. Breakpoints can be set at any point during the execution.
If you app builds and runs without syntax errors its possible to have the two other types. A breakpoint is an instruction to the Debugger to sop execution at that instruction and wait for further instructions.
Set a breakpoint by clicking the far-left column of the Editor pane and remove it by dragging it off.
By moving your pointer over a variable in the data tip its contents are revealed. You can find out the value of variables at any point in during execution.
Using the debugger strip you have access to:
Watching the stack helps you understand how the framework does its job and in what order messages are sent.
There are many different ways to customise the look of the debugger. YOu can choose run, Debugger, display, source and disassembly to check the source code and the assembly language.
YOu can move your pointer over an abject or variable in the text editor pane to show its contents in a data tip and you can move your pointer over other disclosure triangle to see even more information in the data tip. Exapnding the view of objects not only helps you check variables, but also checks messages sent to object reference instance variables.
The Console utility application lets you watch error and status messages as they appear. If your computer appears to be stalled console might be producing information that can help debug the problem. This is actually my favourite part of the debugger. The NSLog statements here log messages to Console before and after variables are set.
Xcode offers the Build and Analyze feature that analyses your code for memory leaks. The results show up like warnings and errors. with explanations of where and what an issue is. To run it choose Build, Build and Analyze. If there is anything that needs addressing here you will get a blue icon with a message. This could sound something like: ” Method returns and Objective C object with a +1 retain count” or “Object allocated on line 23 and stored into ‘viewController2′ is no longer referenced after this point and has a retain count of +1 (object leaked)’.