crypticknight Posted April 3, 2008 Share Posted April 3, 2008 Ok so here is my situation. The company i work for has 1500+ Computers spread out around the country. The company is entirely windows based. The executives and sales reps are starting get the macs..and i have had the duty of supporting them as well as the windows machines, and making sure they work with our network. Active Directory will be referred to as AD from here on. In our AD, each users profile points to a H: drive, or the home drive. and also to a *.bat file that runs when the user logs into a windows machine. WIthin this *.bat file aka login script, are the network mappings for that user. On the mac it will allow the users with a windows network id (nt id) to login and it will actually map the home drive that is listed in their profile in AD. What i need now iswhen a user logs in on the mac with the network login, to automatically map the network drives listed in the *.bat file.. is there a way for me to do this? IF i have to replace the *bat file with an applescript i can do that as well. but i can't figure out how to make it do this. Any advice is appreciated. Link to comment Share on other sites More sharing options...
lessew Posted April 3, 2008 Share Posted April 3, 2008 This page should help you out. http://www.ozzu.com/macintosh-forum/mac-os...ive-t68618.html Link to comment Share on other sites More sharing options...
crypticknight Posted April 3, 2008 Author Share Posted April 3, 2008 thanks for the link, but i need it to be like when any user logs into a mac it automatically maps the network drive in there own AD profile. they are not mapped to the same drives. and for each user i woul dhave to write an apple script to run at login. that wont work. anyone else have any ideas. it is joined to the domain, and it does map the H:\ drive listed in active directory as the home directory.. i just need to do more than 1 network drive... so i know its got to feasible. Link to comment Share on other sites More sharing options...
aprodigy Posted April 4, 2008 Share Posted April 4, 2008 i'd probably write some script (perl/bash) that takes care of that. actually, you're using a batch-script on your windows side too, so it's nothing unusual at all. Link to comment Share on other sites More sharing options...
crypticknight Posted April 4, 2008 Author Share Posted April 4, 2008 yes, but will the OS X know to run the pearl/bash script? if i replace the username.bat file with a pera/bash script in active directory woudl it work? if so any advice on how to write the script? IE... need user johndoe when he logs in to any mac machine that it maps cifs:\\DOMAIN;johndoe@SERVER\SharedFolder1 cifs:\\DOMAIN;johndoe@SERVER\SharedFolder2 or via smb either work. Link to comment Share on other sites More sharing options...
Headrush69 Posted April 5, 2008 Share Posted April 5, 2008 Although I haven't used it, http://www.thursby.com/products/admitmac.html might be useful. Link to comment Share on other sites More sharing options...
crypticknight Posted April 5, 2008 Author Share Posted April 5, 2008 heh company already tried that...caused more problems with 10.5.2 Link to comment Share on other sites More sharing options...
crypticknight Posted April 18, 2008 Author Share Posted April 18, 2008 bump. any have any other ideas Link to comment Share on other sites More sharing options...
Recommended Posts