Active Directory + Resource action to delete home directory

Hi all,
I am trying to delete home directory from the disk physically after the user is deleted from AD. I followed the link http://docs.sun.com/app/docs/doc/820-6551/bzbuc?a=view and implemented the delete resource action as mentioned in the link.
here are the steps i followed (For testing, I mentioned delete >> C:\test.txt to see if it deletes the text file)
1. Enter delete after action in the Identity Manager User Attribute column of the resource’s schema map.
2. In the Attribute Type column, select string.
3. In the Resource User Attribute column, enter IGNORE_ATTR. Leave the Required, Audit, Read Only, and Write Only columns unchecked.
4. Add this to the Deprovision Form user form after the </Include> tag:
<Field name= ’resourceAccounts.currentResourceAccounts[AD].attributes.
delete after action’>
<Expansion>
<s>AfterDelete</s>
</Expansion>
</Field>
5. Create the following XML file and import into Identity Manager. (Change file paths according to your environment.)
<?xml version=’1.0’ encoding=’UTF-8’?> <!DOCTYPE Waveset PUBLIC
’waveset.dtd’ ’waveset.dtd’>
<Waveset>
<ResourceAction name=’AfterDelete’>
<ResTypeAction restype=’Windows Active Directory’ timeout=’6000’>
<act>
echo delete >> C:\test.txt
exit
</act>
</ResTypeAction>
</ResourceAction>
</Waveset>
6. Edit the XML for the Active Directory resource and add information to the “delete after action” schema mapping. Here is an example of a complete schema mapping for this resource with the new additions. (You will be adding the views-related information.)
<AccountAttributeType id=’12’ name=’delete after action’ syntax=’string’
mapName=’IGNORE_ATTR’ mapType=’string’>
<Views>
<String>Delete</String>
</Views>
</AccountAttributeType>
To test, I deleted a user from AD and I was expecting the file c:\test.txt to be deleted as it invokes the Resource action after delete. Has anyone been successful in deleting the home directory from drive after the user is deleted. Any pointers or help
Thanks,
Ani

Hi Gaurav,
I have to implement Resource Action functionality for Solaris system. I followed the link http://download.oracle.com/docs/cd/E19225-01/820-6551/bzbuc/index.html and the first message of this thread. I am using 8.1 IDM.
But unfortunately I can’t trigger any bash commands on the resource like echo deleting of user wiht next name - $WSUSER_accountId >> /tmp/resultFile.txt.
There are any errors on log file.
Can you share your work configuration and steps to reproduce?
I have done next but Resource Action doesn’t triggered:
1. My Action:
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE Waveset PUBLIC 'waveset.dtd' 'waveset.dtd'>
<Waveset>
<ResourceAction name='AST-ResAct-SOL-AfterDelete'>
<ResTypeAction restype='Solaris' timeout='6000'>
<act>
#!/usr/bin/bash
echo deleting of user wiht next name - $WSUSER_accountId >> /tmp/resultFile.txt
exit 0
</act>
</ResTypeAction>
</ResourceAction>
</Waveset>
2. Added next line to “Deprovision Form”
<Field name='resourceAccounts.currentResourceAccounts[SOLARIS 10].attributes.delete after action'>
<Expansion>
<s>AST-ResAct-SOL-AfterDelete</s>
</Expansion>
</Field>
3. Added a new attribute mapping on the resource:
<AccountAttributeType id='12' name='delete after action' syntax='string' mapName='IGNORE_ATTR' mapType='string'>
</AccountAttributeType>
4. Assigned role (this role provisioned resource to user) to user, delete user from resource via Deprovision IDM page. But my Action commands didn’t trigger on resource.
Thanks’ in advance!

Similar Messages

  • How do I delete home directory /Library/Preferences/Macromedia/Flash\Player ?

    How do I delete<home directory>/Library/Preferences/Macromedia/Flash\Player?

    Note that it'll be created over every time you load a Flash object in a Web browser (at least if it has Flash enabled).
    The only way to consistently get rid of all its content would be to create an AppleScript, or use Automator to create a workflow that would empty this folder when you close the browser.

  • Deleted home directory from XRAID any way to recover?

    Hi
    Hope someone maybe able to help me with this issue which is causing me great agony at the moment.
    We had storage issues on our Apple XRAID and on the RAID it stored approx 700 user home folders. There were under a folder called 'home directories'. A lot of these areas where fairly sizable so we were advised that we can run a command in terminal which can clear the trash folders in a users home directory.
    This would certainly help clear some of the unnecessary space that was being taken up.
    So in terminal a command was run:
    rm - R -v /Volumes/RAID/Homedirectories/*/.Trash
    We were told that the last statement would have interrogated each user home folder and deleted the trash folder.
    We found though that whilst this command worked and deleted the trash, it also deleted all user home folders and everything within these folders.
    I have a massive dilemma now as all the work is lost and our backup software wasn't working at the same time so I not able to do a restore. I was using RetroSpect 8.
    I have tried various undelete software to interrogate the RAID and see if it can recover files. I have used:
    Stella Phoenix, Rstudio for Mac and Disk Warrior.
    These programs have not been able to recover anything.
    I was going to use a freeware tool called TestDisk and photorec buts its going to take about 3 days for it to run on the XRAID as its 3tb in size.
    Does anyone think I could try something else to help me find the accidently deleted data. With the rm commands that have been run is there any way to recover from it from an XRAID.
    I have found some other software cannot see the XRAID. Does anyone know of other software which has been successful?
    Thank you

    Since this issue and through the countless data recovery methods used. I am concerned that the disks will have gone through **** with intensive interrogation of that disks.
    Am I just being anal or do I have a genuine reason to be slightly worried.
    I am going to put a bid to my seniors about maybe purchasing a new storage device to replace the XRAID and maybe use the XRAID for just backup/archival purposes.
    What suggestions do users have with other Storage Arrays? I ideally want something where I can at least have about 5tb but with the option to grow and I want to be able to use both the XRAID and the new storage device in conjunction. Could I possibly have a replication between the new storage array and the XRAID?
    Which devices out there would be an ideal replacement for the Apple XRAID that others recommend?
    United Digital Hyperstar
    ACTIVE RAID ES (From the developers of the original XRAID)
    Promise vTrak E-CLASS
    Am I right in saying that I would replace the existing fibre channel card in the Xserve with a new 4 port 4Gb card. so I can attach 2 ports of the existing Xserve RAID and the other 2 ports to the a new storage device.
    My plan would be to use RAID5 for redundancy, any benefits of using some other RAID such as 1+0 or RAID50?
    Thanks
    Message was edited by: ranj.bassi

  • Error creating home directory - Access is denied.

    Hi,
    I am getting one issue on the task while provisioning homedrive and homedirectory on AD resource.
    Error creating home directory '\\rusehf06\home\rc9782rf': ': Access is denied
    Please help. Thanks in advance.

    These error messages are typically pretty obvious with permission errors. It's getting the correct permissions that is the challenge. I would suggest you start by adding the user whom is in your IT Resource for Active Directory into the local administrators group for the server you are trying to create the folder on. Also, consult with your AD Admins to get it resolved the quickest most likely. Their skill set will be better than what we can provide.
    -Kevin

  • Change username/home directory

    Hi,
         I want to change my username and home directory. My Mac was gifted to me and while setting it up for me, they mispelt my name. I have been using it that way for quite  some time, and now I want to change it. I am following this article: http://support.apple.com/kb/ht1428 and it seems quite easy.
    If I rename the home directory, will Time Machine back up all stuff in my home directory once again? My home directory is quite huge ~70% of my hard disk and so I will lose a lot of old back ups due to this. Any workarounds?
    Thanks.

    tartarsauce wrote:
    If I rename the home directory, will Time Machine back up all stuff in my home directory once again? My home directory is quite huge ~70% of my hard disk and so I will lose a lot of old back ups due to this. Any workarounds?
    Yes.  Time Machine will back up your home directory again.
    Your choices are:
    1) Leave the name as is, and you won't have to worry about the large back up for a while, or
    2) If you are out of space on your current backup disk, buy another external disk, rename the user and home directory on your Mac and start a new round of backups, keeping the old one around until you no longer need the files,
    3) Rename the home directory and let Time Machine delete the oldest of your backed up files as it runs out of disk space.
    Have I missed any?

  • Oracle Clusterware Home Directory

    Hi,
    I had a question about the Oracle Clusterware Home directory. I am going through the Oracle Database Oracle Clusterware and Oracle Real Application Clusters Installation Guide for Linux x86_64 and on page 2-40 of the guide it mentions the Oracle Clusterware Home Directory as /u01/app/oracle/product/crs, but when you go to create the directory at the top of page 2-44 it changes the directory to /u01/crs/oracle/product/10/crs
    I am confused?? Is it a typo or are they two different homes? Eventhough I know we can use any directory structure, but for this which one do they want us to use for the Oracle Clusterware Home directory??
    Thank you.

    This contradicts the information in the Oracle® Database Release Notes 10g Release 2 (10.2) for Linux x86-64:
    In Oracle Database Oracle Clusterware and Oracle Real Application Clusters Installation Guide, Chapter 2, "Preinstallation," in the section "Oracle Clusterware Home Directory," it incorrectly lists the path /u01/app/oracle/product/crs as a possible Oracle Clusterware home (or CRS home) path. This is incorrect. A default Oracle base path is /u01/app/oracle, and the Oracle Clusterware home must never be a subdirectory of the Oracle base directory.
    A possible CRS home directory is in a path outside of the Oracle base directory. for example, if the Oracle base directory is u01/app/oracle, then the CRS home can be an option similar to one of the following:
    u01/crs/
    /u01/crs/oracle/product/10/crs
    /crs/home
    This issue is tracked with Oracle bug 5843155.

  • Mountain lion server network accounts are not mounting network home directory, rather its creating a blank local directory

    I have set up a scratch mountain lion server with open directory.  copied over old user account directories and added my users that match the directory ids.  Currently if a networked user logs into a networked computer, instead of mounting the network home directory, its creating a local home directory.  suggestions?
    thanks,
    Dave

    Additional info: it appears that certificates are not working either: setting up ical: "the certificate for this server was signed by an unknown certifying authority."...

  • Mac - SGD won't start - home directory permission problem?

    Mac OSX 10.5.6 when attempting to login to SGD fails to start. Relevant section from java console:
    security: Certificate has failed the verification with the Root CA certificates
    security: Adding certificate in Deployment session certificate store
    security: Added certificate in Deployment session certificate store
    security: Saving certificates in Deployment session certificate store
    security: Saved certificates in Deployment session certificate store
    network: Connecting https://zsgd.open-tech.com/sgd/tcc/java/Tester.class with cookie "JSESSIONID=F5602C38467AC1159DCF761A6AA3CE44; TTA_SESSION_OBJECT=-1721504362694110337:zsgd.open-tech.com:1234879815946:-1085814744412016712:2; TTA_CLIENT_COOKIE=1234818729782-6121439398221565261"
    basic: Loading https://zsgd.open-tech.com/sgd/tcc/java/Tester.class from cache
    Tue Feb 17 08:21:58 CST 2009 JEP creating applet Tester (https://zsgd.open-tech.com/sgd/tcc/java/)
    basic: Starting applet…
    basic: Referencing classloader: sun.plugin.ClassLoaderInfo@a32ea4, refcount=1
    basic: Loading applet/u2026
    basic: Initializing applet/u2026
    basic: Added progress listener: sun.plugin.util.GrayBoxPainter@946d22
    basic: Referencing classloader: sun.plugin.ClassLoaderInfo@a32ea4, refcount=2
    basic: Releasing classloader: sun.plugin.ClassLoaderInfo@a32ea4, refcount=1
    network: Connecting https://zsgd.open-tech.com/sgd/tcc/java/ttalwG-jps.jar with proxy=DIRECT
    network: Connecting https://zsgd.open-tech.com/sgd/tcc/java/ttalwG-jps.jar with cookie "JSESSIONID=F5602C38467AC1159DCF761A6AA3CE44; TTA_SESSION_OBJECT=-1721504362694110337:zsgd.open-tech.com:1234879815946:-1085814744412016712:2; TTA_CLIENT_COOKIE=1234818729782-6121439398221565261"
    basic: Loading https://zsgd.open-tech.com/sgd/tcc/java/ttalwG-jps.jar from cache
    basic: Reading cached JAR file from JRE 1.5 release
    basic: Certificates for https://zsgd.open-tech.com/sgd/tcc/java/ttalwG-jps.jar is read from JAR cache
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Checking if certificate is in Deployment session certificate store
    security: User has denied the priviledges to the code
    java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
    So I created another account and it works fine there. Compared permissions between the two accounts and they appear identical. Looks like it can't create the .tarantella directory in my home directory. Did have some home directory permission problems a couple weeks ago and used the utility on the Mac OSX install disk to reset home directory permissions and ACLs.
    Any suggestions greatly appreciated.
    Mark G.

    I probably should have included more of the java console output. This is output after what appears to be certificate checking:
    basic: Reading cached JAR file from JRE 1.5 release
    basic: Certificates for https://zsgd.open-tech.com/sgd/tcc/java/ttalwG-jps.jar is read from JAR cache
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Checking if certificate is in Deployment session certificate store
    security: User has denied the priviledges to the code
    java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
         at java.util.LinkedList.entry(LinkedList.java:368)
         at java.util.LinkedList.get(LinkedList.java:313)
         at com.sun.deploy.security.MacOSXTrustDecider.isAllPermissionGranted(MacOSXTrustDecider.java:163)
         at com.sun.deploy.security.MacOSXTrustDecider.isAllPermissionGranted(MacOSXTrustDecider.java:86)
         at com.sun.deploy.security.MacOSXTrustDecider.isAllPermissionGranted(MacOSXTrustDecider.java:79)
         at sun.plugin.security.PluginClassLoader.getPermissions(PluginClassLoader.java:146)
         at java.security.SecureClassLoader.getProtectionDomain(SecureClassLoader.java:192)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
         at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:147)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
         at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:119)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:605)
         at sun.applet.AppletPanel.createApplet(AppletPanel.java:723)
         at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1864)
         at jep.AppletFramePanel.createApplet(AppletFramePanel.java:189)
         at sun.applet.AppletPanel.runLoader(AppletPanel.java:652)
         at sun.applet.AppletPanel.run(AppletPanel.java:326)
         at jep.AppletFramePanel.run(AppletFramePanel.java:176)
         at java.lang.Thread.run(Thread.java:613)
    Tue Feb 17 16:43:26 CST 2009 JEP creating applet com.tarantella.tta.client.tcc.lwplugin.pluginG.TCCHelper (https://zsgd.open-tech.com/sgd/tcc/java/)
    java.security.AccessControlException: access denied (java.util.PropertyPermission user.home read)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
         at java.security.AccessController.checkPermission(AccessController.java:427)
         at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
         at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1285)
         at java.lang.System.getProperty(System.java:628)
         at com.tarantella.tta.client.tcc.lwplugin.qG.k.a(k.java)
         at com.tarantella.tta.client.tcc.lwplugin.qG.h.l(h.java)
         at com.tarantella.tta.client.tcc.lwplugin.qG.h.a(h.java)
         at com.tarantella.tta.client.tcc.lwplugin.qG.h.a(h.java)
         at com.tarantella.tta.client.tcc.lwplugin.qG.h.a(h.java)
         at com.tarantella.tta.client.tcc.lwplugin.pluginG.c.p(c.java)
         at com.tarantella.tta.client.tcc.lwplugin.pluginG.c.<init>(c.java)
         at com.tarantella.tta.client.tcc.lwplugin.pluginG.TCCHelper.run(TCCHelper.java)
         at java.lang.Thread.run(Thread.java:613)
    basic: Starting applet…

  • How do I enable opening firefox from two different computers sharing the same home directory without having to delete a lock file (linux).

    I just don't want to have to delete a lock file - which has a purpose - in order to use firefox simultaneously from two locations on the network - where the home directory, i.e. .mozilla directory - is located

    You need to use two separate profiles if you want to have two Firefox instances open at the same time.
    See also http://www.mozilla.org/unix/remote.html

  • Need to write/delete a file (token) to/from user's home directory

    I want to build a class that runs on Windows/Unix clients. It needs to get to users' home directories (both environments) and write the token on login, delete it on logout.
    What method (or code snipet) would get a user's home directory?
    What method (or code snipet) would write/delete a file from it?
    Thanks much

    Even if you are not writing an Applet, this is applicable. But I thot if you were, you might need this.
    See 'SignedAppletDemo.java'
    http://developer.java.sun.com/developer/technicalArticles/Security/Signed/

  • On 10.4.11 Mac Mail I get this: Mail cannot update your mailboxes because your home directory is full. You must free up space in your home folder before using Mail. Delete unnedded documents or move documents to another volume. I can't open mail.

    On 10.4.11 iMac Mac Mail I get this message: "Mail cannot update your mailboxes because your home directory is full. You must free up space in your home folder before using Mail. Delete unneeded documents or move documents to another volume." I can't open mail to do this. I have reinstalled software but no effect. How do I get into Mail to delete?

    Found this on the "more like this" Worked like a charm!
    With the Mail.app quit and using the Finder, go to Home > Library > Mail. Copy the Mail folder and place the copy on the Desktop for backup purposes.
    Go to Home > Library > Mail > Envelope Index. Move the Envelope Index file to the Desktop.
    Launch Mail and you will be prompted to import mailboxes. Select OK and allow the import process to complete.
    After confirming all mailboxes were successfully imported and available, you can delete the copy of the Mail folder and old Envelope Index file from the Desktop and this should resolve the problem.

  • Home directory is full - how do i delete?  It doesn't look full

    After my problems last week - i was able to reindex mail, but now I'm getting doubles of each email and then mail won't work because "my home directory is full"
    How do i delete? Does it mean my home folder on my mailbox account, or my iBook?
    Thanks, guys

    How did you reindex your mail?
    This error message indicates a problem with the Envelope Index file for the Mail.app.
    With the Mail.app quit and using the Finder go to Home > Library > Mail > Envelope Index.
    Delete the Envelope Index file and empty the Trash.
    Copy the Mail folder (which contained the Envelope index file) and place the copy on the Desktop for backup purposes.
    Launch Mail and you will be prompted to import all mailboxes in the Mail folder at Home > Library > Mail.
    Select OK and allow the import process to complete. This isn't really importing anything but replacing the deleted Envelope Index file and reindexing all mailboxes.
    This should resolve the "home directory is full" problem and after confirming all mailboxes and messages are available, you can delete the backup copy of the Mail folder placed on the Desktop.

  • Portable Home Directory no longer works on Lion bound to Active DirectoryAD

    Hi, All,
    I look after about 30 MacBook Air/Pro connected to a predominantly Windows corporate network.
    A few months back, I installed a MacOS Server running OpenDirectory and Software Update Services for managing the MacBooks - they are configured in the standard "magic triangle" configuration, bound both to the Active Directory (running on a handfull of Windows 2003-R2 servers) and OpenDirectory; they are configured to use the Mac Server for Software Updates, and with Portable Home Directories replicated on a network share point (through AFP) to keep a backup of the user's data.
    When all the MacBooks were running Snow Leopard, everything was running fine... but the last couple of laptops purchased came with Lion and they cannot synchronise their PHD's anymore :-(
    I have spent a lot of time trying to pin-point the problem, including replicating a whole test-network with its own AD/OD and client Snow-Leopard/Lion laptops to try various configurations... my conclusions so far are that:
    1- using Snow Leopard clients, it just works
    2- using a Lion client, when the network user account is configured in the default Users O.U. on Active Directory, it just works
    3- using a Lion client, when the network user account is configured in another O.U. than Users (e.g. Company-Name or External-Contractors), then the PHD syncinc doesn't work at all
    4- the failure symptoms are a popup window when trying to do a manual sync saying that "your network home at (null) does not allow writing" - if automatic syncing is configured through MCX, it just fails silently
    5- when PHD syncing fails, I can log on using the network account, manually mount the share point used for the network home in the Finder and read and write to it without a problem; so it' not a permission problem, but the fact that the network home directory is (null)
    6- I have traced the root cause to the FileSyncAgent process which raises an exception at startup - here's what I see as the salient lines from the logfile (i've edited out the username):
    0:: [12/02/07 12:45:00.512] ******************************************************************************
    0:: [12/02/07 12:45:00.512] FileSyncAgent-502.2 (r?, BUILT:?, PID:385, OS:11D50b, ARCH:x86_64-64) starting
    0:: [12/02/07 12:45:00.512] LA: FileSyncAgent -launchedByLaunchd -iDiskPlist
    0:: [12/02/07 12:45:00.512] ******************************************************************************
    0:: [12/02/07 12:45:00.512] Engineering log verbosity level = 1
    1:: [12/02/07 12:45:00.512] Registered isRunning port with name 'com.apple.FileSyncAgent.iDisk.isRunning'
    1:: [12/02/07 12:45:00.846] Temporary disk storage at "/Users/[USERNAME]/Library/Caches/Cleanup At Startup/FileSyncAgent-1727909307".
    1:: [12/02/07 12:45:00.846] UserAgentString = "DotMacKit-like, File-Sync-Direct/502.2.? (11D50b x86_64-64)"
    1:: [12/02/07 12:45:03.249] +[SSyncSet_PHD createPHDSyncSetForLocalPath:remoteHomeSpec:mountSuffixPath:name:]: Creating Sync Set with name "HomeSync_Mirror".
    1:: [12/02/07 12:45:03.249] -[SSyncSet_PHD _setupNewPHDSyncSetWithLocalPath:homeSpec:mountSuffixPath:]: We've been given local home path '/Users/[USERNAME]'.
    1:: [12/02/07 12:45:03.249] -[SSyncSet_PHD _setupNewPHDSyncSetWithLocalPath:homeSpec:mountSuffixPath:]: local home at "/Users/[USERNAME]"
    <PHD> 1:: [12/02/07 12:45:06.458] Added new sync set "HomeSync_Mirror".
    <PHD> 1:: [12/02/07 12:45:06.465] _incomingIPC: SFCreatePHDSyncSetMsgId (17) took 3.217627 seconds.
    <PHD> 1:: [12/02/07 12:45:06.526] Scheduling next sync of "HomeSync_Mirror" at 2012-02-07 12:45:16 +0000
    <PHD> 1:: [12/02/07 12:45:18.122] ==========================================================
    <PHD> 0:: [12/02/07 12:45:18.123] Starting automatic sync of "HomeSync_Mirror".
    <PHD> 1:: [12/02/07 12:45:18.126] Peer "local" reports changes since last sync.
    <PHD> 0:: [12/02/07 12:45:18.128] EXCEPTION: NilPtr <-[SPeer_FS_PHD mountPeerVolume] (Peer-FS-PHD.m:142): "'((homePath))' is nil">
    <PHD> 0:: [12/02/07 12:45:18.128] BACKTRACE: {
    <PHD> 0:: [12/02/07 12:45:18.128] ? | 0x105003493  
    <PHD> 0:: [12/02/07 12:45:18.128] ? | 0x104f70866  
    <PHD> 0:: [12/02/07 12:45:18.128] ? | 0x104f6fabd  
    <PHD> 0:: [12/02/07 12:45:18.128] ? | 0x104f6ecb4  
    <PHD> 0:: [12/02/07 12:45:18.128] ? | 0x7fff924bb74e
    <PHD> 0:: [12/02/07 12:45:18.128] ? | 0x7fff924bb6c6
    <PHD> 0:: [12/02/07 12:45:18.128] ? | 0x7fff901998bf
    <PHD> 0:: [12/02/07 12:45:18.128] ? | 0x7fff9019cb75
    <PHD> 0:: [12/02/07 12:45:18.128] }
    7- if I use the same user account from a Snow-Leopard client, the mountPeerVolume finds the remote home_dir, mounts it and happilly trawls through the two directories to figure out what needs to be copied; I get something along the lines of:
    0:: [12/02/08 18:44:15.344] Starting manual sync of "HomeSync_Mirror".
    1:: [12/02/08 18:44:15.363] -[SPeer_FS_PHD mountPeerVolume]: We've been given remote home path "/Volumes/[USERNAME]".
    1:: [12/02/08 18:44:15.363] -[SPeer_FS_PHD mountPeerVolume]: Remote home path exists.
    1:: [12/02/08 18:44:15.363] -[SPeer_FS_PHD mountPeerVolume]: Final path to PHD remote home root = "/Volumes[USERNAME]"
    8- if I use a Lion client and a user account configured in the Users O.U. on Active Directory, it works similarly well
    9- in the failing use-case, if I run a "dscl xxx -read /Users/xxx" to verify that the DirectoryServices deamon returns some information, all looks good: I get all my A.D. user details, including email config and network home_directory, the MCX payload, etc
    10- the only difference that I can see when running dscl between the "working use-case" and the "failing use-case" is that the Attribute for the network home directory is called HomeDirectory (working) or OriginalHomeDirectory (failing) - but the actual value is present and correct in both cases
    11- I have enabled SMB as well as AFP file sharing to ensure that it's not a protocol problem rather than the share point itself that causes problem - no difference
    12- I have upgraded the MacOS Server to 10.7.3 (from 10.7.2) - no difference
    13- I have upgraded the Lion client from 10.7.2 to 10.7.3 - no difference
    14- I have tried to manually configure the Directory Search path on the Lion client to map HomeDirectory to OriginalHomeDirectory - either the mapping didn't work or it's not the real cause of the problem, as again: no difference.
    15- I have contacted AppleCare, raised a case with all the details above, been escalated from level 1 to 2 and 3 - and basically have been told that customers have reported very similar problems & that no more detail is available to me as it is a Directory Services related problem - if I want to take it further with Apple, I need Enterprise OS Support (and hence $1000s per year - and no real guarantee of result)
    [thanks to anyone who's read until now]...
    So my questions are (as I can't believe that I'm the only one using "proper O.U.'s" for managing users in Active Directory):
    - has anyone experienced this before?
    - does someone know of a workaround (other than "stick to SnowLeo" or "redesign your whole A.D."!)?
    - can someone help me figure out where the FileSyncAgent process tries to get its remote home directory from - as this might point to a solution?
    Many thanks

    I was able to fix the issue here. Steps Taken:  From the comand line I ran
    dscl /Search read /Users/jdoe HomeDirectory
    It returned # No such key: HomeDirectory
    This was the big clue.... it should have returned
    HomeDirectory: <home_dir><url>afp://files.hihllc.lan/Users/jdoe</url><path>/</path></home_dir>
    I unbound the Mac from AD and ran the following command in terminal.
    dscacheutil -flushcache
    I then went into OS X sharing preferences and renamed the computer slightly, so it would create a new computer record in AD. I rebound the machine to AD making sure in Directory Utility Advanced, under User Experience that Force local home directory on start up disk was unchecked and Network protocol to be used was AFP.
    I then ran
    dscl /Search read /Users/jdoe HomeDirectory
    and it returned
    HomeDirectory: <home_dir><url>afp://files.hihllc.lan/Users/jdoe</url><path>/</path></home_dir>
    I had the user reboot... which was necessary. When he logged in HomeSync fired up. He had quite a few conflicts, so I told him to select use files on this computer for all conflicts.
    I checked the FileSyncAgent.logs and it was good.
    Let me know if this fixes your issue.
    Thanks,
    Ray

  • How to populate drop down list in infopath 2010 with form Active Directory resources.

    I want to populate drop down list in infopath 2010 with Active directory resources.
    Kindly let me know how to do this.

    Actually I posted an alternative approach, whoops. This is the Web service way, but both will work;
    http://blog.mangroveweb.com/pre-populating-an-infopath-from-with-mysql-data-using-a-net-web-service/using-sharepoints-getuserprofilebyname-web-service-to-retrieve-ad-account-information/
    w: http://www.the-north.com/sharepoint | t: @JMcAllisterCH | YouTube: http://www.youtube.com/user/JamieMcAllisterMVP

  • Can't delete folder I created in Home directory

    I created a music folder as an alternate to iTunes in my Home directory.  Recently it started acting funny: wouldn't open in finder, wouldn't allow me to rename it, and now won't let me move or delete it.  I tried unlocking it and checked that I have read and write priveleges.  Any suggestions?

    I'm guessing that Finder keeps .trash open to know wether or not files have been added to it and update the Dock icon, right?No.
    The visible 'Trash' you see in the finder is the union of all your trash folders. Each volume (potentially) contains a /.Trashes/ folder at its root level. Within that there are folders with UIDs as their name, 501 being the first 'normal user' and 0 being root. Your "/.Trashes/502" means you were booted from another volume at some time. However, that trash folder is empty, as you correctly deduced.
    Your "123 bytes .. /Users/name/.Trash" is not empty, however, because of the size. "123" is not a valid size, either (must be a multiple of 34). So you have directory problems on your hard disk—you need to fix that with Disk Repair, from Disk Utility while booted from your Install disk: see Using Disk Utility and fsck to resolve startup issues or perform disk maintenance.
    You will probably see an "Invalid Link Count" message, hopefully this is not so serious that Disk Utility can't repair it, but let us know.

Maybe you are looking for