Samba server in SFS

Configuration wizards, scanners, remote desktop, etc.
Message
Author
gcmartin

Looks like path problems when SAMBA completes

#16 Post by gcmartin »

Hi I promised Shinobar to post this several hours ago. Sorry for the delay.

I posted the findings to the PUPPY Beta thread because there some items that may pertain to them as well.

Hope this helps

gcmartin

A SMB.CONF that I'd like you to consider adding

#17 Post by gcmartin »

@Shinobar. I am enclosing a SAMPLE (EXAMPLE) smb.conf that I'd like you to consider shipping in the 3.5.6 updates you have planned. If you do,
I will rebuild the Puppy User Instructions around this smb.conf to make it easy for newbies to get started.

Review it and determine if you like its approach.

And, during the PET installation, the last installation window that POPs after PET install indicates that the Menu has been updated under Network. You may want to take a look at that message because teh current PET is NOT putting entry in Menu > Network. (Kirk did put an entry in Network when installing his PET in FATDOG)

Lastly, looking over your download site, I see that you had done some work on modularizing SAMBA. But, to properly use the pieces, will need some sort of document instructing what and how to piece things back together if need. See my PM to you on this.

Sometime in late January I will take the time to test and write a Puppy Guide to setting up a Puppy FULL LAN server that works same as vendor servers costing 1000-20000s of dollars. The SAMBA that you produce lets Puppy do this with ease.

Hope this helps.
Attachments
EXAMPLE_smb.conf.bz2
(748 Bytes) Downloaded 948 times

User avatar
maxpro4u
Posts: 293
Joined: Sat 19 Jun 2010, 18:20
Location: Rittman,Ohio,USA, In dog years,I'm dead
Contact:

#18 Post by maxpro4u »

Does your samba for puppy 4 use opt also? Can I use the config from 3.5.6?
Dell D610 1.7M w/1024mb
Testing Slacko and a few others
I'm Max Wachtel and I approve this message.
Registered Linux User #393236

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

samba-3.5.6-lucid.sfs and samba-3.0.26-3.sfs

#19 Post by shinobar »

maxpro4u wrote:Does your samba for puppy 4 use opt also? Can I use the config from 3.5.6?
I am running LupQ-511 with samba-3.5.6-lucid.sfs
and Puppy-431JPqs3 using samba-3.0.26-3.sfs.
Both have the same configuration at /etc/opt/samba/smb.conf.
I don't know on Fluppy, but samba-3.0.26-3.sfs may work.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
maxpro4u
Posts: 293
Joined: Sat 19 Jun 2010, 18:20
Location: Rittman,Ohio,USA, In dog years,I'm dead
Contact:

Re: samba-3.5.6-lucid.sfs and samba-3.0.26-3.sfs

#20 Post by maxpro4u »

shinobar wrote:
maxpro4u wrote:Does your samba for puppy 4 use opt also? Can I use the config from 3.5.6?
I am running LupQ-511 with samba-3.5.6-lucid.sfs
and Puppy-431JPqs3 using samba-3.0.26-3.sfs.
Both have the same configuration at /etc/opt/samba/smb.conf.
I don't know on Fluppy, but samba-3.0.26-3.sfs may work.
3.0.26-3.sfs worked on Fluppy but now my drive icons are missing :roll:
edit- using a frugal install of fluppy everything works fine-drive icons also are fine. I am going to format and do a full install of fluppy and see if the icons go missing again.
Dell D610 1.7M w/1024mb
Testing Slacko and a few others
I'm Max Wachtel and I approve this message.
Registered Linux User #393236

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

samba-3.5.6-w5.sfs for Wary Puppy

#21 Post by shinobar »

samba-3.5.6-w5.sfs for Wary Puppy is now available. See the top post.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

gcmartin

Re: samba-3.5.6-w5.sfs for Wary Puppy

#22 Post by gcmartin »

shinobar wrote:samba-3.5.6-w5.sfs for Wary Puppy is now available. See the top post.
Thank you Shinobar. I will get right on it for LiveCD/LiveDVD use.

Question: Was Lucid version ever fixed for LiveCD use? I had found in the past that it would not run after system setup, test, and use....Then reboot and session save. One this had occurred, on rebooot, SAMBA does not run and there was no fix (except for having knowledge to manually reset libraries by hand). This was reported several times.

Edited: I don't see the PET for LiveCD use. What do you recommend?

Thanks in advance for your answer

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Re: samba-3.5.6-w5.sfs for Wary Puppy

#23 Post by shinobar »

gcmartin wrote: I don't see the PET for LiveCD use. What do you recommend?
Please use the sfs_load for the Live CD use.
http://www.murga-linux.com/puppy/viewtopic.php?t=64354

Note that my samba package is so large to install with pet.
The RAM/pupsave can be filled up.
The sfs_load may well manage it.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

gcmartin

Re: samba-3.5.6-w5.sfs for Wary Puppy

#24 Post by gcmartin »

shinobar wrote:
gcmartin wrote: I don't see the PET for LiveCD use. What do you recommend?
Please use the sfs_load for the Live CD use.
http://www.murga-linux.com/puppy/viewtopic.php?t=64354

Note that my samba package is so large to install with pet.
The RAM/pupsave can be filled up.
The sfs_load may well manage it.
I am Confused: Are you saying that the problems experienced with SAMBA 3.5.6 Pet used in Pup5.2 tests experience problems at LiveCD session save back to the CD? Or are you saying something else?

If so, is that why SAMBA was incomplete on LiveCD reboot using the saved session file on CD?

As I remembered it; it seemed that your package was storing files in areas that PUP5.2 would NOT save to over a reboot. Was that not true?

Thanks in advance for your answer.

gcmartin

PET works with PPM

#25 Post by gcmartin »

Shinobar, I know that your PET for WARY is rather large. I would like to test it though. If you have a moment sometime, would you post it.

Thanks

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Samba PET with multisession CD

#26 Post by shinobar »

gcmartin wrote:why SAMBA was incomplete on LiveCD reboot using the saved session file on CD?

As I remembered it; it seemed that your package was storing files in areas that PUP5.2 would NOT save to over a reboot. Was that not true?
Ah gcmartin, you are right.
Confirmed with Lucid Puppy 5.2. In case using the PET and save back the session to CD, the samba fails, because saving back to CD drops the directory '/var/opt/smba/locks'.

I will make new package, but for now, the SFS with the sfs_load shold work.

P.S. I am not going to provide samba in PET other than the bugfix for lucid. Because it is danger for limited RAM. The PPM gives no error messages even the RAM or the root file system is filled up.
The sfs_load is usable for RAM mode.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

samba-3.5.6-1-lucid.sfs/pet

#27 Post by shinobar »

samba packages for Lucid Puppy are udated(thanks to gcmartin)
samba-3.5.6-1-lucid.sfs/pet(Update: 16 Feb 2011)
* Cofigfile moved to /etc/samba/smb.conf
* Start up script(/etc/init.d/smb) makes sure essential directories are created

Tested on Lucid Puppy 5.2 with multi-session CD.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

ags
Posts: 14
Joined: Fri 28 Jul 2006, 09:20
Location: Norway

SWAT - did anyone succeed to implement this

#28 Post by ags »

Hi,

I'm struggling with the samba config file, and I'm wondering if anyone made swat work in puppy Lucid 5.2.

I installed the samba-3.5.6-1-lucid.sfs and tried to add a swat service (script) in inet.d like this:

#!/bin/sh
# swat is the Samba Web Administration Tool
swat stream tcp nowait.400 root /opt/samba/sbin/swat swat

What did I miss?

It would be great if someone had an answer to this one.
I've allready been using samba (previous version) and would like to make my home network a little better and secure.

gcmartin

Understanding your Newbie user concerns on RAM

#29 Post by gcmartin »

Hi @Shinobar
I understand your issue with SAMBA, newbies, and low RAM.
BUT
I need your PET for SAMBA to setup and run a LiveCD environment that survives over reboot. Will you help by PM'ing me with a PET for testing. (And, Shinobar, I will take responsibility to provide feedback, test findings, which low-RAM configuration are appropriate, etc. if you'll make a PET available to me with matches this SFS.)

Thanks in advance.
Last edited by gcmartin on Sat 19 Feb 2011, 18:59, edited 2 times in total.

gcmartin

Re: SWAT - did anyone succeed to implement this

#30 Post by gcmartin »

ags wrote:... I'm struggling with the samba config file, and I'm wondering if anyone made swat work in puppy Lucid 5.2. ...
Hi @AGS
Yes, I understand your concern. I don't have a solution to that, BUT, this might help.
  1. Use Geany to edit your /etc/SAMBA/smb.conf
  2. Make all manual changes you like or replace it with the one you have from work.
  3. Save your Geany session
  4. Open a terminal/console and type "testparm".
This will syntax check your SAMBA configuration file for you.

Once testparm is "happy" (no syntax issues), restart your SAMBA service via the terminal command, "/etc/init.d/smb restart" and you are in business.

This is what we used with SAMBA before SWAT (a GUI) and its still maintained and updated as the test tool of choice with all SAMBAs.

This version of SAMBA works very well and will replicate the same as you have at work. (In fact this is the SAMBA, 3.5.6 that ships with ALL major Distros) This version is stable, secure, high in functionality, and supported all over the Internet.

Hope this helps
Last edited by gcmartin on Sat 19 Feb 2011, 18:49, edited 4 times in total.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

Re: SWAT - did anyone succeed to implement this

#31 Post by rcrsn51 »

ags wrote:I've allready been using samba (previous version) and would like to make my home network a little better and secure.
Check out Samba-TNG. Its default security mode is "user" instead of "share". So you have more network security options out of the box.

gcmartin

Problem with

#32 Post by gcmartin »

This occurs (seems we are re-visiting same problems that occurred in 3.5.5)

Code: Select all

# smbclient -L localhost
init_iconv: Conversion from UTF-16LE to CP850 not supported
init_iconv: Attempting to replace with conversion from UTF-16LE to ASCII
init_iconv: Conversion from UTF-8 to CP850 not supported
init_iconv: Attempting to replace with conversion from ASCII to ASCII
              o
              o
("init_iconv: Conversion and init_iconv: Attempting" repeated many times,until)
              o
              o
init_iconv: Conversion from UTF8 to CP850 not supported
init_iconv: Attempting to replace with conversion from ASCII to ASCII
init_iconv: Conversion from UTF-16BE to CP850 not supported
init_iconv: Attempting to replace with conversion from UTF-16BE to ASCII
Password: 
Any ideas on how to avoid these, now, and on future upgrades? (Is this a WARY problem, a urxvt problem or a SAMBA definition problem?)

Hope this helps

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#33 Post by rcrsn51 »

Install YASSM. It contains the missing code page that eliminates these messages.

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Re: Problem with

#34 Post by shinobar »

Code: Select all

# smbclient -L localhost
init_iconv: Conversion from UTF-16LE to CP850 not supported
init_iconv: Attempting to replace with conversion from UTF-16LE to ASCII
init_iconv: Conversion from UTF-8 to CP850 not supported
init_iconv: Attempting to replace with conversion from ASCII to ASCII
              o
              o
("init_iconv: Conversion and init_iconv: Attempting" repeated many times,until)
              o
              o
init_iconv: Conversion from UTF8 to CP850 not supported
init_iconv: Attempting to replace with conversion from ASCII to ASCII
init_iconv: Conversion from UTF-16BE to CP850 not supported
init_iconv: Attempting to replace with conversion from UTF-16BE to ASCII
Password: 
It maybe harmless but occurs under lacking the file '/usr/lib/gconv/IBM850.so'.
The multilingual Wary-500m09 has the IBM850.so. Think Lucid Puppy 5.2 also has. EDIT: Lucid Puppy 5.2 doesn't have.
Or, rcrsn51 provides a PET: http://www.murga-linux.com/puppy/viewto ... &start=280
Last edited by shinobar on Sun 20 Feb 2011, 22:29, edited 1 time in total.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Re: Understanding your Newbie user concerns on RAM

#35 Post by shinobar »

gcmartin wrote:I need your PET for SAMBA to setup and run a LiveCD environment that survives over reboot.
I do not understand what does it mean, 'a LiveCD environment that survives over reboot'.
I guess you are saying the multi-session, but we also have another solutions...
You can make a pupsave on HDD, then the SFS loaded by any measure survives after reboot.
If you don't like to touch the HDD, you can remaster the Live CD after loading the SFS by any measure.
If you like more easy way, burn the cd with the SFS and the sfs_load-*.pet included. (multilingual Wary-500m09 already has the sfs_load built in.)

If you insist on the PET, you can convert the SFS to a PET by any tools.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

Post Reply