From owner-freebsd-stable Mon Feb 11 14:24:27 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mail4.home.nl (mail4.home.nl [213.51.129.228]) by hub.freebsd.org (Postfix) with ESMTP id C08A837B442 for ; Mon, 11 Feb 2002 14:24:21 -0800 (PST) Received: from there ([217.120.114.216]) by mail4.home.nl (InterMail vM.4.01.03.00 201-229-121) with SMTP id <20020211222504.JCRR5772.mail4.home.nl@there> for ; Mon, 11 Feb 2002 23:25:04 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Bas v.d.Wiel To: stable@freebsd.org Subject: Is this hack in pw_user.c okay? Date: Mon, 11 Feb 2002 23:24:20 +0100 X-Mailer: KMail [version 1.3] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020211222504.JCRR5772.mail4.home.nl@there> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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