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 Fri 17 Nov 2017, 13:46
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Network
Yet Another Samba Share Mounter
Post new topic   Reply to topic View previous topic :: View next topic
Page 10 of 12 [175 Posts]   Goto page: Previous 1, 2, 3, ..., 8, 9, 10, 11, 12 Next
Author Message
Argolance


Joined: 06 Jan 2008
Posts: 3056
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Sun 06 Dec 2015, 05:50    Post subject:  

Bonjour,
Quote:
Samba-TNG is self-contained in /usr/local/samba. Its start/stop scripts are in /usr/local/bin. Samba4 Basic does not use any of these, so you can safely delete them.

Sorry but I want to be sure I well understood: is it to say the whole /usr/local/samba directory can be safely deleted?
Quote:
I was curious about how the mainstream Linuxes work with Windows 10 shares, so I booted Ubuntu 14. It had the same problem - it could only mount the share if password-protection was OFF.

Good... and bad news!
--------------------------------------------
Something else concerning yassm:
When I copy any file to my usb drive plugged to my Box, it works well though I get this message every time:
Code:
Copie de /mnt/sdb2/my-pictures/argolance.gif vers /root/YASSM/USB1@192.168.1.1/argolance.gif
cp: preserving permissions for `/root/YASSM/USB1@192.168.1.1/argolance.gif': Permission denied
Impossible de copier '/mnt/sdb2/my-pictures/argolance.gif'

Terminé
Il y a eu une erreur.

Please, what does this mean?
Thank you.

Cordialement.
151206_112022_495x254_easyshot.jpg
 Description   
 Filesize   21.83 KB
 Viewed   976 Time(s)

151206_112022_495x254_easyshot.jpg


_________________

Back to top
View user's profile Send private message Visit poster's website 
rcrsn51


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

PostPosted: Sun 06 Dec 2015, 10:42    Post subject:  

1. Yes, you can delete the folder /usr/local/samba.

2. Regarding the error message when copying:

a. I have seen some versions of ROX throw this error message, even though it copied the file correctly.

b. What Puppy version are you using on the client machine?

c. How are the two drives formatted - the local drive sdb2 on the client and the shared drive USB1 on the server. FAT32 or NTFS?

d. I set up some test machines with Samba4 Basic and YASSM using FAT32 drives, but I could not make the error message happen.
Back to top
View user's profile Send private message 
Argolance


Joined: 06 Jan 2008
Posts: 3056
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Sun 06 Dec 2015, 15:22    Post subject:  

Bonsoir,
rcrsn51 wrote:
1. Yes, you can delete the folder /usr/local/samba.

OK, thanks!
Quote:
b. What Puppy version are you using on the client machine?

USB drive is directly plugged to my Internet Box.
Quote:
c. How are the two drives formatted - the local drive sdb2 on the client and the shared drive USB1 on the server. FAT32 or NTFS?

sdb2: ext2
USB1: FAT32

Cordialement.

_________________

Back to top
View user's profile Send private message Visit poster's website 
rcrsn51


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

PostPosted: Sun 06 Dec 2015, 16:15    Post subject:  

Argolance wrote:
USB drive is directly plugged to my Internet Box.

So your Internet box is acting as the Samba server? When I set up a Samba4 server on a Puppy machine with the same drive configurations, ROX doesn't throw any errors.

Here is something to try. In the yassm-login Options box, enter "nounix". Or maybe "noperms".
Back to top
View user's profile Send private message 
Argolance


Joined: 06 Jan 2008
Posts: 3056
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Mon 07 Dec 2015, 05:24    Post subject:  

Bonjour,
Quote:
Here is something to try. In the yassm-login Options box, enter "nounix". Or maybe "noperms".

Bravo, "nounix" works! Very Happy

Cordialement.

_________________

Back to top
View user's profile Send private message Visit poster's website 
rcrsn51


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

PostPosted: Mon 07 Dec 2015, 16:35    Post subject:  

YASSM has been updated to v2.8. See the notes on page 1.
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Tue 15 Dec 2015, 02:37    Post subject:  

YASSM has been updated to v2.9. See the notes on page 1. The yassm-select procedure has changed.
Back to top
View user's profile Send private message 
augras

Joined: 11 Nov 2013
Posts: 1456
Location: france

PostPosted: Fri 25 Dec 2015, 04:41    Post subject:  

Hi,
Thanks a lot.
Have a nice christmas day.
Philippe
Back to top
View user's profile Send private message 
augras

Joined: 11 Nov 2013
Posts: 1456
Location: france

PostPosted: Fri 25 Dec 2015, 06:24    Post subject:  

It seems that in yassm-select.desktop there is a wrong translation.
There is Name[fr]=YASSM-Recherche de partage Samba like in the yassm-search.desktop file but it's not the same and Name[fr]=YASSM-Sélection de partage Samba will be better, i think.
Philippe
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Fri 25 Dec 2015, 09:17    Post subject:  

D'accord. I will fix that and post another version.

I have not received any feedback on the new yassm-select procedure. Is it working for you?
Back to top
View user's profile Send private message 
augras

Joined: 11 Nov 2013
Posts: 1456
Location: france

PostPosted: Fri 25 Dec 2015, 09:32    Post subject:  

I just try with one share and it works fine.
Thanks,
Philippe
Back to top
View user's profile Send private message 
augras

Joined: 11 Nov 2013
Posts: 1456
Location: france

PostPosted: Sun 27 Dec 2015, 05:25    Post subject:  

Hi,
After i register a share, without the password (i don't like to have a password in clear in a file), the window yassm-login comes to ask the password. Before there was a window but just with the pasword and not all the fields. I have just to write the password but i think that it is better for a user to don't have all these fields even if he just has to complete one field.
Philippe
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Sun 27 Dec 2015, 09:51    Post subject:  

I never liked the old yassm-select. The instructions were complicated, especially for non-English users. And it was easy to make a mistake when building your database of shares.

The new method is much simpler - just click Set and give the share a title. But when you run yassm-select, you now see two screens - one to select the share and one to login. (It's the same procedure as what you do with yassm-search). In the old yassm-select, you only saw the first screen. That will be a little annoying for users of the old method.

Regarding passwords - in the old method you could hide a share's password by putting ??? in the database. In the new method, you have to enter it in the Password box of yassm-login. But you can insert the password in the share's setup file, which is in the hidden folder /root/.yassm. So you don't have to enter it when you login. It is "sort-of-hidden" from other users.

I will give this problem some thought.

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


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

PostPosted: Wed 10 Feb 2016, 16:11    Post subject:  

This alternate version of YASSM-select addresses the issues raised by augras above.

1. It will automatically mount the selected share without going through the YASSM-login screen.

2. If the password in the /root/.yassm/xxx.set file is ***, it will pop-up a password entry box.

3. Your .set files can use server names instead of IP addresses.

Please test and report.
YASSM_select_auto-2.9.pet
Description 
pet

 Download 
Filename  YASSM_select_auto-2.9.pet 
Filesize  1.85 KB 
Downloaded  249 Time(s) 
Back to top
View user's profile Send private message 
takenp


Joined: 05 Aug 2015
Posts: 46

PostPosted: Thu 29 Jun 2017, 15:36    Post subject:  

Hi!

Many thx for your scripts. I found them very usefull. BTW dont you think to add iocharset=utf8 while mounting by default? Cause I ve got national coding with ???? in filenames and folder whilist I did not put it into options field. It is OK and easy but it can be a problem for a newbie to figure out what to do Wink
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 10 of 12 [175 Posts]   Goto page: Previous 1, 2, 3, ..., 8, 9, 10, 11, 12 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Network
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.0537s ][ Queries: 12 (0.0085s) ][ GZIP on ]