Koozali.org: home of the SME Server

VPN and login scripts

stitch

VPN and login scripts
« on: February 07, 2002, 02:56:45 AM »
guys and gals,

I am trying to set up a login script for my e-smith server. I have a w2k machine connecting via a VPN connection OK. Problem is, I cannot get a login script to run! I have SME v5 and I have edited the /home/netlogon/netlogon.bat. I have set up the server to be the domain master of a workgroup called "workgroup" and have set the client to connect to that workgroup. Do I need to set the client to connect to a domain called "workgroup" instead? I can't seem to do that either. Is the procedure the same to run a script from a regular network login? Pardon my ignorance, but my NT/w2k skills are aweful.

Any ideas? Tips? Know a good psychiatrist?

stitch

Bobby

Re: VPN and login scripts
« Reply #1 on: February 07, 2002, 03:03:56 AM »
Stich,

For what it is worth, my guess would be this:

1) Workstation has to be in the domain, not workgroup.
2) When you log in with the workstation you need to do so via "dial-up networking" using the vpn connection.

It is easiest, or at least used to be, to put the workstation in the domain while it is on the same physical LAN, not using VPN, if this is possible. Not sure if Linux really cares, but NT sure like it better.

/B

stitch

Re: VPN and login scripts
« Reply #2 on: February 07, 2002, 03:26:01 AM »
I can't seem to join a domain. I keep getting a "procedure number is out of range" error. Crikes, I think I'm going mad!

Bobby

Re: VPN and login scripts
« Reply #3 on: February 07, 2002, 03:54:37 AM »
Does the error look like M$ is producing it?
If so, you might find information at the M$ knowledgebase.  I have found heaps of error information there.

/B

stitch

Re: VPN and login scripts
« Reply #4 on: February 07, 2002, 03:58:49 AM »
I think I've discovered what my problem is:

SME v5.0
Windows 2000 client

Can someone please confirm that domain logon support is only limited to Windows NT and 95/98/ME on v5.0.

Does this sound right to you Bobby?

Do I need to upgrade to v5.1 to get this happening?

Bobby

Re: VPN and login scripts
« Reply #5 on: February 07, 2002, 04:02:48 AM »
I have done it before, I think.  It had to do with the version of samba.  Try searching for posts regarding samba and win 2000.  As I recall, the only problem I had was with roaming profiles not working as I would have liked.  The win2000 workstation logged in just fine.

/B

Bobby

Re: VPN and login scripts
« Reply #6 on: February 07, 2002, 04:06:00 AM »

stitch

Re: VPN and login scripts
« Reply #7 on: February 07, 2002, 02:34:25 PM »
Wahey! break out the Champagne!

Thanks heaps for your help Bobby.

Andy Parkinson

Re: VPN and login scripts
« Reply #8 on: February 07, 2002, 05:03:36 PM »
Windows 2k will not join a domain on sme ver 5.0. This is because it uses the older version of Samba but it  will work with 5.1.2. Apparently sme 5 did work with win 2k until service pack 2 is applied this then uses some new remote procedure calls to join the domain which the older samba version did not understand.

Hope this helps