Workgroup or domain

Henrik Zagerholm henke at
Fri Oct 13 08:21:27 GMT 2006

Hi all,

I wonder if it is possible to figure out if my samba server is in a  
workgroup or domain environment?
I was hoping NET RAP DOMAIN only listed domains but no. :)
The only way I know now is to do a NET LOOKUP DC domain_or_workgroup  
and the see if I get something back.



More information about the samba-technical mailing list