[Samba] Q: (Most) files aren't visible via Samba?

Brian brian.dobbins at yale.edu
Thu Sep 5 15:03:03 GMT 2002

Hi guys,

  I'm playing around with Samba3.0-alpha17, and it seems that I'm having 
some odd problems with file visibility and access.  I've run other 
versions fine in the past, with similar smb.conf files (which I'll post, 
if necessary, but right now it's a bare minimum!), but for some reason I 
now can't see all my files!

  For instance, if I go into a subdirectory ('Temp') from my home 
directory, and do an "ls -ao", I'll see no files.  But since I -know- the 
files are there from looking on the file server itself, I can take a known 
filename ('preferences'), and issue the command "cat preferences", and 
it'll display it.  Then, doing an "ls -ao" again, it still won't show up.  
I can, in fact, copy a file, and sometimes that'll make both the original 
AND the copy visibile (I did this with an ISO image), but other times, 
still nothing.  Any tips?

  For what it's worth, here are the only items I've currently enable in 
the smb.conf file, but I've tried many different options with no luck:

(Note - I'm not trying to do domain logons right now, I just want to see 
the files!)

use spnego = false
kernel oplocks = false
oplocks = false
strict sync = yes

netbios name = [Removed]
workgroup = [Removed]

os level = 64
preferred master = yes
domain master = yes
local master = yes

security = user
encrypt passwords = yes
domain logons = yes
logon path = \\%N\profiles\%u
logon drive = F:
logon script = logon.cmd
logon home = \\%N\%u

  path = /config/samba/netlogon
  read only = yes
  write list = ntadmin

  path = /config/samba/profiles
  read only = no
  create mask = 0600
  directory mask = 0700

  comment = Home Directories
  browseable = yes
  writable = yes
  valid users = %S
  create mode = 0664
  directory mode = 0775

More information about the samba mailing list