Hello, We have just migrated our large dev file server on linux+samba (Mandrake8.2+samba2.2.3a). It works almost fine but here are some question asked by some users I can't answer, after reading the manuals, the FAQs...and reading this list for a while : 1. Why can't NT clients do several levels mkdir ? I mean doing a mkdir toto/titi would create first a toto directory and then a titi directory inside. It works with an NT/2000/Netware file server but not with samba. We can do it with Win2k client workstations, but not with NT. Stange, hu ? 2. With NT clients again, we get some strange results when using the right click, send to option to send a text file in the notepad. Sometimes it works, sometimes not ("Unable to open file" error message). I crosss checked the unix file perms, the samba options between working and non working files. No way. 3. Is there a tool to simulate the MAPROOT novell command ? (We are doing subst but it is not very easy to use as all map are labelled "Network Drive") Again, Win2k allows "deep" drive mapping and NT not. 4. The matching between DOS attributes (archive, read only...) and Unix rights is something not very cool for the end user. => Only the owner of a file can really change them. And users cannot change file ownership (because only root can do this on unix) Is there a workaround to this ? 5. I would be interested in having a link to a document (or a book) which explains step by step how tu tune samba to get max perf. Many thanks for your help. Regards, Stephane
1. I don't have this problem. But if I try mkdir test/test2, I get a "syntax is incorrect" error message. mkdir test\test2, on the other hand, works great. Are you sure you dind't do it right when testing with NT/W2k Servers and accidentally used a / when testing with Samba share? 2. What patch level of Windows NT are we talking about? This is something where the Samba error logs might provide insightful clues. 3. I don't know if there's a tool to simulate MapRoot, but this is a Windows NT (and previous) issue, and has nothing to do with Samba. If nobody here provides an answer, try a Windows Admistration help site/forum. 4. Ya, I agree, trying to fake Windows style permissions and attributes over a Unix filesystem can be a annoyance. In my case, its simple to just force user on public shares so everyone who has write access to that share is the same user as far as Unix host is concerned. If you need better fine tuning, Samba implements windows ACL that should, to my knowledge, mimick Windows permissions. I have zero experience implementing this, however. Your mileage may vary. 5. man smb.conf -- That may sound trite, but there is no such thing as step by step to get max performance over and above default. Anything you do to get more performance is highly dependant on your individual situation, and requires careful reading/understanding of the Samba directives. (After all, if it were that easy to get better performance, it would just be the default, no?) On Tue, 16 Jul 2002, Stephane Prunier wrote: Hello, We have just migrated our large dev file server on linux+samba (Mandrake8.2+samba2.2.3a). It works almost fine but here are some question asked by some users I can't answer, after reading the manuals, the FAQs...and reading this list for a while : 1. Why can't NT clients do several levels mkdir ? I mean doing a mkdir toto/titi would create first a toto directory and then a titi directory inside. It works with an NT/2000/Netware file server but not with samba. We can do it with Win2k client workstations, but not with NT. Stange, hu ? 2. With NT clients again, we get some strange results when using the right click, send to option to send a text file in the notepad. Sometimes it works, sometimes not ("Unable to open file" error message). I crosss checked the unix file perms, the samba options between working and non working files. No way. 3. Is there a tool to simulate the MAPROOT novell command ? (We are doing subst but it is not very easy to use as all map are labelled "Network Drive") Again, Win2k allows "deep" drive mapping and NT not. 4. The matching between DOS attributes (archive, read only...) and Unix rights is something not very cool for the end user. => Only the owner of a file can really change them. And users cannot change file ownership (because only root can do this on unix) Is there a workaround to this ? 5. I would be interested in having a link to a document (or a book) which explains step by step how tu tune samba to get max perf. Many thanks for your help. Regards, Stephane
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 | Message: 4 | Date: Tue, 16 Jul 2002 15:35:48 +0200 | From: Stephane Prunier <prunier@besancon.sema.slb.com> | To: samba@lists.samba.org | Subject: [Samba] 5 non-answered questions. | | Hello, | | We have just migrated our large dev file server on linux+samba | (Mandrake8.2+samba2.2.3a). | It works almost fine but here are some question asked by some users I can't | answer, after reading the manuals, the FAQs...and reading this list for a | while : Most of your other questions have been answered I think, but | 4. The matching between DOS attributes (archive, read only...) and Unix | rights is something not very cool for the end user. | => Only the owner of a file can really change them. And users cannot change | file ownership (because only root can do this on unix) | Is there a workaround to this ? | Samba in Mandrake (since Mandrake 8.1) has out-the-box support for ACLs on XFS filesystems. Unfortunately, Posix ACLs aren't the same as Windows ACLs in that there is no way to let someone (non-root) take ownership of files (AFAIK), thus this isn't available via samba. But you can at least have finer-grained control on access. I have had some issues with ACLs (don't seem to work on a member server, but do work on our domain controller, should work fine on a stand-alone box), so do a test before you decide to migrate everything to XFS ... | 5. I would be interested in having a link to a document (or a book) which | explains step by step how tu tune samba to get max perf. There is a lot of documentation that ships with samba, in the samba-doc package in Mandrake 8.2. Please also note that RPMs of newer samba releases for Mandrake are available at ftp.samba.org (only latest) or http://ranger.dnsalias.com/mandrake/samba or http://people.mandrakesoft.com/~staburet/samba Regards, Buchan - -- |----------------Registered Linux User #182071-----------------| Buchan Milne Mechanical Engineer, Network Manager Cellphone * Work +27 82 472 2231 * +27 21 8828820x202 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE9NSl9rJK6UGDSBKcRAtPoAKCA7BsIhAKbWfMMG21IlvPJBGtpqACfWZyu IzqivIjqN6bNWCv2erEf5D4=LeSz -----END PGP SIGNATURE-----
Apparently Analagous Threads
- using the name of an argument in a function
- adding sAMAccountType to an user
- getent passwd not return the same number of records from a call to another call
- Building tkentry dynamicly
- getent passwd not return the same number of records from a call to another call