What should the home directory for machines be?

Simo Sorce simo.sorce at xsec.it
Wed Jan 21 09:54:24 GMT 2004


As far as it is documented I would prefer to have machine_, $s in file
names would be a pain for many admins.

Simo.

On Tue, 2004-01-20 at 22:44, Andrew Bartlett wrote:
> I recently fixed the bug (reversed the design decision) that caused
> winbindd to skip all machine accounts, when listing users.  This is
> because machines use kerberos to establish CIFS connections.
> 
> The only issue I wanted to check with the list, before we throw 3.0.2
> out the door is this:  
> 
> What should the home directory be?
> Should it be (assuming a template of /home/%D/%U):
> 
>  /home/dom/machine$
> 
> Or can/should we live with the current implementation of
> 
>  /home/dom/machine_
> 
> The problem is, our current string_sub code always replaces a $ with a
> _, for security.  I would argue that this is a wise choice, as having $
> in on-disk filenames is going to bite somebody one day, but I wanted to
> get the list's opinion.
> 
> Andrew Bartlett
-- 
Simo Sorce - simo.sorce at xsec.it
Xsec s.r.l. - http://www.xsec.it
via Garofalo, 39 - 20133 - Milano
mobile: +39 329 328 7702
tel. +39 02 2953 4143 - fax: +39 02 700 442 399


More information about the samba-technical mailing list