Re: upgrade to natty problems - network down
Here are some useful links I found: This one has ALL info you need to set it up, also its straight from the developers and written in a very clear way. http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/install.html#id2551954 This one is for troubleshooting, it has helped me TONS of times to figure out what is happening. http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/diagnosis.html This one is for natty clients, specifies how to connect your clients to a server and provides various ways to do it. http://ubuntuguide.org/wiki/Ubuntu:Natty#Samba_File_Sharing Also I just read you said all on your server was good, if you are sure of that then you know its a client fix and you shouldnt touch the server. By your smb.conf I see you have a REALM setup as JOE.OFFICE.COM, do you have an Active Directory on this network? If you have then you need to join the AD domain before you do anything and you should have mentioned it when you first wrote email asking for help :D cause its an entirely different situation if you are on an AD domain than if you just want samba to handle everything. If you DONT have active directory, then there is no need for the JOE.OFFICE.COM realm, and you should verify also in your clients. I would suggest you start with the troubleshooting link (2nd one) and then come back with your results. Hope it helps! 2011/5/31 Diego Xirinachs > In my experience. Swat is good if you have already used samba before and > know what all the Options do. Else you can end up with a setup that's far > more configured than you will want to and you can get some weird problems. > > Your best bet would be to edit your smb.conf manually and just setup what > you need and let samba handle the defaults for everything else. > > I will try to find a guide for you so you can follow it and have some > documentation handy (i will send it in a separate mail) > > I feel your pain btw. I have been in the exact same situation and all went > good cause of forums and persistence! > > So don't give up and know I will help you in everything I can :D > > Cheers > On 2011 5 31 17:19, "bill bixby" wrote: > -- X1R1 -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Re: upgrade to natty problems - network down
ok - sorry to blow up this list but i'm still struggling here. I have found a lot of similar problems (in different flavors of linux - etc) on forums but not many answers - and none that help me.Hopefully the /etc/samba/smb.conf file from my server will help. The server is still fine but the other linux boxes can't see it or open the domain at all. (I know username map ... = smbuser instead of smbusers - there is a reason but too long to explain) please help still desperate jack Current Config # Samba config file created using SWAT # from UNKNOWN (127.0.0.1) # Date: 2011/05/31 21:39:43 [global] workgroup = DOMAIN realm = JOE.OFFICE.COM server string = %h server (Samba, Ubuntu) map to guest = Bad User obey pam restrictions = Yes pam password change = Yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .username map = /etc/samba/smbuser unix password sync = Yessyslog = 0 log file = /var/log/samba/log.%mmax log size = 1000 domain logons = Yes os level = 165 preferred master = Yes domain master = Yeswins proxy = Yeswins support = Yes usershare allow guests = Yes panic action = /usr/share/samba/panic-action %d [homes]valid users = %S read only = No browseable = No [Usr] comment = server user files path = /usrread only = No guest ok = Yes [print$]comment = Printer Drivers path = /var/lib/samba/printers [printers] comment = All Printers path = /var/spool/sambacreate mask = 0700 printable = Yes browseable = No From: Diego Xirinachs To: bill bixby Cc: Callan Jefferson Davies ; ubuntu-server@lists.ubuntu.com Sent: Tue, May 31, 2011 1:58:28 PM Subject: Re: upgrade to natty problems - network down First thing to do would be to ping the samba server ip address from your client. Make sure you have the same workgroup specified on all your ubuntu boxes (on smb.conf) Based on that smb.conf you provided there are no shares specified. Try to make a test share that everyone has all permissions on it. Make sure you have some users setup on the samba server. Hope it helped. Come back with your results to check your progress. Cheers On 2011 5 31 08:34, "bill bixby" wrote: -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Re: upgrade to natty problems - network down
In my experience. Swat is good if you have already used samba before and know what all the Options do. Else you can end up with a setup that's far more configured than you will want to and you can get some weird problems. Your best bet would be to edit your smb.conf manually and just setup what you need and let samba handle the defaults for everything else. I will try to find a guide for you so you can follow it and have some documentation handy (i will send it in a separate mail) I feel your pain btw. I have been in the exact same situation and all went good cause of forums and persistence! So don't give up and know I will help you in everything I can :D Cheers On 2011 5 31 17:19, "bill bixby" wrote: -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Re: upgrade to natty problems - network down
OK. Everything pings fine. All PCs are in the same workgroup. The Windows box has been removed from the network. I did specify shares on the other computers just not the one I was sitting at. Having everyone set up on the samba server is the tricky part. How do I do that? I am using the latest version samba, swat, and ubuntu 11.04 and it is limiting some of my actions When I try to map usernames to etc/samba/smbusers it comes up in swat as "available = no" instead of what I typed. So I don't know how to make a user list in this system There has been one change since my last post - I formated and reinstalled ubuntu 11 server on my server and samba and swat etc. and now it sees the other linux boxes and can access everything fine. But none of the other machines can. The server is set (in swat) as the master domain, etc. One problem - apparently - was that I was trying to set security = domain for all the machines and that wasn't working. I've changed that now - so they are all set to security = user - but other than the ubuntu server none of the boxes can see each other. Oh - and they are about to fire me - because they want the network running now. Don't know what they will do for a network when I'm gone but I guess they figure they don't have one anyway DESPERATE Jack From: Diego Xirinachs To: bill bixby Cc: Callan Jefferson Davies ; ubuntu-server@lists.ubuntu.com Sent: Tue, May 31, 2011 1:58:28 PM Subject: Re: upgrade to natty problems - network down First thing to do would be to ping the samba server ip address from your client. Make sure you have the same workgroup specified on all your ubuntu boxes (on smb.conf) Based on that smb.conf you provided there are no shares specified. Try to make a test share that everyone has all permissions on it. Make sure you have some users setup on the samba server. Hope it helped. Come back with your results to check your progress. Cheers On 2011 5 31 08:34, "bill bixby" wrote: -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Re: upgrade to natty problems - network down
First thing to do would be to ping the samba server ip address from your client. Make sure you have the same workgroup specified on all your ubuntu boxes (on smb.conf) Based on that smb.conf you provided there are no shares specified. Try to make a test share that everyone has all permissions on it. Make sure you have some users setup on the samba server. Hope it helped. Come back with your results to check your progress. Cheers On 2011 5 31 08:34, "bill bixby" wrote: -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Re: upgrade to natty problems - network down
1. Trying to have a network with a server acting as Primary Domain Controller (using Linux) that every other computer can save/retrieve/edit Libre Office docs and pictures to. File sharing. Not peer to peer 2. Also need to be able to access printers/scanners/etc. on any computer from any other computer on network. I am trying to use SWAT but not very successfully. This is a very small network and a lot of advice on the net is for much larger networks. Also, I am leaving the one Windows machine on the network because it is the only one that can "see"/access the others. Don't know if this helps but the host I'm on right now has this /etc/samba/smb.conf file: # Samba config file created using SWAT # from UNKNOWN (127.0.0.1) # Date: 2011/05/30 16:25:41 [global] workgroup = DOMAIN realm = JOE.OFFICE.COM server string = %h server (Samba, Ubuntu) security = DOMAIN map to guest = Bad User obey pam restrictions = Yes pam password change = Yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . unix password sync = Yes syslog = 0 log file = /var/log/samba/log.%m max log size = 1000 dns proxy = No usershare allow guests = Yes panic action = /usr/share/samba/panic-action %d [printers] comment = All Printers path = /var/spool/samba create mask = 0700 printable = Yes browseable = No [print$] comment = Printer Drivers path = /var/lib/samba/printers Any help is greatly appreciated. Thanks Jack From: Callan Jefferson Davies To: ubuntu-server@lists.ubuntu.com Sent: Tue, May 31, 2011 9:11:12 AM Subject: Re: upgrade to natty problems - network down I get different errors at times but mostly when I click on the workgroup/domain icon after a longish wait I get a:Unable to mount location Failed to retrieve share list from servererror message. I feel like I've tried everything. > Hi Jack, Firstly, what is it that you're trying to achieve? Can you describe your setup? I'm getting the idea so far that you're trying to get every machine to see every other machine, i.e. each machine has files to share. Can you tell me more? I'm not sure if I can help with your mount error, but I can tell you I've done a few networks with shared files and so forth and it seems to work well. Look fwd to your reply. Cheers CD -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Re: upgrade to natty problems - network down
I get different errors at times but mostly when I click on the workgroup/domain icon after a longish wait I get a: Unable to mount location Failed to retrieve share list from servererror message. I feel like I've tried everything. Hi Jack, Firstly, what is it that you're trying to achieve? Can you describe your setup? I'm getting the idea so far that you're trying to get every machine to see every other machine, i.e. each machine has files to share. Can you tell me more? I'm not sure if I can help with your mount error, but I can tell you I've done a few networks with shared files and so forth and it seems to work well. Look fwd to your reply. Cheers CD -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam