The Samba-Bugzilla – Attachment 5803 Details for
Bug 7528
Solaris with NIS autohome
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch.
look (text/plain), 536 bytes, created by
Jeremy Allison
on 2010-06-21 15:23:39 UTC
(
hide
)
Description:
Proposed patch.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2010-06-21 15:23:39 UTC
Size:
536 bytes
patch
obsolete
>diff --git a/source3/lib/util.c b/source3/lib/util.c >index 88e4557..d7e765d 100644 >--- a/source3/lib/util.c >+++ b/source3/lib/util.c >@@ -1253,6 +1253,9 @@ char *automount_lookup(TALLOC_CTX *ctx, const char *user_name) > if ((nis_error = yp_match(nis_domain, nis_map, user_name, > strlen(user_name), &nis_result, > &nis_result_len)) == 0) { >+ if (nis_result_len > 0 && nis_result[nis_result_len] == '\n') { >+ nis_result[nis_result_len] = '\0'; >+ } > value = talloc_strdup(ctx, nis_result); > if (!value) { > return NULL;
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 Raw
Flags:
obnox
:
review+
Actions:
View
Attachments on
bug 7528
: 5803