machine names same as usernames -> problems...

Bradley W. Langhorst brad at
Thu Feb 6 14:04:14 GMT 2003

Since samba 2.2.8 seems to be on the way i thought i might raise this
issue before release.

I've seen a few users get confused by the fact that their machine name
and their user name cannot be very similar

adil (users) and
adil$ (machine)
cannot work.

I think it's not good practice to have machine names and usernames be
the same but i also don't think samba should fail cryptically in that

The usernames are different - why does this fail?
I'm guessing that the $ gets stripped off somewhere but why?

At minimum we should provide an explicit prohibion in the docs 
(doc patch for SAMBA2_2 follows)

diff -u -r1.1.2.15 Samba-PDC-HOWTO.sgml
--- docs/docbook/projdoc/Samba-PDC-HOWTO.sgml   28 Nov 2001 22:03:22
+++ docs/docbook/projdoc/Samba-PDC-HOWTO.sgml   6 Feb 2003 14:02:08
@@ -288,6 +288,11 @@
 account, and thus has no shared secret with the domain controller.

+<para>Note: Machine accounts must not have the same base names as user
+accounts.  eg.  The machine account "sambauser1$" is not allowed when
+there is a regular user "sambauser1".
 <para>A Windows PDC stores each machine trust account in the Windows
 Registry.  A Samba PDC, however, stores each machine trust account
 in two parts, as follows:

Bradley W. Langhorst <brad at>

More information about the samba-technical mailing list