Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-17-2003, 10:42 AM   #1
Registered: Jun 2003
Posts: 62

Rep: Reputation: 15
mount -t smbfs ->username in " " with space not accepted


i'm trying to mount a smb filesystem.
when using a username like "Administrator", it works fine, but the following line won't work:

mount -t smbfs // /mnt/server -o username="Firstname Lastname".

'Not working' means that mount doesn't use the given username to authorisize, although it is in ""!
mount seems to have a problem with spaces between username.

This works:

mount -t smbfs // /mnt/server -o username="Firstname".

this too:

mount -t smbfs // /mnt/server -o username="Lastname".

What must i write that it works when using username "Firstname Lastname"?
Old 07-19-2003, 01:17 PM   #2
Senior Member
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
Not sure if this can help....

try username="Firstname\ Lastname"
Old 07-22-2003, 04:18 PM   #3
Registered: Jun 2003
Posts: 62

Original Poster
Rep: Reputation: 15

thanks i will try this!
Old 08-06-2003, 07:39 AM   #4
Registered: Jun 2003
Posts: 62

Original Poster
Rep: Reputation: 15
this works fine! thx!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why "bash-2.05b$" in Terminal instead of "username@localhost username" jayelitumbiolo Linux - General 9 10-04-2009 03:16 AM
problems with smbfs mount-point in /etc/fstab - "mount -a" works, but not at boottime MarkSide Linux - Software 4 11-20-2005 03:30 PM
what's the difference between running "id" and "id <username>"? hesher Linux - General 1 04-14-2005 07:04 PM
mount "too many mounted" smbfs BruceC Linux - Newbie 0 07-01-2004 08:34 AM
Mandrake 10 "mount smbfs" the win2000 folder from vmware error wuyeguo Mandriva 1 03-19-2004 06:20 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:41 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration