Computer account names on BSDI BSD/OS 4.2

Blair Sutton/Odey B.Sutton at odey.co.uk
Thu Apr 5 10:37:40 GMT 2001


One way around is by editing the source code for pw. If you have the 
source for FreeBSD under /usr/src/usr.sbin/pw/. Edit pw_user.c
and look for the function "pw_checkname", in the declarations you will 
find a line like such:-

char const     *notch = gecos ? ":!@" : " ,\t:+&#%$^()!@~*?<>=|\\/\"";

If I remember correctly just delete the "$" character from this line and 
recompile by running "make" then "make install". 

I feel this is a good idea if your samba PDC is going to be heavily used.

Blair.






Tom Alsberg <alsbergt at cs.huji.ac.il>
Sent by: samba-ntdom-admin at lists.samba.org
05/04/2001 10:33

 
        To:     samba-ntdom at lists.samba.org
        cc: 
        Subject:        Computer account names on BSDI BSD/OS 4.2


  Hi there.

  It seems that for Samba to act as a PDC it must have an account for
every computer in the system password file (normally /etc/passwd),
correct me if I'm wrong.
  The problem is, a system we need it installed on to act as a PDC is
a BSDi BSD/OS 4.2 system, and it doesn't seem to accept the dollar
sign ('$') (which is required to distinguish computer accounts,
correct me if I'm wrong) as a part of a username in /etc/passwd.

  It's Samba 2.2.0-alpha1 I'm talking about.

  Any idea what could solve the problem? Some workaround?

-- 

  ---*---

  Tom Alsberg
                 Hebrew University of Jerusalem,
                 institute of Computer Science and Engineering -
                                 System Group / Vision Lab








More information about the samba-ntdom mailing list