Machine Account Usernames and *BSD

Anders Vedmar anders.vedmar at interactiveinstitute.se
Mon Dec 11 03:02:07 GMT 2000


On Sun, 10 Dec 2000, Jacob Rosenberg wrote:
> I've been trying to get things working with FreeBSD 4.2 and ran across
> this tidbit:
> 
> [from: http://us1.samba.org/samba/docs/ntdom_faq/page2.html]
> 
> >To create the machine account on the Samba PDC, first create an account
> >in /etc/passwd for the username workstation_name$.  Currently the uid is all
> >that will be used and this is to ensure that the samba generated machine
> >RID for the worstation account will be unique.  Therefore you should not
> >reuse unix uid's in /etc/passwd.  The shell or home directory fields in
> >/etc/passwd are not used for now and can be set to /bin/False and
> >/dev/null respectively.
> 
> The problem with this is that FreeBSD does not seem terribly eager to
> permit the '$' character into userids. Has this problem been worked
> around? Any thoughts/suggestions on a fix?

 This would work for Linux, should work for FreeBSD as well I suppose:

     1) Create the account without the '$' character.
     2) Edit /etc/passwd and /etc/shadow with your
         favorite text editor and add the '$' to the username in both.

/A


> 
> Thanks!




More information about the samba-ntdom mailing list