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 Wed 23 Apr 2014, 17:26
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 3 of 3 [44 Posts]   Goto page: Previous 1, 2, 3
Author Message
pemasu


Joined: 08 Jul 2009
Posts: 5459
Location: Finland

PostPosted: Wed 11 Jul 2012, 18:08    Post subject:  

Sorry about input. I used years ago in NT4 and NT 2000 time sme server as file server and as email server. It was easy to configure, using its browser based management system. The server has no X. I configured it using Putty - ssh connection when I had to do commandline stuff which the browser manager didnt handle. As a server it was good. I wouldnt use it for client tasks, lol...like you use Puppy...but as server it was reliable. And it has PDC - advanced samba properties included.

http://wiki.contribs.org/Main_Page
Back to top
View user's profile Send private message 
laszlok53

Joined: 11 Jul 2012
Posts: 16

PostPosted: Thu 12 Jul 2012, 06:07    Post subject:  

pemasu wrote:
Sorry about input. I used years ago in NT4 and NT 2000 time sme server as file server and as email server. It was easy to configure, using its browser based management system. The server has no X. I configured it using Putty - ssh connection when I had to do commandline stuff which the browser manager didnt handle. As a server it was good. I wouldnt use it for client tasks, lol...like you use Puppy...but as server it was reliable. And it has PDC - advanced samba properties included.

http://wiki.contribs.org/Main_Page


Please don't be sorry, I am grateful for every tips and ideas, and I really find yours interesting, downloaded the SME server and will have a look at it.
Must mention that I'm not a big fan of Red Hat, never learned it to use. But it's never too late to learn, I'm only 59 years old...Smile

In the meantime, I've got the Ubuntu 12.04 to act as a PDC, but still having trouble with understanding the smb.conf. And the whole Ubuntu is unnecessarily complex, rather would like to achieve the same with Puppy.

Hoping Martin gives me a hand.

Thanks

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


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

PostPosted: Thu 12 Jul 2012, 06:36    Post subject:  

laszlok53 wrote:
In the meantime, I've got the Ubuntu 12.04 to act as a PDC, but still having trouble with understanding the smb.conf. And the whole Ubuntu is unnecessarily complex, rather would like to achieve the same with Puppy.

What happens if you take the smb.conf out of Ubuntu and drop it into FatSlacko?
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 3645
Location: Earth

PostPosted: Thu 12 Jul 2012, 18:21    Post subject:  

Having done about 100 Windows server in my life, I understand the task you are facing.

Without getting into the nitty-gritty (which, by the way, is VERY important) i have to ask you couple of questions. Please understand that I am not trying to put you on the spot, but, just trying to help.

Umm...where to start in helping you....ummm?

OK. Let's tart with FATSLACKO or LightHouse64 Mariner. This can probably be used for what you want to do, but, right now, there is no existing model that has been developed within the community to do even a "SIMPLE PDC". What I consider a simple PDC is setup such that the server provides authoritative login support of all users and has some minor policy management fo what they can/cant see.

Now that that has been said, the nitty-gritty starts to come into play. ... or pray.

So,let me start by asking "have you ever done a Windows server midgration before?" Because there are quite a number of things that will need to be understood such that the user community will NOT know that the server was ever touched, much less replaced.

And, is the people you are trying to help running a Terminal Server. Because if they are, SAMBA will do NOTHING (excepting printers) to address that community?

There are more questions, but, this is a start to try to understand what will happen as we try to guide you to roll your sleeves to help the people you are trying to help.

There much much more than the simplistic stuff I have just covered.

Herd 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 
gcmartin

Joined: 14 Oct 2005
Posts: 3645
Location: Earth

PostPosted: Thu 12 Jul 2012, 18:35    Post subject:  

rcrsn51 wrote:
What happens if you take the smb.conf out of Ubuntu and drop it into FatSlacko?
What is offered here is valid.

What he is asking, put a little differently is
Were you able to get Ubuntu to serve files and folders as you wanted?
If so, then
  1. copy Ubuntu's smb.conf (/etc/samba/smb.conf) from Ubuntu,
  2. boot FATSlacko and
  3. replace the sbm.conf that you copied from Ubuntu (again /etc/samba/smb.conf in FatSlacko)
  4. open a terminal window and type "testparm"
  5. if you do not see errors then type smbd restart and FATSLacko will share the same stuff that Ubuntu was sharing.
This will ONLY get the system to share. It does NOTHING for users or authentication which will have to be setup separately in FATSlacko.

Even though Ubuntu's version look a little daunting, this smb.conf will work with problem in FATSLacko.

But, to go further, we still need more (many much more) information to be of any real value.

This project is a pioneer effort and its outcome really should be document for home users to authenticate people/persons on their LAN and what they can access.

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: Thu 12 Jul 2012, 19:05    Post subject:  

Hi Martin,

I can't claim having installed 100 Windows servers, that number would rather stay with about 25 - 30 and Novell NetWareabout the same or a bit less.

Yes, I did already replaced PDCs. with same versions and also with upgrading to newer version. And yes, I did have problems with those cases, not one has gone smoothly, there was always something not doing right. Mainly the trusting between the BDC and the PDC was failing, but also happened that promoting the BDC gone stuck - ruining the whole system, I had to reinstall the PDC from a HD image to get the system back. So yes, I know it is a pain in the @ss to replace a PDC. Yhat is one of the reasons why I'd rather go Linux instead.

In this particular case I have about 40 persons using the system, but 30 of them logs in with the same username/password, so I only have about 10 users I have to migrate. I think it is doable manually.

Yes we use Terminal Servic solutions - but not on the server, deliberately avoided it. We use some Xps and W7s for this, with a brilliant software from Thinstuff. It works flowless.

And yes, you see it correctly, I just need the authorizations function, the file server could be a bonus but not necessary.

I tried FATSLCKO but it did not work at all. I can see the share but can't connect. Tried to find out why, but the only thing I found was that there is no smbusers file anywhere. (Or just I can't find it?). Tried to create an smb user with smbpasswd, but it fails with "no corresponding user found" or something similar.
So I did put it aside for now and carried on with Ubuntu, which seems to work partially. I could even create a machine ID from the workstation - but it creates a new user on the workstation. For example if I had a user on the Xp with the name Bob then it had a directory in Users and documents called bob.domain. Now this system creates a bob.xxxx there xxxx is the name of the ubuntu machine serving as PDC.
Don't know where it comes from, must be somewhere in the Samba, but where?
What more you think I should be careful with?

Now it's 01:00 here in Europe, I give it a sleep for tonight.
I really appreciate your help, and I absolutely don't mind if you talk to me on basic level, I even need it sometimes. It is me asking for help.
As I mentioned English is not my native language, so if I don't seem to be polite enough, please be tolerant with me.

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

Joined: 11 Jul 2012
Posts: 16

PostPosted: Thu 12 Jul 2012, 19:07    Post subject:  

Hi Martin,

I can't claim having installed 100 Windows servers, that number would rather stay with about 25 - 30 and Novell NetWareabout the same or a bit less.

Yes, I did already replaced PDCs. with same versions and also with upgrading to newer version. And yes, I did have problems with those cases, not one has gone smoothly, there was always something not doing right. Mainly the trusting between the BDC and the PDC was failing, but also happened that promoting the BDC gone stuck - ruining the whole system, I had to reinstall the PDC from a HD image to get the system back. So yes, I know it is a pain in the @ss to replace a PDC. Yhat is one of the reasons why I'd rather go Linux instead.

In this particular case I have about 40 persons using the system, but 30 of them logs in with the same username/password, so I only have about 10 users I have to migrate. I think it is doable manually.

Yes we use Terminal Servic solutions - but not on the server, deliberately avoided it. We use some Xps and W7s for this, with a brilliant software from Thinstuff. It works flowless.

And yes, you see it correctly, I just need the authorizations function, the file server could be a bonus but not necessary.

I tried FATSLCKO but it did not work at all. I can see the share but can't connect. Tried to find out why, but the only thing I found was that there is no smbusers file anywhere. (Or just I can't find it?). Tried to create an smb user with smbpasswd, but it fails with "no corresponding user found" or something similar.
So I did put it aside for now and carried on with Ubuntu, which seems to work partially. I could even create a machine ID from the workstation - but it creates a new user on the workstation. For example if I had a user on the Xp with the name Bob then it had a directory in Users and documents called bob.domain. Now this system creates a bob.xxxx there xxxx is the name of the ubuntu machine serving as PDC.
Don't know where it comes from, must be somewhere in the Samba, but where?
What more you think I should be careful with?

Now it's 01:00 here in Europe, I give it a sleep for tonight.
I really appreciate your help, and I absolutely don't mind if you talk to me on basic level, I even need it sometimes. It is me asking for help.
As I mentioned English is not my native language, so if I don't seem to be polite enough, please be tolerant with me.

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

Joined: 11 Jul 2012
Posts: 16

PostPosted: Fri 13 Jul 2012, 03:51    Post subject:  

Sorry for double posting, don't know how I did that.
Moderator, please remove one of them!

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

Joined: 14 Oct 2005
Posts: 3645
Location: Earth

PostPosted: Sat 14 Jul 2012, 14:00    Post subject:  

It is overlooked in the guide that was Posted for FATSlacko Samba implementation. Sorry about that. That guide was produced to implement FATSlacko as a LAN workstation (same as Windows/Apple PCs). ... NOT as a PDC. SAMBA, though will work as a PDC.

A Puppy FATSlacko PDC guide has not been written, yet, as there are a number of changes that are occurring, in Puppy distros as we speak, which will impact any document at this moment.

This will help you
In LInux + SAMBA, there is a requirement to have a Linux userID AND a SAMBA userID. I make these the same. So do this ( I use the windows ID "administrator" ID as an example)
  1. Create a Linux UserID
  2. Set its password via
    Code:
    passwd administrator
  3. Create a SAMBA user via
    Code:
    smbpasswd -a administrator
  4. Now go to your real Windows PC where the adminsitrator has the same password as you assigned on FATSlacko, open Neighborhood to Midrosoft Net...
Assuming you have FATSlacko and Windows in the same workgroup, access the resources FATSlacko is sharing.

This should address the problem you are seeing.

_________________
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: Sat 21 Jul 2012, 15:07    Post subject:  

I think I found the solution that fits me best
http://www.resara.org

This is a preconfigured Samba server, can act as PDC, well made interface, and it seems to work well. It uses Samba 4, which I know is only Beta, but seem to be very stable. Anyway I'll do not place anything vital on this server yet.

I guess I did not have the guts to do this step fully out without the discussions with you guys, although it is not a Puppy solution.

So I thank you for all the support and the good ideas you provided me!

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

Joined: 14 Oct 2005
Posts: 3645
Location: Earth

PostPosted: Thu 26 Jul 2012, 11:36    Post subject:  

Yes, there are several very good solutions in the Linux Distro world which are suitably great implementation of SAMBA solutions; everything from simple workstation implementations that we get from Microsoft and Apple to increased functionslity that come with the use of SAMBA features to control and manage information in your LAN.

For those who are interested in what is offered by @Laszlok53 , PLEASE UNDERSTAND THE VERY TOP BANNER AT THIS WEBSITE! iTS important.

If anyone wants other SAMBA recommendations I have tested over the years, PM me because its outside of the scope of the thread and this forum area.

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: Thu 26 Jul 2012, 15:26    Post subject:  

gcmartin wrote:
Yes, there are several very good solutions in the Linux Distro world which are suitably great implementation of SAMBA solutions; everything from simple workstation implementations that we get from Microsoft and Apple to increased functionslity that come with the use of SAMBA features to control and manage information in your LAN.

For those who are interested in what is offered by @Laszlok53 , PLEASE UNDERSTAND THE VERY TOP BANNER AT THIS WEBSITE! iTS important.

If anyone wants other SAMBA recommendations I have tested over the years, PM me because its outside of the scope of the thread and this forum area.

Here to help


OMG

3 days after I found them they CLOSE???
Now I have to see if I can manage it as is, or look for an other solution.
Thank you for pointing this out for me!
And yes, be sure I'll PM you on this kind of issues, I mean SAMBA stuff, because my wish is that in spite of my limited knowledge in Linux, I'd like to give it a go wherever it can replace M$ stuff.
Again, THANK YOU!

Cheers

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

Joined: 17 Jan 2011
Posts: 17

PostPosted: Thu 04 Oct 2012, 09:01    Post subject:  

Hello, I just ran across this post and kid of late but rather late than never.

I am no expert but...
laszlok53 since you have installed ubuntu.

Have you tried to run Win 2000 in virtualbox and then setup what you needed?
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 3645
Location: Earth

PostPosted: Thu 04 Oct 2012, 17:05    Post subject: A Linux File or Print or media Server  

5 easy solutions using Linux

Dedicated
  • Use a NAS approach (FreeNAS)
  • Use a Linux Distro (SMS) - I add the KDE add-on to the ISO and ran from CD
Puppy using current, stable PUPs that have SAMBA built-in to talk to ALL known LAN devices built.
  • LightHouse64 (64bit)
  • FATSlacko (32bit)
These all work, are stable and mature.

And, correct me if I'm wrong (as I have only installed Ubuntu Servers), but, I believe that SAMBA is included in Ubuntu and all you need do is tailor it to your needs.

Should you need help, there are resources all over the Inet that can/will help with SAMBA (Its been around for over 20 years!)

Only needs; you to setup your SAMBA config file. In fact SMS is probably the easiest since it has Webmin which provides full-screen pages for your system tailoring making it so very, very easy.

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 
Display posts from previous:   Sort by:   
Page 3 of 3 [44 Posts]   Goto page: Previous 1, 2, 3
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.0934s ][ Queries: 13 (0.0060s) ][ GZIP on ]