No such user or group

when I try to share folder in own cloud as admin privilege when I enter the name of user or Group After a while it shows no such user or group available. But the user and group can be login without any problem old shares are working fine anybody has a solution?