LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 09-17-2004, 09:32 AM   #1
waljure
LQ Newbie
 
Registered: May 2004
Posts: 8

Rep: Reputation: 0
mount -t smbfs and konqueror issues


Hi,

I have a FC2 with Samba Server and ADS support. For my W2k and XP users everything is OK.

I have a FC2 client with Winbind. I try to connect to the Samba Server but everything is wrong.

1.- mount -t smbfs //samba-server/share /mount-point -o rw,username=user as root it works fine.

2.- sudo mount -t smbfs //samba-server/share /mount-point -o rw,username=user,uid=winbind-uid,gid=winbind-group,fmask=777,dmask=777 as winbind user it doesn't work due to permission. I have noticed that file's owner ID belongs to the Samba Server's users.

3.- smb://samba-server/share from Konqueror as winbind user everything is OK.

My idea is to mount the share as winbind user and no as a root or as a konqueror location to work.

Wilmer Aljure
 
Old 09-17-2004, 10:30 AM   #2
-Nw- neX
Member
 
Registered: Apr 2004
Distribution: Gentoo, RHL, CentOS, Ubuntu, FreeBSD,
Posts: 88

Rep: Reputation: 15
try using the -o flag before the mount point ordering. i.e....

mount -t smbfs -o [options] //smb-server/volume /your-mount-point

in the past, ive noticed that smbclient doesnt like to have certain opts passed after the mount point.
 
Old 09-17-2004, 11:35 AM   #3
waljure
LQ Newbie
 
Registered: May 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Hi, it did not work...
 
Old 09-20-2004, 05:59 PM   #4
waljure
LQ Newbie
 
Registered: May 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Is it something related with smb.conf file?
 
Old 09-21-2004, 01:24 AM   #5
vald
LQ Newbie
 
Registered: Sep 2004
Location: Bulgaria
Distribution: Fedora
Posts: 14

Rep: Reputation: 0
Re: mount -t smbfs and konqueror issues

Quote:
Originally posted by waljure
sudo mount -t smbfs //samba-server/share /mount-point -o rw,username=user,uid=winbind-uid,gid=winbind-group,fmask=777,dmask=777
Is "winbind" valid local user and "winbind-group" valid local group?
try to use some ordinary user, I think uid and gid specifies the owner of mount point, and is not samba share property.
When I need to mount samba share as ordinary local user, as root I change SUID of smbmount (chmod +s /usr/bin/smbmount) and then use folowing commnad:
smbmount //samba-server/share /mount-point -o rw,username=user,fmask=777,dmask=777

P.S. Sorry for my bad english!

Last edited by vald; 09-21-2004 at 01:25 AM.
 
Old 09-21-2004, 03:49 PM   #6
waljure
LQ Newbie
 
Registered: May 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Re: Re: mount -t smbfs and konqueror issues

Quote:
Originally posted by vald
Is "winbind" valid local user and "winbind-group" valid local group?
try to use some ordinary user, I think uid and gid specifies the owner of mount point, and is not samba share property.
User and group in uid and gid option are from ADS (Winbind). I created a local user but it did not work.

Quote:
Originally posted by vald
When I need to mount samba share as ordinary local user, as root I change SUID of smbmount (chmod +s /usr/bin/smbmount) and then use folowing commnad:
smbmount //samba-server/share /mount-point -o rw,username=user,fmask=777,dmask=777
It did no work, too.


Wilmer Aljure
 
Old 09-24-2004, 06:54 PM   #7
waljure
LQ Newbie
 
Registered: May 2004
Posts: 8

Original Poster
Rep: Reputation: 0
I think that my problem is the different type of users that I am using. In the Samba Server I have local linux users that have the same username that ADS users. So username/password validation is performed by the Domain Controller but uid and gid belongs to local linux users.

On the other hand my linux box use winbind, so uid depends on idmap parameter. In the Samba Server uid begins in 500 and in the linux box uid begins in 10000.

I am open to ideas,

Wilmer Aljure
 
  


Reply



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
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
smbfs issues... jbrashear Debian 1 06-21-2005 06:57 AM
cannot mount smbfs flipboi Linux - Security 2 08-12-2004 09:18 AM
cant mount smbfs anymore Little devil Slackware 0 10-29-2003 06:32 PM
mount -t smbfs loganwva Linux - Networking 1 10-21-2003 11:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:48 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
Open Source Consulting | Domain Registration