Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am moving resources from Mac and Unix boxes onto our windows storage server. I need to replicate permissions from Mac and Unix using the users active directory equivalent.


File A On Location A With Permissions A


File A On Location B With Permissions B

Permission B is the active directory equivalent of the ldap permissions on unix.

Any idea on how I should go about this?

share|improve this question
up vote 1 down vote accepted

I would install Samba, which understands both unix & windows permissions. The next step would be to get the owenerships/permissions syncronized to they way that you want them to be on the AD/Windows side. Next, you could then use something like robocopy or xxcopy to transfer the files via the samba share to their final destination. These programs have the capability of retaining file ownership & permissions while copying files (and timestamps).

share|improve this answer
I copy using xcopy, and robocopy xcopy throws errors and robocopy does not keep permissions when they are copied. – Anicho Jul 17 '10 at 13:20
Okay robocopy I followed:… seems to have transferred permissions now I just need to map windows ad users to the correct ldap user permissions. – Anicho Jul 17 '10 at 14:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.