Bug 4070 - Exports which have same name with force user name do not work
Summary: Exports which have same name with force user name do not work
Status: NEW
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: File Services (show other bugs)
Version: 3.0.23b
Hardware: x86 Linux
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-30 08:13 UTC by DanB
Modified: 2006-08-30 08:13 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 DanB 2006-08-30 08:13:53 UTC
This is a samba joined to 2003 AD using security=domain. Exports that look like

[dgo]
   force user = dgo

(foo beeing local user) do not work from windows (user cannot enter directory) but work from smbclient. Renaming the export solves the problem (!).

machine name is hpora, dgo is the export, real path is /extra2/dgo. strace shows a strage stat64 when export name is dgo:
chdir("/tmp")                           = 0
chdir("/extra2/dgo")                    = 0
stat64("hpora/dgo", 0xafae2990)         = -1 ENOENT (No such file or directory)
stat64("hpora", 0xafae2990)             = -1 ENOENT (No such file or directory)

but not when export name is dgo1:
chdir("/extra2/dgo")                    = 0
stat64(".", {st_mode=S_IFDIR|0755, st_size=632, ...}) = 0
stat64("*", 0xafae3180)                 = -1 ENOENT (No such file or directory)
stat64("*", 0xafae3180)                 = -1 ENOENT (No such file or directory)
stat64("./.", {st_mode=S_IFDIR|0755, st_size=632, ...}) = 0

What on earth is windows (or samba) trying to do?