I've got two webservers which takes part in a load balanced setup. The two webservers are in other words mirrors of each other.
As it is right now I'm synchronizing data between these two servers using lsyncd + csync2. Directories and files, along with ownership and permissions, are thus replicated between the two servers upon create, update and delete.
However, when I add a user to one of the servers I need to manually add that users with the same UID (and GUI) on the other server.
What is the easiest way to make sure that when I add a new user on server A, that user is also created on user B with the same UID + GID? Do I really need to set up LDAP and do all the work related to that; or is there an easier way to achieve this?