search for: base_name

Displaying 20 results from an estimated 38 matches for "base_name".

2016 Aug 29
1
Issue with acl_xattr:ignore system acls in 4.5rc2
...blob); > > /* determine which type of xattr we got */ > switch (xattr_version) { > @@ -550,8 +550,8 @@ static NTSTATUS get_nt_acl_internal(vfs_handle_struct *handle, > "mismatch (%u) for file %s\n", > (unsigned int)hash_type, > smb_fname->base_name)); > - TALLOC_FREE(psd); > - psd = NULL; > + TALLOC_FREE(psd_blob); > + psd_blob = NULL; > goto out; > } > > @@ -561,8 +561,8 @@ static NTSTATUS get_nt_acl_internal(vfs_handle_struct *handle, > "(%u) unexpected for file %s\n", > (unsi...
2016 Aug 27
2
Issue with acl_xattr:ignore system acls in 4.5rc2
On Fri, Aug 26, 2016 at 04:03:49PM -0700, Jeremy Allison wrote: > On Fri, Aug 26, 2016 at 02:46:19PM -0700, Jeremy Allison via samba wrote: > > On Fri, Aug 26, 2016 at 06:44:05PM +0200, Ralph Böhme wrote: > > > > > > Cheerio! > > > -slow > > > > Still reviewing this - but a few things that will need changing: > > > > When adding the
2016 Aug 26
2
Issue with acl_xattr:ignore system acls in 4.5rc2
...ate_nt_acl_blob() has debug statements: 688 DEBUG(10, ("get_nt_acl_internal: ACL blob revision " 689 "mismatch (%u) for file %s\n", 690 (unsigned int)hash_type, 691 smb_fname->base_name)); 692 TALLOC_FREE(psd_blob); 693 return NT_STATUS_OK; 694 } 695 696 /* determine which type of xattr we got */ 697 if (hash_type != XATTR_SD_HASH_TYPE_SHA256) { 698 DEBUG(10, ("get_nt_acl_internal: ACL blob hash t...
2016 Aug 26
2
Issue with acl_xattr:ignore system acls in 4.5rc2
On Fri, Aug 26, 2016 at 06:33:26PM +0200, Ralph Böhme via samba wrote: > On Thu, Aug 25, 2016 at 12:14:00PM -0700, Jeremy Allison wrote: > > On Wed, Aug 24, 2016 at 04:06:42PM +0200, Ralph Böhme via samba wrote: > > > > > > Yeah, as much as I'd like to avoid adding a new option, I guess we > > > have to do something about it, my latest take on this is >
2019 Jun 14
1
Update 4.10.2 to 4.10.4: Cant create files in subdirectorie anymore
...h): ?? ??? ? ??? ??? ?file_name_hash: /top1/share/sub_dir hash 0xe1a55ab3 4213(open_directory): ?? ??? ? ??? ??? ?Not opening Directory sub_dir 130(dbwrap_lock_order_lock): ?? ??? ?bwrap_lock_order_lock: check lock order 1 for locking.tdb -- servicepath:?? ??? ??? ??? ??? ??? ?'/top1/share' base_name:?? ??? ??? ??? ??? ??? ??? ?* base_name:?? ??? ??? ??? ??? ??? ??? ?'sub_dir' stream_name:?? ??? ??? ??? ??? ??? ?NULL num_share_modes ? ? ? ? ?? ??? ??? ?0x00000001 (1): ?? ??? ? extid:?? ??? ??? ??? ??? ??? ??? ??? ?0x0000000000000000 (0): ?? ??? ? 157(share_mode_memcache_delete):?? ?shar...
2016 Jan 06
1
wide links and privileges
...ng in the samba's source code: The function which interests us here deals with the file names, there is an `if` statement: source3/smbd/filename.c: ``` * @param smbreq SMB request if we're using privileges. [...] if (!smbreq) { status = check_name(conn, (*pp_smb_fname)->base_name); } else { status = check_name_with_privilege(conn, smbreq, (*pp_smb_fname)->base_name); } ``` which redirects us to the `check_name` or the `check_name_with_privilege` function. which themselves respectively redirects to the `check_reduced_name` and `check_reduced_name_with_pri...
2016 Jan 06
3
wide links and privileges
...function which interests us here deals with the file names, there is > an `if` statement: > > source3/smbd/filename.c: > ``` > * @param smbreq SMB request if we're using privileges. > [...] > if (!smbreq) { > status = check_name(conn, (*pp_smb_fname)->base_name); > } else { > status = check_name_with_privilege(conn, smbreq, > (*pp_smb_fname)->base_name); > } > ``` > > which redirects us to the `check_name` or the > `check_name_with_privilege` function. > which themselves respectively redirects to the `check_r...
2016 May 13
2
How to debug if LTO generate wrong code?
...= DEF(CLANG38_X64_PREFIX)clang *_CLANGLTO38_X64_RC_PATH = DEF(GCC53_X64_PREFIX)objcopy *_CLANGLTO38_X64_CC_FLAGS = -c -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-array-bounds -Wno-empty-body -ffunction-sections -fdata-sections -include AutoGen.h -DSTRING_ARRAY_NAME=$(BASE_NAME)Strings -fno-stack-protector -fno-builtin -mms-bitfields -Wno-address -Wno-shift-negative-value -Wno-parentheses-equality -Wno-unknown-pragmas -Wno-tautological-constant-out-of-range-compare -Wno-incompatible-library-redeclaration -target x86_64-pc-linux-gnu -fno-asynchronous-unwind-tables -m64 -Wn...
2007 Jul 21
0
[1127] trunk/wxruby2: Move shared C++ GC functions into separate file included into wx.i
...#39;' </span><span class="cx"> $swig_minimum_version = ''1.3.29'' </span><span class="cx"> </span><span class="lines">@@ -224,8 +224,7 @@ </span><span class="cx"> def create_swig_helper_task(base_name) </span><span class="cx"> cpp_file = cpp_file(base_name) </span><span class="cx"> swig_file = special_swig_file(base_name) </span><del>- - file(cpp_file => swig_file) do |t| </del><ins>+ file(cpp_file => swi...
2014 Mar 02
0
3/2/2014 Samba4 git pull make clean error
...ools/wafadmin/Utils.py", line 647, in recurse exec(compile(txt, file_path, 'exec'), dc) File "/usr/local/samba-master/pidl/lib/wscript_build", line 32, in <module> flat=False) File "./buildtools/wafsamba/wafsamba.py", line 762, in INSTALL_FILES base_name=base_name) File "./buildtools/wafsamba/wafsamba.py", line 738, in install_file dest = os.path.join(destdir, destname) File "/usr/local/lib/python2.7/posixpath.py", line 77, in join elif path == '' or path.endswith('/'): AttributeError: 'list'...
2005 Dec 15
6
passing parameters to link_to OR better way to do this?
...l go and read a file and munge the data for a separate presentation. The code below shows me trying a variation of something I found, but I''m unable to get any parameters through to the action.: rhtml ====== <% @logs.each do |log| %> <tr> <td><%= log.base_name %></td> <td><%= log.date_time %></td> <td><%= log.status %></td> <td><%= log.test_run_path %></td> <td><%= link_to log.test_results_path, :action => "show_results", :id => o, :params => { :res...
2015 Dec 22
6
wide links and privileges
Hi, I'm using samba version samba-4.1.6+dfsg included in last ubuntu LTS version. Here is my smb.conf file: [global] # configuration du serveur netbios name = scribe workgroup = dompedago server string = scribe preferred master = yes domain logons = yes security = user ldap passwd sync = yes passdb backend =
2016 Jan 07
0
wide links and privileges
...function which interests us here deals with the file names, there is > an `if` statement: > > source3/smbd/filename.c: > ``` >  * @param smbreq    SMB request if we're using privileges. > [...] >     if (!smbreq) { >         status = check_name(conn, (*pp_smb_fname)->base_name); >     } else { >         status = check_name_with_privilege(conn, smbreq, > (*pp_smb_fname)->base_name); >     } > ``` > > which redirects us to the `check_name` or the > `check_name_with_privilege` function. > which themselves respectively redirects to the `check_re...
2015 Apr 18
2
Samba 4 slow write
Hi all, On Thu, Apr 16, 2015 at 03:00:49PM -0700, Jeremy Allison wrote: > On Thu, Apr 16, 2015 at 08:42:48PM +0200, Ervin Heged?s wrote: > > Dear Samba users, > > > > here is an Ubuntu 14.04, with Samba 4 (4.1.6), and LDAP (slapd > > 2.4.31). The config came from a previous system (Debian Squeezy), > > which had been crashed (HW error - on this new machine,
2007 Aug 24
2
[git patch] klibc bzero, mount fixes + random stuff
...nal_defers(void) { struct deferment *d; int link_res; @@ -720,7 +707,7 @@ copyin_regular_file(struct new_cpio_header *file_hdr, int in_file_des) NAME has no file name components because it is all slashes, return NAME if it is empty, the address of its last slash otherwise. */ -char *base_name(char const *name) +static char *base_name(char const *name) { char const *base = name + FILE_SYSTEM_PREFIX_LEN(name); char const *p; @@ -752,7 +739,7 @@ char *base_name(char const *name) value returned by base_name. Act like strlen (NAME), except omit redundant trailing slashes. */...
2007 Jun 25
0
[1067] trunk/wxruby2: Set up event handlers in Ruby rather than by post-processing SWIG output
...uot;RubyConstants" </span><span class="lines">@@ -258,21 +256,6 @@ </span><span class="cx"> end </span><span class="cx"> end </span><span class="cx"> </span><del>-def create_swig_event_task(base_name) - cpp_file = cpp_file(base_name) - swig_file = special_swig_file(base_name) - events_src = File.join %w|swig classes include events.rb| - fixevents = File.join($swig_dir, "fixevents.rb") - - - file( cpp_file => [ swig_file, events_src, fixevents ] ) do | t | - do...
2011 Aug 06
1
3.5.9: logon scripts are not working under non root user
...bat Intermediate not found ancor-srv but it's parsing correctly when login under root user unix_convert called on file "logon.bat" unix_convert begin: name = logon.bat, dirpath = , start = logon.bat stat_cache_add: Added entry (21f694e0:size 9) LOGON.BAT -> logon.bat conversion of base_name finished logon.bat -> logon.bat check_reduced_name [logon.bat] [/mnt/750g/netlogon] check_reduced_name: logon.bat reduced to /mnt/750g/netlogon/logon.bat call_trans2qfilepathinfo logon.bat (fnum = -1) level=1004 call=5 total_data=0 Please help! parts from config and debug logs are below...
2015 Apr 20
0
Samba 4 slow write
...ess_rights: root override " "on %s. Granting 0x%x\n", smb_fname_str_dbg(smb_fname), (unsigned int)access_mask )); return NT_STATUS_OK; } ... status = SMB_VFS_GET_NT_ACL(conn, smb_fname->base_name, (SECINFO_OWNER | SECINFO_GROUP | SECINFO_DACL), talloc_tos(), &sd); ?[2]? perf top call graph: ?1.49% libc-2.6.1.so [.] __geteuid | --- __geteuid uwrap_geteuid assert_uid set_unix_security_ctx set_sec_ctx set_root_sec_ctx...
2020 May 14
0
open 2nd pdf on dfs share with Acrobat Reader not possible
...: + { + char *nfname = NULL; + + if (!fsp->conn->sconn->using_smb2) { + return NT_STATUS_INVALID_LEVEL; + } + + nfname = talloc_strdup(mem_ctx, smb_fname->base_name); + if (nfname == NULL) { + return NT_STATUS_NO_MEMORY; + } + + if (ISDOT(nfname)) { + nfname[0] = '\0'; + } + string_rep...
2018 Oct 16
2
high cpu load with share_conflict on browsing and opening files
...ctive(1017, 1003), real(1017, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug) d: struct share_mode_data sequence_number : 0x0fd86cb424e915bc (1141782026507589052) servicepath : * servicepath : '/home/quality' base_name : * base_name : '.' stream_name : NULL num_share_modes : 0x00000004 (4) share_modes: ARRAY(4) share_modes: struct share_mode_entry pid: struct server_id...