search for: dbg_err

Displaying 20 results from an estimated 21 matches for "dbg_err".

Did you mean: dbg_dir
2020 Feb 24
1
vfs fruit disk_free fails on tmsize overflow with macOS Time Machine
...spbian show that this does indeed fix the issue for me. The diff for the patch is --- source3/modules/vfs_fruit.c 2019-10-24 15:15:00.000000000 +0000 +++ source3/modules/vfs_fruit.c 2020-02-18 19:54:00.000000000 +0000 @@ -6971,18 +6971,7 @@ return true; } - if (bandsize > SIZE_MAX/nbands) { - DBG_ERR("tmsize overflow: bandsize [%zu] nbands [%zu]\n", - bandsize, nbands); - return false; - } - tm_size = bandsize * nbands; - - if (state->total_size + tm_size < state->total_size) { - DBG_ERR("tmsize overflow: bandsize [%zu] nbands [%zu]\n", - bandsize, nbands); - return...
2019 Sep 27
1
Browsing shares of a server
...ated by the smbcient libraries trying > to send an SMB1 writev request to a server that only supports > SMB2 or above. From our code: > > libcli/smb/smbXcli_base.c:smb1cli_req_writev_submit() > > if (state->conn->protocol > PROTOCOL_NT1) { > DBG_ERR("called for dialect[%s] server[%s]\n", > smb_protocol_types_string(state->conn->protocol), > smbXcli_conn_remote_name(state->conn)); > return NT_STATUS_REVISION_MISMATCH; > } > > Have y...
2024 Jul 24
1
new DC via clone..
...nd configuration. Figuring out the > delta between the two configurations is beyond my current knowledge. And mine. > > My goal was very, very simple. In line 630 of > source4/samba/process_prefork.c I wanted to add the service name in > order to make visible, what service failed: DBG_ERR("Parent %d, Child > %d, Service %s exited with status %d\n", getpid(), pid, > rc->service_name, status); Whilst this sounds very easy to do, to do it correctly you would need to know just where 'process_prefork.c' ends up, what particular part of Samba uses it, once that...
2016 Aug 26
2
Loading shared RPC modules failed
> On Fri, Aug 26, 2016 at 12:19:30PM -0400, Thomas Schulz via samba wrote: > > I am testing Samba 4.5.0rc2 on a Solaris 10 i386 box. log.smbd contains > > a new message/error that does not show up on Samba 4.4.5. The error is: > > > > [2016/08/26 11:45:54.886237, 0] > > ../source3/rpc_server/rpc_service_setup.c:539(dcesrv_ep_setup) > > dcesrv_ep_setup:
2024 Jul 24
1
new DC via clone..
...sion matching the installed version and configuration. Figuring out the delta between the two configurations is beyond my current knowledge. My goal was very, very simple. In line 630 of source4/samba/process_prefork.c I wanted to add the service name in order to make visible, what service failed: DBG_ERR("Parent %d, Child %d, Service %s exited with status %d\n", getpid(), pid, rc->service_name, status); Maybe someone can pick these suggestions up. Regards, Joachim > -----Urspr?ngliche Nachricht----- > Von: samba <samba-bounces at lists.samba.org> Im Auftrag von Rowland...
2019 Sep 27
5
Browsing shares of a server
On 9/27/19 1:32 PM, Rowland penny via samba wrote: ....snippity... > I repeat, smbclient never had anything to do with network browsing, so > it is unlikely to have anything to do with Network Discovery. Perhaps > you are thinking of libsmbclient ? this can be used by other packages to > provide network browsing. > > You could always code up what you require and propose it as
2020 May 28
2
NEG_CONN_CACHE questions
On Wednesday, 27 May 2020 16:21:31 PDT Jeremy Allison wrote: > On Wed, May 27, 2020 at 12:54:49PM -0700, Alexey A Nikitin via samba wrote: > > 3. Are the rules for how a DC gets put into NEG_CONN_CACHE documented anywhere besides the code itself, or wading through the code is my only option of getting to know the criteria? > > Only in the code I think, added in: > >
2024 Jul 25
2
new DC via clone..
...> delta between the two configurations is beyond my current knowledge. > > And mine. > > > > > My goal was very, very simple. In line 630 of > > source4/samba/process_prefork.c I wanted to add the service name in > > order to make visible, what service failed: DBG_ERR("Parent %d, Child > > %d, Service %s exited with status %d\n", getpid(), pid, > > rc->service_name, status); > > Whilst this sounds very easy to do, to do it correctly you would need to know > just where 'process_prefork.c' ends up, what particular part of...
2016 Jun 08
0
dfree is broken on this system
...ize,dsize_q); > } > > Can you add DEBUG statements to see what is > going on in Solaris 10 here ? I added debuging as follows: --- dfree.c.orig 2016-02-09 04:40:29.000000000 -0500 +++ dfree.c 2016-06-08 11:48:05.267240000 -0400 @@ -121,12 +121,19 @@ DBG_ERR("VFS disk_free failed. Error was : %s\n", strerror(errno)); return (uint64_t)-1; } + if (!dfree_broken) { + DEBUG (0, ("dsize %u bsize %u dfree %u \n", (*dsize), (*bsize), (*dfree) )); + } + if (...
2019 Sep 27
0
Browsing shares of a server
...EVISION_MISMATCH This error is generated by the smbcient libraries trying to send an SMB1 writev request to a server that only supports SMB2 or above. From our code: libcli/smb/smbXcli_base.c:smb1cli_req_writev_submit() if (state->conn->protocol > PROTOCOL_NT1) { DBG_ERR("called for dialect[%s] server[%s]\n", smb_protocol_types_string(state->conn->protocol), smbXcli_conn_remote_name(state->conn)); return NT_STATUS_REVISION_MISMATCH; } Have you explicitly requested SMB2 in yo...
2019 Nov 28
0
security=domain fails after upgr. to 4.9, winbind doesn't help
...rom here: ??? if (wbc_status == WBC_ERR_WINBIND_NOT_AVAILABLE) { ??? ??? struct pdb_trusted_domain **domains = NULL; ??? ??? uint32_t num_domains = 0; ??? ??? NTSTATUS status; ??? ??? if (lp_server_role() == ROLE_DOMAIN_MEMBER) { ??? ??? ??? status = NT_STATUS_NO_LOGON_SERVERS; ??? ??? ??? DBG_ERR("winbindd not running - " ??? ??? ??? ??? "but required as domain member: %s\n", ??? ??? ??? ??? nt_errstr(status)); ??? ??? ??? return status; ??? ??? } So your server doesn't seem to be able to find winbindd, are you sure it is running ? What does this show: ps ax...
2020 May 28
0
NEG_CONN_CACHE questions
...existing one is busy with some request? 'winbind max domain connections' causes the parent winbindd to chose the winbindd child with the shortest queue to talk to. Then it sends an async tevent_req request to that child. I don't think it's opening a new connection to the DC. Add DBG_ERR() (log level 0) statements into the places you are suspicious of and try and follow the control flow.
2016 Jun 09
0
dfree is broken on this system
...Can you add DEBUG statements to see what is >> going on in Solaris 10 here ? > > I added debuging as follows: > > --- dfree.c.orig 2016-02-09 04:40:29.000000000 -0500 > +++ dfree.c 2016-06-08 11:48:05.267240000 -0400 > @@ -121,12 +121,19 @@ > DBG_ERR("VFS disk_free failed. Error was : %s\n", > strerror(errno)); > return (uint64_t)-1; > } > > + if (!dfree_broken) { > + DEBUG (0, ("dsize %u bsize %u dfree %u \n", (*dsize), (*bsize), (*dfree...
2024 Jul 23
1
new DC via clone..
On Tue, 23 Jul 2024 15:45:21 +0200 Joachim Lindenberg via samba <samba at lists.samba.org> wrote: > in an attempt to analyze the misbehaviour of my clone I compiled > samba (version 4.19.7) from sources, following > https://wiki.samba.org/index.php/Build_Samba_from_Source#make. When I > entered "make install" however, it started a new compile/link with > even more
2016 Aug 26
2
Issue with acl_xattr:ignore system acls in 4.5rc2
...on_config { > + bool ignore_system_acls; > +}; > + > +static bool init_acl_common_config(vfs_handle_struct *handle) > +{ > + struct acl_common_config *config = NULL; > + > + config = talloc_zero(handle->conn, struct acl_common_config); > + if (config == NULL) { > + DBG_ERR("talloc_zero() failed\n"); > + errno = ENOMEM; > + return false; > + } > + > + config->ignore_system_acls = lp_parm_bool(SNUM(handle->conn), > + ACL_MODULE_NAME, > + "ignore system acls", > + false); > + > + SMB_VFS_HAND...
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 Nov 28
2
security=domain fails after upgr. to 4.9, winbind doesn't help
Hi Rowland, > Remove 'map untrusted to domain = Yes', it has been removed. > > Add 'domain logons = Yes' > > This gets it back to being a PDC: thanks for the hints! I did that, but it doesn't help. I guess the problem is not on the PDC server but on SERVER2. That's the one that got upgraded and stopped working (even with the non-pdc config of SERVER1). I
2016 Aug 29
1
Issue with acl_xattr:ignore system acls in 4.5rc2
...on_config { > + bool ignore_system_acls; > +}; > + > +static bool init_acl_common_config(vfs_handle_struct *handle) > +{ > + struct acl_common_config *config = NULL; > + > + config = talloc_zero(handle->conn, struct acl_common_config); > + if (config == NULL) { > + DBG_ERR("talloc_zero() failed\n"); > + errno = ENOMEM; > + return false; > + } > + > + config->ignore_system_acls = lp_parm_bool(SNUM(handle->conn), > + ACL_MODULE_NAME, > + "ignore system acls", > + false); > + > + SMB_VFS_HAND...
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
2020 May 29
15
[RFC 00/12] Audio DSP VirtIO and vhost drivers
This patch set is a follow up to "Add a vhost RPMsg API" [1], it is marked as an RFC because firstly it depends on the RPMsg API series and secondly it is currently being reviewed on ALSA and SOF mailing lists, but any early comments from virtualisation developers would be highly appreciated too! Thanks Guennadi [1]