Ubuntu :: Get Samba Work With No Password On Home Network?
Mar 20, 2010
Iam trying to get samba work with no password on my home network. I want to have Writeble permissions for creating files and folders and sub folders in the shared folder with no password needed.
I have this set up
Code:
#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#
# This is the main Samba configuration file. You should read the
[Code].....
I can access the /home/seb/ directory but cant write in it. And with the same permissions for the down directory I cant even access the folder from the other pc it only says "Could not display "smb://laptop/down".The file is of an unknown type"
And finally how can I clean up the smb.conf so it is readable?
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.
I'm looking for an easy guide to connect to my home network with Fedora 12. So far I did what I thought was pretty straight forward but I'm not seeing any computers. Here is what I've done
yum install samba restart system settings -> advanced -> samba
I set up my two paths that I wanted to be shared when I go to network in Dolphin I'm seeing Network, Network Services and Samba Shares If I click on Network nothing shows, same with Network services, samba shares shows nothing and the bottom reads "unable to find any workgroups on your local network. This might be caused by an enabled firewall"
There are two workgroups which my Ubuntu machine shows fine, workgroup and mshome, I can connect to my roomates and my girlfriends computer no problem within Ubuntu (they are running XP, Vista and Ubuntu).
Linux and have a western digital server (my book world edition) I can access it with Ubuntu 11.04, just by downloading Samba and then by clicking on network and the server shows up, but with Fedora 15, after I have installed Samba, I click on network and all that shows up is my router?
I've used Samba for several years and when it works it's great. Unfortunately from time to time it seems to get messed up and either all the 7 machines on my home network can't be seen or I can't access the shares on some. I have 2 Windows XP computers 4 Kubuntu and one Linux Mint KDE, all the latest versions. I'd rather not plough through all the documentation for Samba, but would really like a "model" smb.conf with a few comments about parts that might have legitimate variants. I have researched this with Google searches many times but have failed to find the information I need in concise form.
Currently my office use a Cisco Firewall which will only allow the ANYCONNECT utility to do the vpn connection. I found a Linux utility (OpenConnect) which will do the same thing, but allow me more flexibility with my networking needs.What I ultimately would like to have is to have a switch that I can connect any network device into it and be connected to the office. IE (my IP Work Phone and Computer) Currently I have is a computer with fedora 13 and two network cards eth0 (home network - connected to a router) and eth1 which I would like to connect a switch to. OpenConnect communicates fine and I can see the work network from the Fedora machine. It creates a vpn0 tun/tap device and I don't know how to pass communication to/from the eth1 device.
Do I try to iptables the ports for the phone and services I need on the computer? Or do I build bridge; and If I do what am I bridging. I have tried making a bridge from eth1 to vpn0 which reply's with unsupported device or something like that.Unfortunately my network skills are bit limited and my office says "it can't be done". Their solution is for me to buy a ASA5505 (or something device) and have a static IP. I would have to make it work as my router and even then it will only DHCP 10 ip addresses; which will cause a shortage of IP addresses in the house.
I am attempting a simple two computer office network using Samba. When attempting to access the shared director, a screen pops in Linux and Windows requesting a user name and password. I haven't established a user name or password. Is there a way to allow any computer on the network to access the shared file without a user name and password?The following is the result of:
Continuing with my assigned task of migrating the company's PCs to GNU/Linux (openSUSE as server for GNU/Linux clients) I managed to set up a DC with roaming profiles for the few remaining Windows users, user validation and login for the openSUSE boxes and a few network shares with different rights. I know there are no roaming profiles for GNU/Linux and I can live with that but I would like to specify wich users/groups would have their home directories saved locally (notebook users) and which will save them on the Samba server.
By default home directories are saved locally but somehow Samba creates a minimal home directory for each user under /home in the Samba server. How can I tell the client box to use that directory? and how can I set up the few notebook users to save it on their disks? Maybe using the options under Yast > Security... > Users and groups management > Users (LDAP Users filter) > and then select the user and use the "Manage Samba account parameters" plug-in for specifying the different paths cant achieve this.
I set up a samba file sharing system but my workgroup asks for a username and password see this-This is the text in /etc/samba/smb.conf:
# 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 installed SLES 10.2 with SAMBA 3.5.5.43 to retire our old Microsoft Windows 2000 Server and save some money. All was fine until last week when our chief asked to me to set password expiration for all clients. This morning, all users cannot logon because, when they logon, windows asks to change password and then it gives error error "Access Denied".
I'm trying to play a DVD across a wireless network. The DVD is in one machine (desktop - address 192.168.10.3), and I'm trying to play it in a laptop (x61s - address 192.168.10.21). The DVD will play fine on the desktop (open Nautilus and click "Open Movie Player"), but it won't play on the laptop. The drive (DVD) is mapped on the laptop as a Samba share, and I can see the disk and open it in Nautilus, and can see all the files within it (i.e. it appears to read fine). However when I click on "Open Movie Player", Movie Player opens but produces a window saying "An error occurred. Could not read from resource". If I try opening it with VLC then it won't open either. The VLC window gets a little wider for a few moments but that's about it. If I open VLC from a terminal then I get the following message in the terminal when I try to open the DVD from the network:
Code: ogp@ogp-X61s:~$ vlc VLC media player 1.0.6 Goldeneye
I am trying to have accessible computer by its network name (same as hostname) by ping and Samba client from other computers and one directory shared on my laptop. I simple, trivial wish I hope. Nothing extravagant. Something what every Windows user has out-of-the box, just to select a shared directory. However I struggle hard to do the same with linux. Sharing directory with samba is relatively easy, the issues I have is with my laptop network name. It is not recognized/propagated to the local network.
I cannot rely on static data in /etc/hosts. This is a laptop not a server, I move it between different networks. To achieve propagation of my network name (hostname) dynamically, so everyone in the local network can at least ping me, I was advised to use winbind (winbindd), that is to rely on MS NetBios technology There is no native linux technology to achieve this? shame! what about plain/dynamic DNS? why it is not my network name not propagated to my local DNS server/wifi/rooter?
To do that I was advised to do: - run winbind service (winbindd daemon) - run samba service (umm, not sure if this is necessary for network name propagation, but I also want to share data so lets keep it as an essential). - add "wins" to /etc/nsswitch.conf to "hosts" section
Well, it seems to work on my other two computers with Ubuntu and Mandriva well. But not on Suse. Well, not completely, not permanently. It magically start working when I call "Yast -> Samba Configuration". No change here (everything is already set: Domain Name, Not a DC, Netbios Hostname, Wins server support=yes, use Wins for Hostname Resolution) just hit OK. It runs SOMETHING in the background (some scripts) for a few seconds. And then abrakadabra, everything is fine, my network name is recognized, everyone can use my samba exposed directory, smb4k sees me in the Network Neighborhood.
BUT when I restart, I am "back in square one". Pinging my name does not work, smb4k does not see me, or cannot find me even by IP! Samba sharing works by using direct IP. Not all clients support connecting by IP notably not smb4k. To use Samba properly you have to sort out network name visibility fist. I would like to make "Yast -> Samba Configuration" achievements somewhat more PERMANENT.
What exactly runs when I hit OK? No new server/daemon was started. I checked PS, nothing with newer PID appeared. And samba and winbind are started on boot, they were running indeed. No change in configuration was made. I checked all changes made in /etc - but none found! Where is winbind configuration? smb.conf? Do I need to run wins server/client, another daemon?
I'm trying to setup a Ubuntu workstation in a corporate environment, right now just as a proof of concept but hopefully soon I will do the real thing. The problem is trying to establish a Linux equivalent of a roaming profile. The user logs into the Ubuntu Machine using their Windows Active Directory Credentials. (A big victory) Then I would like the client to mount their /home folder off of a Windows 2008 Small Business Server. So far I can make Ubuntu mount everyone's /home folders but I would like to narrow it down to only mount the specific user who has logged in and with proper permissions.
Mount the proper /home folder from the server with that users permissions so they are the owner, have full access etc. Only Mount the current users folder. Or any logged on etc. (I just don't want to mount every folder for every user that exists in Active Directory) Do it automagically.
I login as "dirtandgas est" (dirtandgas is our test domain) and here is the line from the FSTAB that's used to mount the directory.
Code: //server/redirectedfolders /home/DIRTANDGAS cifs credentials=/root/.smbcredentials,iocharset=utf8,file_mode0777,dir_mode0777,rw,uid=892863608 0 0 Now I know if I changed that to the following, it would only mount the one directory, but I don't want to have to maintain the FSTAB on each computer for each user. (the point of using active directory)
I am using lucid lynx, it is my only OS. I have a home network using samba with another machine using Windows 7 (I know, it is my wife and she is not ready to change to Linux yet) I just built her machine and went from Windows XP to Windows 7. The network was working great for over a year, then with the new OS I cannot get Windows to share. I can go from the windows to the Linux fine, but when I go from Linux to Windows, I see the machine and the folders that I have shared, when I click on one it says "failed to mount", if I physically mount it it ask for a password, (I have it set up to connect without a password) I set up myself as a user and try to use my log-in password, the window pops back up asking for the password. I tried my wife's password, no joy. Windows 7 is a weird OS it wants to tell you what you should do and then does it for you. I won't let you do what you want, it does what it wants.
First off I would like to install a GUI for samba. After that I want to set up my network so that router stays as the server for the network I have four windows computers already hanging off of the router. This machine which has Slackware on it is hardwired, directly connected, to the router via cat-5 cables. I have samba installed already and I just need to configure it correctly.
OK, this is really little to do with Linux, as my question really involves my Vista Home machines. Anyone know good methods to have Windows Vista (Home Edition) machines stay mapped to a SAMBA share on a Linux server? I'm using user-level security on the server (Ubuntu Server 10.10), and it (generally) works really well, but I can't get the rest of my family to use it, as (understandably), they don't want to have to type in their password to the share every time they log in to the Vista machines (or my one XP machine left, for that matter), plus the problems when it occasionally decides it's already tried to connect once and failed, and refuses to "restore" the connection, ugh. I currently have one Win7 machine, and surprisingly, with the Win7 Home Premium edition, it actually "remembers" the passwords to the SAMBA shares.
I set up Samba using command line terminal, and my network does not work. I have Samba username and keyring passwords all set, then I go to gui system-config-samba, and my samba user profile password is incorrect. In the past, I have used a 10 letter password, however, every time I boot the computer, I have to go back in and re-enter the password.I wonder if samba is truncating the password because it only accepts an 8 character password? I have deleted the user, and added a new username, and it is still doing it.
If I go into the gui and re-enter the password, usually I can get the network back up with my windows machine. All of the parameters are correct, I use the network to transfer files from my Windows to my Fedora drive all of the time when it works.
I recently got a lenovo w510 laptop and I installed openSUSE 11.3 KDE on it. the wireless works fine at home (802.11g WPA2) when I go to work I have tried to set up the wifi for the 802.1X PEAP network but it doesn't look like it even tries to connect.
The work network set up is as follows. non-brodcasting SSID (do I need to tell network manager of this? I manually enter the SSID no problem)
Dynamic WEP 802.1X PEAP blank anonymous identity no CA cert (I suspect this might be the problem) PEAP v 1 MSCHAPv2
I have verified my username and pw several times, as well as the SSID. Just yesterday I helped a co-worker get on the network under ubuntu and it worked like a charm.
The Hardware profile displays the wifi card as a "WiFi Link 6000 Series" It is an intel card.
I've tried Ubuntu, Arch, and most recently Fedora but the SUSE GNOME environment blows everything else away!
The only problem (so far) is that Network Manager requires you to enter your password every time you login to unlock the password keyring. I want to disable this.
I think some distros disable the prompt by using the login password to unlock the keyring, but I use auto-login (if that makes a difference).
I have NIS setup to manage all my users, and I have samba set up to share out a directory to the users windows computers - which are part of a corporate domain. I have a requirement to synchronise the NIS password to the Samba password so that when a user changes their password in the Linux environment it automatically updates the Samba password so that the user can simply update the password stored by Windows Explorer.
I have setup a nis server and client. At first I didn't have a local user defined on the client. The client then used the user and passwords from NIS, so that was ok.
The problem then is, that when the server is down, I couldn't login to my client anymore. So I created a local user with the same name on the client but with a different password (after I shut the nis server down, if nis server was on, I couldn't create a local user with the same name). I then edited etc/nssswitch.conf as follows:
Code: # (like no NIS server responding) then the search continues with the # next entry. # # Legal entries are: # # compat Use compatibility setup
[Code].....
If NIS server is on: client has to login with the nis password If NIS server is down: client has to login with the local password (as fallback)
However the actual behaviour is that I can only login with the local password now. The NIS pasword doesn't seem to be used anymore.
I'm having some trouble with the user's home folders in Samba, ubuntu clients.I have a Samba server (Ubuntu Server 9.10)nd a bunch of windows clients and ubuntu clients too.On windows clients, each usercan see his home folder without problems, and the other shared folders too of course.The problem appears in ubuntu (i'm using gnome desktop with nautilus and the plugin for I enter Places->Network->Windowsetwork->DOMAIN->SERVER I only see the public shared folders, but no the samba user's home folder.I tryied connecting to samba through Places->Connect to Server and entering the username (for previous auth just in case) but nothing happens...
If, in nautilus I write smb://server/username, once it asked me for my user and password (but I told the popup to keep the password forever so now it doesnt ask me anymore :S), but it keeps not showing the folder under SERVER, the only way to access it is through smb://server/username directly. Even username@server does not work.Mi auth type in the Samba server is "user", and the auth config at my ubuntu client is also userJust in case.. when I type smbclient -L //SERVER -U username, it shows me the home folder ok.
I have a Lucid Lynx server running with a 6 GB for /home and a data partition of 400 GB mounted inside home (/home/user/data). The data partition is shared through SAMBA for access by other windows machines on the network. However, the capacity of the samba share shows up only as 6 GB (or less) while the actual capacity is 400 GB. I am assuming that this because it is mounted within the home partition. I understand that 400 GB is still available even though the SAMBA drive shows only 6 GB (or less) capacity.
The problem is, I am trying to setup Windows 7 Backup and Restore on one of my laptop. The backup stops with an error that the network drive does not have enough disk space. I think that this is because the samba drive only shows up as 6 GB or less capacity even though it can store more.
How do I fix this problem? How can see the actual size of the SAMBA drive (in my case 400 GB) in stead of the remaining space in /home partition? I know I can reformat my drive and make my /home 400 GB. But I am not sure if this will fix the problem. However, I will prefer to this without formatting.
sharing the home directory of my mediacenter pc.I run xubuntu 10.04 on this machine, so I had to write my own smb.conf file:
[global] workgroup = ReteDomestica netbios name = MEDIASERVER[code]....
On my desktop PC (ubuntu 10.10) I can see the home folder of the mediacenter, but I cannot open it (unable to mount windows share) Where's the mistake?
At work, using SambaKerberos and ActiveDirectoryWinbindHowto, I joined my machine to our ADS network. Again using ActiveDirectoryWinbindHowto, I modified both common-account and common-auth with these settings.
According the the doc, when I first log in as a domain user, it should create the home directiroy /home/<whateverdomain>/<theusername>, but it doesn't.
Samba is remotely administered with webmin and aim to setup home directory sharing. I am however having some trouble getting this to work.
I was of the understanding that home directory sharing allows me to create a user in ubuntu, which samba will then pickup and offer it up as a share.
My smb.conf looks like this..
Code: #======================= Global Settings ======================= [global] unix extensions = no share modes = no security = user
[Code]....
Essentially I've found this works providing I give the samba user a password after it is automatically created using the 'Configure automatic Unix and Samba user synchronisation' option in webmin.
However if I move the location of this home folder off the main drive i.e. /home/username I get turned away at attempted login.
I've tried specifying the path in [homes] using the path = /media/discarray, but this seems to break authentication somehow.
my wireless home network is not recognized by my network card (RealTek RTL8190 mini PCI). The post was as follows: "I am using a new computer with Windows 7 , Athlon quad core 2.60 64 bit, 8GB RAM. Internet conection works fine with ethernet but ubuntu does not see my wireless network. card (RealTek RTL 8190 ID: 10ec:8190). Have searched this forum but unable to come up with a fix. I was looking for windows XP drivers to use Ndiswrapper but could not find a list of .inf files. My network is OK and works perfectly in windows and with my 2 laptops. Can anyone point me in the right direction? Additional info: install was done within Windows using WUBI to a separate partition on my HDD. I am new to this and thouroughly confused as to the procedure for installing the drivers if they are in fact available."
I am very frustrated in that I would like to use Ubuntu 10.04 but it is useless without internet connectability. I am new to linux and do not understand where to get the appropriate drivers or how to install them. I wish someone would answer this post and either give me a clue what to do or just say "give up" and uninstall ubunutu.