I'm running Ubuntu 10.04 and Samba 4.The folder I've shared is on NTFS partition and though is visible from other Windows 7 system on LAN, can't be browsed. Even from my own computer if go to network places the folder is there but when I double click on it I get
using OEL 5.4, which uses Gnome 2.16 interface I can see my share from Windows, but whatever I do, I get messages that my share is not accessible. The whole user thing is quite complex, dont understand what user I should use on Windows, what password, what user should have what rights on linux.
I'll post smb.conf tomorrow ... The problem is that Windows lacks any decent error message, stating what kind of error message. Is there no Samba client for Windows?
have a server here running opensuse 11.3 that I need to access via network using samba. Samba is working so far and I can ping the serve and browse the shares from windows (WinXP) computers; but only via the IP.Now I've read up on samba on this forum and other sources, like the official samba documentation and compared my smb.conf with an older one on another server which works (and even copied this one over to the new one) - to no avail.I seem to be missing something and I just can't find it.Since the problem is probably not in the smb.conf (previously working one doesn't work on new server) - where else could I have screwed up?
Yesterday I reinstalled my ubuntu 11.04 and now I cant get samba to work. I allso installed Firestarter to get internet connection to my media center pc. In firestarter I have unchecked in the "advanced options" "block broadcast from external network".In my media center pc when I go network connection and view workgroup computer, I cant see my computer at all. If I try to ping my computer then everything is ok.
I'm running slack64-current.I setup samba to share a printer on my home network. I can print to the printer locally.The printer is visible on the network. However when I try to print anything on the printer via samba (or cups for that matter) from either the local machine or the remote machine, everything acts as if the job went through, but nothing happens. I'm sure I've seen this before on another slack machine that is currently unavailable, but I can't remember what the answer was, and I'm trying to be more precise with this setup so that I actually learn something.
smb.conf PHP Code: #======================= Global Settings=====================================
I have Linux installed on one machine with samba running and a second machine running XP. They are going through my router and I am using the same username/passwords for both machines and I have even gone to the point of allowing access to everyone for the share I created and the worgroup in samba is MSHOME just like my XP machine. When I view (or search) my workgroup computers my Linux machine shows up and so do the shares I created but when I try to open them I just get a message that permission is denied and I may not have permission to use this resource. I even tried setting access to the shared folder to 777 but still I can't open this share. Has anyone got any idea of why this is?
I have Samba 3.5.3-61 running on a Fedora Core 13 system. I created a share that is browseable to all systems, and I made sure to create a user account via the smbpasswd utility. When I try to connect to the server from a Windows XP system, I am able to enter the appropriate sharename as well as the username and password.
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 a windows machine on which a printer is installed and configured. This printer is already shared. Now, I have a linux server (RHEL 5.4 x86) in which we have our Oracle Application Instance running. Requirement is to to print reports from Oracle Application erp software to the printer attached to the windows machine. I am trying to configure the printer from linux to print to that printer. I getting the following error: "This print share is not accessible."
this gets mounted correctly and i can read/write the shared folder at home i have a win7 box that i create a share on and use the exact same code in fstab, but it wont mount the share. i get something like permission denied or access denied is there a difference in how winxp and win7 share folders? my usernames on the linux boxes match those of my windows boxes at each location. i have given my win accounts full access and control over the win shares.
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.
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
In my fstab I have this entry to connect to my NAS box:
Code: //192.168.0.1/share /mnt/share cifs username=user,password=******,auto 0 0.For a while it was connecting on startup with no problem (it connects via wifi). But now when I navigate to the directory there is nothing there. However if I run mount it reports this:
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.
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 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.
Code: libsmbclient0-3.5.6-43.el5 pam_smb-1.1.7-7.2.1 pam_smb-1.1.7-7.2.1 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 Used to rum simply Mepis 8.0 and I had no trouble accessing the files from winxp. I recently changed to Ubuntu 10.10 with the ext3 file system and can't access the files from winxp. I know about the ext2IFS app and that is what I used with Mepis and it worked fine.
I have a share accessible from XP. However if I go for lunch and come back when I click on the share in Explorer it says its not accessible. When I click on it again it works. Its like the network card in the Suse server is going to sleep but I cant see any settings for it. I know where they are in XP and wonder if they are somewhere in openSuse? Or if there is some other explanation.
I did a wget on the source and built the apache binaries correctly. Now what do I need to do to get some documents accessible using HTTP (start some services?)? Also, do I need to group all the files I want to make accessible in some directory and make the directory and its contents accessible or can I just make the individual documents available? I will be providing these links to my colleagues and do not want them to be down, so need to make sure that the apache services are up automatically after a reboot. Does apache have some inbuilt support for this?
I've tried using the "devices->Shared Folders" to create a shared folder but it didn't work. I still couldn't see it from the guest OS (winXP). I also, tried sharing a folder in winXP and then tried adding a network folder in dolphin - also didn't work.
xxxxxx:/etc/samba$ uname -aLinux xxxxxx 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 i686 i386 GNU/LinuxI have a printer shared off of Windows XP. I have always been able to print to this from Ubuntu by adding a network printer through the "Windows Printer via Samba" gui.Now, in Natty, I can set up the printer no problem but all jobs fail. In the printer properties gui I can see this text briefly: "Processing - unable to connect to cifs host".The errors in /var/log/cups/error_log are:
E [28/May/2011:14:32:31 -0700] [Job 15] Tree connect failed (NT_STATUS_BAD_NETWORK_NAME) E [28/May/2011:14:32:31 -0700] [Job 15] Tree connect failed (NT_STATUS_BAD_NETWORK_NAME) E [28/May/2011:14:32:31 -0700] [Job 15] Tree connect failed (NT_STATUS_BAD_NETWORK_NAME)
I'm having some troubles with my samba shares on a fresh install of Fedora 10 x86_64 on my laptop. The laptop has only the KDE Desktop environment. I'm trying to share between this computer and my homebrew server via a wrt54g linksys router running DD-WRT firmware. The server is running Fedora 9 i386.
The shares on the server can be read by the laptop, and I have been consistently able to mount the server shares on the laptop using mount.cifs, but only when the firewall on the server is down. Shares are only visible between the machines when the firewall is down on the machine containing the share. I set up the shares using the system-config-samba tool, and the firewalls are both set to allow samba server and samba client. I can typically see the laptop from the server, but not the shares, and only when the laptop firewall is disabled. I can access the Laptop shares from the laptop. When trying to mount the laptop shares on the server, a warning message stating that the mount failed appears. Shares show up as correct in both the system-config-samba tool, and the KDE sharing tools. The share shows a "shared" icon in the dolphin browser.
From all that I know, the shares should work perfectly. I've searched the web, perused the man pages and how-to's, and combed through the forums, and everything I've found tells me that the shares should be working. Since they are not working, it leads me to believe that I must have made a mistake someone and not noticed it.
I have been trying to set up a small file server on Fedora 15 using Samba. When I try to connect from WindowsXP it says the network is not accessible. I have tried to make multiple changes to the settings but to no avail.