Home › Forums › OS X Server and Client Discussion › Active Directory › “The Cylinder of Destiny”
- This topic has 6 replies, 4 voices, and was last updated 13 years, 5 months ago by
trampoline.
-
AuthorPosts
-
April 24, 2010 at 10:35 pm #378436
nvp
ParticipantHas anyone setup “The Cylinder of Destiny” with Snow Leopard??
I’ve add all the necessary attributes to my augmented user to get an AFP home folder but when I run the createhomedir -s command, nothing happens.
I’ve search but I can’t find that much documentation about it….
May 3, 2010 at 6:33 pm #378495Mike Boylan
Participant[QUOTE][u]Quote by: nvp[/u][p]Has anyone setup “The Cylinder of Destiny” with Snow Leopard??
I’ve add all the necessary attributes to my augmented user to get an AFP home folder but when I run the createhomedir -s command, nothing happens.
I’ve search but I can’t find that much documentation about it….[/p][/QUOTE]
—————————————–
Yes, I have a successful working test environment running on my desk in the office on a Mac Mini acting as a server. Network home directories for augmented users are working great. The order in which you do things is very, very important.Essentially:
1.) Ensure *perfect* DNS records, both forward and reverse.
2.) Bind to AD
3.) Kerberize your services
4.) Promote to OD master and verify kerberos wasn’t configured for the OD domain. You can verify this by looking for the following in the slapconfig log:
“Not configuring Kerberos for this OD master. Remove all nodes on Search Policy except Local Nodes to kerberize this server”Initially, the createhomedirs wasn’t working for me either, but a combination of the following fixed that.
Make sure that you have edited the augmentconfiguration record in the config section in workgroup manager to allow for the two home directory attributes you’re trying to add to the augmented user. Also make sure in the AD connector (both on client and server) that you uncheck everything but “Default user shell” on the first pane of options. (The “use unc path…” was overriding the attributes for the augment for me.) Then, kill DirectoryService, or preferably, reboot the server. This forces DirectoryService to notice the changes you made to the augmentconfiguration to allow for the additional attributes for the augments.
Try running the createhomedir command again. If nothing happens, what happens if you specifically specify the user with the -u? sudo createhomedir -u augmentuser
Verify using dscl that the server is correctly finding the attributes for the augment:
dscl /Search -read /Users/augmentuser NFSHomeDirectory HomeDirectoryIt should spit back the two attributes you’ve defined for it.
I’m new to this dual-directory setup as well, so if none of this works for you, then hopefully someone else can chime in here. 😀
Mike Boylan
RMU IT :: Mac OS X
@mboylan on TwitterMay 4, 2010 at 11:56 am #378509nvp
ParticipantThanks for the reply.
After a lot of head scratching I found that my server had lost it’s connection with the Active Directory.
After binding the server to the AD again I was still unable to create a home directory using the “createhomedir” command but when I logged on to a client as my augmented user the home directory was created on my AFP server!! HAPPY DAYS!!I’ve been looking at Bombich’s script to mass create the augmented users but I can’t get it to run 🙁
If I run the script I just get a text document with my Directory Admin details. If I run the mbr_enum from the Terminal I get the following error:
Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘*** +[NSString stringWithUTF8String:]: NULL cStringAny ides anyone??
June 15, 2010 at 9:47 am #378756trampoline
Participant[QUOTE][u]Quote by: nvp[/u][p]Thanks for the reply.
After a lot of head scratching I found that my server had lost it’s connection with the Active Directory.
After binding the server to the AD again I was still unable to create a home directory using the “createhomedir” command but when I logged on to a client as my augmented user the home directory was created on my AFP server!! HAPPY DAYS!!I’ve been looking at Bombich’s script to mass create the augmented users but I can’t get it to run 🙁
If I run the script I just get a text document with my Directory Admin details. If I run the mbr_enum from the Terminal I get the following error:
Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘*** +[NSString stringWithUTF8String:]: NULL cStringAny ides anyone??[/p][/QUOTE]
To be honest I don’t see the need to create the home directories with this command as as you have found they are created on login anyway !
June 16, 2010 at 10:20 am #378770OmniBlade
ParticipantI couldn’t get the bombich script to run properly either. I ended up having to modify some bash scripts someone had already done the hard work on to make queries against AD records using ldapsearch and get user names for the groups and OUs I was interested in, pass them into an array and use an if loop to iterate over the user names, creating an augment for each user with dscl and filling out some records with defaults that I wanted to be able to manipulate later (such as quota augments and such).
June 16, 2010 at 10:26 am #378771nvp
ParticipantWith alot of help from different people I’ve managed to get augmented users setup and working in our test environment.
I’ve also got an “automagically” solution to creating the users too.I’ve put the info together and put it on my site [url]http://www.notverypc.co.uk[/url] It’s mainly for my benefit as a reminder but it might help someone else…
October 27, 2011 at 5:11 pm #381343trampoline
Participant[QUOTE][u]Quote by: nvp[/u][p]Thanks for the reply.
After a lot of head scratching I found that my server had lost it’s connection with the Active Directory.
After binding the server to the AD again I was still unable to create a home directory using the “createhomedir” command but when I logged on to a client as my augmented user the home directory was created on my AFP server!! HAPPY DAYS!!I’ve been looking at Bombich’s script to mass create the augmented users but I can’t get it to run 🙁
If I run the script I just get a text document with my Directory Admin details. If I run the mbr_enum from the Terminal I get the following error:
Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘*** +[NSString stringWithUTF8String:]: NULL cStringAny ides anyone??[/p][/QUOTE]
I am also getting this error.
Any help most welcome
10.6.8 server
all set up perfectly, but that script will not run…. -
AuthorPosts
- You must be logged in to reply to this topic.
Comments are closed