Hi all,
I am having a real bizarre problem with Samba 2.2.2 on Solaris 8.  I have
set up the smb.conf to share all user's home folders, and want to ensure
that all dot files are visible.  The problem I am having is that the dot
files all appear except for one specific one (which happens to be the exact
file that is needed!).  I can see it when I telnet, but not using Samba.
The dot file is a link, which is referred to by other links in the share.  I
have ensured that follow symlinks = yes and wide links = yes are set.
Here's the really wierd part.  In one of the shares, everything works fine!
I can see all the right files, but in the rest that one dot file is missing.
The share that works is the jahaley share, none of the others are showing
the right files.
Please help!
Jeff Pleau
Here is a dump of my config from testparm:
Load smb config files from /usr/local/samba/lib/smb.conf
Processing section "[homes]"
Processing section "[jpleau]"
Processing section "[stvo]"
Processing section "[hunguyen]"
Processing section "[kingwang]"
Processing section "[pkrogh]"
Processing section "[rbarkhou]"
Processing section "[mlaramee]"
Processing section "[mnorman]"
Processing section "[racampbe]"
Processing section "[tware]"
Processing section "[dlesage]"
Processing section "[gpelleti]"
Processing section "[xichen]"
Processing section "[dleung]"
Processing section "[gyorke]"
Processing section "[shanchen]"
Processing section "[kyuan]"
Processing section "[yalu]"
Processing section "[bdoughan]"
Processing section "[jlucuik]"
Processing section "[yipzhao]"
Processing section "[jdriscol]"
Processing section "[mmacivor]"
Processing section "[edtang]"
Processing section "[jdube]"
Processing section "[dmahar]"
Processing section "[egwin]"
Processing section "[dmccann]"
Processing section "[jahaley]"
Processing section "[jvalente]"
Processing section "[ailitche]"
Processing section "[pvijayar]"
Processing section "[mkeith]"
Loaded services file OK.
Press enter to see a dump of your service definitions
# Global parameters
[global]
        coding system         client code page = 850
        code page directory = /usr/local/samba/lib/codepages
        workgroup = MYGROUP
        netbios name         netbios aliases         netbios scope        
server string = usunrag06 Samba server
        interfaces         bind interfaces only = No
        security = USER
        encrypt passwords = No
        update encrypted = No
        allow trusted domains = Yes
        hosts equiv         min passwd length = 5
        map to guest = Never
        null passwords = No
        obey pam restrictions = No
        password server         smb passwd file =
/usr/local/samba/private/smbpasswd
        root directory         pam password change = No
        passwd program = /bin/passwd
        passwd chat = *new*password* %n\n *new*password* %n\n *changed*
        passwd chat debug = No
        username map         password level = 0
        username level = 0
        unix password sync = No
        restrict anonymous = No
        lanman auth = Yes
        use rhosts = No
        log level = 2
        syslog = 1
        syslog only = No
        log file = /usr/local/samba/var/log.%m
        max log size = 50
        timestamp logs = Yes
        debug hires timestamp = No
        debug pid = No
        debug uid = No
        protocol = NT1
        large readwrite = No
        max protocol = NT1
        min protocol = CORE
        read bmpx = No
        read raw = Yes
        write raw = Yes
        nt smb support = Yes
        nt pipe support = Yes
        announce version = 4.5
        announce as = NT
        max mux = 50
        max xmit = 65535
        name resolve order = lmhosts host wins bcast
        max packet = 65535
        max ttl = 259200
        max wins ttl = 518400
        min wins ttl = 21600
        time server = No
        change notify timeout = 60
        deadtime = 0
        getwd cache = Yes
        keepalive = 300
        lpq cache time = 10
        max smbd processes = 0
        max disk size = 0
        max open files = 10000
        read size = 16384
        socket options = TCP_NODELAY
        stat cache size = 50
        use mmap = Yes
        total print jobs = 0
        load printers = Yes
        printcap name = lpstat
        disable spoolss = No
        enumports command         addprinter command         deleteprinter
command         show add printer wizard = Yes
        os2 driver map         strip dot = No
        character set         mangled stack = 50
        stat cache = Yes
        domain admin group         domain guest group         machine password
timeout = 604800
        add user script         delete user script         logon script        
logon path = \\%N\%U\profile
        logon drive         logon home = \\%N\%U
        domain logons = No
        os level = 20
        lm announce = Auto
        lm interval = 60
        preferred master = Auto
        local master = Yes
        domain master = Auto
        browse list = Yes
        enhanced browsing = Yes
        dns proxy = No
        wins proxy = No
        wins server         wins support = No
        wins hook         kernel oplocks = Yes
        oplock break wait time = 0
        add share command         change share command         delete share
command         config file         preload         lock dir =
/usr/local/samba/var/locks
        default service         message command         dfree command        
valid chars         remote announce         remote browse sync         socket
address = 0.0.0.0
        homedir map         time offset = 0
        NIS homedir = No
        source environment         panic action         hide local users = No
        host msdfs = No
        winbind uid         winbind gid         template homedir = /home/%D/%U
        template shell = /bin/false
        winbind separator = \
        winbind cache time = 15
        winbind enum users = Yes
        winbind enum groups = Yes
        comment         path         alternate permissions = No
        username         guest account = nobody
        invalid users         valid users         admin users         read list 
write list         printer admin         force user         force group        
read only = Yes
        create mask = 0744
        force create mode = 00
        security mask = 0777
        force security mode = 00
        directory mask = 0755
        force directory mode = 00
        directory security mask = 0777
        force directory security mode = 00
        inherit permissions = No
        guest only = No
        guest ok = No
        only user = No
        hosts allow         hosts deny         status = Yes
        nt acl support = Yes
        max connections = 0
        min print space = 0
        strict allocate = No
        strict sync = No
        sync always = No
        write cache size = 0
        max print jobs = 1000
        printable = No
        postscript = No
        printing = sysv
        print command = lp -c -d%p %s; rm %s
        lpq command = lpstat -o%p
        lprm command = cancel %p-%j
        lppause command = lp -i %p-%j -H hold
        lpresume command = lp -i %p-%j -H resume
        queuepause command = disable %p
        queueresume command = enable %p
        printer name         use client driver = No
        printer driver         printer driver file =
/usr/local/samba/lib/printers.def
        printer driver location         default case = lower
        case sensitive = No
        preserve case = Yes
        short preserve case = Yes
        mangle case = No
        mangling char = ~
        hide dot files = Yes
        hide unreadable = No
        delete veto files = No
        veto files         hide files         veto oplock files         map
system = No
        map hidden = No
        map archive = Yes
        mangled names = Yes
        mangled map         browseable = Yes
        blocking locks = Yes
        fake oplocks = No
        locking = Yes
        oplocks = Yes
        level2 oplocks = Yes
        oplock contention limit = 2
        posix locking = Yes
        strict locking = No
        copy         include         exec         preexec close = No
        postexec         root preexec         root preexec close = No
        root postexec         available = Yes
        volume         fstype = NTFS
        set directory = No
        wide links = Yes
        follow symlinks = Yes
        dont descend         magic script         magic output         delete
readonly = No
        dos filemode = No
        dos filetimes = No
        dos filetime resolution = No
        fake directory create times = No
        vfs object         vfs options         msdfs root = No
[homes]
        comment = Home Directories
        read only = No
        browseable = No
[jpleau]
        path = /home/jpleau
        read only = No
        create mask = 0777
        directory mask = 0777
[stvo]
        path = /home/stvo
        read only = No
        create mask = 0777
        directory mask = 0777
[hunguyen]
        path = /home/hunguyen
        read only = No
        create mask = 0777
        directory mask = 0777
[kingwang]
        path = /home/kingwang
        read only = No
        create mask = 0777
        directory mask = 0777
[pkrogh]
        path = /home/pkrogh
        read only = No
        create mask = 0777
        directory mask = 0777
[rbarkhou]
        path = /home/rbarkhou
        read only = No
        create mask = 0777
        directory mask = 0777
[mlaramee]
        path = /home/mlaramee
        read only = No
        create mask = 0777
        directory mask = 0777
[mnorman]
        path = /home/mnorman
        read only = No
        create mask = 0777
        directory mask = 0777
[racampbe]
        path = /home/racampbe
        read only = No
        create mask = 0777
        directory mask = 0777
[tware]
        path = /home/tware
        read only = No
        create mask = 0777
        directory mask = 0777
[dlesage]
        path = /home/dlesage
        read only = No
        create mask = 0777
        directory mask = 0777
[gpelleti]
        path = /home/gpelleti
        read only = No
        create mask = 0777
        directory mask = 0777
[xichen]
        path = /home/xichen
        read only = No
        create mask = 0777
        directory mask = 0777
[dleung]
        path = /home/dleung
        read only = No
        create mask = 0777
        directory mask = 0777
[gyorke]
        path = /home/gyorke
        read only = No
        create mask = 0777
        directory mask = 0777
[shanchen]
        path = /home/shanchen
        read only = No
        create mask = 0777
        directory mask = 0777
[kyuan]
        path = /home/kyuan
        read only = No
        create mask = 0777
        directory mask = 0777
[yalu]
        path = /home/yalu
        read only = No
        create mask = 0777
        directory mask = 0777
[bdoughan]
        path = /home/bdoughan
        read only = No
        create mask = 0777
        directory mask = 0777
[jlucuik]
        path = /home/jlucuik
        read only = No
        create mask = 0777
        directory mask = 0777
[yipzhao]
        path = /home/yipzhao
        read only = No
        create mask = 0777
        directory mask = 0777
[jdriscol]
        path = /home/jdriscol
        read only = No
        create mask = 0777
        directory mask = 0777
[mmacivor]
        path = /home/mmacivor
        read only = No
        create mask = 0777
        directory mask = 0777
[edtang]
        path = /home/edtang
        read only = No
        create mask = 0777
        directory mask = 0777
[jdube]
        path = /home/jdube
        read only = No
        create mask = 0777
        directory mask = 0777
[dmahar]
        path = /home/dmahar
        read only = No
        create mask = 0777
        directory mask = 0777
[egwin]
        path = /home/egwin
        read only = No
        create mask = 0777
        directory mask = 0777
[dmccann]
        path = /home/dmccann
        read only = No
        create mask = 0777
        directory mask = 0777
[jahaley]
        path = /home/jahaley
        read only = No
        create mask = 0777
        directory mask = 0777
[jvalente]
        path = /home/jvalente
        read only = No
        create mask = 0777
        directory mask = 0777
[ailitche]
        path = /home/ailitche
        read only = No
        create mask = 0777
        directory mask = 0777
[pvijayar]
        path = /home/pvijayar
        read only = No
        create mask = 0777
        directory mask = 0777
[mkeith]
        path = /home/mkeith
        read only = No
        create mask = 0777
        directory mask = 0777
Montag den 16.09.2002 um 16:27 CEST +0200, schrieb Jeffrey Pleau:> Hi all, > > I am having a real bizarre problem with Samba 2.2.2 on Solaris 8. I have > set up the smb.conf to share all user's home folders, and want to ensure > that all dot files are visible. The problem I am having is that the dot > files all appear except for one specific one (which happens to be the exact > file that is needed!). I can see it when I telnet, but not using Samba. > The dot file is a link, which is referred to by other links in the share. I > have ensured that follow symlinks = yes and wide links = yes are set. > > Here's the really wierd part. In one of the shares, everything works fine! > I can see all the right files, but in the rest that one dot file is missing. > The share that works is the jahaley share, none of the others are showing > the right files. > > Please help!The parameters for samba seems to be correct, so i think it's a unix permission problem. Via telnet you see the link entry, but are you able to access this link as user jpleau? Or: What show ls -l <FileWhichIsLinkedTo>. Are this readable by all listed users? As i understood right, samba will resolve the link, if this fail, the entry should not listed.> > Jeff Pleau > > Here is a dump of my config from testparm: > > Load smb config files from /usr/local/samba/lib/smb.conf >[schnipp]> # Global parameters > [global] > strip dot = No > case sensitive = No > preserve case = Yes > hide dot files = Yes > hide unreadable = No > delete veto files = No > veto files > hide files [schnapp]Mfg Frank. -- Frank Matthie? fm@Microdata-pos.de
I forward this mail to the originating samba mailing list, so in the future others get a chance to solve this problem by reading the mailing list archive. ;-) Please send all your mails concerning to a mailing list to that list. It's important for all to see, how this problem was solved. And, for sure, it's a nice feedback. -- Frank Matthie? fm@Microdata-pos.de -------------- next part -------------- An embedded message was scrubbed... From: "Jeffrey Pleau" <jeffrey.pleau@oracle.com> Subject: RE: [Samba] HELP!!! Problems with Hidden dot files Date: Mon, 16 Sep 2002 12:20:21 -0400 Size: 2026 Url: http://lists.samba.org/archive/samba/attachments/20020916/226cb33f/attachment.eml