This is what i tried:
- smbadduser "jack smith":"jack smith"
- smbadduser jack\ smith:jack\ smith
- smbadduser jack\ smith:"jack smith"
- smbadduser jacksmith:"jack smith"
And perhaps some other combiniation i don't remember.
Then i tried to modify the smbusers file as suggested:
jacksmith="jack smith"
And everything is OK now! I thank very much all of you.
maq
----- Original Message -----
From: "John H Terpstra" <jht@samba.org>
To: "Bradley W. Langhorst" <brad@langhorst.com>
Cc: "SambaList" <samba@lists.samba.org>; "maq"
<maraqas@libero.it>
Sent: Thursday, February 27, 2003 5:28 AM
Subject: Re: [Samba] win2k usernames with spaces
> On Thu, 26 Feb 2003, Bradley W. Langhorst wrote:
>
> > On Wed, 2003-02-26 at 19:41, maq wrote:
> > > Hi all,
> > > one of the win2k clients of my network uses an ID with
> > > one space inside, e.g. "jack smith". I succeeded in
creating a
> > > Linux user with such a name, but have troubles in adding him to
> > > the smb users.
> > > Any suggestion?
> > did you try jack\ smith ?
> > i've never tried this..
> >
> > another option would be to set up a user mapping
> > between jack smith and jack_smith
> >
> > I think most unix stuff will not deal well with the spaces in the
names
>
> Best work-around is to create a Linux user without the space (eg: jacks),
> then in smb.conf [globals] put:
> usename map = /etc/samba/smbusers
>
> and in /etc/samba/smbusers:
>
> root = administrator
> jacks = "Jack Smith"
>
>
> - John T.
> --
> John H Terpstra
> Email: jht@samba.org
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba