Re: FSMountServerVolumeAsync() for DOMAIN mounts
Re: FSMountServerVolumeAsync() for DOMAIN mounts
- Subject: Re: FSMountServerVolumeAsync() for DOMAIN mounts
- From: Dalton Hamilton <email@hidden>
- Date: Sun, 12 Mar 2006 18:18:58 +0100
On Mar 12, 2006, at 5:47 PM, Igor Garnov wrote:
On Mar 12, 2006, at 19:28, Dalton Hamilton wrote:
Hello.
A few months back you guys pointed me in the right direction and I
finished our app that auto mounts AFP and SMB mounts. I'm using
the FSMountServerVolumeAsync(). The code works wonderfully for
AFP. SMB shares work for WORKGROUP systems. However, if the
windows system is in a DOMAIN, the mount fails. The URL I
successfully use for WORKGROUP systems is formated like this for
example: smb://192.168.1.24/share1. For DOMAIN systems, I've
tried to use a URL of smb://DOMAIN;192.168.1.24/share1 with no luck.
I've gone over the parameters to FSMountServerVolumeAsync() and
tried to Google various key words and haven't found anything about
DOMAIN mounts using FSMountServerVolumeAsync(). Does anyone have
any suggestions they can share with me???
It's actually a suggestion, but the only difference between
connecting to a share on a standalone computer (or a computer
that's part of a workgroup), and a computer that's in a domain is
in authentication involved. When trying to mount a share on a
computer that's in a domain, it's normally DC, not the target
computer, who checks your credentials and grants or denies access.
In this case, the target computer doesn't perform any checks on
your identity itself but relies entirely on the DC.
If there's something else that differs, I'm curious what it could be.
Regards,
Igor
Here is the scenario. If the userA account is a DOMAIN account and
userA does NOT exist on the local machine, the mount fails.
I guess I need to know if I need to communicate to the DOMAIN
controller in some fashion first. Maybe I need a certificate of some
sort to present to the workstation sharing the volume. The DOMAIN
authentication piece is what I'm missing.
I would have thought I would pass username/password credentials to
the workstation (just as I do for WORKGROUP systems) and and the
workstation would use its authentication protocol to the DOMAIN
controller to see if I am permitted access. However, this doesn't
seem to be happening.
Many thanks.
Dalton Hamilton
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden