Hi , Iam experiencing problems with samba mount of a NT system.Iam using samba2.0.5a.I have mounted a NT 4.0 Sp 5 shared folder on a Red Hat linux 6.1 machine.Iam mounting using the "mount -t smb" command the NT shared folders.Iam able to mount and work in a default way.But here is some of the problems i face in it. 1.Sometimes the smb mount gets dropped and i have to remount the shared drive again in Linux . 2.Iam not able to give the user rights to write on the shared drive, because it lets only the root do it. 3.This is the weirdest problem , i have seen,The files are stored in the mounted directory(shared folder in an NT server),when i keep on working suddenly all the files are not visible.When i type "ls -al" it shows no files, but i can do cat "filename" and the file shows up.I know the files exist, but don't know why it is not appearing,Sometimes when i create a new file in that directory the other files appear, but this is not the case always.The work is java based, but i don't know whether that causes any problems. Appreciate your inputs or any pointers or link to solve these problem. Thanks Karthik
On Fri, 9 Jun 2000, Karthikeyan.K.V wrote:> 1.Sometimes the smb mount gets dropped and i have to remount the shared > drive again in Linux .2.0.5a has known problems with this. And not even 2.0.7 gets it completely right, this patch on top of 2.0.7 tries to fix one problem: http://www.hojdpunkten.ac.se/054/samba/samba-2.0.7-smbmount-connection.patch (but 2.0.7 is better than 2.0.5a even without that).> 2.Iam not able to give the user rights to write on the shared drive, because > it lets only the root do it.smbmount in 2.0.5a doesn't handle this. It's missing a few parameters for uid and gid.> 3.This is the weirdest problem , i have seen,The files are stored in the > mounted directory(shared folder in an NT server),when i keep on working > suddenly all the files are not visible.When i type "ls -al" it shows no > files, but i can do cat "filename" and the file shows up.I know the filesYou should have an error message from smbfs in the kernel log (dmesg). RH6.1 = linux 2.2.12 (?), unless you have upgraded it.> Appreciate your inputs or any pointers or link to solve these problem.Upgrade your kernel to 2.2.16, it should solve 3. Upgrade samba to 2.0.7 it should solve 2 and make 1 happen less often. If you decide to try my smbmount patch please let me know if it works for you. Note that smbmount has a different syntax in 2.0.7 vs 2.0.5 (but the good news is that you don't need strange scripts to translate parameters). /Urban