Long machine names...

Jeremy Allison jallison at whistle.com
Thu May 21 17:16:30 GMT 1998

Tim Winders wrote:
> I just ran into a "problem" with the machine accounts requiring an entry
> in the /etc/passwd file for account creating.  On *MY* system, unix
> account names can only be 8 characters.  I have (had) an NT machine with
> the name SUPPORT2 (8 character) but to create the unix account, I needed 9
> characters (SUPPORT2$) which wouldn't work.  I created the account as
> SUPPORT2 and changed the entry to SUPPORT2$ and then ran smbpasswd -a -m
> support2 support2 but the NT machine said it could login because the
> account in the domain didn't exist or the password didn't match.  I ended
> up changing the machine name to SUP2 and adding the appropriate entries
> and this worked...

As a matter of interest, which UNIX is this ?
> Hey!  Wait a minute... now that I look again at my /etc/passwd file, there
> are NO machine entries there... does smbpasswd REMOVE the entries from
> /etc/passwd when the machine account is created?

No - smbpasswd never touches the /etc/passwd file.


Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.

More information about the samba-ntdom mailing list