The Samba-Bugzilla – Attachment 6334 Details for
Bug 8020
--acls does not honor --numeric-ids if UIDs do not match
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Don't send names for ACL IDs w/--numeric-ids option
acl-id.patch (text/plain), 723 bytes, created by
Wayne Davison
on 2011-03-18 21:57:13 UTC
(
hide
)
Description:
Don't send names for ACL IDs w/--numeric-ids option
Filename:
MIME Type:
Creator:
Wayne Davison
Created:
2011-03-18 21:57:13 UTC
Size:
723 bytes
patch
obsolete
>commit e71130fd7739562cd190a92d3f8bcbda02168892 >Author: Wayne Davison <wayned@samba.org> >Date: Fri Mar 18 14:42:28 2011 -0700 > > Don't send user/group names for ACLs with --numeric-ids. > Fixes bug 8020. > >diff --git a/acls.c b/acls.c >index 9fac3cd..e6f6088 100644 >--- a/acls.c >+++ b/acls.c >@@ -589,9 +589,9 @@ static void send_ida_entries(int f, const ida_entries *idal) > const char *name; > if (ida->access & NAME_IS_USER) { > xbits |= XFLAG_NAME_IS_USER; >- name = add_uid(ida->id); >+ name = numeric_ids ? NULL : add_uid(ida->id); > } else >- name = add_gid(ida->id); >+ name = numeric_ids ? NULL : add_gid(ida->id); > write_varint(f, ida->id); > if (inc_recurse && name) { > int len = strlen(name);
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
Actions:
View
Attachments on
bug 8020
:
6303
|
6304
| 6334