LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-01-2007, 03:43 PM   #1
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Debian,Ubuntu,Slackware
Posts: 479

Rep: Reputation: 48
2.6.21.5 and CIFS


I can't remember all the details right now and I'm too lazy to find a relevant link, but basically the default Slackware kernel is useless if you plan on using CIFS.

I have a custom 2.6.22.1 to get around this.

Do most people use SMBFS? (those that use windows shares at all, that is).

Just curious
 
Old 10-01-2007, 03:47 PM   #2
randomsel
Member
 
Registered: Oct 2006
Location: Wilmington, DE
Distribution: Slackware 11
Posts: 201

Rep: Reputation: 30
that's strange, using generic-smp and I haven't noticed any problems with cifs streaming media from a winbox.

mount //server01/anime /mnt/tmp -t cifs
 
Old 10-01-2007, 08:42 PM   #3
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
I'm using CIFS with no problems at all, and I know several others who are as well.
What problem(s) is/are you experiencing?
 
Old 10-03-2007, 02:03 AM   #4
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Debian,Ubuntu,Slackware
Posts: 479

Original Poster
Rep: Reputation: 48
You probably won't encounter any problems if you are using public shares.

From Kernel 2.6.22 change log:
Quote:
commit 3ce53fc4c57603d99c330a6ee2fe96d94f2d350f
Author: Steve French <sfrench@us.ibm.com>
Date: Fri Jun 8 14:55:14 2007 +0000

[CIFS] CIFS should honour umask

This patch makes CIFS honour a process' umask like other filesystems.
Of course the server is still free to munge the permissions if it wants
to; but the client will send the "right" permissions to begin with.

A few caveats:

1) It only applies to filesystems that have CAP_UNIX (aka support unix
extensions)
2) It applies the correct mode to the follow up CIFSSMBUnixSetPerms()
after remote creation

When mode to CIFS/NTFS ACL mapping is complete we can do the
same thing for that case for servers which do not
support the Unix Extensions.

Signed-off-by: Matt Keenen <matt@opcode-solutions.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
If I would mount a share (that user1 has rights to) as user1 (on client), it would give the folder permissions of user2 (on server).

So I couldn't access the share: "Permission Denied"
 
Old 10-03-2007, 10:28 AM   #5
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,368

Rep: Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748
I spent some time today changing the mounts on a Samba server from smbfs to cifs after upgrading to Slackware 12.0.
No problems with the XP boxes provided that the NetBIOS name can be related to an ip address (in my case they are static ip addresses in /etc/hosts), but the Win98 box caused grief until I found this.
http://pserver.samba.org/samba/ftp/c...ient-guide.pdf

The magic that works for Win98 is
mount -t cifs //192.168.x.x/c /mnt/point -o user=username,servern=NETBIOSNAME,sec=lanman

NETBIOSNAME must be capitalised.
tcp-name must be the ip address (like 192.168.x.x)
 
  


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
Cifs "mount error 13 = Permission denied" CIFS SUCKS humbletech99 Linux - Networking 45 04-06-2020 05:31 AM
CIFS issue rlh989 Linux - Networking 1 01-26-2007 07:44 PM
cifs not following links deVas Linux - Networking 0 09-16-2005 03:54 AM
Cifs AlessPT Linux - Networking 3 11-30-2004 02:11 PM
using CIFS witukind Linux - Networking 0 12-18-2003 05:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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