Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How Do I Address Samba Users With a Space in the Username
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
MrPaulAR
n00b
n00b


Joined: 25 Jan 2003
Posts: 69

PostPosted: Fri May 05, 2006 11:23 pm    Post subject: How Do I Address Samba Users With a Space in the Username Reply with quote

Is there a way to add a user to samba that has spaces in their name? Everything I've tried just errors out but I would expect this to be possible.
Back to top
View user's profile Send private message
Raniz
l33t
l33t


Joined: 13 Sep 2003
Posts: 967
Location: Varberg, Sweden

PostPosted: Sat May 06, 2006 8:51 am    Post subject: Reply with quote

put the name between " and "
Back to top
View user's profile Send private message
MrPaulAR
n00b
n00b


Joined: 25 Jan 2003
Posts: 69

PostPosted: Sat May 06, 2006 2:11 pm    Post subject: Reply with quote

Tried that....doesn't work

Quote:

gentoo portage # smbpasswd -a "Joe User"
New SMB password:
Retype new SMB password:
Failed to initialise SAM_ACCOUNT for user Joe User. Does this user exist in the UNIX password database ?
Failed to modify password entry for user Joe User


OK, so I need a unix account....

Quote:
gentoo portage # useradd -c "Test Account" "Joe User"
useradd: invalid user name 'Joe User'


That's invalid... I also tried using "\ " but got the same results.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum