Machine Account Usernames and *BSD

eirvine at tpg.com.au eirvine at tpg.com.au
Mon Dec 11 01:46:54 GMT 2000


> 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?
 
Simple.
 

Add the account without the $. Then use vipw to modify the
entry and put in the $. You may also have to do the same with 
/etc/group.

Eddie.





More information about the samba-ntdom mailing list