Fedora Servers :: Samba Can't Read The Config File?
Nov 24, 2009
I have a computer running Fedora 11. I wanted to use samba in my office. So I configured the /etc/samba/smb.conf ,but it did not work well : Windows can find samba,but when I tap in username and password,samba request them again , and the same thing continues in a loop. So I copied another computer's smb.conf (which is also a Fedora 11,samba runs well in this one).I copied this file to /etc/samba/ ,then samba can't satart up . I read from /var/log/samba/log.smbd.log : Unable to open configuration file "/etc/samba/smb.conf": Permission denied Even if I use: chmod 777 /etc/samba/smb.conf
why I can't login samba from Windows:
[global]
workgroup = MYGROUP
server string = Samba Server Version %v
; netbios name = MYSERVER
; interfaces = lo eth0 192.168.1.99/24
[Code]....
View 3 Replies
ADVERTISEMENT
Mar 8, 2009
I've read through these pages [URL] but can't seem to get Samba server working. I am using Gnome and I go to System - Administration - Services
In there I can see smb and nmb. Both are enabled, but both have a status of unknown. I can't seem to start or stop either of them. I can just enable or disable them. I've tried using the gui, as well as command line.
I'd really like to get this going as I'd like to copy files from my XP Pro box to my Linux box (F9). I have WinSCP, but am having permission issues and I can only copy to a folder on my desktop on the Linux box (I'd like to get this fixed too, but that's a different thread at a later time)
View 10 Replies
View Related
May 29, 2011
I've got a situation where I would normally use NFS, but cannot. So in it's place I need to use a samba share (even though it's linux -> linux). I need it completely open and world writeable as if I had done an rw in an NFS export. I thought I had it as when logged in as a user I can edit delete etc. however the apache user seems to be struggling with creating files.
Here's my smb.conf as it stands.
Code:
[global]
workgroup = WGRP
server string = Samba Server Version %v
security = user
passdb backend = tdbsam
unix extensions = no
[tmp]
comment = Temp Directory
path = /var/tmp
public = yes
guest ok = yes
writeable = yes
browseable = yes
[sites]
comment = Sites Directory
path = /var/www/sites
public = yes
guest ok = no
write list = siteusr
writeable = yes
create mask = 0777
browseable = no
security mask = 0777
directory security mask = 0777
note that the drive is mapped as user siteusr
What I can do to open it up more?
View 5 Replies
View Related
Mar 1, 2009
I'm trying to config a customer's samba server to use a MS 2003 SBS for auth. The samba is for file sharing only config'ed with disk quota's. Currently the samba is config'ed for auth = Users. But I want a central point for user auth, and since they already have the sbs in place, I'd like to use that.
View 1 Replies
View Related
Mar 26, 2009
how to config details of samba with commands not from gui
View 2 Replies
View Related
Aug 21, 2010
I would like to set up three directories-
1) RW public directory
2) R-public, RW-me
3) Private dir (my /home/me)
BTW, I set all file permissions (recursively) to 777 until I can get this to work...
1) So far I have got 1 samba share working Read only with the following: [Music]
[Code]...
Guests can read it okay but user 'JoeBleaux' can't write to it...
2) I can't get the public read-write dir to work, again, it can be read by everyone but no one can write to it. Here's my broken config for this share: [Uploads]
[Code]...
3) I can't get the private dir to work. Here's my broken config for this share: [HomeDir]
[Code]...
View 4 Replies
View Related
Feb 25, 2009
net ads join -U admin_name admin passwordgives the following error: Failed to join domain: failed to lookup DC info for domain 'domain_name' over rpc: Logon failureIn the log, is the error messagewinbindd/winbindd_ads.c:ads_cached_connection(127) ads_connect for domain SPCRANE failed: Cannot read passwordkinit admin@domain_name works correctly, so kerberos is working. The ticket is generated, and I can see it with klist. the smb.conf file has the matching realm. It is configured identically like a redhat 5 box that does work
View 2 Replies
View Related
Apr 8, 2011
So I finally managed to get my Samba file server working () but now I have a question. On the server I have 4 folders, each being used for a certain topic. How would I set the folders as read only but not the contents, so that way remote users can read/write to the folder but can't delete or rename the folder itself? Also, if I restart the Linux box it will cease to show on the Windows Network unless I delete the Samba share and remake.
View 1 Replies
View Related
Apr 2, 2010
I switch to linux 9.10 and I got webmin installed, I was hoping to set up samba so it would share my second hard drive over the network. Is there anyway I could share the second drive?
Here is my fdisk info.
Code:
Disk /dev/sda: 40.0 GB, 40037760000 bytes
255 heads, 63 sectors/track, 4867 cylinders
code....
Edit, Can you find out the ip of the server via commands not like this ip 192.168.XXX.X
View 4 Replies
View Related
Feb 19, 2011
I removed then deleted the samba folder. Now when I reinstall samba there is no config file. How do I get this back?
View 4 Replies
View Related
Jan 28, 2011
Can windows read files from a home file server with an ext4 file system? or do I have to partition the drive with the server (ext4) and an ntfs partition with the files on?
View 4 Replies
View Related
Oct 14, 2010
I have recently developed the need for having a file server and am interested in setting up my desktop as a Samba File Server. The problem is that I need to be able to access it from outside networks (physically I'm about 10 miles away from my home network),o I need to also set up some sort of DynDNS service so that I can access the server from anywhere.With this, with setting up a DynDNS, setting up Samba, and setting up my machine to be secure enough for these types of actions. (I just want to make sure it is secure enough since it will need to be detectable from the internet.)
View 8 Replies
View Related
Mar 23, 2010
i have setup a samba server and created samba shares on it, i have configured the samba server to authenticates users from a windows server 2003 DC,
i have 2 shares call IT and MYSHARE, I want to give read and write permissions to sevaral users to those two shares and read only permisson to all the other users.
i tried editing the smb.conf file with the following settings , but no one can write or modify the files in the shares including the users specified in the
write list = cweerasinghe,njayarathna.
[IT]
writeable = Yes
browseable = yes
public = no
comment = IT share
[Code]....
how can i give access to the write list = cweerasinghe,njayarathna users to
read, write and modify the files in the shares ??
View 4 Replies
View Related
Jul 21, 2011
I am trying to set up a windows file server using fedora 14 with samba. when I go to the a windows machine I can log in the the samba server. When I try to go to the folder I need access to I get and error saying "you might not have permission to use this network resource" I am trying to access my home directory. Directory /home/mike, username mike. As far as I can tell it is not a permission of the directory. I have a user set up in samba that uses the mike user account.
View 6 Replies
View Related
Mar 29, 2011
I'm trying to load a HP Proliant w/ Fedora 11 and setting up as a WFS using Samba. However, I'm a bit confused on how to do it. Right now I have 2 36.4GB drives in RAID 1+0 and 4 146.8GB drives in a RAID 5 config. I wanna use the smaller drive for the OS and the bigger drive for the storage. I've managed to load the OS fine, the problem is I can't figure out how to mount the 4 146.8GB drives as a single logical volume and set Samba to use it. Right now all the RAIDs are setup using the built-in Compaq Smart Array utility (or whatever it's called) that's built into the SCSI hardware or BIOS.
View 1 Replies
View Related
Feb 23, 2009
i want to configure samba on fedora 10. here are my settings in smb.conf
[global]
workgroup = MARVELSERVICES
server string = Samba Server Version %v
interfaces = eth0
[Code].....
View 14 Replies
View Related
Sep 2, 2010
I have a few ubuntu servers which have samba shares on the network and for the most part have had little trouble with them. Recently we purchased a few iMac's for one of our deptartments and, while we're able to access the shares, all the files on them are read-only and we are unable to delete/modify files using the iMacs. This is not an issue with any of our windows machines (W2K, WinXP, Vista).
View 2 Replies
View Related
Apr 5, 2011
I just made a minor change to the smb.conf file, is there a way to force the samba service to read that change without restarting samba completely?
View 6 Replies
View Related
Mar 23, 2011
Ive followed this:
[URL]
SWAT service is running
Firewall is disabled
disable is saved in this file.
Doesnt work. http://localhost:901
What to do to diagnose this? What to check?
View 1 Replies
View Related
Nov 26, 2010
this is my output when I try to compile samba 4.0.0 alpha 7 in Ubuntu using the spec file provided in the samba packages:
bin/mergedobj/samba-util.o: In function `file_lines_parse':
(.text+0x595c): undefined reference to `_talloc_steal'
bin/mergedobj/samba-util.o: In function `data_blob_talloc_named':[code]....
View 1 Replies
View Related
Mar 18, 2010
I wish to prevent the samba messages (mainly nmbd and winbindd) from appearing in the system log (/var/log/messages). I want to allow samba logging to the standard samba logfiles, but prevent the syslog getting clogged up by samba. I added syslog = 0 to smb.conf and reloaded the config but the messages were still appearing. I also tried the following (and restarted the syslog via /sbin/service syslog restart) # Suppress messages from samba.
nmbd.* /dev/null
smbd.* /dev/null
winbindd.* /dev/null
For interests sake the messages I'm getting are below (I'm not concerned about the messages themselves, I can chase them up at my leisure via the samba logs) Mar 18 09:58:29 SERVER nmbd[3808]: query_name_response: Multiple (2) responses received for a query on subnet xx.yy.z.zz for name DOMAIN<1d>. Mar 18 09:58:29 SERVER nmbd[3808]: This response was from IP xx.yy.z.zz, reporting an IP address of xx.yy.z.zz.
View 1 Replies
View Related
Jan 7, 2011
I'm planning to add 1tb sata disk to my lovely file-server under ubuntu 10.10,what i want is use this disk as additional storage for network user,indows and ubuntu?I mean when my ubuntu server down (worse case) I can easily take out the disk from ubuntu machine and plug in on windows machine
View 2 Replies
View Related
Nov 16, 2010
I have a nice little interface that generates an exim config file and a script on the server to check for changes. Unfort I cant find where to set the config file location.
E.G. I have my script generate the file to /etc/exim/exim4.conf (could be /usr/share/foo/bar.conf just as easily)
How can I point exim in the direction of that file?
View 1 Replies
View Related
May 27, 2011
I'm building a new file/media server for my household to use, and would like to hear the experiences of others, and suggestions, or links to appropriate howto's. I'll be using two (2) 250 GB Western Digital RE4 drives mirrored via mdadm RAID 1 for the Operating System. The storage area will be handled by four (4) 500 GB Western Digital RE4 drives in a RAID 5 array, managed by an Areca 1210 controller.
What I'd like to configure is a basic Samba file server, on which we have individual user folders, and a shared drive. As well, I'd like to add the ability to manage our movie collection so it can be accessed by the Boxee Box attached to the television. Twonky looks promising (and I don't mind paying the $19.95 for something that works well). However, as this is new to me, there may be other solutions out there that are better, and easier to administer. Moving forward, I'd like to explore the feasibility of configuring LDAP on this machine to authenticate users on the network (perhaps even integrate the mail server somehow), and the remote users (only two) who VPN into the network using the pfSense firewall appliance. There are no Windows servers, so Active Directory is not a factor.
View 5 Replies
View Related
Apr 6, 2010
How do I decide what IP address to enter in my config file when assigning a static IP. All of the instructions I can find say something like "of course you should modify the file according to your own settings." Should I just use the gateway and IP that returns from "iwconfig" and "route -nee"?
View 5 Replies
View Related
Jan 29, 2011
I can map / plan to read but not write.I also chmod 755 / plans done.Does anyone have a solution
[global]
workgroup = MYNETWORK
netbios name = LINUX
log file = /var/log/samba/log.%m
security = share
;
[homes]
code....
View 8 Replies
View Related
Jul 27, 2011
I've restarted Apache after making changes to the php.ini file (/etc/php5/apache2) and no changes are reflected in phpinfo() which indicates that I am editing the correct file. I'm quite familiar with the process as I've done it many times before with no issues.
View 9 Replies
View Related
Jul 16, 2011
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
[code]...
View 3 Replies
View Related
Jul 17, 2010
I want to use samba for file sharing like on a Windows home network. Actually they are all Linux machines but nfs is too complicated. On my host machine I installed samba and system-config-samba. I created a new share for /home, check marked writable and visible and put access to everybody. For preferences-->server settings--> security the "authentication mode" is set to user, encrypt passwords is no, and guest account is no guest account. Under preferences-->samba users I added myself as a user with the same windows user name as my Linux user name and the same password.
My client is a virtualbox fedora (used for testing purposes but actual clients will be real computers on my home network). I entered the address smb://192.168.1.184. When asked for the user name and password I put my regular user name and password since that was what I set in samba users. However, the password dialog keeps coming up and won't let met into my own computer. If I quit it says something like access is denied. How can I get my home network back? I liked this feature when my home computers ran XP but I switched them to Fedora 12.
View 2 Replies
View Related
Jul 10, 2011
I'm running Ubuntu Server 11.04 with OpenSSH, trying to create an ssh tunnel (for web traffic) to it from my (also Ubuntu) laptop. This is the command I'm using to create the tunnel:
Code: ssh -ND localhost:8080 george@192.168.1.20 I had it all working on a virtual machine.. which was deleted What settings/lines do I need to change/add from the default OpenSSH config files to get tunnelling to work? I've Googled and AllowTcpForwarding is set to yes, as is X11Forwarding.. but it still doesn't work. Chrome can connect to the server, but says the connection was closed before any data was sent.
View 3 Replies
View Related