Does Samba work with Deepin???
Tofloor
poster avatar
omelette
deepin
2016-02-10 02:24
Author
I am still looking for clarification regarding Samba, specifically creating network shares.  With my default Deepin setup, the Samba-client software works perfectly, allowing me to access remote shares.  The problem arises when trying to create a share on Deepin - I am told the software is not installed, and would I like to install it.  When I enter the root password, I am almost immediately told that the attempt failed, and would I like to try again (retries don't work either!).

QUESTION:  Do other/all Deepin 15.1 users share the same experience???

The other network-related problem I have is that Deepin insists that the network password be re-entered every time a remote share is accessed, even when you instruct it to 'remember forever' the password.  This occurs even when you unmount & immediately remount the same share, and with having had 'remember forever' selected.

QUESTION: Do others experience this???

I presumed that these were general Deepin bugs until I posted a somewhat critical comment about these problems on the Distrowatch comments section about their Deepin 15 review.  The reviewer rightly pointed out that Samba is a Windows-related application, and since he doesn't have any Windows OS's, he doesn't feel obliged to check it.  But out of curiousity, he did a quick check and found that creating a Samba-share fron Deepin worked perfectly for him - leaving me more confused than ever!

Any insights into these problems would be greatly appreciated.

Reply Favorite View the author
All Replies
dance707
deepin
2016-02-10 03:11
#1
I have not got around to setting up samba yet. I will fire up the old windows box and test latter today.

Did you install the samba package ? when you try to create share what software is not installed ?
Reply View the author
jotapesse
deepin
2016-02-10 03:33
#2
To get better help you should detail your steps and your cli commands used for the purpose (if any) and also any errors received. In debian, for secutiry issues with network setup, your user should be member of group "netdev". You may check which groups you are a member of with the following. In my case:
  1. $ id
  2. uid=1000(jotapesse) gid=1000(jotapesse) groups=1000(jotapesse),4(adm),24(cdrom),25(floppy),27(sudo),29(audio),44(video),46(plugdev),100(users),107(netdev),111(lpadmin),120(scanner)
Copy the Code
User/group uid/gid numbers may be different on your system.
Reply View the author
dance707
deepin
2016-02-10 04:00
#3
I am finished to test already  I had no trouble creating a windows share on my Deepin 15.1 And it works good.
Reply View the author
omelette
deepin
2016-02-10 11:16
#4
Thanks guys, and dances707 for the confirmation.

For the record, I'm talking about a fresh Deepin installation, where I have done nothing 'extra' - such as adding Samba-server bits manually.  Like I mentioned, when I do a fresh Deepin installation and try sharing a folder from Deepin, I am prompted that in order to proceed, I must install additional Samba software - which it then attempts to do, but fails almost immediately!

What I do not understand is why the rest of you don't experience this!  If as I suspect, you do encounter this problem, but then load the Samba software manually - rather than Deepin itself detecting the problem, trying to install the Samba software, but failing - then it is a bug of sorts with the Deepin setup and should be fixed.  After all, something so funbamental sould work 'out-of-the-box', and not require the user to go messing about installing stuff manually, or proving additional configuration.  The very same thing occured when I installed Deepin 2014, so I am either somehow making the same mistake now, or this bug (of sorts!) has been inherited by Deepin 15.

Same goes for Deepin 15 needing the network password everytime a remote-share is accesed.  I do not understand how others do not experience exactly the same problem - which is really annoying!  The 'bug' seems to be that despite Deepin (probably) having stored your network password from a previous attempt, it stupidly defaults to trying to access the shares 'Anonomously' every time, rather than opting for the 'Registered User' option, which the user would have selected previously, and already supplied a password!

Although the Distrowatch reviewer had a point about Samba being Windows-specific, in my experience, Samba is without a doubt the easiest way of sharing/accessing remote-shares - and that includes between Linux-only PC's, which is all I have!  The so-called 'native' NFS sharing is a joke in comparasion to Samba - it's one of the few pieces of software that I have come across that can completely freeze an otherwise healty Linux OS, necessitating a reboot.  So for me, Samba is King!
Reply View the author
dance707
deepin
2016-02-10 11:45
#5
https://bbs.deepin.org/post/30707
Thanks guys, and dances707 for the confirmation.

For the record, I'm talking about a fresh Deepin i ...

Actually I did not encounter your problem. I referred to the Debian Wiki first,  because its been my experience that in most distro's the samba server is not enabled by default.
Reply View the author
omelette
deepin
2016-02-11 08:11
#6
https://bbs.deepin.org/post/30707
Actually I did not encounter your problem. I referred to the Debian Wiki first,  because its been  ...

Sorry, that was poorly worded - I realised that you were not experiencing the same problem!  I also know that most distros don't come with a fully-enabled Samba setup - Mint for example comes with just the client side of Samba installed, enabling the user to access remote shares, but not create shares (same as Deepin 15).

Where things diverge is that with Mint/Mate, when I right-click a folder I want to share on the network, and select 'Sharing options', I am informed that required Samba server-side software is not installed, and would I like to install it (just as happens with Deepin 15) - Mint then SUCCESSFULLY installs the software and adds the network share.  Deepin 15 fails to install the software, so cannot create the network-share.

At least, that is what I experience.
Reply View the author
dance707
deepin
2016-02-11 23:38
#7
https://bbs.deepin.org/post/30707
Sorry, that was poorly worded - I realised that you were not experiencing the same problem!  I als ...

You have the ability to notice out of the box details that advanced users may not experience. Please help by posting command line outputs if any and screenshots of GUI errors.
Reply View the author
t***7@gmail.com
deepin
2022-09-07 18:43
#8
It has been deleted!
th******03@Outlook.com
deepin
2022-12-30 18:18
#9
It has been deleted!
je******23@gmail.com
deepin
2023-04-06 02:56
#10
It has been deleted!
tr******yn@gmail.com
deepin
2023-04-19 01:28
#11
The user is banned, and the content is hidden.
w***6@gmail.com
deepin
2023-05-18 23:16
#12
It has been deleted!
S***2@proton.me
deepin
2023-06-26 21:26
#13
It has been deleted!