Re: [Samba] delete readonly
On Tuesday 07 February 2006 12:48 am, Toni Casueps wrote: I changed the delete readonly option to yes because some users couldn't delete their own files if they are read only, for example when they have copied them from a CD-ROM. But now other users can delete them too, not only the owner, and also when it was set to no it somewhat limited the possibility of a user to accidentally delete a directory with lots of files. Is there a way to allow a user to change the permissions of his own files? Then I could leave delete readonly to no, and if he wants to delete them, he takes out the read only attribute and deletes it. Have you tried setting the sticky bit on the directory? --Dane -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Files missing when using windows XP and samba
Make sure that there are read permissions on the missing files and read and execute permissions on any missing directories. For files: chmod 644. For directories: chmod 755. --Dane On Tuesday 05 July 2005 09:03 pm, Paul Dunphy wrote: Hi Stuart, By any chance, are the missing files very large? I am having a similar problem with Samba 3.0.14a on Irix 6.5.17, and in my case it appears to be related to file size. Large files (1.2 GB) and the folders containing them do not show up on the Windows client. This problem did not exist in my previous version of Samba, 3.0.0 (which I've been forced to revert to). Cheers, Paul Stuart Bailey wrote: Hi, I am using Fedora Core 3 as a server for both Unix (Solaris and HPUX) and Windows Xp clients. The Unix clients view the files through an NFS v3 share, and windows client use samba (3.0.8-0.pre1.3). When looking at a directory from the server, or from a Unix client, I can see 132 files. However, from the Windows client, I can only see 65 files. There appear to be nothing special about the files names (we have already removed spaces etc from the filenames incase they caused a problem). If I mount the samba shares via smbfs on the server (to a new mount point), I can see all 132 files, so I suspect the problem is not samba. I have checked the file permissions, and although they have various owners, all permissions are 666. There seems to be no consistency between files that are missing. I have tried a number of different Xp machines and they all exhibit the same symptoms. Any ideas or suggestions would be appreciated. Many thanks Stuart. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] WINS over multiple subnets [SOLVED!]
Thanks, everybody for your help! I finally figured it out by following clues from this group and others. Here is the solution: http://www.linuxquestions.org/questions/showthread.php?s=postid=1702983 --Dane On Friday 24 June 2005 08:00 pm, Dane Mutters wrote: Hello, everybody! I have two networks (192.168.1.0 and 192.168.2.0) connected across a wireless router with two NICs. I can ping everything allright via ip address, but not by name across subnets. Things on the same subnet ping allright by name. Here are the smb.conf files for my two master browsers: #(192.168.1.249) [global] workgroup = THEBAND netbios name = Yesteryear server string = Samba File Server security = SHARE log file = /var/log/sambs.%m max log size = 50 wins support = yes domain master = yes local master = yes os level = 65 preferred master = yes remote announce = 192.168.2.255 remote browse sync = yes name resolve order = wins, lmhosts #(192.168.2.247) [global] workgroup = THEBAND netbios name = TheRef server string = router security = share wins support = yes interfaces = eth0 ra0 # interfaces = 192.168.1.0/24 192.168.2.0/24 local master = yes preferred master = yes os level = 65 remote announce = 192.168.1.255 192.168.2.255 remote browse sync = 192.168.1.255 # bind interfaces only = yes Here is my client configuration: #(192.168.2.247) [global] workgroup = THEBAND server string = Jason's Samba Server netbios name = oldShoe security = SHARE wins server = 192.168.2.247 # remote announce = 192.168.2.247 os level = 0 name resolve order = wins, nmhosts # remote browse sync = 192.168.2.247 192.168.1.249 #(192.168.1.250) [global] workgroup = THEBAND netbios name = Orchestrator server string = Slackware Samba Server security = SHARE log file = /var/log/samba.%m max log size = 50 os level = 0 wins server = 192.168.1.249 # remote announce = 192.168.1.247 name resolve order = wins, lmhosts I have disabled all firewalls (set everything to ACCEPT). I've been banging my head against his problem for over a week without success. I've posted this question on Linuxquestions.org and the Shorewall mailing list without avail. Any help you can give me would be greatly appreciated! Thanks! --Dane -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] simple cross-network browsing setup is failing
Can you post a copy of your smb.conf for your WINS servers and clients? On Saturday 25 June 2005 09:09 pm, steffen yount wrote: I was running into a similar issue with my VPN and subnets, and I think I figured it out... for my system anyways... For my multi-site VPN setup I now set: socket options = SO_BROADCAST SO_KEEPALIVE IPTOS_THROUGHPUT TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 From what I can tell the SO_BROADCAST flag allows samba to send to sub-domain broadcast addresses(i.e. 192.168.1.255). Before this change, I was not getting wins responses across the subnet boundry before but now I am. -Steffen __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] WINS over multiple subnets
Hello, everybody! I have two networks (192.168.1.0 and 192.168.2.0) connected across a wireless router with two NICs. I can ping everything allright via ip address, but not by name across subnets. Things on the same subnet ping allright by name. Here are the smb.conf files for my two master browsers: #(192.168.1.249) [global] workgroup = THEBAND netbios name = Yesteryear server string = Samba File Server security = SHARE log file = /var/log/sambs.%m max log size = 50 wins support = yes domain master = yes local master = yes os level = 65 preferred master = yes remote announce = 192.168.2.255 remote browse sync = yes name resolve order = wins, lmhosts #(192.168.2.247) [global] workgroup = THEBAND netbios name = TheRef server string = router security = share wins support = yes interfaces = eth0 ra0 # interfaces = 192.168.1.0/24 192.168.2.0/24 local master = yes preferred master = yes os level = 65 remote announce = 192.168.1.255 192.168.2.255 remote browse sync = 192.168.1.255 # bind interfaces only = yes Here is my client configuration: #(192.168.2.247) [global] workgroup = THEBAND server string = Jason's Samba Server netbios name = oldShoe security = SHARE wins server = 192.168.2.247 # remote announce = 192.168.2.247 os level = 0 name resolve order = wins, nmhosts # remote browse sync = 192.168.2.247 192.168.1.249 #(192.168.1.250) [global] workgroup = THEBAND netbios name = Orchestrator server string = Slackware Samba Server security = SHARE log file = /var/log/samba.%m max log size = 50 os level = 0 wins server = 192.168.1.249 # remote announce = 192.168.1.247 name resolve order = wins, lmhosts I have disabled all firewalls (set everything to ACCEPT). I've been banging my head against his problem for over a week without success. I've posted this question on Linuxquestions.org and the Shorewall mailing list without avail. Any help you can give me would be greatly appreciated! Thanks! --Dane -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] smbd hangs when trying to start smb
Hello. I've been using Samba for several months now at my office and have recently run into a rather perplexing problem. Whenever I type smb start (as root) it will hang indefinitely with the words, Starting SMB Services: on the screen, and will not start the processes necessary to enable file sharing. I don't think I've made any changes to the system since Samba was last working properly. Also, I've tried starting the processes manually by typing, smbd start and nmbd start. nmbd starts without any problems, but smbd still hangs indefinitely. I REALLY like Samba a lot, and I also need to be able to share files from my Linux box with other Windows computers on the network. Do you know why it's doing this? Any idea of what I can do to correct it? I've searched the web for this problem but have come up blank. Thanks very much for your help. --Dane -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba