samba

samba

Postby ptit-dave29 » Oct 7th, '13, 11:02

Hello,
i've got mageia 3 and samba installed. In my network, i've got a ubuntu and a old windows xp.
Windows and ubuntu can see my share folders on mageia.
But I can not see the share folders on the other machines. I can not go out. It does not work. I can not mount them.

Code: Select all
[root@localhost etc]# smbstatus

Samba version 3.6.15
PID     Username      Group         Machine                       
-------------------------------------------------------------------

Service      pid     machine       Connected at
-------------------------------------------------------
IPC$         5574   pcmageia      Mon Oct  7 10:29:01 2013

No locked files


Code: Select all
[root@localhost etc]# smbtree
Enter stephane's password:
WORKGROUP
   \\POSTE3               poste3
   \\PCMAGEIA             localhost
      \\PCMAGEIA\stephane          Home Directories
      \\PCMAGEIA\IPC$              IPC Service (localhost)
      \\PCMAGEIA\Partage           Partage
      \\PCMAGEIA\pdf-gen           PDF Generator (only valid users)
      \\PCMAGEIA\print$   

Code: Select all
[root@localhost etc]# smbtree
Enter stephane's password:
WORKGROUP
   \\STEPHANE             stephane server (Samba, Ubuntu)
   \\POSTE3               poste3
   \\PCMAGEIA             localhost
      \\PCMAGEIA\stephane          Home Directories
      \\PCMAGEIA\IPC$              IPC Service (localhost)
      \\PCMAGEIA\Partage           Partage
      \\PCMAGEIA\pdf-gen           PDF Generator (only valid users)
      \\PCMAGEIA\print$            
[root@localhost etc]#


With network servers :
Cature1.png
Cature1.png (97.1 KiB) Viewed 5013 times

then,
Capture2.png
Capture2.png (66.4 KiB) Viewed 5013 times


Thanks for your help.
Last edited by isadora on Oct 7th, '13, 11:18, edited 1 time in total.
Reason: Command-output placed between [CODE]-tags, to keep the forum readable. ;)
ptit-dave29
 
Posts: 4
Joined: Oct 7th, '13, 10:19

Re: samba

Postby doktor5000 » Oct 7th, '13, 22:19

Could be a firewall issue, please have a look at viewtopic.php?f=8&t=4987
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18051
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: samba

Postby ptit-dave29 » Oct 8th, '13, 00:41

Hello and thanks for your reply.
I've done that : urpme shorewall-ipv6
And it's not better. I've got the same messages. I can not open the shared folders of the other machines.
I've disabled firewall, and it's not better too.
Sorry
ptit-dave29
 
Posts: 4
Joined: Oct 7th, '13, 10:19

Re: samba

Postby jkerr82508 » Oct 8th, '13, 07:32

Try entering in the location box of your file manager
Code: Select all
smb://stephane/share

Replace share with the name of a share that you have set up on stephane

(I assume that poste3 can access shares on stephane and vice-versa)

Jim
jkerr82508
 
Posts: 946
Joined: Mar 26th, '11, 01:34
Location: Fife, Scotland

Re: samba

Postby ptit-dave29 » Oct 8th, '13, 23:32

Hello jkerr82508, and thanks for your reply.
Poste3 is a windows machine and stephane is an ubuntu one. Poste3 can see stephane and vice-versa. And we are able to exchange files between the 2 machines.
The problem is mageia. I can send files from ubuntu or windows in a share folder on mageia but i can not send files from mageia to the share folders of the two others.

You said me :
Try entering in the location box of your file manager

Code: Select all
smb://stephane/share


So i've got that :

Capt3.png
Capt3.png (39.3 KiB) Viewed 4969 times


It's hell...
ptit-dave29
 
Posts: 4
Joined: Oct 7th, '13, 10:19

Re: samba

Postby jkerr82508 » Oct 9th, '13, 01:32

Make sure that you have the samba-client, gvfs and gvfs-smb packages installed in Mageia. I can't think of anything else to try at present.

Jim
jkerr82508
 
Posts: 946
Joined: Mar 26th, '11, 01:34
Location: Fife, Scotland

Re: samba

Postby ptit-dave29 » Oct 9th, '13, 13:03

Hello Jim,

Yes they are....

I think that the problem is harder. I've read that : https://bugs.mageia.org/show_bug.cgi?id=7017 & https://bugs.mageia.org/show_bug.cgi?id=2806

It seems that there is no solution.
ptit-dave29
 
Posts: 4
Joined: Oct 7th, '13, 10:19

Re: samba

Postby jkerr82508 » Oct 9th, '13, 14:35

I've no recent experience of nautilus. I mainly use Dolphin in KDE and it has no problem displaying samba shares. You may not want to try dolphin, as it would bring a lot of KDE with it. However, I also use pcmanfm (in LXDE) and it does display a samba share, after entering smb://server/share in the location/search box. You may want to try it but I've no idea if it will actually work in Gnome.

Jim
jkerr82508
 
Posts: 946
Joined: Mar 26th, '11, 01:34
Location: Fife, Scotland

Re: samba

Postby wintpe » Oct 24th, '13, 16:52

also in mageia, open a terminal and run

smbclient -L \\windowshost\sharename


that bypasses all the gui tools.

it could be your magiea box is not able to map an ipaddress to the windows or ubuntu system correctly to match there shared
netbios name.

if thats the case, try adding an entry to your local hosts file of

192.168.x.x windowshost

or whatever your ipaddress of XP system is.

regards peter
Redhat 6 Certified Engineer (RHCE)
Sometimes my posts will sound short, or snappy, however its realy not my intention to offend, so accept my apologies in advance.
wintpe
 
Posts: 1204
Joined: May 22nd, '11, 17:08
Location: Rayleigh,, Essex , UK

Re: samba

Postby magfan » Oct 28th, '13, 13:54

In case of newer kernels like in Mageia 3 the security level for cifs mounts has been changed (https://git.kernel.org/cgit/linux/kerne ... 846e3b14ce). So if you try to mount a share on a samba client which assumes that the security level is "sec=ntlmv2" any mounting attempt will fail. In such a case you will have to set the following option explicitly: "sec=ntlm". A valid fstab entry on your Mageia system may look like this:

Code: Select all
//ubuntu/data /mnt/ubuntu/data cifs credentials=/etc/samba/auth.ubuntu,file_mode=0664,nosuid,sec=ntlm,nodev,noexec,dir_mode=0755 0 0
magfan
 
Posts: 334
Joined: Apr 3rd, '12, 12:33


Return to Networking

Who is online

Users browsing this forum: No registered users and 1 guest

cron