bombel01
(Fresh Scripter)
2007-11-13 03:53 PM
Problem to connect a share in a other domain

We use kix 4.5 on our Terminalserver as Loginscript.

Now I want to use a Networkshare in the Teimaldesktop from another domain wich is connectet via vpn.

I tryed for exaple:

USE P: "\\Server\SHARE\" /user:"domian\username /password:xxxx
if @error = 0
? "Share is connectet..."
ENDIF

It does not Work! Can anbody help me ??


Mart
(KiX Supporter)
2007-11-13 04:04 PM
Re: Problem to connect a share in a other domain

What do you get if you put these two lines directly after the line that should map the drive?

 Code:
?@error
?@serror
sleep 5


bombel01
(Fresh Scripter)
2007-11-13 04:20 PM
Re: Problem to connect a share in a other domain

Hello,

i have tryed it but it does not work. There is now a errormessage 1203.

Can i try any other


Mart
(KiX Supporter)
2007-11-13 04:33 PM
Re: Problem to connect a share in a other domain

That is just what it should do. Show the error after trying to map the drive.

Error 1203 is:
 Quote:

ERROR_NO_NET_OR_BAD_PATH
1203

The network path was either typed incorrectly, does not exist, or the network provider is not currently available. Please try retyping the path or contact your network administrator.


Looks like it cannot find the domain or share you are connecting to. Can you browse to the server you want to use and can you see the share you need?
System Error Codes on MS site


bombel01
(Fresh Scripter)
2007-11-13 04:38 PM
Re: Problem to connect a share in a other domain

Yes, when i type the path into the commandline, i can connect this share:

so it looks:

USE P: "\\10.0.244.10\doks\" /user:cluster\mki /password:xxx
?@error
?@serror


Mart
(KiX Supporter)
2007-11-13 04:58 PM
Re: Problem to connect a share in a other domain

Do you use the IP address in the your script or do you use the name of the server?

If you use the name then please do a test with the IP address.


Glenn BarnasAdministrator
(KiX Supporter)
2007-11-13 08:22 PM
Re: Problem to connect a share in a other domain

Are you logging onto the computer with the "connect using dialup network" option?

If you log in locally and then establish a VPN connection, you aren't "logging into the network", so no logon script will run. You're merely establishing a secure connection to the network via the VPN.

You must log in using dialup connection for the logon script to run. In certain situations, this may not be possible - you can force the login script to run by running:
\\MyDomain\NetLogon\kix32.exe

Give that a try...

Glenn


bombel01
(Fresh Scripter)
2007-11-14 08:20 AM
Re: Problem to connect a share in a other domain

Hi,

i use the IP Adress auf this Server, because there is no DNS resolution between this two domains. I always can ping this Server!


AllenAdministrator
(KiX Supporter)
2007-11-14 08:25 AM
Re: Problem to connect a share in a other domain

Remove the trailing backslash

This
USE P: "\\10.0.244.10\doks\" /user:cluster\mki /password:xxx

to this
USE P: "\\10.0.244.10\doks" /user:cluster\mki /password:xxx


bombel01
(Fresh Scripter)
2007-11-14 08:26 AM
Re: Problem to connect a share in a other domain

Dear Gleen,
the VPN Connection is persistent and always online. So when I log the connection ist already online.

The kix23.exe is in the path you wrote


bombel01
(Fresh Scripter)
2007-11-14 08:42 AM
Re: Problem to connect a share in a other domain

Hello !!

The backslash was the Problem !! Without backslash behind the share the script WORKS!

Thanks to all


Mart
(KiX Supporter)
2007-11-14 09:31 AM
Re: Problem to connect a share in a other domain

D#mn \:D Sometimes it are the simple small things that one does not see.