Decided to use opensuse as our dev environment. LAMP is running great, i can ssh in, phpMyAdmin works, etc.
So… I wanted to share out the /srv/www folder for our developers so they can work directly with their projects on the box. I started Samba server, added the share. I did not supply a workgroup name or setup a DC. So it should just be using the system users?
Well when I try to hit our smb shares on the dev server with my opensuse 12.3 laptop (Gnome) it will ask for Username, Domain, and password. I’ve not set a domain but it won’t let me leave it blank. Am i missing something? I know SMB is running because it shows under a network browse and I can manually type in the location smb://servername/sharedfolder. But it keeps asking for a username, domain, password. I have tried everything I could think of. I used the server name as the domain then created a workgroup and used the wrkgrp name. Nothing worked.
I’ve never had opensuse do this to me. Anyone have an ideas?
You have just got to take a look at my blog on the subject of Samba and fetch the bash script there that can setup Samba any way you want for a fast Peer-2-Peer network. Please read through the blog and give it a chance to help you. All comments and questions are welcome there as well as here.
The bash script does require root user access to perform same of the tasks, but Samba is a system loaded application normally and not in the user /home area. Once Samba is up and running, only normal user access is required to share files back and forth.
Everything starts with the /etc/samba/smb.conf file settings and the two service applications smb and nmb. If your config file is valid, does the two services run? What is your hostname? What is your workgroup? Are your SAMBA user name and passwords set? What are you trying to share? What are the file permissions for the files you are trying to share? There are many ways you can fail without knowing more. Most default SAMBA settings can get a valid share from another PC that is setup properly, but its got to start somewhere with an intent to share something. Instead of being stubborn, do some reading and ask specific questions. Also, I might throw in that Domains is a different subject from a Workgroup and a whole new level of access and outside the simple peer-2-peer setups for which I speak. You would have a Domain server setup to manage all users from when all of your user rights are set. This is beyond what my examples are intent on setting up for you.
By being stubborn im saying i dint want a script to fix it. So i am reading. Samba username and password are set. Smb and nmb are running. We currently have active directory running in native 2008 but I don’t want this attached to it. Our programmers are contractors.
The share I’ve setup is to htdocs. However every valid system account I try to authenticate with isn’t accepted but these accounts do have write permissions which work fine via FTP or local login. So I think I’m over looking something simple. Ill post my config.
The bash script is a tool that puts together all of the manual programs in one place. Except for a default smb.conf file it will put out for you, if any fixing is done, you will be doing it. It has the utils to double check your smb.conf file, can show all default settings and much more. Also, don’t forget your firewall settings which can block you cold.
It is getting late here in Austin (for those of us that get up before 5 AM) so I will be back online Wednesday to help further and good luck.