Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a trouble with permission when I access a Samba Share from my Linux Box.
Samba Server
Version = 3.0.6
Security = ADS
Winbind = No
Linux Client
Version = 3.0.6
Security = ADS
Winbind = Yes
My W2k and XP users can access with the right permissions the Samba Share. The Samba Server has per ADS user a local user with the same username.
When I access the share from Linux I notice that owners ID belong to the local user from the Samba Server and not to the winbind id assign in my Linux Client.
When I write smb://sambaserver/share in Konqueror it is works perfectly.
To mount the share I have used uid,gid,fmask,dmask,username parameters in the smbmount and mount commands but it has not worked.
I can mount and work fine in my Linux Client with Windows Share.
Server runs RH7.2
Windows Xp can access the share perfectly i.e. full permissions.
Linux FC2 can read the share, but not write to it - EXCEPT through konqueror (I only tried that after reading your post, thanks)
If I login to the server directly (from any machine obviously), I have the correct permissions.
When I browse current connections on the server (through Webmin) I can see connections from both the Windows machine, and the FC2 machine - and they're both using the same user account - but Windows has write permission. Odd huh?
The last 2 points above make me think this is something wrong on the FC2 machine. BTW, the root account on FC2 does get write access (only user accounts are affected), which kinda rules out a "software capability" issue.
Perhaps the problem is caused 'cos the mount point gets owned by root when the share is mounted (even though it was previously owned by the user account) and therefore user accounts cannot write to it.
But how can I fix that?
Once mounted, even root cannot reassign ownership or alter permission's!
On my server, I have all the shared drives read/writable by everyone (I have Samba set to restrict access to the drives to my local lan only). Even though the drives are owned by root, all can write to them wether from a win pc or a linux pc.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.