LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-08-2008, 08:22 AM   #16
blacky_5251
Member
 
Registered: Oct 2004
Location: Adelaide Hills, South Australia
Distribution: RHEL 5&6 CentOS 5, 6 & 7
Posts: 572

Rep: Reputation: 56

Try modifying your share definitions to include these options:-
Code:
        writable = yes
        browseable = yes
        create mode = 775
        directory mode = 775
No need to reboot after making these changes, just reload samba with "sudo service smb reload".
 
Old 05-08-2008, 12:27 PM   #17
booberandpuzz
Member
 
Registered: Apr 2008
Location: South Florida, USA
Distribution: Ubuntu 8.04
Posts: 32

Original Poster
Rep: Reputation: 15
UPDATE:

This morning I got a bright idea and tried connecting to the shares from my wife's G5. I was able to connect to one of the two. It didn't like the uid/pwd combo for her which may mean linux/samba accounts are not synced. I'm looking into that now.

I'm also in SWAT locally and finding that all the help (HTML) files are missing. Where can I turn to do something, anything, without a headache?

My smb.conf now reads:

Code:
[TKJ_backups]
	comment = Backups for TJDESKTOP08
	path = /home/TKJ_backups
        username = terrence
	valid users = terrence
	read only = No
	max connections = 5
        writable = yes
        browseable = yes
        create mode = 775
        directory mode = 775

[AER_backups]
	comment = Backups for AER-G5
	path = /home/AER_backups
	username = alicia
	valid users = alicia, tjmac, terrence
        writable = yes
        browseable = yes
        create mode = 775
        directory mode = 775
	max connections = 5
We've fixed it so both shares are available on the Mac (the Workgroup is listed as 1616george). However, I can only log into either share as terrence. I cannot yet connect as alicia, even though she is the owner of AER_backups. [Edit:] Got this fixed too. for some reason she was a Linux user but not added as a samba user which I did using smbpasswd -a.

I have also created some additional mysteries with my fooling around. On the WinXP machine, I see ubuntu1616 under two workgroups: unknown and 1616george. I cannot connect or browse under 1616george where it belongs, but I can now connect under unknown. Another weird thing happening when I tried to edit smb.conf using nano:

Code:
 sudo: Unable to resolve host ubuntu1616

Last edited by booberandpuzz; 05-08-2008 at 03:20 PM.
 
Old 05-08-2008, 06:47 PM   #18
blacky_5251
Member
 
Registered: Oct 2004
Location: Adelaide Hills, South Australia
Distribution: RHEL 5&6 CentOS 5, 6 & 7
Posts: 572

Rep: Reputation: 56
We're getting somewhere...

Perhaps you should now restore your [global] section to the default settings provided by Ubuntu. Maybe we removed something that has caused the WinXP workgroup problem.

The fact that you can map to your Ubuntu box from the G5 box is great progress. Well done.

If it was me, I don't think I'd stress about the workgroup name issue. As long as you can access the server from Explorer using syntax like \\ubuntu1616\AER_backups and \\ubuntu1616\TKJ_backups then I'd be happy with that.
 
Old 05-08-2008, 10:26 PM   #19
booberandpuzz
Member
 
Registered: Apr 2008
Location: South Florida, USA
Distribution: Ubuntu 8.04
Posts: 32

Original Poster
Rep: Reputation: 15
I think you're right; it's good progress. I'll fiddle with the global section tomorrow. I'm also interested in getting openssh-server correctly installed so I can get a console via PuTTY from a remote machine.

Your help has been much appreciated and I won't press you to help me build the entire system. Furthermore, I truly appreciate your approach to help: you don't lay out a literal road map; rather, you give me solid, well-conceived hints and suggestions, providing an excellent chance for me to learn what I'm doing rather than simply having you do it for me.

Regards,

Terrence
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change password difficulty requirement & expiriation linux-who? Linux - Security 2 04-09-2008 08:42 AM
Unable to launch SWAT to configure SAMBA Bobby P Slackware 1 02-27-2007 04:52 PM
Problems with Samba-Swat: Unable to see other Windoze machines on my network. sutherncomfort Linux - Networking 9 02-02-2005 10:30 PM
Accessing remote shares with encrypted Samba password at bootup CyberGuy Linux - Software 1 01-09-2005 06:23 PM


All times are GMT -5. The time now is 10:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration