Advertisement

04.29.2008 at 02:59PM PDT, ID: 23363803 | Points: 500
[x]
Attachment Details

Issues mounting/unmounting shares at Login/Logoff

Asked by e_sandrs in Mac OS 10.5 (Leopard), Samba File Server, AppleScript

Tags: , , ,

We have a couple Mac labs at our college that we used to join to our Windows AD domain via LDAP setup, which was ugly but mostly functional under 10.2 - 10.4.  Some parts of this broke on the Intel Macs, and we got it working again on 10.4.x, but it didn't work under 10.5.x (AD joining seems to be a Known Issue with 10.5).

We used some macosxhints site clues to add our primary domain controller to the hosts file of the client Macs and we can now join the AD domain using the AD plugin - but we're having issues getting our network shares to map.

We map two Windows shares for students (home dir and general file share - "courses") and a Linux Samba share (home dir) and the same courses folder for faculty/staff.  The perl/applescript files attached used to accomplish this mapping and unmapping (between logins).

We aren't overly attached to this particular scripting method - so any successful script would be fine with us.  With the AD plugin we are automatically mapping the student home dir to the Dock - but no alias appears on the Desktop, and we'd prefer keeping the Desktop alias if feasible.

So, anyone want to look over this pile of "stuff" and advise us on the shortest route from here to managing these network resources?

Thanks!Start Free Trial
Attachments:
 
added thru GUI: System Prefs - Accts - Login Items to alvernostudent (default)
 
 
initial perl file to gather username and passwd
 
 
secondary perl file - unmap and remap shares
 
 
perl called once to prep system for other files
 
[+][-]05.01.2008 at 01:02PM PDT, ID: 21482151

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.01.2008 at 02:30PM PDT, ID: 21482919

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628