[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Security-Authentication??


In this connection I would like to give the example of Netscape
Directory Server installed in my organization. When a user wants to
access his entry , he is prompted for login name and password.
The way the user is granted login to his database is probably the
uid is prepended to the base DN , to make up the DN for that user,
in the following manner :

dn:uid=xyz,dc=alpha,dc=example,dc=com - password being whatever
password user supplies. Assuming that the base DN is dc=alpha,

There is a mention about this in the Netscape Directory Server

There could also be another mechanism by which OpenLDAP server
'serves' the /etc/passwd database - I am not sure how it works .

Hope this helps and not entirely irrelevant to the question .


Anita Suriarajan wrote:
> Hello,
>    I need to be asked for the password when i try to access the entry in the
> directory, How do i go about it??
>  I have included access control specifier in the slapd.conf file and each
> entry in the directory is having userPassword attribute and what shud i need
> to do, to go furthur??
> slapd.conf:
> access to attrs=userPassword,telephoneNumber
>        by self write
>        by anonymous auth
>        by dn="cn=Admin,dc=iperia,dc=com" write
>        by * none
> access to *
>        by self write
>        by dn="cn=Admin,dc=iperia,dc=com" write
>        by * read
> and each entry is like
> dn: cn=xyz abc,ou=Sales,ou=Employees,dc=iperia,dc=com
> objectClass: Top
> objectClass: organizationalUnit
> objectClass: person
> userPassword: {crypt}xyz
> ou: Sales
> cn: xyz
> sn: abc
> Thanx
> Anita