Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 230591 Details for
Bug 336991
autofs should match LDAP wildcard entries with "*" as the key as well as "/"
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch to allow for older schemas that allow "*" as a key value.
autofs-5.0.2-ldap-check-star.patch (text/plain), 812 bytes, created by
Ian Kent
on 2007-10-18 02:58:09 UTC
(
hide
)
Description:
Patch to allow for older schemas that allow "*" as a key value.
Filename:
MIME Type:
Creator:
Ian Kent
Created:
2007-10-18 02:58:09 UTC
Size:
812 bytes
patch
obsolete
>diff --git a/modules/lookup_ldap.c b/modules/lookup_ldap.c >index d5e666b..a7b315e 100644 >--- a/modules/lookup_ldap.c >+++ b/modules/lookup_ldap.c >@@ -1500,7 +1500,7 @@ static int lookup_one(struct autofs_point *ap, > *qKey = '/'; > > /* Build a query string. */ >- l = strlen(class) + 2*strlen(entry) + strlen(qKey) + 29; >+ l = strlen(class) + 3*strlen(entry) + strlen(qKey) + 35; > > query = alloca(l); > if (query == NULL) { >@@ -1514,7 +1514,7 @@ static int lookup_one(struct autofs_point *ap, > * whose entry is equal to qKey. > */ > ql = sprintf(query, >- "(&(objectclass=%s)(|(%s=%s)(%s=/)))", class, entry, qKey, entry); >+ "(&(objectclass=%s)(|(%s=%s)(%s=/)(%s=\\2A)))", class, entry, qKey, entry, entry); > if (ql >= l) { > error(ap->logopt, > MODPREFIX "error forming query string");
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 336991
: 230591