'right structure' is a bit above my level of knowledge. microsoft documentation on NetSessionEnum level 10 has some sample code but I'm not sure how to implement it... On Wednesday, 12 September 2018, 07:59:50 GMT-7, Andrew Bartlett via samba <samba at lists.samba.org> wrote: On Wed, 2018-09-12 at 14:33 +0000, ray klassen via 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. Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Farther down the rabbit hole, I would have to create a init_srv_sess_info_10 to go with it? On Wednesday, 12 September 2018, 08:26:11 GMT-7, ray klassen <julius_ahenobarbus at yahoo.co.uk> wrote: 'right structure' is a bit above my level of knowledge. microsoft documentation on NetSessionEnum level 10 has some sample code but I'm not sure how to implement it... On Wednesday, 12 September 2018, 07:59:50 GMT-7, Andrew Bartlett via samba <samba at lists.samba.org> wrote: On Wed, 2018-09-12 at 14:33 +0000, ray klassen via 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. Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
On Wed, 2018-09-12 at 15:34 +0000, ray klassen wrote:> Farther down the rabbit hole, I would have to create a > init_srv_sess_info_10 to go with it?Yes. Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba