funky LsaQueryInfo change
Luke Kenneth Casson Leighton
lkcl at samba.org
Tue Aug 15 04:13:07 GMT 2000
On Mon, 14 Aug 2000, Cole, Timothy D. wrote:
> > -----Original Message-----
> > From: Luke Kenneth Casson Leighton [SMTP:lkcl at samba.org]
> > Sent: Monday, August 14, 2000 15:42
> > To: Cole, Timothy D.
> > Cc: Elrond; 'Jeremy Allison'; samba-technical at samba.org
> > Subject: RE: funky LsaQueryInfo change
> > level 5 is different rules, of course.
> Okay. While I'm in there fixing stuff, what are the rules for level
level 5 is the SAM database for which you are responsible.
in the case of PDC/BDC, it's therefore the Domain SAM DB, and its name is
in the case of Standalone/Member, it's therefore the Local SAM DB, and its
name is WORKSTATION_NAME.
read the code, tim!!!!!
unsigned int i;
/* fake info: We audit everything. ;) */
info->id2.auditing_enabled = 1;
info->id2.count1 = 7;
info->id2.count2 = 7;
info->id2.auditsettings = g_new(uint32, 7);
for (i = 0; i < 7; i++)
info->id2.auditsettings[i] = 3;
extern fstring global_myworkgroup;
DEBUG(3, ("unknown info level in Lsa Query: %d\n",
status = NT_STATUS_INVALID_INFO_CLASS;
More information about the samba-technical