Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 18 Sep 2014, 07:57
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Puppy 528 unable to access Samba share
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [20 Posts]   Goto page: Previous 1, 2
Author Message
rmcellig

Joined: 19 Nov 2011
Posts: 922
Location: Ottawa Ontario Canada

PostPosted: Mon 11 Feb 2013, 14:04    Post subject:  

That worked. Those credentials worked fine Phew! Now it works!! Thanks so much for the help.

Is there a way to get around the firewall issue, and am I able to change the login credentials to something else?
Back to top
View user's profile Send private message Visit poster's website 
rcrsn51


Joined: 05 Sep 2006
Posts: 9108
Location: Stratford, Ontario

PostPosted: Mon 11 Feb 2013, 14:09    Post subject:  

rmcellig wrote:
Is there a way to get around the firewall issue

You would need to do a custom firewall install that opens the Samba-related ports. They are something like 135/tcp 137/udp 138/udp 139/tcp 445/tcp.
Quote:
Am I able to change the login credentials to something else?

Run smbpasswd. I don't know the exact syntax.
Back to top
View user's profile Send private message 
rmcellig

Joined: 19 Nov 2011
Posts: 922
Location: Ottawa Ontario Canada

PostPosted: Mon 11 Feb 2013, 14:13    Post subject:  

Thanks again!!
Back to top
View user's profile Send private message Visit poster's website 
gcmartin

Joined: 14 Oct 2005
Posts: 4276
Location: Earth

PostPosted: Mon 11 Feb 2013, 14:15    Post subject:  

OPPS! Nevermind these instructions. I am late!

There is a manual that was done about a year ago that covers all on this to make it easy. Click this link Any contribution or comments you can make to that guide will help others.

That password is a gotcha with the simple way that SAMBA sets up. The manual explains that, though, to keep users out of trouble. You may want to glance at it when you have a moment.

Here to help
GCMartin wrote:
OK, I need you to do 2 more things. One from JUJU and the other from that other LAN PC where you get the error.

At JUJU
Exit the desktop to the console and do the following command. They are going to allow you to set JUJU system's passwords (yes that's plural). I recommend that you use the same password for EACH COMMAND. At the console, type
Code:
# passwd
# smbpasswd -a
# logout
# xwin

When back on desktop, Open a terminal and do the following (DO NOT USE THE "-U" parameter this time)
Code:
# smbclient -L localhost
You will see the same thing you saw before

Next at your LAN PC,
Open a terminal and do
Code:
# mkdir /mnt/JUJU-puppyshare
# mount -o username=root  //192.168.2.13/puppyshare  /mnt/JUJU-puppyshare
Report back your connection

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile
Back to top
View user's profile Send private message 
rmcellig

Joined: 19 Nov 2011
Posts: 922
Location: Ottawa Ontario Canada

PostPosted: Mon 11 Feb 2013, 14:41    Post subject:  

These are the results:

Code:

randy@hprandymint ~ $ mkdir /mnt/JUJU-puppyshare
mkdir: cannot create directory `/mnt/JUJU-puppyshare': Permission denied
randy@hprandymint ~ $ sudo mkdir /mnt/JUJU-puppyshare
[sudo] password for randy:
randy@hprandymint ~ $ mount -o username=root //192.168.2.13/puppyshare  /mnt/JUJU-puppyshare
mount: only root can do that
randy@hprandymint ~ $ sudo mount -o username=root //192.168.2.13/puppyshare  /mnt/JUJU-puppyshare
mount: wrong fs type, bad option, bad superblock on //192.168.2.13/puppyshare,
       missing codepage or helper program, or other error
       (for several filesystems (e.g. nfs, cifs) you might
       need a /sbin/mount.<type> helper program)
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

randy@hprandymint ~ $

Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 2 of 2 [20 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0547s ][ Queries: 13 (0.0047s) ][ GZIP on ]