Long machine names...

Luke Kenneth Casson Leighton lkcl at switchboard.net
Thu May 21 14:02:02 GMT 1998

ok, try using the "map username = " option.  map "support2$" to "sup2$".
OH.  first i think we have to add this functionality into the password
system, not just on the unix smbd side :-)

wait for a bit, ok, while a "validate_unix_username()" function gets


On Thu, 21 May 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...
> 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?
> === Tim
> ---------------------------------------------------------------------
> |  Tim Winders, CNE, MCSE        |  Email:  TWinders at SPC.cc.tx.us   |
> |  Network Administrator         |  Phone:  806-894-9611 x 2369     |
> |  South Plains College          |  Fax:    806-897-4711            |
> ---------------------------------------------------------------------

More information about the samba-ntdom mailing list