[Samba] vampire question

Schlomo Schapiro samba at schlomo.schapiro.org
Tue Mar 15 19:33:31 GMT 2005


Hi John,

On Mon, 14 Mar 2005, John H Terpstra wrote:

> On Monday 14 March 2005 14:29, Schlomo Schapiro wrote:
> > Hi,
> >
> > aren't posix account names supposed to be without blanks ? I would be most
> > surprised if a machine account with a blank would work with Samba !
> 
> Is this "no blank" specified in any standards? It seems someone has decided 
> that Linux should no longer permit blanks in user names and/or group names.

Just tried on my SuSE 9.0:
# useradd "hello world"
useradd: Invalid user name `hello world'.

So I assume that usernames with blanks are not a good idea - in the way 
that most Linux tools don't cope with them, even if maybe the NSS 
library calls do cope with them.

Doesn't Samba also use the platform useradd command to add accounts in 
most setups ?


> > >
> > > > rpc vampire -S ntserver -U Administrator%stacy182  --- everything
> > >
> > > seems
> > >
> > > > to run fine.... however I do get
> > > > could not create posix account info for 'machine name$'
> >

-- 
Regards,
Schlomo


More information about the samba mailing list