Ubuntu Servers :: No Net Command With Samba?
Mar 16, 2010this 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 Repliesthis 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 Replieshow to config details of samba with commands not from gui
View 2 Replies View RelatedInstalling file sharing using eBox and get the following error:
[Code]///
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.
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]....
I have a 500GB external usb drive connected to my USB router (running dd-wrt). I have the router setup with samba and can read/write to it from any PC on the network. I have it setup to automount in Ubuntu. How can I access that mounted samba share when I SSH into the box? I want to cp or mv files from the PC to the Networked samba share via ssh CLI.
View 9 Replies View RelatedI 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 View RelatedIs there a way for a normal user to mount samba shares from the command line using devicekit? It seems like I remember there was a way to do it using hal, but that's been replaced by devicekit in Lucid if I've read correctly.
I can click on the shares I want in nautilus under "Network", but I'm using fluxbox and I'd like to mount a few shares at startup. I read the documentation for the udisks command, but I can't figure out how to get it to work with samba shares.
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 RelatedWhen 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??
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
I add user in Samba by
#smbpasswd -a noktualek
New SMB password:
Retype new SMB password:
How to check, How many user i really added
I having problem with command YUM install samba* : Below is detail :
[Code]....
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 RelatedMy 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]...
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.
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 RelatedMy 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].....
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
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 RelatedI 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 RelatedI 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?
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]....
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?
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.
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) .....
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]....
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.
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]...
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?