search for: check_nam

Displaying 20 results from an estimated 34 matches for "check_nam".

Did you mean: check_name
2004 Mar 05
0
Problem w. SAMBA as dfs root
...oplock request = 3 [2004/03/05 19:23:33, 8] lib/util.c:is_in_path(1474) is_in_path: inoupd [2004/03/05 19:23:33, 8] lib/util.c:is_in_path(1478) is_in_path: no name list. [2004/03/05 19:23:33, 3] lib/util.c:unix_clean_name(580) unix_clean_name [inoupd] [2004/03/05 19:23:33, 3] smbd/filename.c:check_name(423) check_name: denied: file path name inoupd is a symlink [2004/03/05 19:23:33, 5] smbd/filename.c:check_name(430) check_name on inoupd failed [2004/03/05 19:23:33, 5] smbd/files.c:file_free(385) freed files structure 13412 (0 used) [2004/03/05 19:23:33, 10] smbd/trans2.c:set_bad_path_erro...
2004 Mar 10
1
Please help me with configuring samba as Dfs root !
...oplock request = 3 [2004/03/05 19:23:33, 8] lib/util.c:is_in_path(1474) is_in_path: inoupd [2004/03/05 19:23:33, 8] lib/util.c:is_in_path(1478) is_in_path: no name list. [2004/03/05 19:23:33, 3] lib/util.c:unix_clean_name(580) unix_clean_name [inoupd] [2004/03/05 19:23:33, 3] smbd/filename.c:check_name(423) check_name: denied: file path name inoupd is a symlink [2004/03/05 19:23:33, 5] smbd/filename.c:check_name(430) check_name on inoupd failed [2004/03/05 19:23:33, 5] smbd/files.c:file_free(385) freed files structure 13412 (0 used) [2004/03/05 19:23:33, 10] smbd/trans2.c:set_bad_path_erro...
2016 Jan 06
1
wide links and privileges
...s` parameter. Let me show you something 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_n...
2016 Nov 04
3
Fix sharing ACL
...folder, I view it in the Samba log: [2016/11/04 14:56:05.180028, 3] ../source3/smbd/vfs.c:1214(check_reduced_name) check_reduced_name: couldn't get realpath for New Folder [2016/11/04 14:56:05.180054, 3] ../source3/smbd/filename.c:1426(filename_convert_internal) filename_convert_internal: check_name failed for name New Folder with NT_STATUS_UNSUCCESSFUL [2016/11/04 14:56:05.180073, 3] ../source3/smbd/smb2_server.c:3098(smbd_smb2_request_error_ex) smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_UNSUCCESSFUL] || at ../source3/smbd/smb2_create.c:293 [2016/11/0...
2016 Jan 06
3
wide links and privileges
...9;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 r...
2017 Apr 19
3
Modules Shadow Copy and Full Audit
On Mon, 2017-04-03 at 13:36 +0000, Ricardo Pardim Claus via samba wrote: > Gentlemen,  > > Can anyone tell me if the modules below are working normally in versions later than 4.4.5? > > Shadow Copy service What problems were you facing with shadow_copy2 module in later versions? >   > full_audit > I'm in version 4.4.5. However, when I had to use these modules, they
2016 Nov 01
3
Fix sharing ACL
>> After mapping the Administrator of the domain, as root on unix, the >> Administrator lost access to sharing the fileserver. When trying to >> access the system asked for authentication but does not authenticate. >> When I comment the following line in smb.conf, the share opens >> normally: >> >> username map = /etc/samba/user.map >> >
2004 Apr 01
1
[patch] net/rsync: problems in client name lookup code
...sizeof ss; - ssp = &ss; + socklen_t ss_len = sizeof ss; client_sockaddr(fd, &ss, &ss_len); - + ss.ss_len = ss_len; } - if (!lookup_name(fd, ssp, ss_len, name_buf, sizeof name_buf, + if (!lookup_name(fd, &ss, name_buf, sizeof name_buf, port_buf, sizeof port_buf)) - check_name(fd, ssp, name_buf); + check_name(fd, &ss, name_buf); return name_buf; } @@ -216,14 +216,13 @@ void client_sockaddr(int fd, * @param fd file descriptor for client socket. **/ int lookup_name(int fd, const struct sockaddr_storage *ss, - socklen_t ss_len, char *name_buf, size_t nam...
2002 Apr 02
3
getaddrinfo() problem with AIX 4.3.3 and rsync 2.5.2?
I had to apply the following patch to the clientname.c check_name() function before I could successfully use "hosts allow" in rsyncd.conf. Without the patch I kept getting "rsync: forward name lookup for ... failed: Host not found" errors. These errors were produced by the rsync daemon, and putting in a debugging statement revealed that the...
2015 Jan 16
1
Samba behaves differently than windows with layered-directory permissions
..._component CC (len 2) ? [2015/01/16 20:10:20.848764, 5, pid=14604, effective(2021341, 2000514), real(2021341, 0)] ../source3/smbd/filename.c:816(unix_convert) New file CC [2015/01/16 20:10:20.848830, 5, pid=14604, effective(2021341, 2000514), real(2021341, 0)] ../source3/smbd/filename.c:1050(check_name) check_name: name AA/BB/CC failed with NT_STATUS_ACCESS_DENIED [2015/01/16 20:10:20.848885, 3, pid=14604, effective(2021341, 2000514), real(2021341, 0)] ../source3/smbd/filename.c:1402(filename_convert_internal) filename_convert_internal: check_name failed for name AA/BB/CC with NT_STATUS_...
2007 Jul 07
0
Branch 'as' - 7 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_super.c libswfdec/swfdec_as_super.h libswfdec/swfdec_as_with.c test/trace
...getvariable + extends +}; +One.prototype.foo = function () { + trace (super); + trace ("foo: 1"); +}; +Two.prototype.foo = function () { + super.foo (); + trace ("foo: 2"); +}; +Four.prototype.foo = function () { + super.foo (); + trace ("foo: 4"); +}; +function check_name (fun) { + if (fun === One) + trace ("One"); + else if (fun === Two) + trace ("Two"); + else if (fun === Three) + trace ("Three"); + else if (fun === Four) + trace ("Four"); + else + trace (fun); +}; +check_name (One.prototype.constructor)...
2017 Apr 28
2
Problems with the Full Audit module
> It should work, have you tried changing the order, or just using full_audit ? I have enabled the line below: Vfs objects = acl_xattr I disabled all other modules, I just left full_audit. The problem is even when I leave only the full_audit enabled.
2003 Dec 09
1
Make Fails on Cobalt Qube 2
...AMEREQD' undeclared (first use this function) clientname.c:229: `NI_NUMERICSERV' undeclared (first use this function) clientname.c:234: warning: implicit declaration of function `gai_strerror' clientname.c:234: warning: format argument is not a pointer (arg 4) clientname.c: In function `check_name': clientname.c:329: warning: format argument is not a pointer (arg 4) make: *** [clientname.o] Error 1 Does anyone have any idea what I could do to get this to compile? Thanks, Randy **************************************************************************************** Note: The info...
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 =
2006 Apr 03
0
new box, won''t boot domU
...dompath, True, priv) File "/opt/xen-3.0-testing.hg/dist/install/usr/lib/python/xen/xend/XendDomainInfo.py", line 433, in __init__ self.validateInfo() File "/opt/xen-3.0-testing.hg/dist/install/usr/lib/python/xen/xend/XendDomainInfo.py", line 564, in validateInfo self.check_name(self.info[''name'']) File "/opt/xen-3.0-testing.hg/dist/install/usr/lib/python/xen/xend/XendDomainInfo.py", line 1139, in check_name raise VmError("VM name ''%s'' is used in both domains %d and %d" % VmError: VM name ''Domain-8'...
2017 Oct 31
2
OS X 10.4.11 Tiger cannot write to Samba 4.5.12 file server with vfs_fruit enabled
...s2findfirst) call_trans2findfirst: dirtype = 16, maxentries = 4, close_after_first=1, close_if_end = 1 requires_resume_key = 1 backup_priv = 0 level = 0x104, max_data_bytes = 16644 [2017/10/30 22:39:09.911404, 3] ../source3/smbd/filename.c:1615(filename_convert_internal) filename_convert_internal: check_name failed for name ._.BC.B4iVrC with NT_STATUS_OBJECT_NAME_NOT_FOUND [2017/10/30 22:39:09.911426, 3] ../source3/smbd/error.c:82(error_packet_set) NT error packet at ../source3/smbd/trans2.c(2716) cmd=50 (SMBtrans2) NT_STATUS_OBJECT_NAME_NOT_FOUND [2017/10/30 22:39:09.912428, 3] ../source3/smbd/proc...
2016 Jan 07
0
wide links and privileges
...#39;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 re...
2003 May 13
2
Samba 2.2.8a smbd/vfs.c:reduce_name not handling sym links correctly
...e_test1.bat, leaving out the disk2 component. [2003/05/12 11:50:12, 3, pid=18558] smbd/vfs.c:(574) vfs_ChDir to /vobstore/disk2/OC192 [2003/05/12 11:50:12, 2, pid=18558] smbd/vfs.c:(864) Bad access attemt? disk2/OC192/syee_test1.bat is a symlink outside the share pathcall_trans2qfilepathinfo: check_name of disk2/OC192/syee_test1.bat failed (Error 0) The very odd part is that if the symlink is an absolute symlink, it works fine. Just to confuse things further, if I reproduce this structure on another server, it never appears to call reduce_name -- it just goes ahead and reads the file. The patt...
2003 Apr 24
2
msdfs problems
...m watching the samba logs, I've noticed that each time I try to click on the folders under the dfs drive, many messages get logged, but foremost, I see this: NT_STATUS_OBJECT_PATH_NOT_FOUND "[2003/04/23 17:39:06, 3] smbd/trans2.c:call_trans2qfilepathinfo(1707) call_trans2qfilepathinfo: check_name of prog failed (Error 0) [2003/04/23 17:39:06, 3] smbd/error.c:error_packet(113) error packet at smbd/trans2.c(1709) cmd=50 (SMBtrans2) NT_STATUS_OBJECT_PATH_NOT_FOUND [2003/04/23 17:39:06, 5] lib/util.c:show_msg(275)" That's what is logged when I try to access the dfs shares from wor...
2016 May 03
1
filename_convert_internal: checkname failed NT_STATUS_INVALID_PARAMETER
..._reduced_name [PENDRIVE/*] [/media] [2016/05/03 11:10:23.908245, 3] ../source3/smbd/vfs.c:1215(check_reduced_name) check_reduced_name: couldn't get realpath for PENDRIVE/* [2016/05/03 11:10:23.908302, 3] ../source3/smbd/filename.c:1431(filename_convert_internal) filename_convert_internal: check_name failed for name PENDRIVE/* with NT_STATUS_INVALID_PARAMETER [2016/05/03 11:10:23.908363, 3] ../source3/smbd/error.c:82(error_packet_set) NT error packet at ../source3/smbd/trans2.c(2568) cmd=50 (SMBtrans2) NT_STATUS_INVALID_PARAMETER included below are excerpts from the log.hostname from both...