EldoS | Feel safer!

Software components for data protection, secure storage and transfer

AddMountingPoint() on Windows Server 2003

Posted: 09/15/2010 19:50:04
by Sangmin Lee (Standard support level)
Joined: 06/03/2009
Posts: 57


I use CBFS to mount our remote FS to Windows machine.
I have some trouble with AddMountingPoint() on Windows Server 2003.

1. g_CbFs.AddMoutingPoint(mount, CBFS_SYMLINK_NETWORK|CBFS_SYMLINK_NETWORK_ALLOW_MAP_AS_DRIVE, &luid) is failed and returns ERROR_INVALID_PARAMETER(0x87). It runs well on Windows XP and Vista.

2. g_CbFs.AddMoutingPoint(mount) is good, but cannot find the mounted drive in explorer.

mount string is


I removed old CBFS and reinstalled new CBFS 3.0(not evaluation).

Please, let me know the solution ASAP.
Thanks in advance
Posted: 09/16/2010 03:07:46
by Eugene Mayevski (Team)

Are you mounting the drive from Windows Service or from UI application?

Sincerely yours
Eugene Mayevski
Posted: 09/16/2010 03:17:22
by Volodymyr Zinin (Team)

Hello Sangmin,

1. In the case when the CBFS_SYMLINK_NETWORK_ALLOW_MAP_AS_DRIVE flag is specified the server name must correspond to the machine name. Or just leave it empty - in this case CallbackFS itself set the correct name.
I.e. the following mounting point name should work (don't forget about the colon after the drive name if you want to see the mounting point in Explorer) -

2. Doesn't the following call work?
Posted: 09/16/2010 03:32:36
by Sangmin Lee (Standard support level)
Joined: 06/03/2009
Posts: 57

I resolved it.

I changed '&luid' to NULL from g_CbFs.AddMoutingPoint(mount, CBFS_SYMLINK_NETWORK|CBFS_SYMLINK_NETWORK_ALLOW_MAP_AS_DRIVE, &luid).
It runs well. ^^;;

Thanks a lot.

note: 'mount' string is "M:;;default".



Topic viewed 1601 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!