LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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-19-2006, 05:50 AM   #1
baikonur
Member
 
Registered: Oct 2005
Location: germany
Distribution: debian
Posts: 255
Blog Entries: 5

Rep: Reputation: 30
mount -t smbfs -o problem


hi.

i'm trying to access some stuff on my linux-samba-PDC from a linux-notebook. i tried

Code:
mount -t smbfs -o username=myname,password=mypword //myserver/myshare /mnt/mountpoint
and the share is there. so far so good.

but i can't access the directories.
the owner/group is all displayed with numbers only, like 1005:1015, and even though i mounted the share as the samba user who is the owner of the files, it doesn't work.

maybe the problem has something to do with the linux laptop not being part of the samba domain. (could it be a member of such a domain at any rate?)

i'm running low on ideas - any help would be sweet.

baik

ps: now i can't even get rid of that share ... device busy ... *grumble*
 
Old 07-19-2006, 05:55 AM   #2
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
Try adding uid=user,gid=group to the options.
 
Old 07-19-2006, 06:08 AM   #3
baikonur
Member
 
Registered: Oct 2005
Location: germany
Distribution: debian
Posts: 255
Blog Entries: 5

Original Poster
Rep: Reputation: 30
no, that didn't help.

at least I could umount it now ...

out for lunch :-)

Last edited by baikonur; 07-19-2006 at 06:11 AM.
 
Old 07-19-2006, 08:02 AM   #4
baikonur
Member
 
Registered: Oct 2005
Location: germany
Distribution: debian
Posts: 255
Blog Entries: 5

Original Poster
Rep: Reputation: 30
hmm ... the log.smbd file looks like all should be well:
192.168.1.229 (192.168.1.229) connect to service qm initially as user mfk (uid=1001, gid=100) (pid 11605)

and later:
192.168.1.229 (192.168.1.229) closed connection to service qm

that looks just like when I connect from a windows machine.
only then I can browse the folders that are open to the owner (me).
on the LinuxLaptop I can see them but not browse them.

so I'm really beginning to think that a machine needs to be in the domain,
even if it's a linux box.
can anybody tell me how I could achieve this?

regards,
baik


ah: there is a difference in the logs: the hostname of the linuxlaptop is not there.
all the other connects from win machines create a logfile entry like:
clmediapc1 (192.168.1.232) connect to service ell initially as user ell (uid=1010, gid=100) (pid 11581)

Last edited by baikonur; 07-19-2006 at 08:13 AM.
 
  


Reply

Tags
samba, smbfs


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
help please: mount -t smbfs -a fails as normal user, as root, doesn't mount anything thevic Linux - Networking 11 04-09-2007 04:09 AM
mount -t smbfs -o // turkish character problem fahridon Linux - Networking 1 05-23-2006 06:33 AM
small problem with smbfs mount synapse Slackware 4 03-16-2005 10:26 AM
mount.smbfs problem lewkh Red Hat 3 03-11-2005 12:39 PM
mount Smbfs problem lupus9537 Linux - Newbie 4 04-26-2004 09:33 AM


All times are GMT -5. The time now is 09:46 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