VMware vSphere

 View Only
  • 1.  Backup of permissions for Active Directory users

    Posted May 16, 2011 03:07 PM

    Hi,

    is there any way (e.g. via vim-cmd), to backup permission settings pertaining to AD users?

    I've got a dc that's sometimes briefly failing and anytime that happens, my esxi forgets/looses all permissions for AD users, so that I have to manually input them again afterwards.

    :smileyangry:

    Or does anyone have another tip for me, that might help preventing the loss of permission setttings for AD users?

    Thanks in advance!



  • 2.  RE: Backup of permissions for Active Directory users

    Posted May 16, 2011 03:35 PM


  • 3.  RE: Backup of permissions for Active Directory users

    Posted May 17, 2011 06:45 AM

    Thanks for the reply!



  • 4.  RE: Backup of permissions for Active Directory users
    Best Answer

    Broadcom Employee
    Posted May 16, 2011 05:00 PM

    I would investigate why your DC is falling over, as it seems that is causing the initial problems. afaik, once the permissions have been applied, they should persists, but since your DC is falling over, I can't really say what the expected outcome is. You may want to take a look at logs to see if it requires DC to be available to keep the roles/etc.

    In any case, if you need to quickly redeploy the rules using vim-cmd, take a look a this blog post - http://www.virtuallyghetto.com/2011/02/automating-active-directory-user.html

    These permisisons should be stored under /etc/vmware/hostd/authorization.xml, so you technically could just backup this file and restore if needed. You'll probably have to either restart hostd process or the host for the changes to take effect



  • 5.  RE: Backup of permissions for Active Directory users

    Posted May 17, 2011 06:45 AM

    Thanks lamw, that is exactly what I have been looking for!

    :smileyhappy: