Ubuntu Servers :: Add New HDD For Samba Only?
Feb 4, 2010
I recently got myself a new hard drive and I want to use it as my Samba share. I just want the hard drive itself to store the files.I know once I get it set up it should be easy to tell Samba that's where I want it to store and look for files.Problem is I need to make it so the computer can use the hard drive first. I have already installed the drive. I just don't know how to get Ubuntu to recognize the drive.I also need to create a partition that uses the whole drive and format it to ext3, then I need to mount it somewhere for Samba to use.This would be easy to do with Ubuntu desktop, but I am using Ubuntu server and I don't know how to do it. I have read that I will need to use fdisk, but the post wasn't to clear on what to do.
View 2 Replies
ADVERTISEMENT
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
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
Feb 16, 2010
i have ubuntu server 8.04 witch preinstalled samba 3.0.28. I like to install from repositories samba 3.4.5.
View 3 Replies
View Related
Mar 16, 2010
this is my first post ever, so sorry if i'm not very descriptive. I just installed Ubuntu Server 9.10 x86 and I cannot use the net command that comes with Samba
View 8 Replies
View Related
Jun 24, 2010
When i set up a samba server, with no users in it, i can access from any pc, except the W7 ones.
I go to start, execute, type "\servershared" and a window pop ups asking for credentials... but i hava none!!!
i found out that user anonymous / no password works out, but its annoying
is there any way to overpass this autenthication??
View 2 Replies
View Related
Jul 23, 2010
I'm having problems with Ubuntu 10.04 samba PDC and windows7. I have a test network that I'm using to evauate 10.04 before I use it in production and have come across an intriguing problem with Windows 7. I have a clean brand-new installed Windows 7 ultimate and I have no problems joining the domain. (Standard registry modifications made). I can logon the window 7 box locally without a problem however when I try to logon using the domain the Windows 7 box accepts my password and start to load the user profile, at the point where the desktop would appear message is displayed to say "logging off" and returns me to logon screen.
What I have done to date: --
wiped Windows 7 box and reinstalled
Wiped user profiles both local and on PDC (including all user information)
Performed a complete uninstall of Samba (including TDB's) and
reinstalled a fresh copy of Samba and manually edited the smb.conf is a minimum basic PDC
I have no problems with Windows XP (SP3) box at any stage
View 3 Replies
View Related
Jan 11, 2010
I'm using ubuntu 9.10 x86 server edition and I switched to Ubuntu from Debian. The only problem I have now relates my Samba server. I installed Samba v 3.4.0 and suddently my network connection (eth0) goes down. I have never seen that before. This issue only happens when samba is running.
View 3 Replies
View Related
Feb 24, 2010
My setup:
Ubuntu Karmic Server Edition 64 bit
Dell PowerEdge T610
4 internal NIC RJ45
1 add-on NIC Fibre 1 Gb
Samba 3.4.0
two shares intended for WIN clients
Connections: eth0 (the first internal NIC) is part of a private network of 4 servers connected to a Gb switch. this connections serves as a fast link among these servers to regularly transfer (backup) large quantities of data. Only I can utilise it from within the server room (among those servers, obviously).
eth0: 192.168.0.AA1 eth4 is the Intel add-on NIC with 1 GB fibre connections to the public network of our institution. This is the link/IP my WIN clints have to use to access their shares. eth4: 134.XXX.YYY.ZZ1
My Problem: Despite having including both interfaces in my smb.conf only the internal connection via eth0 lives up to my expectation and delivers up to 50 MB/s. All clients trying to connect via eth4 will be able to see and access the shares, but file transfers commence with speeds severely below 0,5 MB/s with lots of aborts and warnings from the WIN file explorer.
So I experimented with the setting "interfaces" in the global section of smb.conf --- to no avail. I even set samba only to eth4: same problem. Only way to get flawless & fast transfers is the way through eth0. The samba log files of the clients I tried do show some errors, but I fear I am unable to interpret them properly.
/etc/network/interfaces
Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface Intel Gb link via fibre
auto eth4
[Code]...
View 5 Replies
View Related
Feb 24, 2010
I am using ubuntu with samba. I have a windows 2003 server and i want to log in from the w2003 to the samba server. But when i do this (i have samba set up and made the shares) i get a pop up asking for my username and password.
when i fill in administrator (i am logged in at the w2003 with administrator) the username changes to samba/administrator, but i cannot log in.
View 2 Replies
View Related
Feb 25, 2010
I am running Ubuntu 8.04 LTS as my Samba/LDAP PDC on my network. Unfortunately, I need to get a newer version of samba than the current repositories for 8.04 provide. I need the Samba 3.4.0 that has been updated for Ubuntu 8.10 to allow Windows 7 to join domain as outlined here (I am currently running 3.0.28a I think). Is there a way to set 8.04 to use the 9.10 repositories and use apt-get to install samba 3.4.0 from them?
View 3 Replies
View Related
Mar 22, 2010
My problem is that the samba daemon does not start on boot-up anymore on my file-sharing server.Samba starts flawlessly if start it manually.If I run:
Code:
/etc/init.d/samba status
I get :
[code].....
View 9 Replies
View Related
Apr 16, 2010
For some reason SAMBA is not showing up
[default-www]
writeable = yes
read only = no
path = /var/www
force group = nogroup
force user = nobody
guest only = yes
public = yes
create mode = 777
directory mode = 777
I can see Ubuntu on the LAN, but nothing being seen under it. What is wrong with it? /var/www has been chmod already, and set to 777
View 3 Replies
View Related
Apr 22, 2010
I have an Ubuntu Server 8.04 that is operating fairly high CPU loads - Samba appears the culprit. I have 5 main shares with 17 users. Other packages include Apache (2 Wordpress sites for intranet only), YaCy (minimal indexing 10 pages/minute), and a MySQL business database with no more than 10 concurrent users. This only started in the last 2 weeks - updates are not the culprit.
View 1 Replies
View Related
May 4, 2010
I am unable to join a W2K or XP machine to a Samba PDC. I have tried to make this work on both 8.04 LTS and 10.04 LTS without success. Everything else works but I cannot add machine accounts "on the fly" using the "add machine script" as provided in the server guide. I have been able to make it work by enabling the root user but not as a user with admin privileges and sudo in the script. Despite multiple attempts including a new 10.04 install and following the instructions (in the 9.10 server guide) to the letter. Does anyone out there have a samba PDC actually running on Ubuntu and able to add machines on the fly without enabling the root account (i.e using SUDO in the script and a user from the admin group)?
View 1 Replies
View Related
May 19, 2010
I just installed ubuntu 10.04 on a pc... the server edition. i went to restart samba and it is not in the init.d directory. is there a different folder for server plateforms? cause im use to my 9.10 desktop edition.
also one more question, when i "ls" the /ect/ directory of course i cant see the whole thing because my monitor only shows the bottom of the file, is there a way to list it like the "more" commands, or possibly scroll up?
View 9 Replies
View Related
May 20, 2010
i am trying the set up a simple home server and I can see it on windows computers, also i cannot accesses it with its name only its ip
[Code]....
View 9 Replies
View Related
Jun 20, 2010
My first post, and I'm an Ubuntu n00b. But I've done a lot of reading and still can't seem to get anywhere with this. First of all. I know that I've set Samba up correctly because I can create a share in /home/documents which is mounted on my primary hard drive /dev/sda1, Windows 7 can access it no problem. But, when I try to set up a Samba share on my second hard drive /dev/sdb1, Windows 7 cannot access it. I've mounted the share in /media/Share The error I get in Window 7 is: " Windows cannot access \HOMESERVERData Check the spelling of the name. Otherwise, there might be a problem with your network."
My first thought is I must have the hard drive mounted or formatted incorrectly, but I can't find anything on this forum to tell me otherwise. I feel like I need to restart the process of this Samba set up. Can someone please guide me through: reformatting sdb1, mounting sdb1, setting up my smb.conf, fstab, and any other config files required to use my second hard drive as a Samba share?
View 6 Replies
View Related
Jul 14, 2010
I have two 1TB hard drives, one in my Linux server (running Debian, but I thought I'd ask here anyway) and one in my Windows desktop.
What I would like is a file synchronization program that will automatically (or scheduled via cron) synchronize my hard drive on Linux with my hard drive on Windows via Samba.
View 1 Replies
View Related
Jul 18, 2010
I have two ubuntu 10.04 64-bit servers running samba (3.4.7) and openLDAP (2.4.21). The LDAP directory is successfully replicating between the two servers. These servers also serve as LDAP servers for sudo, pam, nss, and other services for a dozen servers without issues. The BDC samba is configured to use itself for LDAP. I connected to the BDC using the samba ldap credentials and verified I could a) see the Computer object b) read NTPassword and LMPassword. The workstations can authenticate to the domain successfully against the PDC. If a workstation boots and connects to the BDC, they login fails with:
Code:
[2010/07/18 11:46:23, 0] rpc_server/srv_netlog_nt.c:336(get_md4pw)
get_md4pw: Workstation MACHINENAME$: no account in domain
[2010/07/18 11:46:23, 0] rpc_server/srv_netlog_nt.c:584(_netr_ServerAuthenticate3)
_netr_ServerAuthenticate3: failed to get machine password for account MACHINENAME$: NT_STATUS_ACCESS_DENIED
Successful authentication against the PDC shows:
Code:
[2010/07/18 11:59:20, 1] smbd/service.c:1063(make_connection_snum)
MACHINENAME (192.168.2.145) connect to service netlogon initially as user username (uid=30000, gid=512) (pid 1727)
[2010/07/18 11:59:20, 1] smbd/service.c:1063(make_connection_snum)
MACHINENAME (192.168.2.145) connect to service data initially as user nobody (uid=65534, gid=65534) (pid 1727) .....
View 1 Replies
View Related
Aug 24, 2010
I have a problem with a samba setup and need some assistance. currently I one share with sub dir under it and i can access the file fine from my mac however when i log in with windows im getting a error message saying that windows could not find the resource. I am familiar with the gui version but Im in the process of setting up a home server and im trying to do all this through ssh terminal. here is a copy of my smb.conf file. Mind you this is still a work in progress but if anything is out of the ordinary or should be corrected please let me know. I have it setup to make a share called media and share whatever is in that folder. /home/media~ i have already chmod 777 the dir btw.
#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#
# This is the main Samba configuration file. You should read the
[code]....
View 4 Replies
View Related
Oct 1, 2010
I was so sure it must be easy to set up the file permissions like I want, but obviously it isn't. Here is what I want to have: I have a samba fileserver (only Windows clients connecting) with a common share. Everybody is supposed to be able to put files on the share, but no one should be able to delete files which do not belong to oneself. I want several users to put files in a common directory, so they need write access to the directory, right?
But all the same they should not be able to delete files from others. So they are not allowed to have write access to the directory, right? It all works fine with modifying etc. but still I can delete files I am not supposed to do. I learned already that permission to delete is bound to the permissions of the containing folder and that sticky bits might help. But either they don't or I didn't get it right until now.
View 1 Replies
View Related
Oct 10, 2010
I had a working server 9.04 on my network and I could access shares via Samba and MacFusion from Windows, ubutu and mac boxes. After the upgrade I can not access shares via Samba, I can ssh in it just fine (no change there) also Macfusion mounts the paths just fine.
Anybody had this problem with the upgrade? It must be samba everything else is working (also I can't access any files from my Ubuntu Laptop running 10.10 Desktop edition)
Here is my smb.conf file:
[global]
workgroup = WORKGROUP
server string = %h server (Samba, Ubuntu)
wins support = yes
; wins server = w.x.y.z
dns proxy = no
[Code]...
View 9 Replies
View Related
Oct 13, 2010
I recently installed Server 10.10 64-bit. After installation, I set up my config file (/etc/samba/smb.conf), and tried to restart Samba:
Code:
/etc/init.d/samba restart
There was nothing to restart though - the file /etc/init.d/samba wasn't there!
Purged the package and re-installed. Tried reformatting and adding Samba as a pre-installed package. Trying to find the server guide for 10.10, but no dice. Did something change for Samba in 10.10?
View 1 Replies
View Related
Nov 5, 2010
This is (I suspect) a Mac OS issue but they've given no help (or replies!) on Mac forums so I'll ask here.I've just got a Mac and I can connect to shares on my Ubuntu (10.04) server, read files and create directories but I cannot write. I get this error:"The operation cannot be completed because you do not have sufficient privileges for some of the items."I can connect from the command line with smbclinet and write fine. I have tried several different users on both the Mac (cannot write) and Ubuntu clients (can write).Is this something to do with the ._filename files that finder creates? Or is there something wrong with the way I've set up my server? This is the first time I've used it with a Mac client.
View 9 Replies
View Related
Dec 18, 2010
My scenario is based on Ubuntu server guide, can be found at [URL].. Step 1: I do as chapter 6, install OPENLDAP server, populating LDAP => run ok. Step 2: do as LDAP Authentication section => run ok. Step 3: Install samba => ok. Step 4: do as OpenLDAP Configuration section => there's a problem here: when I run the command:
Quote:
ldapadd -x -D cn=admin,cn=config -W -f /tmp/cn=samba.ldif.I can't login to LDAP server, it said that:
Quote: ldap_bind: Invalid credentials (49)
I am sure that the password is correct, but I still receive this message
View 3 Replies
View Related
Jan 7, 2011
I want to setup a file server using Ubuntu, The first thing I want to get off the ground is just simple file shares, is Windows 7 still having problems with Samba or has this been fixed? Secondly does anyone have a plain noob freindly guide on how to setup and get Samba off the ground
View 9 Replies
View Related
Jan 17, 2011
I have Ubuntu 10.04 Server running on an old pc in my basement. I installed samba and samba4 on it. I added users, etc. However, i cannot find it in my network locations on my Ubuntu 10.10 laptop
View 3 Replies
View Related
Feb 3, 2011
I'm running a set of virtual machines (most in ESXi, one in VirtualBox on my desktop) to try and replicate an existing physical network structure with a Samba domain operating across multiple subnets. The layout is:
(ESXi)
* Router - Ubuntu 8.04, running dnsmasq, bridging my 2 virtual subnets (10.10.4.1/24 & 10.10.5.1/24) and my physical network
* PDC - Ubuntu 8.04, configured as a Samba PDC with PAM configured to use LDAP, SMBLDAP etc. on 10.10.4.11
* LDAP - Ubuntu 8.04, running Zimbra 5 mail server, acting as the LDAP backend for Samba on 10.10.4.12
* BDC - Ubuntu 8.04, configured as a Samba BDC with PAM LDAP etc.
* Client1 - Windows XP, joined to domain on 10.10.5.100
(Virtualbox)
* Client2 - Windows XP, joined to domain on 10.10.5.99
Watching /var/log/daemon.log, /var/log/samba/*, smbstatus -bd0 shows that Client1 successfully logs on to the BDC (10.10.5.2) but Client2 logs on to the PDC (10.10.4.11) instead. Both clients have the same subnet, DNS, WINS settings etc. I've seen the issue happen in our physical setup too but very infrequently and usually when there's been a network interruption between the BDC(s) and the LDAP server.
View 1 Replies
View Related
Feb 21, 2011
I'm trying to set up the server to at least ask for a password. I can connect to it without any trouble, but so can everyone else.How can I make samba ask for a password?
View 2 Replies
View Related