oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button

Discover the Power of Open Directory (Part 3)
Pages: 1, 2, 3, 4

Sharing Out Windows and Using Roaming Profiles

The easiest way to set up roaming profiles with Open Directory is to just share out a partition via SMB. I happen to have another partition on my OS X Server called data. I just shared this partition out as shown in Figures 15 and 16.

Figure 15. Windows share

Figure 16. Windows share config

Next, go to the Workgroup Manager and configure the Windows settings for oduser as shown in Figure 17. Notice that you need to create a profiles\oduser directory and a oduser directory.

Figure 17. oduser Windows settings

Make sure that you also give both of these directories the proper permissions as shown in Figure 18. Basically oduser\staff needs to own profiles\oduser and oduser. When you log in to your Windows account you will be using a roaming profile which will cache data back and forth to the server.

Figure 18. The oduser permissions

To verify this, log in to your Open Directory server and take a look at the data directory as shown in Figure 19. As you can see, it is fully populated with Windows stuff. Congratulations, Windows is now using Open Directory!

Figure 19. A successful roaming profile


You really should not use local host files for DNS. I only did this in this article because it was easier to explain the concepts we covered without adding the complexity of DNS. If you do want to set up DNS, I recommend doing it either on OS X or Linux. Red Hat has a great article on configuring DNS at home.

In this series, we set up Open Directory, bound Linux to Open Directory, created shared NFS home directories for Linux and OS X, set up Mobility and introduced MCX, and, finally, even got Windows to join Open Directory. I hope I gave you the impression that Open Directory is amazing and can do things many other directory servers only dream of. In addition, Open Directory is fairly easy to set up. I would love to hear about how other people are using Open Directory either at home, in education environment, or in a corporate setting.

Noah Gift is the co-author of Python For Unix and Linux by O'Reilly. He is an author, speaker, consultant, and community leader, writing for publications such as IBM Developerworks, Red Hat Magazine, O'Reilly, and MacTech, and Manning.

Return to