Please Read: Significant Update Planned, Migrating Forum Software This Month

See more
See less

Homedirectory\Profilepath relative to site

  • Filter
  • Time
  • Show
Clear All
new posts

  • Homedirectory\Profilepath relative to site

    This might be simple but i haven't found the answer yet.
    I have three sites each with a Dc and Fileserver. It is unknown which site the user will login to. We DON'T what the users homedirectory of roaming profile to duplicate from site to site. We DO what them to have a local Homedirectory and Profile.
    Something like
    net user username /homedir:\\localfileserver\%username% /profilepath:\\localfileserver\%username%\profile

    If site1 then localfileserver=site1_localfileserver
    If site2 then localfileserver=site2_localfileserver
    If site3 then localfileserver=site3_localfileserver

    What I attempted to do and am failing is creating a DNS alias of the fileserver for all the sites.
    original dns entries
    site1_localfileserver subnet1
    site1_localfileserver subnet2
    site2_localfileserver subnet3
    site2_localfileserver subnet4
    site3_localfileserver subnet5
    alias dns entries
    localfileserver subnet1
    localfileserver subnet2
    localfileserver subnet3
    localfileserver subnet4
    localfileserver subnet5

    ping and nslookup answer ok. kb926642 didn't help. other ideas welcome.


  • #2
    Re: Homedirectory\Profilepath relative to site

    Why are you not using Active directory sites and services to map the subnets to proper sites.

    If subnets are mapped properly then clients will get authenticated randomly.

    Link for AD sites and subnets:

    Kapil Sharma
    Life is too short, Enjoy It.


    • #3
      Re: Homedirectory\Profilepath relative to site

      i am using sites. but userx when logging on to site1 his "local" homedirectory is on site1_localfileserver. when he is logging on to site2 his "local" homedirectory is on site2_localfileserver.
      i don't see anyway to set this up with site and subnets.
      please enlighten me.

      if my fileserver was the local domain controller i MIGHT have been able to use %logonserver% to help.