# How change the way class.accounts\_ldap.inc save the information on Openldap

**URL:** <https://help.egroupware.org/t/how-change-the-way-class-accounts-ldap-inc-save-the-information-on-openldap/45519>\
**Category:** eGW-users\
**Created:** [February 10, 2011, 7:28am UTC](https://help.egroupware.org/t/how-change-the-way-class-accounts-ldap-inc-save-the-information-on-openldap/45519 "2011-02-10T07:28:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![giorgiolago](https://help.egroupware.org/letter_avatar_proxy/v4/letter/g/edb3f5/32.png) [@giorgiolago](https://help.egroupware.org/u/giorgiolago)\
**Post date:** [February 10, 2011, 7:28am UTC](https://help.egroupware.org/t/how-change-the-way-class-accounts-ldap-inc-save-the-information-on-openldap/45519/1 "2011-02-10T07:28:50Z")

</div>

hello friends, I use an openldap server wich iredmail solution, where users have a distinct name as follows: dn: mail = giorgio@domain.tld, ou = Users, domainName = doimain.tld, o = domains, dc = domain, dc = tld My systems work with this structure, when the egroupware modify any information on the User, the egroupware stores the information by modifying the old structure like this: ’ dn: uid=giorgio,ou=Users,domainName=doimain.tld,o=domains,dc=domain,dc=tld My question is, how to modify the class.accounts\_ldap.inc so that it saves the data as mail=user@domain.tld and not uid= user. For more information read this topics witch pics of problemam [http://www.iredmail.org/forum/topic1636-integration-with-egroupware-18-comunity-problems.html](http://www.iredmail.org/forum/topic1636-integration-with-egroupware-18-comunity-problems.html) thx all ps: sorry my english is soo bad
