+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 17
Mac Thread, adding macs to a 2003/2008 domain in Technical; ive been given the job of looking into this over the holidays and have been given a mini mac to ...
  1. #1


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,505
    Thank Post
    227
    Thanked 848 Times in 727 Posts
    Rep Power
    287

    adding macs to a 2003/2008 domain

    ive been given the job of looking into this over the holidays and have been given a mini mac to play with (ive also managed to get hackingtosh running on a laptop) anyone know of any good sites with info on or care to share anything lol. Btw ive barely used macs but out of the company i work for more of my schools have macs or are interested in them so ive been nominated lol

  2. #2
    tim.dalton's Avatar
    Join Date
    Mar 2006
    Location
    Southampton
    Posts
    49
    Thank Post
    1
    Thanked 8 Times in 8 Posts
    Rep Power
    18
    Really easy...

    On the Mac, go Applications-Utilities-Directory Utility, it should see your AD automatically, fill in the details, done!

    Pretty good Apple PDF on this here if you need more detail, and bombich.com is always a good bet for anything Mac.

    Tim

  3. Thanks to tim.dalton from:

    sted (23rd July 2009)

  4. #3


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,505
    Thank Post
    227
    Thanked 848 Times in 727 Posts
    Rep Power
    287
    right its in ad and i can log on to it as an admin (its my test domain at home and atm no other users)

    it seems to map my user area correctly (although it defaults to saving to the local drive grrr) if its in the form \\server\username$ but if i use (as is most common in my schools) \\server\users$\group\name i just get a users$ mapped (and i cant see how to get it to show on desktop for all users not just me after ticking a box

    i have pilfered a script to map other drives but that just seems to ask for a username and password (though username is filled in) when run even though im using the same credentials and i cant see a way of getting that to work for user area unless i can somehow assign a script to a bunch of users so 2008 group get it with 2008 pre plumbed in

    Code:
    Set strUserName to do shell script “whoami”
    set strFileServer to “Fileserver”
    set strMount to “smb://” & strFileServer & “/” & “sharename1″
    mount volume strMount
    set strMount to “smb://” & strFileServer & “/” & strUserName & “$”
    mount volume strMount

  5. #4


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,505
    Thank Post
    227
    Thanked 848 Times in 727 Posts
    Rep Power
    287
    right ive ditched that script for another and it now logs in with no prompt (i think due to getting hacked off and trying the fqdn rather than short name on the off chance)

    next question how do i set a script so it runs for anyone who logs in? i can assign it to my user but i want to assign it so any pupil who logs in gets network drives mapped

    set MyName to do shell script "whoami"
    tell application "Finder"
    try
    mount volume "smb://gateway.school03.local/" & MyName & "$"
    do shell script "ln -s /Volumes/" & MyName & "$ ~/Desktop"
    end try
    try
    mount volume "smb://gateway.school03.local/" & "resources$"
    do shell script "ln -s /Volumes/" & "resources$" & " ~/Desktop"
    end try
    end tell
    Last edited by sted; 27th July 2009 at 02:58 PM.

  6. #5
    tim.dalton's Avatar
    Join Date
    Mar 2006
    Location
    Southampton
    Posts
    49
    Thank Post
    1
    Thanked 8 Times in 8 Posts
    Rep Power
    18
    This should do it...

    Every user is easy, although splitting pupils and staff users might be harder using login scripts.

    Tim

  7. #6


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,505
    Thank Post
    227
    Thanked 848 Times in 727 Posts
    Rep Power
    287
    Quote Originally Posted by tim.dalton View Post
    This should do it...

    Every user is easy, although splitting pupils and staff users might be harder using login scripts.

    Tim
    i cant make head nor tail of that link lol. Though i take it that there is no simple equivalent of shoving my .app file in an all use startup folder like windows?

  8. #7
    mark's Avatar
    Join Date
    Jun 2005
    Posts
    3,958
    Thank Post
    248
    Thanked 49 Times in 45 Posts
    Blog Entries
    2
    Rep Power
    46
    Quote Originally Posted by tim.dalton View Post
    Really easy...

    On the Mac, go Applications-Utilities-Directory Utility, it should see your AD automatically, fill in the details, done!

    Pretty good Apple PDF on this here if you need more detail, and bombich.com is always a good bet for anything Mac.

    Tim
    Thanks for that. Doesn't work for me tho'.

    New Mac Pro
    We have a .local domain (<name>.local).
    I ran the commands in the PDF and it brings back the domain IP.
    I've tried binding to an OU but it comes back with 'unknown error' after entering admin credentials.
    DNS seems to be setup correctly.

    Any ideas?

    Cheers
    Last edited by mark; 29th July 2009 at 10:43 PM.

  9. #8
    somabc's Avatar
    Join Date
    Oct 2007
    Location
    London
    Posts
    2,337
    Thank Post
    83
    Thanked 388 Times in 258 Posts
    Rep Power
    111
    Did you see the section on .local domains in the pdf
    .local domains
    Since Mac OS X uses the .local domain for Bonjour (link-local addressing), it will conflict with any .local AD domain. To get around this, add .local to the search domain settings in the Network preference pane. All .local DNS queries will be unicast to the DNS servers before being multicast to the network. Beginning with Mac OS X v10.5.4, the Mac OS X client recognizes .local domains, and the addition of .local into the search domain settings is not necessary.
    Sometimes it helps to pre-create the Computer in the OU and to specify a domain server by name.

    Alternatively you can use Likewise Open Source Software that Authenticates Linux, Unix, and Mac systems with Microsoft Active Directory
    Last edited by somabc; 29th July 2009 at 10:44 PM.

  10. Thanks to somabc from:

    SYNACK (31st July 2009)

  11. #9
    mark's Avatar
    Join Date
    Jun 2005
    Posts
    3,958
    Thank Post
    248
    Thanked 49 Times in 45 Posts
    Blog Entries
    2
    Rep Power
    46
    OK thanx for that somabc. Will give it a try in the morning.

    Yeah I saw that and added it, tho' I assumed this to be a new version of OSX.. must check that (oops )
    Last edited by mark; 29th July 2009 at 10:54 PM.

  12. #10


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,505
    Thank Post
    227
    Thanked 848 Times in 727 Posts
    Rep Power
    287
    also check the clocks on the apple and the server my apple was an hour fast and wouldnt add

  13. #11

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,680
    Thank Post
    3,210
    Thanked 1,030 Times in 955 Posts
    Rep Power
    361
    Quote Originally Posted by mark View Post
    Thanks for that. Doesn't work for me tho'.

    New Mac Pro
    We have a .local domain (<name>.local).
    I ran the commands in the PDF and it brings back the domain IP.
    I've tried binding to an OU but it comes back with 'unknown error' after entering admin credentials.
    DNS seems to be setup correctly.

    Any ideas?

    Cheers
    Not sure how much this helps from the above mentioned pdf but

    .local domains
    Since Mac OS X uses the .local domain for Bonjour (link-local addressing), it will
    conflict with any .local AD domain. To get around this, add .local to the search domain
    settings in the Network preference pane. All .local DNS queries will be unicast to the
    DNS servers before being multicast to the network.
    Beginning with Mac OS X v10.5.4, the Mac OS X client recognizes .local domains, and
    the addition of .local into the search domain settings is not necessary.

    If you disabled bonjour - would that be an option ?

  14. #12
    mark's Avatar
    Join Date
    Jun 2005
    Posts
    3,958
    Thank Post
    248
    Thanked 49 Times in 45 Posts
    Blog Entries
    2
    Rep Power
    46
    Thanks very much for the further suggestions. This is running OX10.5.7 so .local shouldn't be an issue. The clock is a couple of minutes out so that shouldn't be either.

    I can't ping the domain name (on any client) but our guys say it should still attach. I can ping the DC via IP but when using the Directory Utility to attach it tells me there's no response from the DC.

  15. #13

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,680
    Thank Post
    3,210
    Thanked 1,030 Times in 955 Posts
    Rep Power
    361
    Quote Originally Posted by mark View Post
    Thanks very much for the further suggestions. This is running OX10.5.7 so .local shouldn't be an issue. The clock is a couple of minutes out so that shouldn't be either.

    I can't ping the domain name (on any client) but our guys say it should still attach. I can ping the DC via IP but when using the Directory Utility to attach it tells me there's no response from the DC.
    DNS Issues then - to join apple macs to a domain DNS has to be working 100% both forward and reverse - helps anyway
    Last edited by mac_shinobi; 30th July 2009 at 01:25 PM.

  16. #14
    mark's Avatar
    Join Date
    Jun 2005
    Posts
    3,958
    Thank Post
    248
    Thanked 49 Times in 45 Posts
    Blog Entries
    2
    Rep Power
    46
    Right - the replicating server is coming back to this building on Monday so I think I'll try again then.

    Thanks for now!

  17. #15
    SC-UK's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    569
    Thank Post
    36
    Thanked 85 Times in 71 Posts
    Rep Power
    29
    Is the replicating server that's coming back one which holds any/all of the FSMO roles?

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. adding a server 2008 dc to a 2003 domain
    By jason2234 in forum Windows Server 2008
    Replies: 61
    Last Post: 10th May 2012, 02:00 PM
  2. Essential tools to manage a Windows 2003/2008 domain?
    By reggiep in forum Windows Server 2000/2003
    Replies: 8
    Last Post: 6th May 2009, 09:47 AM
  3. Replies: 6
    Last Post: 12th January 2009, 03:20 PM
  4. Laptop not adding to domain
    By ndavies in forum Wireless Networks
    Replies: 8
    Last Post: 17th April 2008, 06:31 PM
  5. Migrating to 2008 Domain from 2003
    By broyles in forum Windows Server 2008
    Replies: 3
    Last Post: 10th April 2008, 03:58 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •