LDAP & Ubuntu : user id's

view full story

http://serverfault.com – I've got two web servers which hosts the very same content, and I replicate data between these two servers (including ownership and permissions). As it is right now, whenever I create a new user on server A I have to create the same user on server B with the same uid and gid (for replicated file ownership and permissions to be right). However, I am considering moving to LDAP to make this a bit easier. I'm not quite sure how LDAP will work though. Does LDAP integrate directly with the OS? That is, does LDAP users also have uid's and gid's just as 'local' users have? Do I just create LDAP user (HowTos)