Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Feb 2002 23:24:20 +0100
From:      Bas v.d.Wiel <bas@kompas-media.nl>
To:        stable@freebsd.org
Subject:   Is this hack in pw_user.c okay?
Message-ID:  <20020211222504.JCRR5772.mail4.home.nl@there>

next in thread | raw e-mail | index | archive | help
Hi all,
Since I don't have proper overview of the consequences, I'd like to know from 
you if the hack I made to pw_user.c (as found in 4.5-STABLE, updated an hour 
ago) will have any evil repercussions on my systems before I put this in 
production.
My problem was with Samba not being able to automatically create computer 
accounts on the fly. The problem was in pw's refusal to add usernames ending 
in a dollar sign. I removed the dollar sign from the list of illegal 
characters in pw_user.c, recompiled, installed, and now it works perfectly. 
Or so it seems. There must be a reason why the dollar sign was excluded in 
the first place, but I don't know it. Is my hack in any way harmful to a 
Samba server acting as a PDC but running no further services other than the 
printing subsystem? If not, why is the $ an illegal character in usernames?

Thanks in advance for any replies,

Bas

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020211222504.JCRR5772.mail4.home.nl>