Probelm with user.home property

Hi,
I am using the following code to get the Users home directory and save the file into the Desktop folder.
System.getProperty("user.home")
The above code is working well for all the users except for one user it is bringing wrong user home directory (It is bringing LocalService directory as user home directory eventhough the user logged into the machine with his username). If anybody faced this type problem and solved, please send me a reply with the solution. If you have any links related to this problem, please send me.
Thank You.

Hi,
Now i tried implementing SSO login.
When i Go to System Administration --> System Configuration --> Keystore Administration.
then there in the content tab everything greyed out and shows me the following message in screen
"Could not access the keystore because of missing permissions. Make sure you have been assigned to the J2EE administrator role."
can i know why is is like that? and wat shud i do for these to work on these.
Thanks in Advance
Regards,
Raju

Similar Messages

  • 12.1.0.3 Agent Upgrade shows agent Not Upgradable with Oracle Home Property Missing

    I have completed upgrading my Enterprise Manager OMS from 12.1.0.1 to 12.1.0.3 and am not in the process of upgrading the agents. Several agents show agent as not upgradable with error Oracle Home Property Missing and I am having problems trying to resolve that. In addition to the information in Chapter 5 of the upgrade guide I have found Metalink notes 1564380.1 & 1576084.1 and am trying to follow them.
    Looking at the targets.xml on one machine I find -
    <Target TYPE="oracle_home" NAME="cannon-columbo_cluster_home" IDENTIFIER="TARGET_GUID=615AE33355A4D531DBFC35831C2A2952">
    <Target TYPE="oracle_home" NAME="mothpa.ucdavis.edu_mothpa1_oracle_database_home" IDENTIFIER="TARGET_GUID=DFE64CFD805C3C3F88E20EE0E74E556F">
    <Target TYPE="oracle_home" NAME="LISTENER_SCAN1_cannon-columbo_oracle_listener_home" IDENTIFIER="TARGET_GUID=964A37630D9E7E321E0EA845B79F5CD7">
    and following the notes I use emctl and run runCollection -
    ./emctl control agent runCollection mothpa.ucdavis.edu_mothpa1_oracle_database_home:oracle_home oracle_home_config
    But the console still shows Oracle Home Property Missing. emctl listtargets shows -
    mothpa1:product/agent12g/agent_inst/bin->./emctl config agent listtargets
    Oracle Enterprise Manager 12c Cloud Control 12.1.0.1.0
    Copyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.
    [cannon.ucdavis.edu:3872, oracle_emd]
    [LISTENER_cannon.ucdavis.edu, oracle_listener]
    [cannon-columbo_cluster_home, oracle_home]
    [mothpa.ucdavis.edu_mothpa1_oracle_database_home, oracle_home]
    [LISTENER_SCAN1_cannon-columbo_oracle_listener_home, oracle_home]
    [cannon.ucdavis.edu, host]
    [mothpa.ucdavis.edu, rac_database]
    [cannon-columbo, cluster]
    [has_cannon.ucdavis.edu, has]
    [ricep1_ricep11, oracle_database]
    [mothpa_mothpa1, oracle_database]
    [mothpa, rac_database]
    [ricep1, rac_database]
    [+ASM1_cannon.ucdavis.edu, osm_instance]
    [+ASM_cannon-columbo, osm_cluster]
    [LISTENER_SCAN1_cannon-columbo, oracle_listener]
    I have found some information pertaining to promoting targets but I don't understand that very well, essentially how to know if a target needs to be promoted. One note suggested running repvfy which I need to do. I will download it and run it to see if that helps but at the moment I am puzzled and seeking assistance. Any suggestions gratefully appreciated.
    Thank you.
    Bill Wagman

    I will do so, thank you.
    Bill Wagman

  • Problem with user home directory redirection on OS X

    It appears that the Authorware 7.01 runtime gets confused
    when home directory redirection is used on Mac OS X to redirect a
    user's directory to the network.
    I suspect it is a problem with the path to the Application
    Support folder where Authorware stores its .rec files.
    That happens is that JumpFileReturn returns to the start of
    the piece, rather then returning to where the jump was performed.
    As anyone else seen this? Is there any workaround?
    On Windows one can setup and ini file to tell Authorware
    where to store temporary files. Is there any such equivalent on
    Mac?

    I'm not sure of the process on macs that match the use of the
    ini file, but
    the goal was always identical operation on both platforms so
    it's very
    likely that the ini file is read and interpreted in the same
    manner.
    It seems that the 'initial' location of the current records
    folder is the
    one that's messed up. The .rec file is created on the local
    machine rather
    than the redirected one. I can only guess that either the
    home folder isn't
    redirected until after the first AW piece starts or the
    initial setting is
    being set to a 'default' location for the user rather than
    asking the system
    what the current location is. A solution might be to create a
    "launcher"
    application with Authorware designed to start up and jump to
    what is
    currently your startup piece. This way the RecordsLocation
    should be changed
    to the network location and you can ignore the original rec
    file since
    you'll never return to that first location.
    HTH
    ====================
    Mike Baker
    Adobe Community Expert
    [email protected]
    "peterevensen" <[email protected]> wrote in
    message
    news:[email protected]...
    > On Mac OS X, you can set a workstation up to have the
    user's directory
    > (including the preferences folder, etc.) on a file
    server. If one sets up
    a
    > Mac workstation to do this, Authorware quits working
    properly when you
    jump
    > between pieces.
    >
    > The piece is set up correctly. I don't touch the User
    Record location.
    The
    > pieces are set to resume and work fine if the user's
    directory is not
    > redirected.
    >
    > When Authorware jumps to another piece/file, it dumps
    out a *.rec file
    > containing the current state. These are stored on the
    Mac in <user
    > directory>/Library/Application
    Support/Macromedia/AW7Data folder. When
    the
    > user directory is redirect to the network and the user
    exits the file that
    was
    > jumped to, the original piece starts over from the
    beginning. This is
    the
    > same behavior you see if Authorware cannot write out the
    *.rec file (e.g.,
    if
    > you write protected the above folder, or the equivalent
    folder on Windows,
    > hence the change in AW 6.5
    >
    http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_16607&sliceId=1
    >
    > This problem has been reported in the field several
    times. I haven't set
    up a
    > server yet to reproduce it, but my assumption is that
    Authorware is not
    getting
    > the path or not handling the path to the user's
    Application Support
    properly
    > when it is redirected to a network server.
    >
    > On Windows, there is an .ini file which can be used to
    change where
    Authorware
    > stores temporary file (.rec). I don't believe there is
    an equivalent for
    the
    > Mac runtime, is there? I see that I could change that
    path using the path
    > parameters in JumpFileReturn, but does that change where
    the current piece
    your
    > jumping from writes out the .rec file? It would be
    preferable if I could
    > change it globally once, rather than going into the 100s
    of pieces I am
    > maintaining.
    >
    > I'm not sure an aw7.ini would fix the problem in any
    case, since I am not
    sure
    > where one could safely map the user record location,
    since this is a
    multi-user
    > environment. You couldn't map everyone to the same
    location.
    >
    > Your reply, while not answering my question directly,
    has pointed me to
    some
    > more things to look at (like the path parameter on
    JumpFileReturn),
    although
    > I'm not sure why Authorware isn't working without
    changing that. If you
    have
    > any additional suggestion, I would greatly appreciate
    it!
    >
    >
    quote:
    Originally posted by:
    Newsgroup User
    > I'm not sure what you're asking. Can you provide more
    detail? Are you
    > using JumpFileReturn to launch another file, which also
    sets a different
    > UserRecord location? And that doesn't work...how?
    > Do you have 'resume' set in the File Preferences instead
    of 'restart'?
    > Erik
    >
    >
    >
    >

  • [User home directory property not found.]

    Our Roaming Profile policy does not work but exits with the following error message in the log file:
    RoamingProfile Policy] "...[POLICYHANDLERS.RoamingProfile.ErrorInEnforcement] .... [User home directory property not found.] ...."
    We are running ZCM 10.3.1
    We have the exact same environment at another customer where everything is just working fine. We compared the user properties and could not find any differences. eDirectory is fine, too
    Does anybody have the same problems or a solution to it?
    Thanks,
    Sebastian

    Yes, home directory is defined in eDir.
    In Novell Client for Windows XP there is no "Allow Roaming User Profile Paths to non-Windows servers" attribute, it is in Client for Win 7 only.
    In roaming policy, if I type the path to home directory manualy, it works fine.
    In our original environment I have ZfD 4 on Netware, roaming profiles save to home directories normally, without errors.

  • How to set up Open Directory Users with local home folders?

    Hi folks,
    i set up a Mac mini Server with the services DNS, DHCP, AFP and OpenDirectory running. Everything is working fine so far but i want my OpenDirectory Users to have their home folders locally on the clients harddisk. My Leopard clients are already bound to the directory but everytime i try to login the login window is shaking even when i use the Directory Administrator account. What am i doing wrong?
    Thanks.

    (Did you read my other reply? You need to make it a portable account for the caching of login credentials.)
    With network homes and portable account enabled on a machine you always run from the locally stored homefolder on that machine.
    This homefolder syncs with the server network home folder for that account.
    If either of these folders get corrupt or unintentionally altered files (permission problems) somehow, there is risk of losing files, syncing problems and more (can take long time to sync at login/out, during even without corruption - I prefer gigabit cable to WiFi for this for obvious reasons).
    You at least need to monitor storage space in both places. You don't want either to fill up the disk (worse on server because several users can have their folders corrupted at the same time). Working quota settings / account is probably a good thing.
    And you probably need to decide what is synced : all folders or just some (and when / how often).
    You either do this form the server (you decide) or let the user have some say or a mix of these two.
    You might want to leave out the user's personal files (music, movies and such) and also depending on emaIl client used, maybe not sync email if the client saves it like Entourage does it, in big ever changing database files. Might be better to just backup the mailserver if IMAP based.
    If a user puts other large files in their homefolder (often on the Desktop) they can fill up the server fast. DVD-projects anyone?
    Mixing different versions server/client might not work too good either.
    So having said that, when syncing works it can be really good and you can restore a machine/account fast with pretty recent data. You can if in a hurry even log in from another machine using the account network home folder, getting access to the synced folders/files.
    Using Time Machine it's a one way "sync" (more like "duplicate changed and new files" - which I like) and you have to manually set TM settings on the client for what is going to be backed up and when. I do atleast don't know how to do it from/on the server. This "less intervention by the server" can be a good thing but if your users don't "behave" you might want to be in the drivers seat "saving them from themselves".
    TM backups can grow fast and probably demands more user interaction when storage space is used up.
    As with all "backup" configurations you probably want some rotating media backup of both network homes and/or TM backups so you can do a restore. Of these two, network homes are the more important one to backup "further".

  • Network Users with network homes not really working for me

    I have with great pain setup a OS X Lion server on a Mac Mini that was supposed to be my central server to have 4 network users accounts and all the users data is stored on an external disk array with mounted network homes to the 2 iMacs and 2 Macbooks I have in my home.
    I have gotten it all working and all my Macs are joined to the Open Directory and each User can login as a network users on any of the Macs and get their files via mounted home directory from the server. The home directories on the server are backed up with Time Machine.
    I have found the following items that do not work proberly:
    1) Desktop backgrounds settings are just lost sometimes for whatever reason. Desktop background goes to default and you need to manually set back to the one you have selected. This happen mostly if users have their own desktop pictures.
    2) Keychain get's screwed up. The user often get the "Keychain doesn't exist to store ..." message and need to select to reset the keychain. Anything I have tried from "Keychain First Aid" to removing and have a new one created doesn't fix the problem. It keeps on coming back.
    3) iTunes Storage and AppStore are getting confused about authorized computers. This is because a user logs in from another computer and then iTunes store would tell the user this computer hasn't been authorized to play the purchase music. Same happens with iPhone apps from the AppStore. Apparently those two stores are not setup to hanlde network users proberly.
    4) Permission issues happen sometimes in Application like iPhoto where it would complain not being able to see photos or cannot add new photos to the library. Need to run a permission repair on the Iphoto Library to fix this.
    5) One critical one is that it's not really possible to restore files from Time Machine. The Time Machine backup is done on the server by an administrator account directly backing up the user directories. When you go into Time Machine on the server even the admin can drill down into the user directories so no restore possible. The individual users have no idea that there was ever a Time Machine backup done as Time Machine is not setup in their accounts on the individual Macs. This prevents any possible restore.
    I reckon that many of the problems are related to having only one location for ~/Library as the individual Macs are writing their user related settings into this directory in a central location. So what happens is when something on iMac 1 and then I log in on iMac 2 that might not exactly match this Macs config and it get's confused throwing one of the above erors.
    Trouble is witth central network home directory the way they mounted i can't exclude the ~/Library folder. The only option I can see is mobile account because I have seen in the preferences that when they sync the handle Library items differently.
    Does anybody have any experience out there with this sort of thing and can advise what's the best way forward?
    If i can't resolve this I'll go back to have network users with local home directories on each Mac and just setup for each user a network share to which they copy files if they want them available on other Macs. Not as nice but at least it works!
    As a said note I did this to make things easier but it has up to now cost me trouble then i had before!

    Haven't heard anything from anybody so probably to daunting a topic ...
    I have now moved on to try Portable Home Directories (PHD) and syncing ... what a disaster!
    First it took  me ages to get this right as the way the home directores are mounted on the clients from the server it's just weired which has to do with how AFP mounts are implemented. Since one AFP mount can't be mounted by several users on the same system they use a workaround of mounting it to a temp directory and then linking it back to where it should be. Of course this causes major problems.
    Okay it kind of worked so let's move on to syncing PHD. First of all on initial creation it only sync a small portion of the directory that should be okay but on some of my accounts it never went passed this stage. It said it's all synced but it only had synced the first 10% or so of the data. I wasn't able to make it sync anymore.
    On other accounts it correctly synced all the data down, or so I thought. Apparently a few sync session back and forth and 50-60% of the data was gone. On further investigation it turned out to be iTunes and iPhoto libraries. Turns out does don't sync probably via Home Sync!!!
    Apple product is not able to probably syncing Apple specific library files!!!!
    So here my warning to everybody: DO NOT USE PHD and HOME SYNC to sync your data as you will lose stuff if you have iTunes and/or iPhoto libraries with Lion OS X Server!!!
    The whole Lion Server experience has been a disaster for me. Now I have a server that does file sharing and time machine backup sharing. I can do the same thing with a standard Mac using those services. What's the point of Lion Sever for Home if nothing works proberly?

  • Issue in mapping custom user profile property with AD field in SharePoint 2013

    Hello,
    I am trying to map a custom user profile property i created "ADSecurityGroups", type - String, Multivalue with the AD propoerty named "memberOf" via powershell.
    UserProfile Service is up and running, and so is the Synchronization Service. User executing the powershell has full control on the User Profile Service and is the farm administrator.
    Following is the code snippet i grabbed from the internet which i am trying to execute.
    Add-PSSnapin Microsoft.SharePoint.Powershell -ErrorAction "SilentlyContinue" 
    $url = "http://<servername:port>/" #URL of any site collection that is associated to the user profile service application. 
    $spsProperty = "ADSecurityGroups" #Internal name of the SharePoint user profile property 
    $fimProperty = "memberOf" #Name of the attribute in FIM/LDAP source 
    $connectionName = "UserProfileSyncConnection" #Name of the SharePoint synchronization connection
    $site = Get-SPSite $url
    if ($site) 
        Write-Host "Successfully obtained site reference!"
    else 
        Write-Host "Failed to obtain site reference"
    $serviceContext = Get-SPServiceContext($site)
    if ($serviceContext) 
        Write-Host "Successfully obtained service context!"
    else 
        Write-Host "Failed to obtain service context"
    $upManager = new-object Microsoft.Office.Server.UserProfiles.UserProfileConfigManager($serviceContext)
    if ($upManager) 
        Write-Host "Successfully obtained user profile manager!"
    else 
        Write-Host "Failed to obtain user profile manager"
    $synchConnection = $upManager.ConnectionManager[$connectionName]
    if ($synchConnection) 
        Write-Host "Successfully obtained synchronization connection!"
    else 
        Write-Host "Failed to obtain user synchronization connection!"
    Write-Host "Adding the attribute mapping..." 
    $synchConnection.PropertyMapping.AddNewMapping([Microsoft.Office.Server.UserProfiles.ProfileType]::User, $spsProperty, $fimProperty) 
    Write-Host "Done!"
    The script is failing with the following error - 
    new-object : Exception calling ".ctor" with "1" argument(s): "UserProfileApplicationNotAvailableException_Logging :: 
    UserProfileApplicationProxy.ApplicationProperties ProfilePropertyCache does not have 2f9bece3-f39a-498d-874f-145b1470e49c"
    At E:\ADSync.ps1:29 char:14
    + $upManager = new-object Microsoft.Office.Server.UserProfiles.UserProfileConfigMa ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (:) [New-Object], MethodInvocationException
        + FullyQualifiedErrorId : ConstructorInvokedThrowException,Microsoft.PowerShell.Commands.NewObjectCommand
    Please let me know if i am missing anything.
    Also advise if this is the correct way to map user profile attribute in SP 2013 ?
    Thanks -
    Girish

    ok no worry,
    try to run the below as it is, i m just copying code from your post.
    Add-PSSnapin Microsoft.Sharepoint.Powershell
    [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Office.Server")
    [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Office.Server.UserProfiles")
    #Function to get servicecontextfunction Get-SPServiceContext([Microsoft.SharePoint.Administration.SPServiceApplication]
    $profileApp)
    $profileApp = @(Get-SPServiceApplication | ?
    {$_.TypeName -eq "MR_DEV_UserProfileServiceApplication"})[0]
    return [Microsoft.SharePoint.SPServiceContext]::GetContext
    ($profileApp.ServiceApplicationProxyGroup,
    [Microsoft.SharePoint.SPSiteSubscriptionIdentifier]::Default)
    $url = "http://sp-appdev:2013" #URL of any site collection that is associated to the user profile service application.
    $spsProperty = "RoomNumber" #Internal name of the SharePoint user profile property
    $fimProperty = "extensionAttribute2" #Name of the attribute in FIM/LDAP source
    $connectionName = "LDAP Sync" #Name of the SharePoint synchronization connection
    #Get UserProfileManager
    $serviceContext = Get-SPServiceContext
    if ($serviceContext)
    {Write-Host "Successfully obtained service context!"}
    else
    {Write-Host "Failed to obtain service context"}
    $upManager = new-object Microsoft.Office.Server.UserProfiles.UserProfileConfigManager($serviceContext)
    if ($upManager)
    {Write-Host "Successfully obtained user profile manager!"}
    else
    {Write-Host "Failed to obtain user profile manager"}
    $synchConnection = $upManager.ConnectionManager[$connectionName]
    if ($synchConnection)
    {Write-Host "Successfully obtained synchronization connection!"}
    else
    {Write-Host "Failed to obtain user synchronization connection!"}
    Write-Host "Adding the attribute mapping..."
    $synchConnection.PropertyMapping.AddNewMapping([Microsoft.Office.Server.UserProfiles.ProfileType]::User, $spsProperty, $fimProperty)
    Write-Host "Done!"
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Syncing Windows users with Mac users home folders

    Hello,
    I have setup my 10.6 XServe to allow Windows user to connect.
    The Windows machines log into the server just fine but when they save something to their Documents, Desktop etc... it doesn't show up when they log into a Mac machine and vice versa.
    I did find a script on WazMac for a logon vbs but that does not work.
    Any help?

    Thank you Linc Davis,
    I did some investigation on the internet to see the default ACLs on the "users" folder and I noticed that I added a group access. I deleted it and ended up with the correct configuration. I have now each user accessing his own home folder with read and write access to all the folders (desktop, music, video...) and sees the others users' home folder with access denied.
    I think I can live with that configuration. Problem solved.

  • Moved User Home Folder to External - What to do with iTunes settings?

    I used these instructions to move my User Home Folder off Mac hard drive and onto an external hard drive http://mac.tutsplus.com/tutorials/os-x/relocate-your-home-folder-to-another-driv e-or-volume. Do I need to go into advanced settings of iTunes and change the location to the external or do I just keep the location the same as before the move via these instructions?

    turingtest2 wrote:
    OK. The following should clear up your particular scenario. I strongly recommend you backup the whole iTunes folder to another drive first. When you're happy everything is tidy and working properly you can make a backup of the "clean" library before deleting the backup of the "duplicated" one.
    In iTunes > Preferences > Advanced turn off both the Keep... & Copy... options.
    Use File > Add Folder to Library... to add in the media folder, this ensures iTunes is connected to both copies of the files.
    Create a new smart playlist with the rule Location is on this computer.
    3a. Select the new smart playlist
    Hold down Option and then click View > Display Exact Duplicate items.
    Sort the list by Date Added
    Select everything that you've just added with today's date, then press Option-Delete to remove from the library, send to the trash when asked
    Use View > Show All Items and then Option > View > Show Exact Duplicate Items to reveal any remaining duplicates.
    If needed, sort by Name and keep one of each repeat group, using Option-Delete to remove any dupes
    In iTunes > Preferences > Advanced turn on both the Keep... & Copy... options to clean up all the trailing " 1"s
    tt2

  • How do you setup a user mobile account, with the home directory stored locally and not synced to the server?

    I want to be able to setup a user mobile account, with the home directory stored locally and not synced to the server.  What is the best way to do this? I am running Server 10.6 with 10.6 clients.  Open Directory will be used to authenticate and manage preferences.   Also, this one account will be used simultaneosly in a computer lab setting, so files will be stored locally in the client, hence the need to NOT sync to the server.  Any Ideas? 

    currofelix wrote:
    So what does WGM Look like in the Home Tab? afp://servername.domainname/Users? or afp://Users?
    The attached screen shots should help you:
    You will only have to do this step once. Obviously you want to use the user's shortname here.
    Then, you will see this as an option in WGM:

  • Default User Template for AD users with Win home dirs

    Hi all,
    Can anyone tell me if it's possible for AD users with Windows based home directories to get a default user template given to them the first time they login to a Mac bound to AD?
    I can give local users and users with home dirs on our Xserve my default user settings via the English.lproj template, but I cannot for the life of me get this to work for those users with Windows based home directories.
    This is a biggie since my boss has mandated that ALL our student home directories are to be hosted under Windows from now on...
    Thanks in advance.

    So you are using roaming profiles on AD and when they log into a Mac you want to setup their default, is that what I am hearing?
    You will need to modify the English.lproj on the local machine to setup the default template. Since the mac server is not involved in the authentication and hosting of a roaming AD account with windows home folder, the client creates the home folder initially. Modify the default English.lproj on the clients.

  • Using Illustrator with Network home users

    We have approx 300 macs all binding to an open directory server, all users log in with network home folders.
    We have InDesign, Photoshop and Illustrator installed locally on all machines.
    InDesign and Photoshop launch fine, but Illustrator bounces in the dock for 20 seconds, then does nothing, causing the user to force quit.
    I have done all the normal things, preferences, permissions, new user created etc.
    A local account, (non-admin, or admin) works fine. I am NOT going to go around to 300 systems and create and manage a local account just so people can use Illustrator, that is insane, so.. what are the alternatives?
    Does Illustrator have a problem with network mounted preferences? Because that is the only part I can see as affecting this.
    Can you make Illustrator use a local TEMP or /tmp folder for preferences?
    Do I just have to let everyone keep using Quark 8 forever? (Not likely)
    Thanks in advance.

    This definitely sounds like something you might want to take up with Adobe Customer Support. (In case you didn't know, the people here are just other users, like yourself).
    If your company bought 300+ licenses, I'm sure they'd be willing to help.
    Will they be able to solve the problem? Well, that's a different issue altogether.

  • Acrobat Reader crashs for users with network home folders

    When network users logon to a MacBook running 10.6.4 Adobe Acrobat 10.0.1 will crash. The users home folder are on a Mac Mini server running 10.6.6. The Safari plug-in cashes also. A local standard user will run Acrobat without problems.

    Try this website....just reply if it is works....TIA!
    http://serverfault.com/questions/37805/adobe-reader-wont-launch-when-logged-into -network-user-accounts-open-directory

  • Moving User Home Folder to External Drive

    I'm using 10.3.6 and over a year ago (maybe 2) I found a trick (in a magazine and on the web in a few places) to move my user folder to an external firewire drive. I haven't been able to find it since. In a fit of New Year's cleaning I accidentally disconnected the firewire drive while the system was running. Upon restart the system had created a new user folder for me back on the startup drive. All my files are still in the user folder on the FWHD.
    I looked in the NetInfo Manager and it shows my home property as being on the external drive with the correct path. I also deleted the property and re-added it thinking that might make it take a look again. Nope.
    I've deleted/renamed the newly created file. But it just creates a new one.
    I've learned the barest amount about symbolic links and done
    ln -s /Volumes/Titian/Users/rothrock /Users
    in the terminal. I've combined that with renaming/deleting the existing one, as well as either just a logout and login or restart.
    I'm at my wits end and would really like to be able to have all my files and settings back the way I used to.
    First question does anybody know how to do the equivelent of "blessing" a user folder?
    If not, how can I set up a new user that has its home folder on the external HD and then just copy all the files back over? (My start up drive is way too small and I need the space.)
    Sorry for the cross-post, but I'm thinking the Unix folks might not visit the other sections too often.

    Of course as soon as I say I can't find the original trick I think I found it. But maybe not.
    http://www.bombich.com/mactips/homedir.html
    I tried this, but the first command sudo ditto etc. should copy the existing user directory (on my startup drive) to the external drive, right? But it doesn't do that. So I'm a bit confused.

  • When logging on to Windows 7 user gets a second mapped drive to the users home folder

    Morning,
    I'm working through an issue we've discovered whilst trialing Windows 7.  Our environment is setup as follows.
    Domain Controllers are Windows Server 2003
    Clients are Windows XP and Windows 7
    Windows XP and Windows 7 Clients are in seperate OU's
    All Windows XP Group Policies apply to Windows XP And Windows 7 clients, Windows 7 policies are then applied to Windows 7 clients after
    Windows 7 policies are setup such that any setting defined in a Windows XP Group policy is left unconfigured in the Windows 7 Group policy and only new Windows 7 settings have been set in Windows 7 Group Policies.
    We have users home folders mapped in their Account Directory account setting and set to H:\   to connect to
    \\domainname\dfs\home\username
    In addition we also as a fail safe map the drive via a login script using net use
    This has worked fine for years in windows XP, if Active Directory failed to map the drive for any reason then the login script would then map the home drive.
    In Windows 7 we have noticed a curious error.  We found after a period of a couple of weeks we suddenly started getting a new drive mapped.  This was identical to the H:\ drive mapping but was instead under drive Z:\.  In other words, the
    users home folder is mapped twice on h:\ and z:\.  This is not affecting any of the Windows XP users.
    I have gone through several logic reasons to ascertain why this has happened with the following findings.
    1. Originally we thought the error appeared when we tried out mapping the home drive using the mapped drives functionality new in Windows 7 group policy under preferences > windows settings > drive maps.  However, after forcing it to delete the
    Z:\ drive using this functionality we only succeeded in removing it with a group policy present to do it.  As soon as we removed that group policy the Z:\ drive came back
    2. Secondly i thought the reason we would be getting a z:\ drive when we haven't specified it anywhere is because active directory is trying to map to the H:\ Drive but it is already present therefore in Windows 7 it tries to map to a different drive. 
    Using Windows logic it tries the highest letter first which is unlikely to be in use i.e. z:\.  This makes sense because our logon script uses a net use h:\ command to map the drive and i believe by default these are set to perisistent.  Therefore
    the next time the user logs on H:\ is already mapped so the logic in Active Directory accounts maps the drive to Z:\ instead hence we end up with two mapped home drives.  To test this i altered the login script to set the drive maps to
    non persistent using persistent:no.  The logic here was that when the user logged off the drive would become unmapped so that when Active Directory tried to map the drive it would be able to use H:\.  Unfortunately this was not the case and
    Z:\ remains.
    3. Here is where i resolve the issue but i don't know why and is the bit i need answering.  If i go into my account on Active Directory and go to Profile and set the home folder drive letter to another letter i.e. change from H:\ to U:\,
    i get prompted to set full control etc and apply.  I then set the drive back from U:\ to H:\, again i am prompted for setting full control which i accept.  
    NOW when i login i no longer receive a Z:\ drive and only get an H:\ drive.  YAY, thats what i want, however, i do not understand why this is the case.  At first i thought it might be something in the active directory logic when i login to an XP
    machine and then login to a windows 7 machine.  IF you bear in mind that although i get a new profile in Windows 7 i still retain the same home folder setting.  However, after logging on an XP machine logging off then logging
    on a Windows 7 machine i still didn't get the Z:\ drive back. 
    I have tried creating a new user that ONLY receives our Windows 7 Group Policies and still they receive both an H:\ and a Z:\ drive which rules out the Windows XP policies conflicting with the Windows 7 policies.
    Does anyone have any ideas why i would get a second drive mapped to Z:\ logging into Windows 7 on a Windows Server 2003 domain? 
    Can anyone explain in more detail exactly how the Active Directory functionality works when you specify a connect to Drive letter for a users home folder?
    My current workaround is simply to add a net use command to remove the Z:\ drive.  I do not want to use Mapped Network drives using the new policy settings in Windows 7 RSAT because we have already found issues with it. 
    <input id="3daf20bf-4f4d-4a05-86da-2c30c205d580_attachments" type="hidden" />

    We had the exact same issue happen to us. No issue on Windows XP but Windows 7 mapped two home drives (F and Z). F was mapped during the login script and Z was being mapped by some unknown reason.
    We use Netapp for our storage and home drives and use a feature called CIFS Home Drive Mapping. This essentially maps a user to a folder not available through normal CIFS methods causing AD to error when setting the home drive. To get around this we use
    dsquery and dsmod to modify this attribute in the user account. This is the command we used...
    dsquery user -name %UserNameX% | dsmod user -hmdrv F -hmdir \\filer\$username$
    Notice there is no ":" after the F
    We determined the root causewas the value for the
    homeDrive attributefor the user account was set to "F" instead of "F:"
    When we updated our users to reference "F:" instead of "F" in their user, this problem was resolved.
    Use LDP or some other method to verify that the homeDrive attribute is set to "F:" (or any other letter) or you will have this issue.

Maybe you are looking for

  • My Photosmart 5512 can copy, scan, print documents, but it won't print web pages

    Yesterday, having had problems scanning on my HP Photosmart 5512 All-in-One printer after an HP update, I went to the HP support site and downloaded the most recent driver for my printer.  Once it had finished downloading, it automatically went into

  • How can I change Illustrator language to English?

    I have subscripted to Adobe Cloud and downloaded Photoshop/Illustrator but the default language at that time (in my Adobe Application Manager) was Portuguese so it installed the portuguese version of Photoshop and Illustrator. Changing the language i

  • Help on Index creation on complex type

    Hi: I have some problem in creating indexes on columns related to complex types. Here is the steps performed 1) I registered a schema with complextypes. The relevant part of the schema is as below: <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchem

  • Time machine cannot complete backups - please help

    I hope somebody can help me - my Time Machine has been unable to complete backups for about six weeks or so. Having read some useful information on the support forums yesterday, I verified both my internal HD and my external disk. The external disk a

  • Copy Standard Fucntion module

    Hi, I am copying the standard fucntion module in R/3. My requirement is i would like to make changes for standard and create the generic. I am getting the Interface error for the function module while copying as it has related Type Group. Can anyone