[Samba] %D returning machine name instead of domain/workgroup

Andreas andreas at conectiva.com.br
Wed Nov 3 16:19:52 GMT 2004

I have a samba 3.0.8pre2 server in a "standalone server" mode which 
is replacing %D with the server's netbios name instead of workgroup.
I tested this with a root preexec script and connecting to that share
from a remote client in the same workgroup.

Is this expected? Would %D only be replaced with the domain/workgroup
name if the server were a PDC, BDC or domain member server?

More information about the samba mailing list