employeenumber: 3123283622 telephonenumber: 666-767-2000 userpassword: faginm123 dn: mail=maryx@foowi.com,

employeenumber: 3123283622 telephonenumber: 666-767-2000 userpassword: faginm123 dn: mail=maryx@foowi.com, ou=Marketing, o=Foo Widgets, c=us cn: Mary sn: Xeyed objectclass: top objectclass: person objectclass: organizationalPerson objectclass: inetOrgPerson mail: maryx@foowi.com ou: Marketing employeenumber: 3223453622 telephonenumber: 111-767-2000 userpassword: maryx123 Also, if we use OpenLDAP for running the application, so as to effect access control, we need to add the following lines to slapd.conf and restart slapd: access to attr=userPassword by self write by anonymous auth by * none access to * by self write by dn=”cn=Admin,o=Foo Widgets,c=us” write by * read The first block indicates that any user can modify their own password and can bind anonymously to the server to authenticate against the password stored in the respository. The second block indicates that a given user can modify their attributes and so can the admin user. It also indicates that all users have read only access to all other attributes of all other entities thereby allowing any user to search the directory. For more information on access control in OpenLDAP, see the OpenLDAP administrator’s guide: http://www.openldap.org/doc/admin/. Page 524

Hint: If you are looking for high quality and reliable webspace provider to host and run your jsp hosting application check Sandzak jsp web hosting provider

Comments are closed.