PDA

View Full Version : Using SB - Can I create a shared directory?



NewsArchive
09-09-2010, 12:41 AM
Can I create a shared directory that can be accessed via UNC as in:

\\MachineName\SomeDirectory

and then - if that's possible - can I then assign share and NTSC
permissions?

Thanks!!

SB 7.2.2939
Clarion 7.2

Donald Ridley

NewsArchive
09-09-2010, 12:42 AM
Donald,

> Can I create a shared directory that can be accessed via UNC as in:
>
> \\MachineName\SomeDirectory
>
> and then - if that's possible - can I then assign share and NTSC
> permissions?

Perhaps something like the following (see attached screenshots). It makes
use of the "Add/Remove Shared Resource..." function.

To set permissions, I would suggest to try the "Set Access Control..."
function.

Friedrich

NewsArchive
09-10-2010, 12:32 AM
BTW, there seems to be a bug in the installer runtime when the "Delete
Shared Resource" operation or a Share Type other than "STYPE_DISKTREE" is
selected.

Fixed in our latest internal source codes now.

Friedrich

NewsArchive
09-10-2010, 12:32 AM
> To set permissions, I would suggest to try the "Set Access Control..."
> function.

Update: you can only set the "Security" using the "Set Control Access"
function, but not the "Share Permissions".

We'll check if it is possible to add a feature which allows to set the share
permissions. We'll also try to support the password and user limit options.

Friedrich

NewsArchive
09-10-2010, 12:33 AM
Added! The next SB7 maintenance build allows to support the Password and
User Limit options for shared resources. It's also possible to set the
shared resource's permissions for servers running with share-level security
(if a server is running user-level security then it's ignored).

Friedrich

NewsArchive
09-10-2010, 12:33 AM
Well dang... Time to renew my maintenance subscription.... :-)

Donald Ridley

NewsArchive
09-10-2010, 12:34 AM
>
> Well dang... Time to renew my maintenance subscription.... :-)
>

<g> ;-)

Friedrich

NewsArchive
09-10-2010, 12:34 AM
BTW... Thank you for the new features and the help!!

Donald Ridley

NewsArchive
09-10-2010, 12:34 AM
>
> BTW... Thank you for the new features and the help!!
>

You are very welcome :)

Friedrich

NewsArchive
09-12-2010, 02:57 AM
Friedrich

Where Donald posted....

Can I create a shared directory that can be accessed via UNC as in:

\\MachineName\SomeDirectory

.... I am wondering if there is a difference in using a Domain Based Namespace path
such as

\\ABCD.GROUP\ABCDFiles\SomeDirectory

Will the same SB7 features work with this style of path?

Thanks

John Griffiths

NewsArchive
09-12-2010, 02:58 AM
John,

> Where Donald posted....
>
> Can I create a shared directory that can be accessed via UNC as in:
>
> \\MachineName\SomeDirectory
>
> .... I am wondering if there is a difference in using a Domain Based
> Namespace path
> such as
>
> \\ABCD.GROUP\ABCDFiles\SomeDirectory
>
> Will the same SB7 features work with this style of path?

Good question. SetupBuilder does what the following Windows Sharing feature
can do (see attached screenshot). To be honest, I don't know if this
Windows Sharing function supports \\ABCD.GROUP\ABCDFiles\SomeDirectory.

Friedrich

NewsArchive
09-12-2010, 02:59 AM
Forgot the attachment.

Friedrich

NewsArchive
09-12-2010, 03:00 AM
Friedrich

I guess I will find out in a week or two if I can do this with the inbuild SB7
functions when I try to set up a share on a DFS (Distributed File System) server
network.

I am not very informed on how the Windows DFS works, but from what my client tells me,
they have a couple of physical servers (that I think are duplicates) and they address
them as.. \\ABCD.GROUP\ABCDFiles\SomeDirectory

If I cannot add permissions and shares as needed, I can certainly get their on-site
Network Admin Mgr to do it.

John

NewsArchive
09-12-2010, 03:01 AM
DFS is a referral service.

You try to connect to \\ABCD.GROUP\ABCDFiles\SomeDirectory.

The DFS server to which you happen to be referred (DFS supports replication
and referrals by site, so you may point at a local copy rather than across a
WAN) sends back to your computer the message "What you really want is
\\Server22\SomeDirectory. Your computer then connects to Server22 to access
the resources.

The referrals have a time-to-live, after which they need to be retrieved
again from a DFS server.

Permissions (share and NTFS) are set on the underlying folder
(\\Server22\SomeDirectory).

I think having the admin create the DFS share would be the best course.
Otherwise, you'd need to create and set permissions on the server share(s),
then somehow figure out how to create DFS referrals to those.

HTH

Jane

NewsArchive
09-12-2010, 03:01 AM
Thanks Jane

That helps a lot. I have searched online and read several MS and other references, but
none made as much sense as that which you have described. Now I will be able to go
back and re-read those references in a new light.

Again, thanks

John

NewsArchive
09-12-2010, 03:01 AM
Very interesting information! Thanks for sharing, Jane.

Friedrich