I  built a basic ldap  server which is now working fine . It presently has very few attributes for each of the  entries in the database .
one of the records now looks like  this :

dn: uid=test,ou=People,dc=example,dc=com
uid: test
cn: test
objectClass: account
objectClass: posixAccount
objectClass: top
objectClass: shadowAccount
userPassword: {crypt}$1$XViJ4WIc$KIn0R0tQnYaKglIOI5Koj.
shadowLastChange: 13925
shadowMax: 99999
shadowWarning: 7
loginShell: /bin/bash
uidNumber: 506
gidNumber: 506
homeDirectory: /home/test
How do I add further attributes like surname , email , street name etc to it ?  Where should I make the modifications for these things to be added to the database  ?