The time now is Sun 19 May 2013, 13:38
All times are UTC - 4 |
|
Page 2 of 2 [22 Posts] |
Goto page: Previous 1, 2 |
| Author |
Message |
jrb

Joined: 11 Dec 2007 Posts: 972 Location: Smithers, BC, Canada
|
Posted: Wed 01 Apr 2009, 23:53 Post subject:
|
|
I have incorportated Vtpups great setup tips into ch-samba-3.0.26.sfs available here.
Should work on any puppy4.xx. It shares / (everything) at when samba is started. I put a samba controls entry on the network menu which opens a gui for starting, stopping, restarting and editing smb.conf.
Cheers, J
|
|
Back to top
|
|
 |
Dougal

Joined: 19 Oct 2005 Posts: 2505 Location: Hell more grotesque than any medieval woodcut
|
Posted: Fri 03 Apr 2009, 06:34 Post subject:
|
|
Just a little comment: the rc.samba file should go in /etc/init.d. That way there is no need to start it from rc.local (it will be started automatically by rc.services).
_________________ What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
|
|
Back to top
|
|
 |
Cthippo
Joined: 25 Nov 2009 Posts: 8
|
Posted: Thu 10 Dec 2009, 06:53 Post subject:
|
|
6.) Once you have created and edited your samba configuration file, you may want to add Samba users and passwords (they should be the same as on your Windows boxes, if you have them). Note -- even though Puppy operates from the Root user, you can still add Samba users with a simple:
| Code: | | smbpasswd -a george |
I was doing reasonably well up to this point, but when I tried to set up a user I got this:
| Code: |
# smbpasswd -a Chris
New SMB password:
Retype new SMB password:
Failed to modify password entry for user Chris
|
What am I missing here?
[/code]
|
|
Back to top
|
|
 |
whatshisname
Joined: 11 May 2008 Posts: 22
|
Posted: Sat 19 Dec 2009, 11:44 Post subject:
|
|
| Cthippo wrote: | 6.) Once you have created and edited your samba configuration file, you may want to add Samba users and passwords (they should be the same as on your Windows boxes, if you have them). Note -- even though Puppy operates from the Root user, you can still add Samba users with a simple:
| Code: | | smbpasswd -a george |
I was doing reasonably well up to this point, but when I tried to set up a user I got this:
| Code: |
# smbpasswd -a Chris
New SMB password:
Retype new SMB password:
Failed to modify password entry for user Chris
|
What am I missing here?
[/code] |
Just finished doing this on my machine.
According to the man file, the user must already be in "/etc/passwd". Before I found the instructions above for smbpasswd, I had tried adding my samba user to the system but my login failed. Read a little further and found the instructions for adding the user using smbpasswd and I was able to log in just fine.
So ...
Add a regular user to your system with: adduser sambausername
Then try adding your user again with smbpasswd.
Hope this helps.
|
|
Back to top
|
|
 |
ecomoney

Joined: 25 Nov 2005 Posts: 2183 Location: Lincolnshire, England
|
Posted: Fri 05 Feb 2010, 14:09 Post subject:
|
|
Ive been banging my head against this for the last four hours!!! I think this is a great case for a package that "just works".
Anyway, once I get this working I would be willing to put in the time to make a new package with all of the required extra libraries (gtk+ etc) and the config files for puppy 4. This would be particularly useful for people Linuxing the many viruzed XP machines that will no longer start, as they could liveboot puppy and transfer the users files off before (hopefully) installing linux!!!
Heres where I am so far...
Ive installed the samba package from here
http://distro.ibiblio.org/pub/linux/distributions/puppylinux/pet_packages-4/samba-3.0.26.pet
and made the modifications to the /etc/profile script, and created the /etc/rc.d/rc.samba script. This starts/stops/restarts the samba process as I can see using "top" or pprocess.
My problem I think stems from the smb.conf file. If I had the COMPLETE file than perhaps I could be sure. Ive tried various example scripts from the web but they would be unintelligeable without several days study. What would be great is a generic, low security, smb.conf where I could simply enter in the path of the folder I wanted to share, and what it would be advertised as over the network when detected with pnethood.
Perhaps JRB, the full config file is in the samba .sfs you made for choicepup? Would extracting this file to my standard puppy 4.2.1 setup make it "just work"? Hopefully so!
_________________ Puppy Linux's Mission
Sorry, my server is down atm!
|
|
Back to top
|
|
 |
growler

Joined: 24 Mar 2008 Posts: 209 Location: Kapiti - New Zealand
|
Posted: Sat 06 Feb 2010, 23:03 Post subject:
Samba shares |
|
It wasn't quite clear from your post - you may know already but - you can connect already to XP machines and take files off windows machines etc without having samba server installed. You need to create shares on the windows machine then connect from puppy using pnethood. samba client is already on puppy
You only need samba if you wish to create windows "shares" on puppy - i.e. get files back off puppy onto the XP machines etc. or copy from the XP machines to puppy.
|
|
Back to top
|
|
 |
disciple
Joined: 20 May 2006 Posts: 6179 Location: Auckland, New Zealand
|
Posted: Sun 07 Feb 2010, 00:11 Post subject:
|
|
Personally I never found GTKSamba particularly helpful, so I really don't see the point in packaging it and gtk1.2 up with a samba server package.
| ecomoney wrote: | | What would be great is a generic, low security, smb.conf where I could simply enter in the path of the folder I wanted to share, and what it would be advertised as over the network when detected with pnethood. |
If you really want low security, just grab my whole smb.conf from my howto thread, put in the workgroup and netbiosname you want, and the name and path of the shares, and it should work fine.
It would be trivial to write a wizard to build a simple smb.conf like that if you really felt like it.
_________________ DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
|
|
Back to top
|
|
 |
|
|
Page 2 of 2 [22 Posts] |
Goto page: Previous 1, 2 |
|
|
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
|