[Samba] %D returning machine name instead of domain/workgroup
Gerald (Jerry) Carter
jerry at samba.org
Mon Nov 8 05:21:40 GMT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Andreas wrote:
| 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?
The %D is the domain of the user. On a standalone server all the
user accounts belong to the \\SERVER domain. If you want the
primary domain for all user accounts to be the workgroup name,
you will need to run a DC.
cheers, jerry
- ---------------------------------------------------------------------
Alleviating the pain of Windows(tm) ------- http://www.samba.org
GnuPG Key ----- http://www.plainjoe.org/gpg_public.asc
"If we're adding to the noise, turn off this song"--Switchfoot (2003)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFBjwJkIR7qMdg1EfYRAhZ8AKDwYtTl2ajIIGjAjiURGL4Oev920wCcC4Ds
gPLR/mQsUgxdgkReHBl5pNQ=
=FmNi
-----END PGP SIGNATURE-----
More information about the samba
mailing list