I'm pretty new to Enterprise Linux administration, and I need to find the best way to move user accounts and their /home directories to a new server. The current setup uses NFS to mount the /home and /var/www directories. I need to move everything to a local machine (so no more NFS).
My problem is that I can't seem to find anything relating to LDAP authentication and changing from NFS to locally mounted directories.
Would I be able to use rsync to move the /home and /var/www directories without totally screwing up the user permissions, or would i have to move the /etc/passwd and /etc/shadow directories too? I know that rsync offers a way to sync permissions, but I'm worried that since we authenticate with LDAP, it might somehow change the UID/GID of the users that are getting moved.
Thanks.