Results 1 to 12 of 12

Thread: Logging into a domain

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2001
    Posts
    6

    Logging into a domain

    Is there any way that when a program starts it can pop up with user name and login information and log into a domain? Almost like a manual logon after the machine has started?

  2. #2
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Domain logins are provided at a lower level than your app is probably running so you shouldnt be messing with it...

    Why would you need it anyway ?
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  3. #3

    Thread Starter
    New Member
    Join Date
    Oct 2001
    Posts
    6

    Question Login

    Well Im using a VPN solution, when I dial directly in the log in works properly. If I use the internet to log in, when the machine boots up it doesnt find the domain server (obivously im not hooked up the the vpn yet as the machine is turned on) After it cant find the domain server, I login to the vpn software and my login doesnt work because it already tried and couldnt find a domain server. So I need to be able to login to a domain after the machine has started up.

    Jduke

  4. #4
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Well if you try to access a share on your PDC while you're not logged in it should ask you for a U/P ...
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  5. #5

    Thread Starter
    New Member
    Join Date
    Oct 2001
    Posts
    6

    Talking domain

    You would think that, but it doesn't. Once the VPN client is established it gies the user a private ip address. Once that happens, I can ping the server I need to get to by IP. But if I try to ping by name, it can't be found. So I try and map a network drive using the machines IP address and that doesn't work. It may be a netorking problem, but Ie set machines up like this the same way; some work,some don't. So I was trying to figure out if I could make it prompt the user for the name and password after the VPN client has been establisged.

  6. #6
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    I dont know a log about VPN, but if you're using DUN to accomplish this then there's an option under the TCP/IP settings for the DUN Connection, "Log into network". Try that.

    If thats not applicable, then.... is the DNS service running on your PDC by any chance ?
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  7. #7

    Thread Starter
    New Member
    Join Date
    Oct 2001
    Posts
    6

    Angry DNS

    Well on the DUN, it works perfectly. All the settings work, logs in, but thats because I'm connected directly to the machine.

    So I know that all the settings for networking are correct, but thats because when you dial in, it prompts you for user name and password. If I could get that box to come up when I want it to, I could solve this problem. Hence the original question.

    And yes, DNS is on the PDC

  8. #8
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  9. #9

    Thread Starter
    New Member
    Join Date
    Oct 2001
    Posts
    6

    Talking Planet Source Code

    Hey thanks for the link, but they've blocked me off their site. We have a 10 mb line at work and its too fast for their servers so here's the error messgae I get :

    Ouch you're hurting our servers!

    You were hitting the site at rate faster than comprehensible by a human at 52 hits per minute for 23 minutes. This is causing our servers to crash and be unavailable to other users.

    So if you wouldn't mind either pasting all the code or you can email it to me at [email protected]

    Thanks!

  10. #10
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Well im just leaving for the day now. Email me at [email protected] to remind me would ya ?
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  11. #11
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    This also may be of intrest to you :

    http://www.microsoft.com/technet/tre...g/vpndeply.asp
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  12. #12
    Junior Member
    Join Date
    Oct 2001
    Posts
    17

    Talking Logging into a domain

    you may try using ...."Logon to Domin using DUN" at the ctrl+alt+del screen..and specify the connection which you want to use for DUN...

    but if there is a firebox at the other end and you have to pass thro that..then...i have my doubts..





    ________________
    VB leaves WEEPING....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width