Displaying 15 results from an estimated 15 matches for "resume_handle".
2018 Sep 12
0
eventlog functionality
...> /***/
>
966a969,1033
> fill in a sess info level 10 structure.
> ********************************************************************/
>
> static WERROR init_srv_sess_info_10(struct pipes_struct *p,
> struct srvsvc_NetSessCtr10 *ctr10,
> uint32_t *resume_handle_p,
> uint32_t *total_entries)
> {
> struct sessionid *session_list;
> uint32_t num_entries = 0;
> time_t now = time(NULL);
> uint32_t resume_handle = resume_handle_p ? *resume_handle_p : 0;
>
> ZERO_STRUCTP(ctr10);
>
> if (ctr10 == NULL) {
>...
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 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
>
>
2006 Jun 21
4
Yet another data structure + pack/unpack question (win32-service)
...roc_status = [0,0,0,0,0,0,0,0,0,0].pack(''LLLLLLLLLL'')
enum_service = [0.chr, 0.chr].pack(''pp'') + proc_status
service_buf = enum_service * 1000
bytes_needed = [0].pack(''L'')
services_returned = [0].pack(''L'')
resume_handle = [0].pack(''L'')
bool = EnumServicesStatusEx(
handle_scm,
SC_ENUM_PROCESS_INFO,
SERVICE_WIN32 | SERVICE_DRIVER,
SERVICE_STATE_ALL,
service_buf,
service_buf.size,
bytes_needed,
services_returned,
resume_handle,
group
)
if bool
num_services = se...
2016 May 25
2
Regression: The 'net' command is now failing to login (UNKNOWN ENUM VALUE 1003?)
...buffer : *
buffer : NULL
entries_read : *
entries_read : 0x00000000 (0)
total_entries : *
total_entries : 0x00000000 (0)
resume_handle : *
resume_handle : 0x00000000 (0)
result : UNKNOWN_ENUM_VALUE (1003)
return code = 1003
What is UNKNOWN ENUM VALUE (1003)?
Note that disabling spnego does resolve this but then breaks the
rpcclient command.
Is this pilot error...
2018 Sep 12
2
eventlog functionality
...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.samba.org> wrote:
On Tue, 2018-09-11 at 15:52 +0000, ray klassen via samba wrote:
&...
2018 Sep 12
2
eventlog functionality
...ded 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.
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Dev...
2013 Apr 12
0
net rpc share allowedusers fails half the time?
...ctr1 : *
ctr1: struct srvsvc_NetShareCtr1
count : 0x00000000 (0)
array : NULL
max_buffer : 0xffffffff (4294967295)
resume_handle : *
resume_handle : 0x00000000 (0)
&r: struct ncacn_packet
rpc_vers : 0x05 (5)
rpc_vers_minor : 0x00 (0)
ptype : DCERPC_PKT_REQUEST (0)
pfc_flags : 0x03 (3)...
2016 May 26
0
Regression: The 'net' command is now failing to login (UNKNOWN ENUM VALUE 1003?)
...: *
> buffer : NULL
> entries_read : *
> entries_read : 0x00000000 (0)
> total_entries : *
> total_entries : 0x00000000 (0)
> resume_handle : *
> resume_handle : 0x00000000 (0)
> result : UNKNOWN_ENUM_VALUE (1003)
> return code = 1003
>
> What is UNKNOWN ENUM VALUE (1003)?
If I turn off spnego on the client, then the net command works but now
rpcclient...
2016 May 26
2
Regression: The 'net' command is now failing to login (UNKNOWN ENUM VALUE 1003?)
...buffer : NULL
> > entries_read : *
> > entries_read : 0x00000000 (0)
> > total_entries : *
> > total_entries : 0x00000000 (0)
> > resume_handle : *
> > resume_handle : 0x00000000 (0)
> > result : UNKNOWN_ENUM_VALUE (1003)
> > return code = 1003
> >
> > What is UNKNOWN ENUM VALUE (1003)?
>
>
> If I turn off spnego on the client, then t...
2018 Apr 17
0
slow smbclient samba 4.7.x
...ctr1 : *
ctr1: struct srvsvc_NetShareCtr1
count : 0x00000000 (0)
array : NULL
max_buffer : 0xffffffff (4294967295)
resume_handle : *
resume_handle : 0x00000000 (0)
&r: struct ncacn_packet
rpc_vers : 0x05 (5)
rpc_vers_minor : 0x00 (0)
ptype : DCERPC_PKT_REQUEST (0)
pfc_flags : 0x03 (3)...
2018 Sep 12
0
eventlog functionality
...ded 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.
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Dev...
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
2013 Aug 19
3
rpcclient netshareenum 502 causes SEGV
Hello:
I have a Windows 2003 Server that is causing rpcclient to SEGV via the
following command:
$ rpcclient -U Administrator%foobar -c 'netshareenum 502' <server>
...
type: 0x6269: SEC_DESC_OWNER_DEFAULTED SEC_DESC_DACL_DEFAULTED
SEC_DESC_SACL_DEFAULTED SEC_DESC_DACL_TRUSTED
SEC_DESC_SACL_AUTO_INHERIT_REQ SEC_DESC_SACL_PROTECTED
SEC_DESC_RM_CONTROL_VALID
SACL
Segmentation fault
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
--