New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

Need Help for CIFS Client

Got problems with your B2 or B3? Share and get helped!
Dudester
Posts: 5
Joined: 19 Jan 2015, 14:14

Need Help for CIFS Client

Post by Dudester »

Hey there i need some help.
I wanna mnt the admin folder with a CIFS Client.

Is there someone who know how this works on the B3 ?

THX
Ubi
Posts: 1549
Joined: 17 Jul 2007, 09:01

Re: Need Help for CIFS Client

Post by Ubi »

i dont think you can do this without changing the samba config file:
https://www.samba.org/samba/docs/man/Sa ... ollection/
stasheck
Posts: 127
Joined: 15 Jan 2014, 13:13

Re: Need Help for CIFS Client

Post by stasheck »

I'm not sure what you need - you want to be able to read /home/admin directory from a Windows machine?
Gordon
Posts: 1469
Joined: 10 Aug 2011, 03:18

Re: Need Help for CIFS Client

Post by Gordon »

Possibly http://b3/admin ?

Like Ubi says: that will require defining an additional share for /usr/share/web-admin
johannes
Posts: 1470
Joined: 31 Dec 2006, 07:12
Location: Sweden
Contact:

Re: Need Help for CIFS Client

Post by johannes »

fourth guy trying to interpret this post: :)

You want to mount \\b3\home\admin (the /home/admin folder, not the www service) as a samba folder from a windows machine? Just browse to \\b3, enter home, then admin, then right-click and select "map network drive" to make it persistent? If this doesn't work, what step fails?
/Johannes (Excito co-founder a long time ago, but now I'm just Johannes)
Ubi
Posts: 1549
Joined: 17 Jul 2007, 09:01

Re: Need Help for CIFS Client

Post by Ubi »

ha, it seems we really *do* need a psychic department! :D :D
stasheck
Posts: 127
Joined: 15 Jan 2014, 13:13

Re: Need Help for CIFS Client

Post by stasheck »

Well, I interpreted it the same way Johannes did :-)
Dudester
Posts: 5
Joined: 19 Jan 2015, 14:14

Re: Need Help for CIFS Client

Post by Dudester »

Hey there ... no sry it is for my dream box. with open atv.
i managed the smb file to make an NFS share.

without it would not regonize the B3, or better i could see it but it shows now share.

the problem with the nfs is, there is no password and so one.
Gordon
Posts: 1469
Joined: 10 Aug 2011, 03:18

Re: Need Help for CIFS Client

Post by Gordon »

You're not making this any clearer. From what I understand you want a media player to be able to access files that are stored on the B3, but the software you installed on it does not allow passing credentials and you need anonymous access. What I don't understand is the 'admin' bit, because the normal place to store media files on the B3 is in 'storage' where the B3's DLNA server (if enabled) will also share them. Can't open atv use that, or am I completely missing the point here?
Ubi
Posts: 1549
Joined: 17 Jul 2007, 09:01

Re: Need Help for CIFS Client

Post by Ubi »

Also, you cannot make an NFS share with SMB. They are really quite different technologies.
What you can do is make password-free shares in either NFS (default) or SMB (http://www.debuntu.org/samba-how-to-sha ... rpassword/). Please get your terminology correct or this is going to be really confusing . And as Gordon mentions, if you want to mount your video player to the B3, you do not need a connection to admin.

Maybe its useful if you specify what you want to achieve in more detail... As an extra tip for non-native speakers, try to avoid words like "it" or "there" or other back-references to other sentences as they are often confusing because the grammar is wrong.
Dudester
Posts: 5
Joined: 19 Jan 2015, 14:14

Re: Need Help for CIFS Client

Post by Dudester »

i just need an CIFS share. thats all.
why i have to explain it ?

when you could tell me the way to manage it tell me.
i'm here to learn. not to say why i need it.
thx
Ubi
Posts: 1549
Joined: 17 Jul 2007, 09:01

Re: Need Help for CIFS Client

Post by Ubi »

And we are not your slaves.

You made many cryptic remarks that makes it difficult to help you. Youve alsobeen given multiple sets of documntation and pretty much everything short of someone coming to your house to fix it. And now you complain on the manner in which this free help has been provided. Wow.
stasheck
Posts: 127
Joined: 15 Jan 2014, 13:13

Re: Need Help for CIFS Client

Post by stasheck »

Dudester, the problem was that you haven't really said what you need. What you said was clear to you, but not to us. We've been asking about your usecase so we better understand the issue, not to spy on you.

Here's the /etc/samba/smb.conf piece of config I use to share all of /home:

Code: Select all

[home]
hide dotfiles=yes
browseable=yes
writable=yes
path=/home
hide files=/lost+found/
guest ok=no
create mask=0764
directory mask=0775
comment=Home Directories
hide special files=yes
public=no
user=@users
So that's one more way, I think.
Gordon
Posts: 1469
Joined: 10 Aug 2011, 03:18

Re: Need Help for CIFS Client

Post by Gordon »

That is the default entry on a B3 ;)

On a regular system with Samba you would see something like:

Code: Select all

[homes]
   create mask=0700
   directory mask=0700
   read only=no
   browseable=no
   comment=Home Directories
   valid users = %S
This will give you shares for each user that can log on through Samba, showing only his/her own home folder. That does not seem to be the challenge here though, as a true CIFS client should not care whether you want to connect to //b3/admin or //b3/home/admin
Ubi
Posts: 1549
Joined: 17 Jul 2007, 09:01

Re: Need Help for CIFS Client

Post by Ubi »

what he seems to want is this:

Code: Select all

[videos]
        comment = Passsword-free access for my DVR
        path = /path/to/my/videos
        browseable = yes
        read only = yes
        guest ok = yes
but then you need to also change:

Code: Select all

security = share
guest account = nobody
Post Reply