Also, there is the NetrLogonGetDomainInfo RPC, which operates over the secure channel.
DsRoleGetPrimaryDomainInformation is another RPC on the Net Logon service. Ethereal should decode at least DsRoleGetPrimaryDomainInformation. -- Luke >From: Gerald Carter <[EMAIL PROTECTED]> >Subject: locating NETBIOS name of domain in a win2k domain >To: Andrew Tridgell <[EMAIL PROTECTED]> >Cc: [EMAIL PROTECTED] >Date: Fri, 4 Oct 2002 09:08:51 -0500 (CDT) > >Tridge, > >Weren't you asking about locating the netbios name of the >domain in a win2k domain ? Or was this of a machine ? >If the former, then look at the DsRoleGetPrimaryDomainInformation() >Win32 call. I'll have the client side coded up today if it >is any help to you. > > > > >cheers, jerry > --------------------------------------------------------------------- > Hewlett-Packard http://www.hp.com > SAMBA Team http://www.samba.org > -- http://www.plainjoe.org > "SAMS Teach Yourself Samba in 24 Hours" 2ed. ISBN 0-672-32269-2 > --"I never saved anything for the swim back." Ethan Hawk in Gattaca-- > -- Luke Howard | PADL Software Pty Ltd | www.padl.com