Re: AppleScript-Users Digest, Vol 6, Issue 183
Re: AppleScript-Users Digest, Vol 6, Issue 183
- Subject: Re: AppleScript-Users Digest, Vol 6, Issue 183
- From: John Orban <email@hidden>
- Date: Tue, 21 Apr 2009 15:09:23 -0400
Thanks for the rapid response to my inquiry. Unfortunately the link
seems to imply that I have both AD and OD which I do not. I just have
AD and a cart of laptops. The Laptops recognize the AD network and
logon credentials give the folks access to their folders.
Unfortunately I have over 150-200 folders on the network and to expect
a 5th grader to patiently navigate through them all to find HIS folder
is optimistic at best.
The reason I need the credentials/field(s) from the user logon is that
I can't program in over 300 user accounts in an
"smb://servername/username" field. I was hoping that there was some
script action that would pull that information out of the logon (has
to be stored somewhere on the computer) and then feed it into the
"smb://" command.
I certainly can mount KNOWN and specific files like "Academic Share"
or "Faculty Share", but each user has their own shared folder (for
which only they, and I, have access).
Yep...I plan to get an OSX Server as part of a planned summer
deployment and I KNOW all my troubles will be gone (well, at least a
bit easier to handle)...I was just trying to find a reasonably quick
fix to finish out the year...and deal with this next year if our plans
aren't able to go through as completely as planned.
Thanks again for the help but I'm thinking this is either a foreign
concept to the Apple world or there just is no way to do it via
scripting.
John
> ------------------------------
>
> Message: 9
> Date: Tue, 21 Apr 2009 12:04:53 +0100
> From: Steve Thompson <email@hidden>
> Subject: Re: Attaching to a shared folder on Windows 2003 Server from
> a MacBook
> To: John Orban <email@hidden>
> Cc: email@hidden
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset="us-ascii"
>
>
> On 21 Apr 2009, at 11:45, John Orban wrote:
>
>> 1. Take a users logon credentials (I have the MacBooks integrated
>> into my Active Directory),
>> 2. Using the %username% and %password% obtained from the user logon
>> above
>> 3. Go out and find the \\servername\%username% (It's a shared
>> folder on the network, albeit hidden) folder and either put an alias
>> on the desktop or mount it in the Finder
>> 4. Oh yeah, since the user has already authenticated to the
>> network, he/she should NOT have to re-enter his/her password, but
>
> This
>
> http://support.apple.com/kb/TA21463
>
> and this
>
> tell application "Finder" to open location "smb://the_server/the_directory
> "
>
>
> should help. If you're already bound and authenticated then there's no
> need to try and extract the username and password from the kerberos
> session.
>
> Steve
> --------------------------
> Steve Thompson
> http://stetho.mp
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.apple.com/mailman/private/applescript-users/attachments/20090421/1624bcea/attachment.html
>
> ------------------------------
>
> Message: 10
> Date: Tue, 21 Apr 2009 13:16:11 +0200
> From: Jakob Peterh?nsel <email@hidden>
> Subject: Re: Attaching to a shared folder on Windows 2003 Server from
> a MacBook
> To: John Orban <email@hidden>
> Cc: email@hidden
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi John,
>
> While this method is often used on Windows systems, what you really
> wanna do is make sure you have a OS X Server and then do double-
> binding to both the AD & the OS X Open Directory.
>
> There, you can push many settings to your OS X clients, without needs
> for logon scripts.
> It's recommended to run such a OD on a XServe, but you can easily try
> it out on a Mac mini or other Mac, if you can get hold of a OS X
> Server license to test with.
>
> Hope it helps,
>
> Jakob Peterhänsel
>
> "Be a part of the Love Generation - carry a smile, not a gun."
> - JP, May 2006
>
> Email: email@hidden
> AIM: Marook
> Phone: +45 30787715
>
> On 21/04/2009, at 12.45, John Orban wrote:
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden