LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 07-17-2003, 11:42 AM   #1
hampel
Member
 
Registered: Jun 2003
Posts: 62

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


Hello,

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 //192.168.0.1/mnt /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 //192.168.0.1/mnt /mnt/server -o username="Firstname".

this too:

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

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

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

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

Original Poster
Rep: Reputation: 15
Hello,

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

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


Reply


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 04:16 AM
problems with smbfs mount-point in /etc/fstab - "mount -a" works, but not at boottime MarkSide Linux - Software 4 11-20-2005 04:30 PM
what's the difference between running "id" and "id <username>"? hesher Linux - General 1 04-14-2005 08:04 PM
mount "too many mounted" smbfs BruceC Linux - Newbie 0 07-01-2004 09:34 AM
Mandrake 10 "mount smbfs" the win2000 folder from vmware error wuyeguo Mandriva 1 03-19-2004 07:20 PM


All times are GMT -5. The time now is 01:03 AM.

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