Bug 3301 - can't mount samba in share mode
Summary: can't mount samba in share mode
Status: RESOLVED FIXED
Alias: None
Product: CifsVFS
Classification: Unclassified
Component: kernel fs (show other bugs)
Version: 2.6
Hardware: Other Linux
: P3 normal
Target Milestone: ---
Assignee: Steve French
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-06 02:43 UTC by loyogo
Modified: 2006-01-13 22:39 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description loyogo 2005-12-06 02:43:40 UTC
it's always failed that use mount.cifs to mount a share from samba server which is in share mode by "security = share".
i checked the source code of cifs.ko found that it is because it didn't provide password in tree connect step.

if samba server is in user mode by "security = user". it is okay because authentication in done in session setup step. but in share mode, authentication is needed to be done in tree connect step, if there is no password passed to samba server. it is sure that client will failed to log on to samba server
Comment 1 Steve French 2006-01-13 22:35:25 UTC
Fixed in cifs-2.6.git on kernel.org will request mirror to mainline kernel for 2.6.16 kernel and will be in cifs 1.41 (or 1.40a)
Comment 2 Steve French 2006-01-13 22:39:04 UTC
Fix is also in svn on samba.org in linux-cifs-client/branches/linux-2.6-cifs-git-devel/