Migrate the Users

As I had lots of problems in my initial installation, I have done one more fresh installation on another server. I had granted the edit rights to specific users on specific pages in the initial setup. As the rights can be granted only when the user has logged in at least once. Is there anyway by which I can bring the users from old to new setup. I don’t want to ask my users to login so that I can grant them the rights again. I have configured LDAP for login.

If I import the user profiles in new isntallation, would it be clean ? or will create some probs ?

Usually the strategy is to manage rights using groups and then setup a mapping between XWiki groups and LDAP groups so that new users automatically have the proper right when access the wiki or the first time.