Just started with Samba a few weeks ago so am still a newbie. Am serving a single W-95 client reasonably well - it allows users to log on using their unix id and passwd, and they can all browse their unix home directories. However .... I can't seem to get the "hide dotfiles" directive to work. Nor the "hide files"! Also, If a user on W-95 saves a file to unix called, say, "Joe Smith.doc", I want it to stay as "Joe Smith.doc" , not be saved as "joe smith.doc" . (I assume there is nothing wrong with wanting this) These do not stike me as a complicated directives - what am I doing wrong? Help! Running Samba 1.9.17p2 on FreeBSD 2.2 Stable. Config file below: --------------------------- snip snip -------------------- [global] domain logons = yes hide files = /.*/Mail/nsmail/desktop/nethood/Network Trash Folder/ ; hide dot files = yes getwd cache = yes max xmit = 8192 read raw = yes read size = 8192 ; socket options = IPTOS_LOWDELAY TCP_NODELAY mangle case = no mangled names = no ; dont descend = /root,/dev,/etc,/var/log [homes] writable = yes browsable = no invalid users = root hide files = /.*/Mail/nsmail/desktop/nethood/Network Trash Folder/ hide dot files = yes [printers] writable = no printable = yes path = /tmp public = yes ----------------------------- end of smb.conf -------------------------
> I can't seem to get the "hide dotfiles" directive to work. > Nor the "hide files"! >Neither I ... the env here: Solaris551/Samba 1.9.17p3 -- Tony Sprinzl, sprinzl@edvz.tuwien.ac.at Goodie Domain Service: <http://gd.tuwien.ac.at/> Homepage: <http://nswt.tuwien.ac.at/sl/> PGP KP 88 A1 42 C6 D5 ED 2E 1F A8 7E 20 AF 65 A7 63 1A
On Tue, Mar 31, 1998 at 20:35:52 +1000, Eddie Irvine wrote:> I can't seem to get the "hide dotfiles" directive to work. > Nor the "hide files"!Note, that the "hide files" directive does not really hide the files, it just passes them with the DOS Hidden attribute, so if your directory browser shows hidden files, it will show them. Otherwise consider the "veto files" directive> Also, If a user on W-95 saves a file to unix called, > say, "Joe Smith.doc", I want it to stay as > "Joe Smith.doc" , not be saved as "joe smith.doc" . > (I assume there is nothing wrong with wanting this)You should add "preserve case = yes" to your configuration /NIels -- Niels Baggesen, UNI-C, Olof Palmes Alle 38, DK-8200 Aarhus N, Denmark Email: Niels.Baggesen@uni-c.dk Tel: +45 89 37 66 69 Fax: +45 89 37 66 77
Eddie Irvine wrote:> > Just started with Samba a few weeks ago so am > still a newbie. Am serving a single W-95 client > reasonably well - it allows users to log on using > their unix id and passwd, and they can all browse > their unix home directories. However .... > > I can't seem to get the "hide dotfiles" directive to work. > Nor the "hide files"! > >Upgrade to 1.9.18p4 - there was a bug related to hode files that was fixed in this release.> Also, If a user on W-95 saves a file to unix called, > say, "Joe Smith.doc", I want it to stay as > "Joe Smith.doc" , not be saved as "joe smith.doc" . > (I assume there is nothing wrong with wanting this) > > These do not stike me as a complicated directives - > what am I doing wrong?Use the following to get the same filename case sensitivity as an NT server preserve case = yes short preserve case = yes case sensitive = no. Hope this helps, Jeremy Allison, Samba Team. -- -------------------------------------------------------- Buying an operating system without source is like buying a self-assembly Space Shuttle with no instructions. --------------------------------------------------------