LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 10: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, 01:17 PM   #2
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

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

try username="Firstname\ Lastname"
 
Old 07-22-2003, 04: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, 07: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 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


All times are GMT -5. The time now is 08:37 AM.

Main Menu
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