search for: info_ctr

Displaying 12 results from an estimated 12 matches for "info_ctr".

2013 Aug 19
3
rpcclient netshareenum 502 causes SEGV
..._AUTO_INHERIT_REQ SEC_DESC_SACL_PROTECTED SEC_DESC_RM_CONTROL_VALID SACL Segmentation fault (core dumped) I did a little poking and it seems that the issue is here: source3/rpcclient/cmd_srvsvc.c: 384 case 502: 385 for (i = 0; i < totalentries;i++) 386 display_share_info_502(&info_ctr.ctr.ctr502->array[i]); 387 break; Sorry for the formatting. But the NDR code yanks out 35 SHARE_INFO_502* * entries* *but the array size NDR code calculates only 34. Since "totalentries" is one entry too big, it causes rpcclient to go past the end of the ctr502 array and SEGV....
2018 Sep 12
2
eventlog functionality
Are you saying that it could be as simple as adding a case like this one headed up by a 'case 10:' ?                 case 1:                        werr = init_srv_sess_info_1(p,                                                     r->in.info_ctr->ctr.ctr1,                                                     r->in.resume_handle,                                                     r->out.totalentries);                         break; On Tuesday, 11 September 2018, 11:02:31 GMT-7, Andrew Bartlett via samba <samba at lists.sa...
2018 Sep 12
2
eventlog functionality
...samba wrote: >  Are you saying that it could be as simple as adding a case like this > one headed up by a 'case 10:' ? > > >                 case 1:                        werr = > init_srv_sess_info_1(p, >                                                     r->in.info_ctr- > >ctr.ctr1, >                                                     r- > >in.resume_handle, >                                                     r- > >out.totalentries); >                         break; > Like it, yes.  Filling in the right structure version/arm etc...
2013 Apr 12
0
net rpc share allowedusers fails half the time?
...ipe_open_noauth: opened pipe \srvsvc to machine cvision-pc and bound anonymously. srvsvc_NetShareEnumAll: struct srvsvc_NetShareEnumAll in: struct srvsvc_NetShareEnumAll server_unc : * server_unc : 'xxxxxxxxxx' info_ctr : * info_ctr: struct srvsvc_NetShareInfoCtr level : 0x00000001 (1) ctr : union srvsvc_NetShareCtr(case 1) ctr1 : * ctr1: st...
2020 Oct 28
1
segfault during net rpc printer migrate drivers
...? the command dumps core at the first driver Here a level10 output ???? spoolss_AddPrinterDriver: struct spoolss_AddPrinterDriver ??????? in: struct spoolss_AddPrinterDriver ??????????? servername?????????????? : * ??????????????? servername?????????????? : '\\127.0.0.1' ??????????? info_ctr???????????????? : * ??????????????? info_ctr: struct spoolss_AddDriverInfoCtr ??????????????????? level??????????????????? : 0x00000003 (3) ??????????????????? info???????????????????? : union spoolss_AddDriverInfo(case 3) ??????????????????? info3??????????????????? : * ?????????????????????...
2018 Apr 17
0
slow smbclient samba 4.7.x
...cli_rpc_pipe_open_noauth: opened pipe srvsvc to machine debian and bound anonymously. srvsvc_NetShareEnumAll: struct srvsvc_NetShareEnumAll in: struct srvsvc_NetShareEnumAll server_unc : * server_unc : 'debian' info_ctr : * info_ctr: struct srvsvc_NetShareInfoCtr level : 0x00000001 (1) ctr : union srvsvc_NetShareCtr(case 1) ctr1 : * ctr1: st...
2018 Sep 12
0
eventlog functionality
...samba wrote: >  Are you saying that it could be as simple as adding a case like this > one headed up by a 'case 10:' ? > > >                 case 1:                        werr = > init_srv_sess_info_1(p, >                                                     r->in.info_ctr- > >ctr.ctr1, >                                                     r- > >in.resume_handle, >                                                     r- > >out.totalentries); >                         break; > Like it, yes.  Filling in the right structure version/arm etc...
2018 Sep 12
0
eventlog functionality
...WERR_OK; > } > > /******************************************************************* 1481a1549,1555 > r->in.resume_handle, > r->out.totalentries); > break; > > case 10: > werr = init_srv_sess_info_10(p, > r->in.info_ctr->ctr.ctr10,
2018 Sep 12
2
eventlog functionality
On Wed, Sep 12, 2018 at 09:30:19AM -0700, Ray Klassen via samba wrote: > > and from the what the hell department. I did it. Comparing > > https://docs.microsoft.com/en-us/windows/desktop/api/lmshare/ns-lmshare-_session_info_1 > > > and > > https://docs.microsoft.com/en-us/windows/desktop/api/lmshare/ns-lmshare-_session_info_10 > > and > >
2018 Sep 12
1
eventlog functionality
On Wed, 2018-09-12 at 16:23 -0700, Ray Klassen via samba wrote: > On 2018-09-12 09:44 AM, Jeremy Allison via samba wrote: > > > > On Wed, Sep 12, 2018 at 09:30:19AM -0700, Ray Klassen via samba > > wrote: > > > > > > > > > and from the what the hell department. I did it. Comparing > > > > > >
2018 Sep 11
2
eventlog functionality
so I sent you the dump separately. and i tried a persistent drive mapping to \\DC\netlogon which I figured should create a more permanent session as you described. That worked the same. On Tuesday, 11 September 2018, 08:21:50 GMT-7, Andrew Bartlett via samba <samba at lists.samba.org> wrote: On Tue, 2018-09-11 at 15:14 +0000, ray klassen via samba wrote: >   > Yes, after
2012 Nov 05
7
VFS ACL with SMB2
Hello, I have a question because POSIX ACL with SMB2 max protocol does not work properly.Did you test VFS xattr acls with SMB2 max protocol? Is it working corectly? Best regards/Adrian Berlin --