I have migrated a client's server from Ubuntu 8.04 to 11.04 (they wanted that instead of debian 6 or ubuntu server, despite my best efforts)
The only service still hanging in the balance is samba. It refuses any connections to it and I can not figure out why.
Here is my conf file: (i noticed the interface line is commented out - eth0 is what the machine uses, it was commented out on the old machine and worked though)
Code:
[global]
workgroup = WORKGROUP
server string = %h server (Samba, Ubuntu)
wins support = no
; wins server = w.x.y.z
I've setup a samba server on a centos 5 machine and am trying to connect to it via a windows 7. The problem I'm encountering is that the only share I am able to connect to is the tmp share. It doesn't matter if it is a protected share or not, I always get a "network path could not be found error" when trying to open the share from windows.
Fairly new Linux user, running Fedora 12, attempting to set up a simple Samba share to share files with a Windows box. I've gotten to the point where I can connect from the Windows box, and see a home directory and the directory I'm trying to share. The home directory is accessible and works as expected, but when I try to access the other directory I get "The network path could not be found."
I set up a Samba server to authenticate 3 users: ladmin, lead, and volunteer. From both a Linux and Windows XP machine I confirmed all 3 can log in and have appropriate read/write access to the server. In Linux I used smb://host/ and was able to log in. In Windows I used the \host method to similarly browse the share. It seems both Windows and Linux machines have no problem connecting. But I also use a BartsPE (DOS) based CD to connect to the server and it keeps telling me that the password for volunteer (the account I configured to connect to the server) is invalid.
I checked the configuration file the password I'm using is correct. I'm guessing that the problem has to either do with the fact the passwords are encrypted, or that I'm missing some option in my smb.conf file. To create the lead and volunteer accounts I used webmin. I first created nologin Linux user accounts and then converted them to samba accounts using webmin. After doing this I was able to log in from Linux and Windows boxes without problem... the sticking point is this DOS connection. Here's my config file (with some modifications):
I am trying to connect to my samba server with xubuntu, so far with no luck.
I am trying to use fusesmb and have been following these instructions:
[URL]
as well as these:
[URL]
and these
[URL]
the top ones say to use Applications - System - shared folders to setup smb client. Xubuntu maverick doesn't seem to have that menu point. So I copied the smb.conf from my desktop machine. libsmbclient is installed.
fuse as such seems to run since teh folder that i designated as mount point (~/Network) changes owner to root when i run fusesmb Network. But apart from that nothing happens.
My university provides instructions for connecting to their printers and network shares in Ubuntu. They work pretty smooth, but I've run into a couple of problems when trying to follow these instructions in Lubuntu:
1. Windows Printer via Samba printer is missing under Add-->Network Printer in the printer utility (system-config-printer 1.2.3, same one as in standard Ubuntu) I'm guessing I need to install some samba related packages that standard Ubuntu includes by default, but which ones?
2. To access network disks in standard Ubuntu, for example your pesonal space, you select Go-->Location in Nautilus and enter an address of the format smb://something.university.domain/resource. How can I access such locations with PCManFM?
i just installed zenwalk on another computer in my house (experimenting with zencafe as well) and i also installed the source code of samba directly from the website (i saw that the smbclient command wasn't there when i first installed zenwalk) i have a samba server that has ubuntu as its operating system and i would like to connect my zenwalk system to the shares so i can access them from that computer
i heard that smbclient is the way to go when you do something like this so i tried it a few times and nothing worked ps i am using webmin to configure samba on my ubuntu platform
I'm trying out Samba for the first time, the main directory is called "workplease", and I have 2 users, "keith" and "aspire". I set the permission on "workplease" to aspire by doing "chown aspire:aspire workplease". Then on my windows7 machine I can connect to the samba server using aspire login, see my "aspire" folder and the "workplease" folder, I can create txt files, folders ...ect
But I would like the user account "keith" to be able to read/write to the same "workplease" folder. I added both users to the group "networkg" by doing
"usermod -a -G networkg aspire" "usermod -a -G networkg keith"
So my question is how can I make the folder "workplease" have permissions to let any group members of "networkg" read/write/execute anything they put in that folder, or sub folders? Im getting rid of my Windows Home Server , and trying to use samba to do the file sharing for my buddy and I.
edit: Seems doing "chmod 774 -R workplease" changes the permissions on all the files/subfolders, to give owner and group full access only, but is there a way anytime someone creates a txt file, or copies over an mp3 for example, it auto-maticly has 774 permission?
I have Samba PDC server on CentOS 5..we have 10 thin clients in our network which were working fine previously with the windows Terminal services... Now i have replaced my windows 2003 Domain to Samba Domain Controller.. Is there any why i can connect our thin clients with SAMBA DC in the our environment?
i want to know how to connect it to debian,fedora, mandriva, puppy (or any other distro thats independant and most software needs to be installed with tarballs)and i also want to learn to connect to it with mac os x, and solaris (open solaris)
if i try to connect to my samba server ( share ) from my windows xp ( or vista, i've tried both ) it says, that the network share cannot be found. i've installed all necessary rpms on my fedora 10, necessary for running a samba server:
after that, i've configured the smb.conf file, as follows:
Quote:
[root@*********** samba]# cat /etc/samba/smb.conf #======================= Global Settings ===================================== [global] # ----------------------- Netwrok Related Options ------------------------- workgroup = GROUP
[code]....
there is no iptables definition, or any other firewall installed, neither on the server nor the client. i've read through alot of howtos an manuals, but was not able to find the problem.
I have steup samba shares on my Susi pc. I get to the point where the server asks for a password for the user I have on the Susi box but when I enter the password it fails to connect. tried to add the user, password and enabled the user in the samba conf file. But not sure where it should appear I give below the smb.conf file:
# smb.conf is the main Samba configuration file. You find a full commented # version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the # samba-doc package is installed.
I have an ubuntu 11,04 samba domain server, I want to also configure this machine to work as a dhcp server, however this have give me some issues with te windows 7 workstations, my guest is that it have something to do with the iptables because those station do join the samba domain went both server and workstation are conected to a router.
This is the script I use at boot
Code:
#FOR SHARED INTERNET /sbin/iptables -P FORWARD ACCEPT /sbin/iptables --table nat -A POSTROUTING -o eth2 -j MASQUERADE
[code]....
I haven't test it with windows xp station but I have use the same code in the past with no problems, and since this is my first time joining windows 7 station i belive there must be some other port that need fowarding.
I have a server at home running as a file server and DHCP connected to a switch with a wireless AP in there as-well. with this setup I can access the files and do some configurations via SSH on the actual server anytime I'm able to get the wireless signal, now lately I felt the need to be able to do the same but this time over the internet. I've read somewhere already that I'm gonna need a router with port forwarding and NAT, then know the IP address of the server but my problem is once you start talking about routers then you need broadband connection which is something I don't have. Getting a router is not much of a problem but without ADSL like connection I guess its useless, what do I need to do?
I`am just trying to connect Samba with ldap to make it simpler for the users to log in. We have already attached squid, so by that we thought it would be easy to do the same with samba. I think we did something wrong with the ldap config for the os with is btw:
Quote: SUSE Linux Enterprise Server 11 (x86_64) VERSION = 11 PATCHLEVEL = 1 We added Quote: ldap admin dn = cn=xxx,o=xxx
When I try to connect to the share from my XP machine, I get a "network path cannot be found" error message.
Below is the entry in /var/log/samba/samba.log
[2008/11/19 11:57:51, 0] smbd/service.c:make_connection_snum(1003) '/server2/test' does not exist or permission denied when connecting to [server2] Error was Permission denied
Here is my smb.conf file:
[global] # Server name server string = Intranet Server (Primary)
# These are the default password settings. ; encrypt passwords = yes ; smb passwd file = /etc/samba/smbpasswd
# Define NT domain/workgroup name. workgroup = intranet
# Security mode. (See SAMBA documentation for details.) ; security = user
# Restrict conections to specific IP addresses. hosts allow = all
# The %m variable sets a separate log file for each # connecting machine. # log file = /var/log/samba-log.%m # Keep it basic - one file! log file = /var/log/samba/samba.log
# The number of minutes inactivity before a connection is # disconnected. (This disconnection should be transparent to most # clients, which an have auto-reconnect feature. Removing inactive # connections is to preserve the server's resources.) deadtime = 10
# These socket options are suggested in the default smb.conf file. # Who am I to disagree? socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
# Define both Ethernet interfaces. (Otherwise, I suspect only one # will be configured??) interfaces = eth0 eth1 username map = /etc/samba/smbusers ; guest ok = no ; guest account = nobody
I'm trying to set up a VPN connection between our CentOS 5.3 server at work and my bosses XP computer at home. At this point, we are kinda locked into Quickbooks. I'm testing the connection from my XP boot at home to see if it works. I can log into our servicemanuals easily enough from XP at home however, the windows takes forever to update. I have the Samba server only listening on port 445 because is seems to work more efficiently at work. I connect to the Samba shares via linux from home and everything works well but, when I try to do anything with the shares from Windows client at home, it's very slow!
I'm thinking that it must have something either to do with the Windows OpenVPN client or the client.conf file. Is there anything I should look at in the .conf file for answers?
I need to know is there any way to record or tracking or make logging if when user samba delete files or folders i can know that, cause sometimeon samba server some users complain they lost files, though i have daily backup and i can restore their files, i just want to know if or maybe some other users in one group accidentally move or delete the files.
I have to rename a group of machines in my little samba domain (tbd backend) but there is an ugly bug that makes this impossible. have set 'rename user script' variable corectly, also checked all configurations.When i change computer name in my windows box, it shows an error saying something like "Error calling remote procedure"Looking on server side, username for the machine gets correctly changed in /usr/passwd, and also in samba database.But samba log says:
=============================================================== [2009/10/08 11:10:32, 0] lib/fault.c:fault_report(42) INTERNAL ERROR: Signal 11 in pid 11052 (3.0.33-3.7.el5_3.1)
I just installed UNE v10.10 on a new netbook and I guess I've become too spoiled using the Desktop's PLACES->Connect to Server because I can't find where this is in UNE. I'd also like to "bookmark" it so I can single click to connect to "crunch20/netshare2" (I have added ip for crunch20 in /etc/hosts).
I am running Jaunty 9.0.4. I used system-config-samba (gui) to configure Samba. I put myself as a user and tried to map the drive from my local PC. I am unable to map the drive. On windows, I try to connect using a different user and when I select finish, it prompts me again and adds my workgroup before my user name.
I have an Ubuntu server that's part of a Windows domain and requires Kerberos authentication when connecting to its Samba shares.I have an Ubuntu desktop machine that is capable of obtaining Kerberos tickets via kinit and can successfully connect to the Samba share on my Ubuntu server using Kerberos authentication via smbclient.
I am trying to setup Samba to connect to my NAS drive, so far I have it connecting but normal users only have read only access, this is what I have done so far
I have a server running Ubuntu Server 10.04 that is a VirtualBox/Samba/SSH server. I have port forwarding set up for ports 22 and 3389 (SSH and RDP) and I want to access the Samba share without opening any other ports. I can connect to it from my internal network, but I want to be able to access it from school. My best guess would be to tunnel the Samba port through SSH, but I don't know how. I will be connecting to it from Ubuntu 10.10 Desktop.
Here is what I am trying to do. I set up a Samba server on Ubuntu 10.10, which seems to be working (sort of).
I set it up using Webmin, which has always worked for me before.
I set up two shares, both of which are read/write and are allowing any hosts. And are set up using the default samba configuration that is provided by Webmin.
For privacy reasons I won't disclose the domains, but I will call them test.abc.com and xyz.com
I set up /media/mount as a share called [mount_a] and I also set up /media/mount_b as [mount_b]
The server's host name in my internal network is mount-box
I originally mapped it to a sub-domain of my domain abc.com via DNS, so that test.abc.com resolves to the IP address of my router; which has all the necesarry port forwarding set up.
In windows explorer in the remote location I tested it by using \test.abc.compoonani_a, this works fine and after a password prompt I can access my files. However, I do not want to use this domain name for this server, so I registered a new domain name and again via DNS mapped domain xyz.com to the IP address of my router.
Since setting up the new hostname, I cannot connect to it via Windows to access the samba share. It just won't work. When I try to connect the password prompt appears and I put in my credentials, when I submit it the window re-appears and it has appended the servername xyz.com before the username, so it reads \xyz.com<myusername>, but won't let me connect.
If I try again with the previous hostname test.abc.com, it works fine.
What am I doing wrong that it would let me connect with one hostname, and not another.
We have Ubuntu Server for samba share. We have windows xp clients working perfectly as client station.However, we are facing problem in connecting ubuntu client. Can anyone guide me, how to connect ubuntu client to samba share. (Not as root user)
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.