[Samba] Lots of "smbd/vfs.c:reduce_name(985)" in log.smbd

Koen Linders koen.linders at koca.be
Mon Jun 29 08:13:28 GMT 2009


Hi. 
I subscripted just now to the mailing list, but I've been using a Samba file
server (PDC) on Debian for about 2.5 years now. Users are almost all WinXP
SP3. 

No users are complaining but since I changed everything to one share with
group permission on underlying directories I see a lot of errors in
log.smbd. Anyone knows what the log message exactly means? 

I guess it has something to do with permissions. Maybe WinXP trying to
access subdirectories it can't? 

It's all about this folder:
drwxrwxr-x 14 root root         4096 2009-06-26 13:36 newton_share

Subdirectories are restricted to specific groups. Some people are part of
one or more groups.

drwxrws---  8 root aankoopdienst      4096 2009-02-05 13:23 aankoopdienst
drwxrws--- 10 root boekhouding        4096 2009-06-09 12:00 boekhouding
drwxrws---  5 root directie           4096 2009-06-16 10:58 directie
drwxrws---  9 root kindadministratie  4096 2009-06-09 08:31
kindadministratie
drwxrws---  2 root ortho_sociale      4096 2009-06-25 17:21 ortho_en_sociale
drwxrws---  2 root orthopedagogen     4096 2009-06-18 16:18 orthopedagogen
drwxrws--- 30 root personeelsdienst   4096 2009-06-26 12:52 personeelsdienst
drwxr-s---  4 root plannen_koca       4096 2009-06-09 08:35 plannen_koca
drwxrws---  5 root sociale_dienst     4096 2009-02-03 16:05 sociale_dienst
drwxrws---  8 root technische_dienst  4096 2009-03-13 09:17
technische_dienst
drwxrws---  5 root uurrooster         4096 2009-06-09 08:33 uurrooster
drwxrws--- 16 root veiligheid        16384 2009-06-09 08:33 veiligheid


[Newton]
        comment         = Gedeelde map op server Newton
        browseable      = yes
        writeable       = yes
        wide links      = no
        write list      = +domusers +domadmins
        path            = /data/shares/newton_share
        force directory mode = 770
        force create mode = 770
        valid users     = +domusers +domadmins
        create mode     = 770
        directory mode  = 770

A sample of last hour:

[2009/06/29 08:37:40, 1] smbd/vfs.c:reduce_name(985)
  reduce_name: couldn't get realpath for veiligheid/*
[2009/06/29 09:02:17, 1] smbd/vfs.c:reduce_name(985)
  reduce_name: couldn't get realpath for orthopedagogen/*
[2009/06/29 09:09:19, 1] smbd/vfs.c:reduce_name(985)
  reduce_name: couldn't get realpath for sociale_dienst/*
[2009/06/29 09:11:18, 1] smbd/vfs.c:reduce_name(985)
  reduce_name: couldn't get realpath for personeelsdienst/*
[2009/06/29 09:11:19, 1] smbd/vfs.c:reduce_name(985)
  reduce_name: couldn't get realpath for orthopedagogen/*
[2009/06/29 09:11:22, 1] smbd/vfs.c:reduce_name(985)
  reduce_name: couldn't get realpath for personeelsdienst/*
[2009/06/29 09:12:34, 1] smbd/vfs.c:reduce_name(985)
  reduce_name: couldn't get realpath for personeelsdienst/*
[2009/06/29 09:12:58, 1] smbd/vfs.c:reduce_name(985)
  reduce_name: couldn't get realpath for sociale_dienst/*
[2009/06/29 09:23:30, 1] smbd/vfs.c:reduce_name(985)
  reduce_name: couldn't get realpath for technische_dienst/*
[2009/06/29 09:23:30, 1] smbd/vfs.c:reduce_name(985)
  reduce_name: couldn't get realpath for sociale_dienst/*
[2009/06/29 09:30:31, 1] smbd/vfs.c:reduce_name(985)
  reduce_name: couldn't get realpath for technische_dienst/*
[2009/06/29 09:30:31, 1] smbd/vfs.c:reduce_name(985)
  reduce_name: couldn't get realpath for sociale_dienst/*

Greetings,
Koen Linders



More information about the samba mailing list