Author |
|
pips
Joined: 03 May 2006 Posts: 65 Location: Manchester, UK
|
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
|
Back to top |
|
pips
Joined: 03 May 2006 Posts: 65 Location: Manchester, UK
|
Posted: Tue 13 Feb '07 12:55 Post subject: |
|
|
i was trying to be clever and put an icon as a link to download the software - but when i print to PDF (using both acrobat8 and also CutePDF) it doesn't save the links :o(
Until I found a solution (or put the original text links back in) I just posted the htm links!
Will try n sort it out later on today - am stuck on an MS2003 VPN issue at the moment, and it's driving me nuts (doesn't help when the customer is shouting all the time as he wants his system working again!!).... wish there was a similar forum to this one for microsoft vpns!
Cheers,
Phil. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Tue 13 Feb '07 14:11 Post subject: |
|
|
Do you use an M$ product or another VPN? What is not working? |
|
Back to top |
|
pips
Joined: 03 May 2006 Posts: 65 Location: Manchester, UK
|
Posted: Tue 13 Feb '07 15:11 Post subject: |
|
|
Server: Win 2003 SBS using active directory logins.
Remote worker: Win XP Pro SP2. Connects to office using VPN tunnel in My Network Places. Connection verifies okay, and I can ping the machine I need to access (192.168.1.5 but if I type \\harland in the address line of My Computer, I cannot see the contents of the shared folders/drives.
The CAD software he is using needs to access a specific folder on this machine as this is the licence server. On their internal network, if I go to any computer and type \\harland then I get a list of the drives on the harland pc. But if I try and do this over the VPN then it doesn't work all the time
I'm not that knowledgable on the M$ VPN - We normally setup VPN's on routers and never have any problems doing it this way, but this particular customer wants it on his laptop...... |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Tue 13 Feb '07 15:35 Post subject: |
|
|
Can't you map the network drive? Maybe you can create a logon.vbs which maps the network drive by the IP
e.g.
Code: |
Dim WSHNetwork
Dim UserName
On Error Resume Next
Set WSHNetwork = Wscript.CreateObject("WScript.Network")
'This is important, the script won't run properly if a drive is being mapped to an already mapped drive
'so just remove any drives that you plan on mapping in this script
Set colDrives = WSHNetwork.EnumNetworkDrives
For i = 0 to colDrives.Count -1 Step 2
Select Case colDrives.Item(i)
Case "F:"
WSHNetwork.RemoveNetworkDrive "F:"
Case "S:"
WSHNetwork.RemoveNetworkDrive "S:"
End Select
Next
'Username stores the username for the logged in user
'works well for scripts that must map to a user folder named after that user
UserName = WSHNetwork.UserName
'Pretty self-explanatory,
'WSHNetwork.MapNetworkDrive
'Then the drive letter, "F:","\\SERVER\SHARE"
WSHNetwork.MapNetworkDrive "F:","\\192.168.1.58\APPS"
WSHNetwork.MapNetworkDrive "S:","\\192.168.1.58\USERS\" & UserName
Wscript.quit
|
Haven't tried that out.... it is only an idea in my mind |
|
Back to top |
|
pips
Joined: 03 May 2006 Posts: 65 Location: Manchester, UK
|
Posted: Wed 14 Feb '07 12:41 Post subject: |
|
|
Thanks for your help James.
I've never got into VB before, but have dug out the VB2005Express CD we have, and have installed it to my laptop now, and will have a play with your script.
We seem to have sorted the problem though - My machine (at our office) couldn't access their server in the head office, but that turned out to be the latest version of Zonealarm Pro on my PC that was the problem!!
I logged onto the remote PC (using VNC) of the guy that was having the problem, when I typed \\harland in My Computer, it was asking for a username and password - but was automatically defaulting to a username of \\csukserver\john when it should have been \\harland\john - once corrected he could login without a problem!
Thanks again for your help |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Wed 14 Feb '07 12:49 Post subject: |
|
|
pips, that is not VB! it is a simple vbscript (*.vbs) running on every W2k and XP and W2k3
There is no need for VB2005Express
But I also found that very simple with old batch
netlogon.cmd
Code: |
@echo off
net time \\harland /SET /YES
net use M: \\harland\Media /YES
|
|
|
Back to top |
|
pips
Joined: 03 May 2006 Posts: 65 Location: Manchester, UK
|
Posted: Wed 14 Feb '07 12:51 Post subject: |
|
|
Oh I see!! doh! Good job you know what you're doing!!
Thanks, I will give it a go - this would then automate the login username etc.
Phil. |
|
Back to top |
|
Bruce
Joined: 28 Nov 2006 Posts: 77 Location: Mars
|
Posted: Sun 15 Apr '07 21:50 Post subject: |
|
|
hi I am using wamp install to set ssl when I put this to the end of http,.conf
NameVirtualHost *:80
<VirtualHost *:80>
ServerName www.Kingshomeworld.com
ServerAlias Kingshomeworld.com *.Kingshomeworld.com
DocumentRoot "C:/Server/htdocs/80"
</VirtualHost>
<VirtualHost *:443>
ServerName www.Kingshomeworld.com
DocumentRoot "C:/Server/htdocs/443"
SSLEngine On
SSLCertificateFile conf/ssl/domain.crt
SSLCertificateKeyFile conf/ssl/domain.key
</VirtualHost>
apache 2.2.4 wont start
and still get this in my error Logs
[warn] Init: Session Cache is not configured [hint: SSLSessionCache]
Dos Session cache also set ram mem. Session cache I ask I am running duplex 128 bit ram main board and cant get the Session cache working no matter witch config file I use
yet I still want to get my ssl working got the rest working but this ssl
not so!!!! I have tried more than one httpd_ssl.config same each time
when try to create open ssl key and certs it crates but will not allow pass phrase enter just blinks |
|
Back to top |
|