search for: user_prefix

Displaying 5 results from an estimated 5 matches for "user_prefix".

Did you mean: user_pref
2016 Dec 01
3
[PATCH v2 1/2] xattrs: Skip security.evm extended attribute
...--- xattrs.c | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/xattrs.c b/xattrs.c index b105392..3b72e61 100644 --- a/xattrs.c +++ b/xattrs.c @@ -255,6 +255,9 @@ static int rsync_xal_get(const char *fname, item_list *xalp) if (user_only ? !HAS_PREFIX(name, USER_PREFIX) : HAS_PREFIX(name, SYSTEM_PREFIX)) continue; + + if (!strcmp(name, "security.evm")) + continue; #endif /* No rsync.%FOO attributes are copied w/o 2 -X options. */ @@ -358,6 +361,9 @@ int copy_xattrs(const char *source, const char *dest) if (user_only ? !HAS_PREF...
2006 Mar 05
2
ActiveLDAP maintain user connection
...ous controller queries are made. I haven''t quite sorted out how to do that. Does anyone have any examples of code to do this, or a documentation pointer? <pre><code> class User < ActiveLDAP::Base ldap_mapping :dnattr => ''uid'', :prefix => USER_PREFIX, :classes => [ ''top'', ''shadowAccount'', ''posixAccount'', ''person'', ''inetOrgPerson'', ''OXUserObject'', ''organizationalPerson'' ]...
2006 Mar 18
6
ActiveLDAP and variable sub scope object writing
...e.com,PREFIX entry each time I create a user, but I can''t figure out how to get ActiveLDAP to let me do that. I had tried doing something like creating another model like this: class Addr < ActiveLDAP::Base ldap_mapping :dnattr => ''ou=addr,uid'', :prefix => USER_PREFIX, :classes => [ ''top'', ''organizationalUnit'' ] end And modifying the base.rb code for ActiveLDAP with a goofy hack to allow setting this sort of :dnattr value, but it picks up all the methods and attributes of a user object, so I can''t quite do...
2017 Oct 31
2
[Bug 13112] New: receive_xattr heap overread with non null terminated name and xattr filter
https://bugzilla.samba.org/show_bug.cgi?id=13112 Bug ID: 13112 Summary: receive_xattr heap overread with non null terminated name and xattr filter Product: rsync Version: 3.1.3 Hardware: All OS: All Status: NEW Severity: normal Priority: P5 Component: core
2017 Oct 31
0
[Bug 13113] New: receive_xattr heap overflow when prepending RSYNC_PREFIX
...we're running as a normal user (am_root == 0) and the sender has sent a filter with an xattr filter then the prefix will also be prepended. 840 #ifdef HAVE_LINUX_XATTRS 841 /* Non-root can only save the user namespace. */ 842 if (am_root <= 0 && !HAS_PREFIX(name, USER_PREFIX)) { 843 if (!am_root && !saw_xattr_filter) { 844 free(ptr); 845 continue; 846 } 847 name -= RPRE_LEN; 848 name_len += RPRE_LEN; 849 memcpy(name, RSYNC_PREFIX, RPRE_LEN); 850 need_...