Networking :: MS Office Files Open In Read Only Mode From Samba Share?
May 17, 2011
I can not edit my own .ppt file from samba share. Current desktop OS is windows 7. Samba server having RHEL 5 with following samba packages installed.
I can able to edit and save the file if I copy this file from samba to local system. But from Samba share it open in read only mode.
I have a networked raid drive. Thecus 2100. Its running linux, and includes samba sharing. On that I have a folder shared. I can connect to and read and write from nautilus. No problems. However, I can't use other apps through that method. Its not really "mounting" that drive in the sense you'd normally think of (afaik).
If I try to mount the folder, no matter how I have tried so far (-t cifs, smbmount, etc), I can navigate the folders, but if I try to read any file I get a permission error. Looking at the permissions with 'ls -l', everything looks OK. The weird thing is, I can write a file, then read that file back as long as its the same session.
Just now I tried 'smbclient' with no special arguments. Just the server and path url. It asked for my password. Once I was in, I had no trouble getting files. I had a thread about this a while back and there were several links and all sorts of command line options to try, which I did, with no different outcome. I think its got to be something much simpler and more obvious. smbclient and nautilus seem to have no trouble. Anybody know what they're doing differently?
When I open an open office document from an NFS share it always opens as readonly. This was a problem I had on Arch linux and the fix was to change the locking options in the soffice script but I've tried that fix here and it doesn't work. I've seen a lot of discussions but they all go back to changing the locking options in soffice, has anyone got any alternative fixes or one that definitely works with locking?
ubuntu 9.04 and win xppro i've been pounding my head aganst this for hours now. reading anything i can find samba works mostly shares created from nautilus work fine from both ubuntu and windows if i check to allow guest access if not i can not log in it does work in the nautilus browser fine. shouldn't make a difference but am using a virtualbox win xp guest shares work without issue. printers work here is a dump of my service defenitions
[global] workgroup = HOME server string = %h server (Samba, Ubuntu) map to guest = Bad User
My server info: SUSE 11.3 , authenticated against LDAP, I am able to log in using LDAP credentials. I did run smbpasswd -w password
After I configured the smb.conf file, I try to do this on the Terminal to make sure it will work in Windows machines but I got this error:
user@mybox:~> smbclient -L mybox.mydomain.com Enter user's password: (I enter the user password here) Connection to mybox.mydomain.com failed (Error NT_STATUS_CONNECTION_REFUSED)
so I went to /var/log/samba.log to check the error file, I got this :
Connection to LDAP server failed for the 1 try! [2010/12/10 18:08:50.919813, 1] lib/smbldap.c:1330(another_ldap_try) Connection to LDAP server failed for the 2 try! [2010/12/10 18:08:52.133624, 1] lib/smbldap.c:1330(another_ldap_try) Connection to LDAP server failed for the 3 try!
and it kept going on and on until I stop it.
Here is my smb.conf file, please take a look to see what I've done wrong here. I tried to to take out WORKGROUP in GLOBAL but there were error like " Work group name x.x.x.com is too long, so I put in WORKGROUP = etc.
[global] workgroup = mybox passdb backend = ldapsam:ldap://ldap.my domain.com:11389/ ldap suffix = dc=my domain,dc=com name resolve order = wins bcast hosts ldap machine suffix = ou=Computers ldap user suffix = ou=People ldap group suffix = ou=Groups ldap admin dn = "cn=sambaLabs2,ou=roles,dc=domain name,dc=com" ldap ssl = start tls server string = "my File Server" security = user log file = /var/log/samba.log log level = 1 Max log size = 50 wins support = yes wins server = my wins servers here winbind enum users = no winbind enum groups = no unix extensions = no wide links = yes hosts deny = ALL hosts allow = 192.168. interfaces = lo eth0 bind interfaces only = true browseable = No read only = No usershare allow guests = No
load printers = yes printing = cups printcap name = cups printcap cache time = 750 cups options = raw map to guest = Bad User
[homes] comment = home directories browseable = No valid users = %S read only = No writable = yes create mask = 0660 directory mask = 0770 inherit acls = Yes inherit permissions = yes
I loaded something on open office, but i can't read some of the things on it because i'm guessing i don't have a certain font or a certain symbol installed? what i see instead are some squares with question marks in them.
The file permissions on the folder are RW for user,group and world.(umask=0000) My main problem is with SELinux, I've tried to audit2allow and that seemed to work, all I had to do then was chcon the directory and files to type samba_share_t but the tool fails with Operation Not Supported. Am I to assume you simply cannot share files from a mounted ntfs drive under SELinux? Because I've just spent 2 hours trying and I've just about ready to just give up and just go back to windows when I need to share those folders. There's no way i can copy the folder contents to my Linux partition, far too big for that. Has anyone EVER been able to do this? Do I have to disable SELinux to do it?
I am trying to see share files on my windows machine to my linux machine. I would like an answer to how to fix the problem. This is where i am at i am using my own network to learn who to use nmap properly. I ping my whole network with nmap -sS -O. Then i used nmblookup -a which gave me the infromation i needed. Then i run smbclient -L computername -I ip address -N
This will not show me the windows os this only show me my laptop. What can i change for this to show me the other computer on this network. The port i am wanting is open. I want to be able to mount the share files and move them to my computer i am going to use the commands put and get to move the files when i am able to get to the smb: >
I'm trying to make my music directory, located on my Ubuntu box, available to all the windows clients (Windows 7, to be specific) located around the apartment. It seems to work fine, I can see and read from the shares from my windows box, but deleting files doesn't work, I just get a permission denied.I've tried being as lenient as I can in the smb.conf, as well as setting 777 on the affected files, nothing changes. I've read, from my various googling, that the octal file permissions aren't as important as the samba permissions. Okay fine, but how do I tell samba to ignore permissions and let everyone delete files? I've read that samba works with samba users, but again, I don't care about users, I just want a global share that anyone can connect to and read (and delete) files.
Here's my smb.conf file: http:[url]...As you can see, I've played around a bit with options, but I just can't seem to get anything to work.
I cant open xls files in a shared folder using open office 3.1. Its all started when i install a new open office version. when im using open office 3.0.8 i can open all the files but now i cant even open it. Its always display untitled documents.
I want my samba to keep my windows attributes exactly what the user setted in windows I mean if it has read only file in win box and copy it to samba share ,samba keep it read only and same for other attributes but it does not do it now with my configuration:Quote:
[global] workgroup = DOMAIN server string = File Server
i am new using ubuntu 10.10 and so far i like it but the only thing i have problems is to be able to connect to the network i am running Windows 7 on the main pc and when i try to connect to the network (Click on Places, Network, Windows Network "icon appears" "right click on it" and get message Unable to mount location, "Failed to retrieve share list from server" i have try many solutions for the last 3 days but no luck can somebody i just want to share some music files and be able to connect to sound system and play the music
I have a pretty unique problem with xemacs and editing a file accesible via a samba share on a remote machine.
I can only open the file once. If I try to save the file at all, or close it an open it again, xemacs hangs solildy. I have ssh'ed into the remote machine, and ran smbstatus. I've noticed that xemacs creates locks when you edit a file, but never releases them (ever). Samba then apparently thinks that the file is being written by somebody else, and never allows any other application on my machine to open or work with that file again.
I. e. when I edit a file with kedit on the remove machine, this is momentarily there while opening the file over the network:
[root@linuxdev1 ~]# smbstatus
Samba version 3.0.23c PID Username Group Machine -------------------------------------------------------------------
Service pid machine Connected at ------------------------------------------------------- shared 20431 220.127.116.11 Tue Nov 11 13:50:12 2008 shared 20529 18.104.22.168 Tue Nov 11 13:56:44 2008 shared 20802 10.0.0.100 Tue Nov 11 14:39:15 2008 IPC$ 20674 22.214.171.124 Tue Nov 11 14:12:56 2008
I don't think it has anything to do with the config file. More to do with SElinux. I need to know how to configure SElinux so I can see my samba share when SELinux is on. When I setenforce 0 I can seen all the files and folders set it to setenforce 1 cannot see anything.
Here is the output when I ran [root@fileserver /]# getsebool -a | grep smb allow_smbd_anon_write --> on smbd_disable_trans --> on
These two options were off I tried turning them on.
This is another one of the commands I tried running. I did change a few options but I am not sure which I do need to change. I am running a stand alone server so I don't need the DC option.
[root@fileserver /]# getsebool -a | grep samba samba_domain_controller --> off samba_enable_home_dirs --> off samba_export_all_ro --> on samba_export_all_rw --> off samba_share_nfs --> off use_samba_home_dirs --> on
How do you convert Open Office (ODT) documents to Text files? I have made a report using libre office. Now I wish to continue editing the document using lyx (latex front end). So the ODT file needs to be saved as some .tex file.
I don't see an option to do this in File menu (export/save as). So is there any other plugin to do this?
Have an issue with my CentOS server. I have a fully updated Centos 5.5 server and I have samba set up to serve shares to a couple of groups in my home office. I have it set up to force user/group and force directory create mode 770 and force file mode of 770. This set up works perfectly well for normal connections to the server; no matter who connects, all files and directories are owned by the specified users/group and create modes I specify. The problem is when I try to rsync some files to the same shares. When I do this, rsync ignores the directory/file forced create mode. It will honor the user/group, however. As an example, if I create a directory on one machine connected to the samba share, I get the following:
I've been reading for a while about samba but I haven't found a solution to my problem yet.I'd like to know if, the configuration I have in mind, is possible at all ("security = user" is what I'm using now).I want a directory to be: 1) read only for guests and some UNIX users; 2) write for some other UNIX users.
The advantage of this configuration would be that every single user in my LAN (with or without a UNIX account) would be able to read the content of the shared directory Music and I (UNIX user andrea) could manage the folder directly trough samba preserving the correct owner/group and permissions on the new files/folder created.
Notes about my configuration above: 1) as it is now every user gets authenticated by samba as nobody so even I (andrea) cannot write in it; 2) commenting out the line "guest ok = yes" I can authenticate as "andrea" and write in it but guest access is not possible any longer.
I have Ubuntu9.10 installed in my desktop and the version of thunderbird is 126.96.36.199 and I am facing a problem that if I open any attached document from my mail, it open in Read-Only mode. To make changes I have to save the file or click on edit button but if I click on edit button then file get renamed as Untitled document.
I created a spreadsheet which I had edited repeatedly. Today I ran out of disk space and needed to resize some partitions. After that proceedure I opened the spreadsheet and when I click on a cell to see the formula I get the message "document opened in read only mode". Other documents open fine.
I have an instuctor that uses an Apple Computer with OSX she posts her lectures online but all the images are in TIFF format.In open office they come out as black squrares. In Office XP they tell me that a quicktime decompressor is needed to view the TIFF image.Is there any way around this?Or is 95 percent of her class that uses a PC screwed?From what I have found there is no windows solution to the problem.Are you guys aware of any Linux solutions that allow you to view imbedded TIFF images in Open office? I am running Mandrake 10.1 open office 1.1.3 and Windows XP SP2. Office XP
I create a file in Libre/Open Office. Put PNG graphic file into it. Save file as .doc (not .odt).Close it and re-open.As a result, I see placeholder for my PNG image and only small thumbnail in the corner.Tried to find solution in Google and did not find anything.Did anybody experience same problem?How can I get my PNG images to show correctly in LO/OOo?
Can't use Excel files with Open Office. When trying to edit and fill out a RMA form using Excel file I keep getting a message saying: 'Protected cells can not be modified'.
Here's a screenshot. What do you have to do to get it to work with Ubuntu? Excel works fine with Windows but I can't use Excel on Ubuntu with Open Office. This is the first time ever using Excel with Ubuntu and Open Office.
We started upgrading our office package to office 2007. No problems right off the bat, but all of a sudden there are excel files stored on our linux file server that people store and share. Some of them you can open and some of them you can not open and it doesn't give a reason you can't open them it just says can't open file anyfile.xls..I attached a word doc with pic of error in excel.
I have written my own matlab script to output a cell array to csv format, but I am having problems when I try to view the file in openoffice. In my script, if the length of the string in the cell is longer than 30 characters long I put a linefeed into the fprintf. This all works great and the linefeed works in Open Office, however the width of the columns are still set to the width of the entire length of the string. For example, in my cell I will have several lines 30 chars long, say four lines or 120 chars, and the width of the cell that it is contained in matches the width of about 120 chars long rather than 30. This is a problem because it shows the text all left aligned in the cell, which looks great, but there are pages of white space to the right and the next column is off the screen. This seems obviously inconvenient.If the string is longer than 30 chars I output it in the following way:
" First 30 characters of the string the rest of the string and so on"
I feel like there should be a simple solution to this but I can't find it. Is this a problem with Open Office or my understanding of csv? Would excel have the same problem? How can I fix this?
Start>Run>\192.168.0.1storage gives me "The specified network password is not correct." It lists my domain as "ANTEC" which is the name of my computer, though I've changed the workgroup to WELLS. I've run:
As the Subject mentions I have an Office Jet 5610 All in One Printer that I am trying to share between 3 Computers.
Computer Number 1: Laptop running Fedora 12 with the Gnome desktop. This is the computer to which the printer is physically connected to. I have no issues printing from this printer at the laptop. I have installed both samba and cups. I can access cups online and manage the printer from the Laptop with no issues I have checked to make sure sharing was turned on and in the laptop i have made sure that internet sharing with the printer is turned on.
Computer Number 2: Desktop running Sabayon 5.1 with the Gnome desktop. I can see the printer and it tells me that its ready. I try to print a simple test page and i get error: Destination Printer not accepting Jobs. I'm not sure if this is a Sabayon issue a Cups issue or a Fedora Issue.
Computer Number 3 Desktop running that Redmond Crap (Wifes Computer) Yeah Redmond wont even find the network printer much less print to it.
I forgot to mention that i have checked my firewall to make sure IPP was allowed and Samba was allowed so i do know that these are not the issues. I do have SELInux installed and running though don't know if this could be the culprit or not.
I upgraded from Kubuntu 9.10 to 10.04. It was a fresh install of kubuntu, although I did leave a windows partition on there elsewhere. Grub messed up but I fixed that with a small text edit. Anyway, when I click on a file, i.e. Open Office writer or Calc, the computer thinks about it for like 60 seconds and then finally Open Office (version 3.2.0)finishes opening the file. It also does this while saving some files. It did not do this this version 9.10 which really amazes me. I have deleted OOo and reinstalled it several times and nothing helps. All other file handling seems normal, and it is a fast newer computer with a lot of memory.
Ok, this is a complicated one, and possibly not entirely a linux question, but here goes-
I have a Synology server, set to backup to an external USB disk. As I understand it this disk is formatted as ext3.
The server recently crashed, so I need to get the data off the USB disk.
Weird thing 1: if I used an ext3 reader for Windows, then I can only see directories on the USB disk, no files. Yet if I mount it back on the (now crashed, but still just about bootable) Synology, then I can see all the files just fine.
Since I can see the files on Synology I figure the Windows ext3 reader is faulty. So I copy all the files to a spanky new QNAP NAS. Telnetting into the NAS I can see everything is present and correct and all the data is there. Great!
Weird thing 2: If I try to access the data via a Samba share, I can't see any of the files. Only directories!
Weird thing 3: I tried to make it all completely open by chown to my user and the "everyone" group, and then chmod uga+rxw *. This made no difference.
Weird thing 4: If I select "show hidden operating system files" in Windows then all the files appear.
Are there some weird "extra" permissions that Synology are using? If so how can I get rid of them? Anybody have an idea what is going on?
My worst case is I'll have to boot the Synology back up and copy the files via that, but I'd like to know whats going on. Oh and black mark to Synology here for making a backup that is hard to use on anything but the original system.
I have recently installed Fedora F11 with a Samba server. The smb.conf seems fine but I cannot see any of the files in the share from a Windows machine. I am probably missing something unbelievably simple but driving me nuts!
I can see the machine and share from windows
When logged in as the user fred I can see all the files in Linux - most are owed by fred.
smbuser: Code: # x_name = SMB_name1 SMB_name2 ... root = administrator admin nobody = guest pcguest smbguest fred = fred smb.conf: Code: [global] workgroup = Workgroup server string = Samba Server Version %v
netbios name = MachineName
hosts allow = 127. 192.168.0. ......... [Docs] comment = Main Documents path = /mnt/documents read only = no browseable = yes valid users = fred ......... The other thing I find a bit odd is that Code: service smb restart does not effect the way that the windows machine sees Samba. It appears that you need a full restart to get the changes to show properly.
I have both installed, but since LO is going to be the way Ubuntu goes for office applications, can I easily have my system setup for native LO? Native being if I double clock on a .doc file it will start up LO's Write program instead of OO.Will just removing OO achieve this or is there an easier way? I looked for file associations and didn't find it.