Re: How to ensure case sensitive authorisation?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ankur Agarwal wrote:
Hi,
In our LDAP I have a userID = "aagarwal" existing. My application authenticates successfully when i provide username as "aagarwal" or even as "*A*agarwal". Is there a way to ensure case-sensitive authentcation? In documentation i see some plugins :

Case Exact String Syntax Plug-in and
Case Ignore String Syntax Plug-in
Any idea if these are to be used to enforce case sensitive authentication? If yes then how to configure these?
I would strongly discourage you from using the plugins to do this. The problem is that the attribute "uid" is not case sensitive. You could hack the server to make this case sensitive, but the better option is to use another attribute. Either find one or create your own e.g. uidcs or something like that. If you just really, really, really must have the LDAP standard "uid" attribute be case sensitive, and I have not been able to discourage you enough from doing this, then you can hack the schema file 00core.ldif and change the syntax to use the case sensitive string syntax.
regards,
Ankur
------------------------------------------------------------------------
The fish are biting.
Get more visitors <http://us.rd.yahoo.com/evt=49679/*http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php?o=US2140&cmp=Yahoo&ctv=Q107Tagline&s=Y&s2=EM&b=50> on your site using Yahoo! Search Marketing. <http://us.rd.yahoo.com/evt=49679/*http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php?o=US2140&cmp=Yahoo&ctv=Q107Tagline&s=Y&s2=EM&b=50>
------------------------------------------------------------------------

--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux