ldap user (user@domain) modify

in virtualmin-pro 3.56

When i use in "Server Templates" -> template -> "Mail for domain" -> "Format for usernames that include domain" set up "username.domain" all was OK. But when i decide to change "Format for usernames that include domain" set up "username@domain" and i add new domain and mail users on this with this template all ok . Error was apeare when i try to modify users to example i try to modify password.

-------------------------------error------------------------------------
Failed to save mailbox : Failed to modify user in LDAP database : value of naming attribute 'uid' is not present in entry
Call Stack Trace
File Line Function
/usr/libexec/webmin/ldap-useradmin/ldap-useradmin-lib.pl 321 ldap_useradmin::error
(eval 111) 2 ldap_useradmin::modify_user
/usr/libexec/webmin/web-lib-funcs.pl 2212 (eval)
/usr/libexec/webmin/virtual-server/virtual-server-lib-funcs.pl 1129 virtual_server::foreign_call
/usr/libexec/webmin/virtual-server/save_user.cgi 579 virtual_server::modify_user
(eval 79) 6 (eval)
/usr/libexec/webmin/miniserv.pl 2105 (eval)
/usr/libexec/webmin/miniserv.pl 733 miniserv::handle_request
-------------------------------------------------------------------------

if you need some config or backtrace ask me.

thank you.

Status: 
Closed (fixed)