Ok sorry but the massages from this board are landing in my spam folder that i have see the answers and question today.
The problem was that i have a wrong setting. the error was that I had set in the pat.d common session and all other files that manage the login the following. session optional pam_krb5.so minimum_uid=1000 It must by the same id what i have set in my smb.conf The range from my idmap that was 3000000-4000000. Also i have set my pam properties to session optional pam_krb5.so minimum_uid=300000-4000000. And i can use passwd to change my localun unix aeé session optional pam_krb5.so minimum_uid=3000000-400000 And this in all files. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1855758 Title: error when connecting to smb server To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1855758/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs