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--
