Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

UNC connection doesn´t work. Need work around that WORKS

Status
Not open for further replies.

Traver

MIS
Aug 9, 2002
126
DK
I got a trouble on a Terminal server. It's a W2K3 server.
Recently installede and patched
I need to distribute a superoffice program,
In the superof5.ini file that launch the program there is specified 2 path.
CentralPath=\\data\folder
ArchivePath=\\data\folder

These are the path for shares that are used to save data, launch program and look for updates.

but if you try to connect to a share with the shell command you will recive an error.

Please read the following

I have tried the hotfix. But no luck.

I have changed the servers regestry DB, but I still got the trouble.
If I try to open the program with an account that has doamin admin rights there are no trouble, but with a domain user I still got the error.
I can map the drives, by opening explorer and map network drive. The user have modify rights on the data.

I have tried to make a folder mapping in the login script.
'***
'* Tilslut Z-drev
'***
'WScript.StdOut.Write("Drive: Mapping Z: to \\Nessoapp1\SuperOffice")

On Error Resume Next ' Do not choke on errors
WshNetwork.RemoveNetworkDrive "Z:"
WshNetwork.MapNetworkDrive "Z:", "\\Nessoapp1\SuperOffice "
If (Err.Number = 0) Or (Hex(Err.Number) = "800708CA") Then
Else
WScript.Echo " - FAILED ZZZZZ"
error = True
End If

On Error GoTo 0

If (error = True) Then
WScript.Echo "Drive: One or more drive mappings failed"
WScript.Sleep 3000
End If

'***
'* Tilslut T-drev
'***
'WScript.StdOut.Write ("Drive: Mapping T: to \\data11\omr8019")

On Error Resume Next ' Do not choke on errors
WshNetwork.RemoveNetworkDrive "T:"
WshNetwork.MapNetworkDrive "T:", "\\data11\omr8019"
If (Err.Number = 0) Or (Hex( Err.Number) = "800708CA") Then
Else
WScript.Echo " - FAILED TTTTT"
error = True
End If

On Error GoTo 0

If (error = True) Then
WScript.Echo "Drive: One or more drive mappings failed"
WScript.Sleep 3000
End If


And changing the superof5.ini file into

[SuperOffice]
CentralPath=Z:\Program
ArchivePath=T:\so_arc
DataPath=odbc:SO


But it doesn´t work
Please help, im Clueless :)
 
I agree with tfg13.

The rights are a combination of the Share Permissions and the NTFS Permissions where the most restrictive rights win.

Try setting the share permissions to Full Control and do the real lockdown in NTFS.

I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
 
The solution was filemon.
I found out that it was a oracle dll that made the error in the applikation. The problem about the shell commands is because there is a norun GPO on the OU the server is in.

ILOVEFILEMON ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top