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 Tue 02 Sep 2014, 06:30
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
PUPPY SAMBA as a File Server to Windows PCs on a small LAN
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 3 [44 Posts]   Goto page: Previous 1, 2, 3 Next
Author Message
efiguy


Joined: 06 Sep 2006
Posts: 169

PostPosted: Thu 03 Jun 2010, 10:10    Post subject: PUPPY SAMBA as a File Server to Windows PCs on a small LAN
Subject description: merge posibility
 

Hi gcmartin,

- If I understand correctly, you have a working Samba on a Knoppix install.

- There is an interesting (seemingly solved) thread here, could it lead to reconstucting the Knoppix Samba components to a simple base Puppy version?

Is there a complete list of kernel modules?
http://murga-linux.com/puppy/viewtopic.php?t=56130

- Don't know how far you explored - the freebsd article points to several Linux versions of a Samba download.

- This is a powerful tool technically and psychologically for the advancement of Puppy, imho should exist in Puppy, consider enlisting the forum tech leaders via pm's (off top of the head - Pizzasgood, raffy, MU, and even BK).

- And it just may exist somewhere in archives.

[quote]
sunburnt
Joined: 08 Jun 2005
Posts: 2975
Location: AZ
PostPosted: Sat Mar 10, 2007 2:47 pm Post subject: Reply with quote
If this SFS file can be verified to work, I'll add the LanManager GUI, & I'll add options for DHCP & TFTP (on/off) to make it a more flexable server setup.
This server addon for Puppy 2 versions can be just a Samba server,
or just a DHCP server or just a PXE boot server, or any combination of the 3.[/quote]


BK posts in many of these

pnethood - samba share mounter
http://www.murga-linux.com/puppy/viewtopic.php?t=23464&start=240

How to Get Samba Server Working in Puppy 4
http://www.murga-linux.com/puppy/viewtopic.php?t=36141

Howto: Set up a simple (insecure) Windows compatible network
http://murga-linux.com/puppy/viewtopic.php?t=22363

Samba - Network Printer Problems
http://www.murga-linux.com/puppy/viewtopic.php?t=44158

Samba File and Print Services for SMB/CIFS clients
http://www.murga-linux.com/puppy/viewtopic.php?t=46670

PupServer SFS - Testing... Samba & PXE boot.
http://www.murga-linux.com/puppy/viewtopic.php?t=16244&sid=a7ff2880fbd6c0f6bc0598ca0fa1c46b



Search - Samba
http://wellminded.com/puppy/pupsearch.html


Have a better day
Jay
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 4238
Location: Earth

PostPosted: Thu 03 Jun 2010, 21:17    Post subject: PUPPY SAMBA as a File Server to Windows PCs on a small LAN  

Thanks @efiguy.

I a little new so your post is very helpful. The articles you post WERE accurate during their day.

But, it appears that the SAMBA product in Puppy has undergone some sort of a change and does NOT exist in the new systems the way it may have been when those articles were written.

I say this, because the folders are not where there suppose to be. And, I tried to install using the Puppy Package Man and came up with stuff missing. I am still trying to find the time to learn my way around enough to correct this, but kids, wife, job, repairs doesn't leave enough sit down and focus time to resolve this. That's the prime reason for the appeal.

I will (or would have by now) written the manual for Windows Admins to use to insert PUP5/Quirky into their LAN over the last weekend, but I spent the better part of 3 days over the last week trying to get to where I'm at now.

Frankly, until I can get a recent PUP5/Quirky with SAMBA in its libraries, I can't begin to produce the manual. I want to help, but I feel helpless in PUPPY.

Thanks

_________________
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 
efiguy


Joined: 06 Sep 2006
Posts: 169

PostPosted: Fri 04 Jun 2010, 13:20    Post subject: PUPPY SAMBA as a File Server to Windows PCs on a small LAN
Subject description: some interesting data
 

Hi gcmartin,

I think this file illustrates what you had presumed happened to the configurations and perhaps the time frame. The ever present goal to reduce Puppy size below 100 mb was the Holy Grail, others worked to make full suites of over 200 mb, and a real business useful app was just forgotten.

But wait!!!, there maybe some hope within the file, because many of the texts mention a common puplet, although older than what you were looking for, it may have a stable 301 heritage, certainly worth looking into, especially while your link "Plea" is burried in all the re-distribution of Puppy Goals.

I don't have any disc space or an operating chassis to try it.

This could be a good day

Jay

PS edit:
http://puppylinux.com/news/ - lots of official version differences
300 mentions
smbspool as re-added for 301

[quote]'8-bit' reported that the Samba utility 'smbspool' is required to access a Windows network printer. Well, no, it isn't small, it's 830K, but perhaps this is an important utility to have so I put it in.[/quote]

last blog page that mentions modules was 210 samba-3.0.22

4.00alpha1 to 4.00alpha3 used pnethood as a samba replacement

Muppy-Live-008.4c-EN.iso just may have the samba modules
it was posted by forum member MU http://puppyisos.org/isos/Muppy008.4c/English/Live/
----- 801662976 06.12.08, 22:44
-
Samba_app_search.ZIP
Description 
zip

 Download 
Filename  Samba_app_search.ZIP 
Filesize  1.53 KB 
Downloaded  164 Time(s) 
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Wed 07 Jul 2010, 07:39    Post subject:  

gcmartin,
I am not a Samba expert, haven't actually used it, but I have been looking into Samba packages recently, see my blog:

http://bkhome.org/blog/

Note that earlier Samba packages in Puppy had the files in strange locations. I have compiled these latest packages with "normal" paths, in line with most other distros.

I seem to recall there was a little GTK GUI app to edit smb.conf, for setting up a server, but I don't recall it's name.

_________________
http://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
gcmartin

Joined: 14 Oct 2005
Posts: 4238
Location: Earth

PostPosted: Wed 07 Jul 2010, 11:17    Post subject: PUPPY SAMBA as a File Server to Windows PCs on a small LAN  

@BarryK ===> Thanks

One of the GUI's you refer to are Webmin which does "Complete Linux Systems Management" via a web interface.

The other GUI is SWAT which focuses on SAMBA to make it simple. This would probably have visibility in Puppy/Quirky Menu---.Setup---"Samba Wizard" (or something like this) if you decide to use it or PET it.

I thank you for foreseeing that consistent Linux directory placement will make all of your future working much easier, not just for SAMBA, but also for CUPS, LDAP, and the litter of other system features that will comprise an operational Puppy/Quirky in the future.

I will post back as soon as I can on whether this allows setting up a folder to be shared via SMB/CIFS for access by my other LAN users, both Linux and Windows.

_________________
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 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Thu 08 Jul 2010, 02:04    Post subject:  

BarryK wrote:
I seem to recall there was a little GTK GUI app to edit smb.conf, for setting up a server, but I don't recall it's name.


Now I recall, two of them. There is a GTK1 app called 'Gtksamba', and a GTK2 app called 'gadmin-samba".

_________________
http://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
gcmartin

Joined: 14 Oct 2005
Posts: 4238
Location: Earth

PostPosted: Thu 08 Jul 2010, 03:43    Post subject: PUPPY SAMBA as a File Server to Windows PCs on a small LAN  

That makes 4 to choose from for use in setting up to manage a SAMBA site
Browser Based
  • Webmin
  • SWAT
X based
  • Gtksamba
  • gadmin-samba

Anyone of them that allows configuring to share a folder from Puppy with the LAN community is a great tool. Choose wisely.
P.S. Like CUPS, SWAT is also "lock-step" with SAMBA. development.

_________________
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 
efiguy


Joined: 06 Sep 2006
Posts: 169

PostPosted: Mon 19 Jul 2010, 16:23    Post subject: PUPPY SAMBA as a File Server to Windows PCs on a small LAN
Subject description: Samba versions, mixed windows, and Mac
 

Hi,
Within the last few days, have found many descriptions of Samba problems/solutions with Vista, Win 7, both the Home, n' Pro, and Mac.

Collected some of the better posts into a small link file. I hope it helps.

Keep up the Good work!

Edit: 08-07
- Two recent links Referencing Samba:

Connecting Puppy to a Windows Shared Printer
(BK - listing a Server pet download)
http://www.murga-linux.com/puppy/viewtopic.php?t=57553


TXZ_pup 4.5 ~~ a fork build
http://www.murga-linux.com/puppy/viewtopic.php?t=57484&start=165
Pgs 11-12


Jay
SambaHelpers.ZIP
Description  Problems and Solutions
zip

 Download 
Filename  SambaHelpers.ZIP 
Filesize  2.39 KB 
Downloaded  176 Time(s) 
Back to top
View user's profile Send private message 
laszlok53

Joined: 11 Jul 2012
Posts: 16

PostPosted: Wed 11 Jul 2012, 07:07    Post subject: Help / advise needed with installation
Subject description: Puppy - Samba as PDC?
 

I see that the thread is about 2 years old, wonder if I can get someone to answer a few questions.

I'm not completely new to Puppy, I use it mainly for system recovery in M$-Windows context an also as a base for RDP connection to remote locations.
But now I'm facing a problem that I'd like solve with the help of Linux, hopefully with Puppy.

I have at customer a Windows 2000 server as a PDC, which is singing the last verses, having more and more problems to keep it alive. I can't move it over to newer hardware, since they do not work with the old system, and will not move over to a newer server from M$, since Windows 2003 -2008 -2011 are unnecessarily complex to the task.
So the idea was to pull up a Linux system with Samba and let it take over the role for login to the DOMAIN, eventually for some file server role as well. (not really necessary, but could be useful).

My problem:
I tried with Ubuntu 12.04, followed diverse instructions in several "how to:s" but always ending up with some error message. Experimenting to come over those always result to crashing the whole system -> new installation -> new error messages. Hours are just running away without getting anywhere.

My humble request:
Is there anybody here at the Puppy Forum to help me, someone I can ask about help when I get stranded?

My basic question: is it possible to set up a system I described above - AT ALL???

Thx in advance

/ Laszlo

(And please, be tolerant to my English, it's not my mother-tongue)
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Wed 11 Jul 2012, 12:16    Post subject:  

Gcmartin is the resident Samba expert and I'm sure that he will eventually reply. But here are some general observations.

1. Many Puppies, like Slacko, now support full Samba as an add-on package.

2. But if you look at their default smb.conf files, you will see that they are configured for simple peer-to-peer file sharing across a home network. Obviously, you are looking for much more.

3. There is a good tutorial here.

4. As a general rule, before you can add a Samba user to a server, s/he must already exist as a Linux user. But the majority of Puppies are single-user only. They may not have the infrastructure needed for your situation.

5. Ubuntu would definitely be a better platform for your task. But if you can't get a Samba PDC running there, I can't see how Puppy would be more successful.
Back to top
View user's profile Send private message 
laszlok53

Joined: 11 Jul 2012
Posts: 16

PostPosted: Wed 11 Jul 2012, 14:39    Post subject:  

Thank you for the prompt reply!

Maybe some comments to it can shed some more light over my probelems:

rcrsn51 wrote:
Gcmartin is the resident Samba expert and I'm sure that he will eventually reply. But here are some general observations.


I hope he turns up, or I can find a way to contact him! I did read some of his comments here, and he surely could be the right person to instruct me.

Quote:

1. Many Puppies, like Slacko, now support full Samba as an add-on package.



Would you please enlighten me about the differences between the "full" and the .pet based one I can download here? I don't have a clue what that means.

Quote:

2. But if you look at their default smb.conf files, you will see that they are configured for simple peer-to-peer file sharing across a home network. Obviously, you are looking for much more.



Exactly.

Quote:

3. There is a good tutorial here.

4. As a general rule, before you can add a Samba user to a server, s/he must already exist as a Linux user. But the majority of Puppies are single-user only. They may not have the infrastructure needed for your situation.



I see. Can't I than just use the useradd command to create a unix user?

Quote:

5. Ubuntu would definitely be a better platform for your task. But if you can't get a Samba PDC running there, I can't see how Puppy would be more successful.


I tried, and still trying. Yesterday I've got as long as I fell at some right-problem, needed to be "root" - but I can't be that in Ubuntu. I experimented till the whole system got garbled, had to reinstall it.
With Puppy I like that I have the rights to everything.

Again, thank you for replying, and if you have more ideas, useful advices, please, help me with them, they are very much appreciated!

/ Laszlo
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Wed 11 Jul 2012, 14:48    Post subject:  

laszlok53 wrote:
Would you please enlighten me about the differences between the "full" and the .pet based one I can download here? I don't have a clue what that means.


If you look in the Slacko repo, you will see a Samba PET. It is a complete build of the latest Samba. There are also cut-down packages around that are fine for home use, but don't apply to your situation. Which PET are you talking about?

Quote:
I see. Can't I than just use the useradd command to create a unix user?

Probably. But it may not behave like you would expect in a genuine multi-user Linux.
Back to top
View user's profile Send private message 
laszlok53

Joined: 11 Jul 2012
Posts: 16

PostPosted: Wed 11 Jul 2012, 16:06    Post subject:  

Thank you, I'll try to experiment a little with this Slacko repo you mention here to see how long I get with that. I also gave atry to Ubuntu 12.04 again, followed the instructions I found, got as long as a workstation is seeing the PDC but can not create an account, claiming that the user is not allowed to create a machine account.
On the Ubuntu side I can't give the privilege of SeMachineAccountPrivilege, it gives an error NT_STATUS_ACCESS_DENIED

And there I'm stranded.

Thanks anyway, I might be back with more questions. If anyone has any tips to help me, it would be much appreciated!

/ Laszlo


rcrsn51 wrote:
laszlok53 wrote:
Would you please enlighten me about the differences between the "full" and the .pet based one I can download here? I don't have a clue what that means.


If you look in the Slacko repo, you will see a Samba PET. It is a complete build of the latest Samba. There are also cut-down packages around that are fine for home use, but don't apply to your situation. Which PET are you talking about?

Quote:
I see. Can't I than just use the useradd command to create a unix user?

Probably. But it may not behave like you would expect in a genuine multi-user Linux.
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 4238
Location: Earth

PostPosted: Wed 11 Jul 2012, 17:00    Post subject: Assisting @Lazlok53 to get a running File-folder subsystem  

laszlok53 wrote:
Thank you, I'll try to experiment a little .. Laszlo
Hi @Laszio.

I am trying to follow where you are with the sharing issues you are having.

So, if you don't mind my helping you, let's see if this can help...

FATSLACKO i s a complete OOTB distro that is set to "completely couple your PC on the LAN" so that most (all) of your other LAN users can "see" and access the folder you share FROM FATSlacko.

For what I offer, there is NO INSTALLATION OF ANY SOFTWARE! Just download the FATSlacko ISO and burn a CD/DVD.

One you have the CD/DVD, your ONLY requirement is to do the following:
  1. Before starting, on your Windows PC find its "workgroup name". You need this for using the Puppy I am recommending.
  2. Boot the FATSlacko ISO and insure you select a hostname you can remember on its very first screen.
  3. After the desktop restarts, go to Menu>Network>Samba Simple Server where it will open a Window for simple sharing setup for you.
  4. Fill in the form it provides, do this
    • make sure the Workgroup Name matches what you got from your Windows PC (if it doesnt, change it to what Windows is using"
    • Make sure that the folder is a existing folder on YOUR system (click the fodler icon to insure it opens to that foldername showing
    • Click the checkbox for Max Protocol...

  5. Click Apply and your PC immediately shares on your LAN for other users use.
Now, go back to your Windows PC,open its Network icon and under Microsoft sharing you will see your the FATSlacko PC and the folder it is sharing you will see. When you click on it in Windows, you may get a box to open asking you for the username (root) and password (woofwoof); So entering root and woofwoof appropriately will allow you to see the folder and anything you put in the folder on your Windows PC.

You can see the same from every other PC on your LAN, too.

It doesn't get any easier than this. .... hopefully.

If this works, post back here and we'll assist you with other PUPs you may want to use.

But, understand, FATSlacko's author 01Micko made this so very easy for all of us.

Here to help

_________________
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 
laszlok53

Joined: 11 Jul 2012
Posts: 16

PostPosted: Wed 11 Jul 2012, 17:47    Post subject:  

Hi Martin

If I don't mind you helping me? Hahaha... Smile
You see I spent the whole weekend on to find a solution to this problem - and still don't even know which way to begin to go on.

Let me describe it from the beginning:
A customer of mine has a domain based system, about 30 workstations, 40-45 people using them (not simultaneously of course), one server out of the domain, that only runs an SQL Server for one application - nothing els.

The domain server, the PDC - Windows 2000 Server - is over 9 years old now, having more and more issues. It has to be replaced before it dies, the customer whole activity is depending on that it has to work, 14 hours a day.

Option 1:
Changing the the HW of the Windows 2000.
Unfortunately, W2K does not work with newer hardware, can't handle the keyboard and the mouse through the USB. I tried it on a few different hardware - no success.
Option 2:
Go over to Windows 2003 - 2008 - 2011.
No good solution, besides the costs, full with completely unnecessary functions, not used but a source of problems. The PDC today does only the login and some file server functions.
Option 3:
Replace the PDC with a Linux unit, with Samba that plays the PDC:s login role and some file residing.

I would like to go for option 3.
I rtied with ubuntu 12.04, installed Samba, made the modifications on the smb.conf as suggested - but when I try to give my administrator account the privilege to create machine ID:s, it says: NT_STATUS_ACCESS_DENIED. And there I don't know how to carry on.

On an other thread I begun to experiment a little with Pupyy as well, since I like the basic idea of it, and it's simplicity. Would really love to use a Puppy distro to solve my problem.

While I'm typing, I'm downloading the FATSLACKO you recommended, and will try if it can do the job for me, since I not only need a fileserver, but a login server to a domain, aka a Primary Domain Controller.
So before I begin to experiment with the FATSLACKO, I'd like to get your opinion: can it be configured so, that even the PDC function of Samba could be implemented?

Grateful for your kind support

/ Laszlo
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 3 [44 Posts]   Goto page: Previous 1, 2, 3 Next
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.1155s ][ Queries: 12 (0.0043s) ][ GZIP on ]