search for: connectpath

Displaying 20 results from an estimated 28 matches for "connectpath".

2005 Dec 05
1
Strange automount problem with samba & LDAP
...newton automountd[18951]: [ID 293258 daemon.warning] libsldap: Status: 7 Mesg: Session error no available conn. Dec 5 15:49:30 newton last message repeated 11 times Also following code segment I added to smbd/service.c does not work and prints failure for both cases: code=stat(conn->connectpath,mystatus); if(code) DEBUG(0,("stat to (%s) failed!\n",conn->connectpath)); else DEBUG(0,("stat to (%s) suceeded.\n",conn->connectpath)); code=S_ISDIR(mystatus->st_mode); if(!code) DEBUG(0,(&...
2011 Sep 17
1
vfs_shadow_copy2 doesn't seem to work with basedir of /
...itting this code in vfs_shadow_copy2.c, but I don't really understand what it's doing: mattcen at adam:samba$ nl -ba samba-3.5.6~dfsg/source3/modules/vfs_shadow_copy2.c | sed -n 376,383p 376 /* some sanity checks */ 377 if (strncmp(basedir, handle->conn->connectpath, baselen) != 0 || 378 (handle->conn->connectpath[baselen] != 0 && handle->conn->connectpath[baselen] != '/')) { 379 DEBUG(0,("convert_shadow2_name: basedir %s is not a parent of %s\n", 380 b...
2020 Aug 28
1
samba
...OS 7 and Samba 4.10.4 I have had many entries in /var/log/messages that look like this: -- Aug 28 10:22:27 luigi2 smbd[118071]: [2020/08/28 10:22:27.284420,? 0] ../../source3/modules/vfs_default.c:1287(vfswrap_fsctl) Aug 28 10:22:27 luigi2 smbd[118071]:? FSCTL_GET_SHADOW_COPY_DATA: connectpath /shares/documents/<share>, failed - NT_STATUS_ACCESS_DENIED. Aug 28 10:24:29 luigi2 smbd[127904]: [2020/08/28 10:24:29.937661,? 0] ../../source3/modules/vfs_shadow_copy2.c:2159(shadow_copy2_get_shadow_copy_data) Aug 28 10:24:29 luigi2 smbd[127904]:? access denied on listing...
2004 Jan 07
0
Win2K3 ADS and Samba 3.0.1: Cannot access shares even with IP
...#if CHECK_PATH_ON_TCONX /* win2000 does not check the permissions on the directory during the tree connect, instead relying on permission check during individual operations. To match this behaviour I have disabled this chdir check (tridge) */ if (vfs_ChDir(conn,conn->connectpath) != 0) { DEBUG(0,("%s (%s) Can't change directory to %s (%s)\n", get_remote_machine_name(), conn->client_address, conn->connectpath,strerror(errno))); change_to_root_user(); yield_connection(conn, lp_servicename(SNUM(conn)));...
2000 May 10
0
patche for samba-2.0.7/source/smbd/conn.c
...i = cth.num_open; + cth.biggest_in_use = i; + } + } + + + conn->cnum = i; + cth.Connections[i] = conn; + cth.num_open++; + + string_set(&conn->user,""); + string_set(&conn->dirpath,""); + string_set(&conn->connectpath,""); + string_set(&conn->origpath,""); + - ZERO_STRUCTP(conn); - conn->cnum = i; - - bitmap_set(bmap, i); - - num_open++; - - string_set(&conn->user,""); - string_set(&conn->dirpath,""); - string_set(&conn->connectpath,...
2000 May 22
1
Inherit Permissions addition
...this in a production environment for a couple weeks now without any issues (Redhat 6.1). I've only studied the Samba source code for 14 hours or so -- there may be some efficiencies that your more experienced eyes can add to my patch (i.e.. is it necessary to build a full path out of conn->connectpath and conn->dirpath for the dos_stat? or would dos_stat 'ing the conn->dirpath be sufficient?). I also have not modified any documentation. By the way, this is my first contribution to an open source software project. Thank you for the opportunity to help advance such a valuable project....
2012 Oct 31
0
help with shadow copy implementation
.... I have referred the official how-to but couldn't get it to work. I see these messages in the logs. Any help is deeply appreciated. - What should be value of shadow:snapdir? [2012/10/31 12:20:53.549863, 0] smbd/nttrans.c:2170(call_nt_transact_ioctl) FSCTL_GET_SHADOW_COPY_DATA: connectpath /fs/test-01, failed. [2012/10/31 12:21:13.887198, 0] modules/vfs_shadow_copy2.c:734(shadow_copy2_get_shadow_copy2_data) shadow:snapdir not found for /fs/test-01 in get_shadow_copy_data [2012/10/31 12:21:13.887265, 0] smbd/nttrans.c:2170(call_nt_transact_ioctl) FSCTL_GET_SHADOW_COPY_DATA: conn...
2002 Jul 31
16
Trying to debug a WinXP - Win2000 ADSproblem..HELP!
Now I could be way of base here, but I run 2 samba web servers with approx 8 people working with them. So my exp is limited. When I got here the boxes were set up with server level security and I had tons of problems with them. When I reformatted the units, I actually joined the samba boxes to the domain and set the security to "domain" I found these steps in an old version of Linux-Mag,
2016 Jul 06
1
"No previous versions" - GPFS 3.5 and shadow_copy2
...6 10:07:35.613416, 0] ../source3/modules/vfs_shadow_copy2.c:1380(shadow_copy2_get_shadow_copy_data) access denied on listing snapdir /gpfs/prd/groupspace/ic/admin/ict/.snapshots [2016/07/06 10:07:35.613434, 0] ../source3/modules/vfs_default.c:1145(vfswrap_fsctl) FSCTL_GET_SHADOW_COPY_DATA: connectpath /gpfs/prd/groupspace/ic, failed - NT_STATUS_ACCESS_DENIED. [2016/07/06 10:07:47.648557, 3] ../source3/smbd/service.c:1138(close_cnum) x.x.x.x (ipv4:x.x.x.x:51298) closed connection to service IPC$ That's a sample log excerpt from when I increased log level to 10 on a dev machine in the s...
2020 Jun 05
3
It seems to have bug for @group to set in valid or invalid conf
...lass=vfs] ../../source3/smbd/vfs.c:65(vfs_find_backend_ vfs_find_backend_entry called for /[Default VFS]/ Successfully loaded vfs module [/[Default VFS]/] with the new modules system [2020/06/05 16:40:40.672789, 10, pid=2781, effective(0, 0), real(0, 0)] ../../source3/smbd/service.c:70(set_conn_connectpath) set_conn_connectpath: service IPC$, connectpath = /tmpfs/tmp [2020/06/05 16:40:40.672815, 10, pid=2781, effective(0, 0), real(0, 0)] ../../source3/smbd/share_access.c:220(user_ok_token) user_ok_token: share IPC$ is ok for unix user bbb [2020/06/05 16:40:40.672840, 10, pid=2781, effective(0, 0)...
2013 Mar 07
1
Samba 4 classicupgrade: Error converting string to value for line:"CurrentVersion"
...pts doing parameter read only = No Processing section "[sysvol]" add_a_service: Creating snum = 16 for sysvol hash_a_service: hashing index 16 for service name sysvol doing parameter path = /usr/local/samba/var/locks/sysvol doing parameter read only = No pm_process() returned Yes set_conn_connectpath: service (null), connectpath = / Initialising default vfs hooks vfs_find_backend_entry called for posixacl Successfully added vfs backend 'posixacl' vfs_find_backend_entry called for /[Default VFS]/ Successfully added vfs backend '/[Default VFS]/' vfs_find_backend_entry called for d...
2004 Nov 27
0
Samba 3.x problem setting up DFS and XP2
...:18, 4] smbd/open.c:open_file_shared1(1244) calling open_file with flags=0x0 flags2=0x0 mode=0644 ...... call_nt_transact_ioctl: function[0x00144064] FID[0x1C57] isFSctl[0x01] compfilter[0x00] [2004/11/26 00:19:18, 5] smbd/nttrans.c:call_nt_transact_ioctl(2159) FSCTL_GET_SHADOW_COPY_DATA: connectpath /usr/local/samba/exports/dfsroot, not supported. [2004/11/26 00:19:18, 3] smbd/error.c:error_packet(105) error string = Die angeforderte Funktion ist nicht implementiert [2004/11/26 00:19:18, 3] smbd/error.c:error_packet(129) error packet at smbd/nttrans.c(2160) cmd=160 (SMBnttrans) NT_STAT...
2017 Jan 04
0
[Announce] Samba 4.4.9 Available for Download
...----------- o Michael Adam <obnox at samba.org> * BUG 12404: vfs:glusterfs: Preallocate result for glfs_realpath. o Jeremy Allison <jra at samba.org> * BUG 12299: Fix unitialized variable warnings in smbd open.c and close.c. * BUG 12387: s3: vfs: streams_depot. Use conn->connectpath not conn->cwd. * BUG 12436: s3/smbd: Fix the last resort check that sets the file type attribute. o Andrew Bartlett <abartlet at samba.org> * BUG 12395: build: Fix build with perl on debian sid. o Ralph Boehme <slow at samba.org> * BUG 12412: Fix typo in vfs_fruit:...
2017 Jan 04
0
[Announce] Samba 4.4.9 Available for Download
...----------- o Michael Adam <obnox at samba.org> * BUG 12404: vfs:glusterfs: Preallocate result for glfs_realpath. o Jeremy Allison <jra at samba.org> * BUG 12299: Fix unitialized variable warnings in smbd open.c and close.c. * BUG 12387: s3: vfs: streams_depot. Use conn->connectpath not conn->cwd. * BUG 12436: s3/smbd: Fix the last resort check that sets the file type attribute. o Andrew Bartlett <abartlet at samba.org> * BUG 12395: build: Fix build with perl on debian sid. o Ralph Boehme <slow at samba.org> * BUG 12412: Fix typo in vfs_fruit:...
2020 Oct 16
1
azure ad provisioning | password hashes sync
...43:47.320326, 10, pid=25360, effective(0, 0), real(0, 0)] ../../source3/smbd/share_access.c:238(user_ok_token) > user_ok_token: share IPC$ is ok for unix user DOM\azuresyncadm > [2020/10/16 13:43:47.320412, 10, pid=25360, effective(0, 0), real(0, 0)] ../../source3/smbd/service.c:70(set_conn_connectpath) > set_conn_connectpath: service IPC$, connectpath = /tmp > [2020/10/16 13:43:47.320472, 3, pid=25360, effective(0, 0), real(0, 0)] ../../source3/smbd/service.c:631(make_connection_snum) Could it be that the error already happens before samba tries to do anything like GetNCChanges? (sinc...
2014 Mar 28
1
shadow_copy2 not working
...e timestamps I've got below will help with debugging? Thanks in advance for help Tom [2014/03/28 15:41:16.130561, 10, pid=4037, effective(0, 0), real(0, 0)] ../source3/modules/vfs_shadow_copy2.c:1741(shadow_copy2_connect) ../source3/modules/vfs_shadow_copy2.c:1741: cnum[697285368], connectpath[/home/TekShare] [2014/03/28 15:41:16.130808, 10, pid=4037, effective(0, 0), real(0, 0)] ../source3/modules/vfs_shadow_copy2.c:1953(shadow_copy2_connect) shadow_copy2_connect: configuration: share root: '/home/TekShare' basedir: '/home/TekShare' mountpoint: '/home...
2016 Dec 07
0
[Announce] Samba 4.5.2 Available for Download
...--------- o Michael Adam <obnox at samba.org> * BUG 12404: vfs:glusterfs: Preallocate result for glfs_realpath. o Jeremy Allison <jra at samba.org> * BUG 12384: s3: vfs: Remove files/directories after the streams are deleted. * BUG 12387: s3: vfs_streams_depot: Use conn->connectpath not conn->cwd. * BUG 12436: s3/smbd: Fix the last resort check that sets the file type attribute. o Andrew Bartlett <abartlet at samba.org> * BUG 9954: dsdb: Create RID Set as SYSTEM. * BUG 12297: dbcheck: Correct message for orphaned backlinks. * BUG 12395: build: Fix b...
2016 Dec 07
0
[Announce] Samba 4.5.2 Available for Download
...--------- o Michael Adam <obnox at samba.org> * BUG 12404: vfs:glusterfs: Preallocate result for glfs_realpath. o Jeremy Allison <jra at samba.org> * BUG 12384: s3: vfs: Remove files/directories after the streams are deleted. * BUG 12387: s3: vfs_streams_depot: Use conn->connectpath not conn->cwd. * BUG 12436: s3/smbd: Fix the last resort check that sets the file type attribute. o Andrew Bartlett <abartlet at samba.org> * BUG 9954: dsdb: Create RID Set as SYSTEM. * BUG 12297: dbcheck: Correct message for orphaned backlinks. * BUG 12395: build: Fix b...
2020 Oct 15
2
azure ad provisioning | password hashes sync
Hi, Reading the microsoft troubleshooting guide, it seems that password hash sync issues can be caused by: > The Active Directory account used by Azure AD Connect to communicate > with on-premises Active Directory is not granted Replicate Directory > Changes and Replicate Directory Changes All permissions, which are > required for password synchronization. How to verify existance or
2010 Jul 07
1
The specified server can't perform the requested operation. Problem Accessing samba from windows 7 and vista
...ebug_unix_user_token) UNIX token of user 1192239557 Primary group is 1192231425 and contains 0 supplementary groups [2010/07/07 12:53:44.908069, 5] smbd/uid.c:354(change_to_user) change_to_user uid=(0,1192239557) gid=(0,1192231425) [2010/07/07 12:53:44.908144, 10] smbd/service.c:163(set_conn_connectpath) set_conn_connectpath: service IPC$, connectpath = /tmp [2010/07/07 12:53:44.908178, 3] smbd/service.c:1069(make_connection_snum) hst-pcs-2000076 (172.16.2.143) connect to service IPC$ initially as user RAJU\pa72635 (uid=1192239557, gid=1192231425) (pid 20602) [2010/07/07 12:53:44.908211, 3]...