Page 1 of 1 1
Topic Options
#182565 - 2007-11-13 03:53 PM Problem to connect a share in a other domain
bombel01 Offline
Fresh Scripter

Registered: 2007-11-13
Posts: 6
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 ??

Top
#182566 - 2007-11-13 04:04 PM Re: Problem to connect a share in a other domain [Re: bombel01]
Mart Moderator Online   content
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4641
Loc: The Netherlands
What do you get if you put these two lines directly after the line that should map the drive?

 Code:
?@error
?@serror
sleep 5
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#182569 - 2007-11-13 04:20 PM Re: Problem to connect a share in a other domain [Re: Mart]
bombel01 Offline
Fresh Scripter

Registered: 2007-11-13
Posts: 6
Hello,

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

Can i try any other

Top
#182572 - 2007-11-13 04:33 PM Re: Problem to connect a share in a other domain [Re: bombel01]
Mart Moderator Online   content
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4641
Loc: The Netherlands
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
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#182574 - 2007-11-13 04:38 PM Re: Problem to connect a share in a other domain [Re: Mart]
bombel01 Offline
Fresh Scripter

Registered: 2007-11-13
Posts: 6
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

Top
#182580 - 2007-11-13 04:58 PM Re: Problem to connect a share in a other domain [Re: bombel01]
Mart Moderator Online   content
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4641
Loc: The Netherlands
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.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#182581 - 2007-11-13 08:22 PM Re: Problem to connect a share in a other domain [Re: bombel01]
Glenn Barnas Administrator Offline
KiX Supporter
*****

Registered: 2003-01-28
Posts: 4282
Loc: New Jersey
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
_________________________
Actually I am a Rocket Scientist! \:D

Top
#182606 - 2007-11-14 08:20 AM Re: Problem to connect a share in a other domain [Re: Mart]
bombel01 Offline
Fresh Scripter

Registered: 2007-11-13
Posts: 6
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!

Top
#182607 - 2007-11-14 08:25 AM Re: Problem to connect a share in a other domain [Re: bombel01]
Allen Administrator Online   shocked
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4441
Loc: USA
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

Top
#182608 - 2007-11-14 08:26 AM Re: Problem to connect a share in a other domain [Re: bombel01]
bombel01 Offline
Fresh Scripter

Registered: 2007-11-13
Posts: 6
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

Top
#182609 - 2007-11-14 08:42 AM Re: Problem to connect a share in a other domain [Re: bombel01]
bombel01 Offline
Fresh Scripter

Registered: 2007-11-13
Posts: 6
Hello !!

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

Thanks to all

Top
#182612 - 2007-11-14 09:31 AM Re: Problem to connect a share in a other domain [Re: bombel01]
Mart Moderator Online   content
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4641
Loc: The Netherlands
D#mn \:D Sometimes it are the simple small things that one does not see.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 166 anonymous users online.
Newest Members
amelindarķe, Nims123, davidscroegh, davidscroe, DFGHJGH
17625 Registered Users

Generated in 0.115 seconds in which 0.044 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org