I have found the problem. I'm not shure if its a bug or not. Here is the solution: the field gidnumber of the user information MUST be iqual to the field uidnumber. Thanks to all. Regars Miguel Carvalho