Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

So:

File A On Location A With Permissions A

to

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

1 Answer 1

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: blogs.technet.com/b/filecab/archive/2008/07/31/… 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

 
discard

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.