David Collier-Brown
2000-May-12 14:19 UTC
Problem: permissions for removing a file in a file system mounted by smbmount
[Heribert Sch?tz <Heribert.Schuetz@gsi-office.de>]> Consider the following case: I mount a share from an NT server on a > Linux box, which I then use at the Linux box. I create a file on that > partition and remove its write permissions. This happens whithin a > directory which does have write permission. When I now want to remove > the file, it does not work, but I rather get an error message that I > don't have the permission for that.You need to set "delete readonly = yes" for the share or shares where you want this behavior. It's a filesystem semantics mapping problem, that Samba can work around when necessary... --dave -- David Collier-Brown, | Always do right. This will gratify some people 185 Ellerslie Ave., | and astonish the rest. -- Mark Twain Willowdale, Ontario | //www.oreilly.com/catalog/samba/author.html Work: (905) 415-2849 Home: (416) 223-8968 Email: davecb@canada.sun.com
Hello. I was wondering if it was possible to have Samba act as a WINS server for a local network, but if a query for a machine name fails, have it fall back and do a proxy to a different WINS server. If this isn't possible now, does anyone know if it is a planned feature? The main use I can think of would be for a home network (with some VPN clients), connected to a work LAN via another VPN tunnel. Since I don't want my friends machines to have VPN access to the work LAN, just using work's WINS server isn't an option. Also, since I want my friends to be able to see each other (even with their dynamic IPs from the cable modem), I have to have a WINS server somewhere on my VPN. Any ideas? =====================================================================// Chris Giard (a.k.a. Slyglif Cain) | Life is like a box of dynamite, // EMAIL: cgiard@magerealm.com | you never know when it will go.
I have two debian systems on my network. One has a Debian stable install which allows me to share with no problems. I have a newer install which is Debian frozen but I cannot browse shared directories at all. I beleive the smb.conf is the same on both boxes, I have messed with the permissions to no avail. I'm fairly new to Samba but I have not had problems installing before. Here's the output from smbclient for the problem box - Linny: Linny:~# smbclient -L Linny added interface ip=192.168.0.8 bcast=192.168.0.255 nmask=255.255.255.0 Password: Domain=[OFFICE] OS=[Unix] Server=[Samba 2.0.7] Sharename Type Comment --------- ---- ------- homes Disk Home Directories src Disk folder for software www Disk web pages IPC$ IPC IPC Service (Linny server (Samba 2.0.7)) lp Printer Generic dot-matrix printer entry root Disk Home Directories Server Comment --------- ------- LINNY Linny server (Samba 2.0.7) Workgroup Master --------- ------- OFFICE FIREWALL I don't know why box "Firewall" is master, I didn't want that. Each box should be independent. I don't use a PDC on my network. Chris Mason Box 340, The Valley, Anguilla, British West Indies Tel: 264 497 5670 Fax: 264 497 8463 USA Fax (561) 382-7771 Take a virtual tour of the island http://net.ai/ The Anguilla Guide Find out more about NetConcepts www.netconcepts.ai bwz*mq
Hi all, I have a RH6.1 box with stock samba 2.0.5a. I did everything that is mentioned in the "Joining NT domain with samba 2.0" document at us1.samba.org/samba/ftp/docs/htmldocs/DOMAIN_MEMBER.html. I then used server manager on the NT PDC to create the machine account, and did smbpasswd -j DOM -r DOMPDC. It said successfully joined NT domain etc. It also created the mac file. After this I could see the machine in n/w neighbourhood from the NT PDC and other NT boxes in the n/w. But when I try clicking on it, it keeps saying "can't find <samba_box>". I have made sure that I have done all the relavent changes to the smb.conf, and that the smbd+nmbd are running. Any idea why is this happening? The same config file works in another domain in our office, with another RH6.1 samba box. Any help/ideas/suggestions to get it working would be greatly appreciated. TIA, Kedar. ---------------------------------------------------------------- Kedar N. Patankar. Senior Software Engineer. ishoni Networks ...Broadband for everyone http://www.ishoni.com email - kedar@ishoni.com Phone: +91-80-2292125 (Work) Fax: +91-80-2995545 (Work) ---------------------------------------------------------------- Don't worry over what other people are thinking about you. They're too busy worrying over what you are thinking about them.