Notes (week 28) – 0.90 RC 2

Back from the vacation, a break which was very welcome. This week mainly went in trying to solve all reported bugs. Some of them got fixed, some of them need testing to see if they are fixed. Rest of the bugs need revisiting. I added one new option for tabs, it’s the "Reuse already open tabs" toggle. Basically it means when you open a folder in a tab (middle click), and that folder is already open in another tab, CE will switch to that old tab instead of opening a new one. Also CE will now make itself visible when folders are opened from command line.

Those who have had problems when connecting network or other drives, please send a bug report if CE still keeps crashing.

reuse_tabs

CubicExplorer 0.90 RC 2 (0.90.0.1068)
Installer (2.1MB)
Zip (2.0MB)

PS. Anyone know how to make Samba work with Windows (or vice versa) when using user as security mode? I can get the share mode to work but not user mode.

12 Comments
1.
2301

Hmm, that’s strange.. Usually it’s the other way around (the user mode works but the share mode doesn’t). Did you add your client name to the configuration file?

[global]
security = share

[accounting1]
path = /home/samba/
guest ok = no
writable = yes
username = -> CLIENT NAME <-

Like this?

2301

2.
2301

–EDIT–

[global]
security = user

[accounting1]
writable = yes
valid users = ->CLIENT NAME<-

Oops, wrong config file. This should be it.

3.

That’s a nice new feature there.

I have things set up a little differently in the smb.conf file but i’ve never used security mode, I just create users and set the writeable option for just those users, so it would look like:

#Global parameters

workgroup = workgroupname
netbios name = hostcomputername
encrypt passwords = yes

[directorysharename]
path = /pathofdirectory/
browseable = yes
public = yes
write list = nameofuser

maybe i’m missing the point of what you’re trying to do, i’m very much a noob when it comes to linux so sorry if i’m stating the obvious here.

Also I have noticed that Cubic can interpret things differently than windows explorer. I’ve found that sometimes the first time you access a samba share it just doesnt show up, but if you try from windows explorer you get prompted for a usename / password which doesn’t seem to happen in Cubic. Once the password is entered the first time it works fine in Cubic Maybe this is a bug that has been cleared up in the past or maybe it’s something that has just happened to me and works fine for other people.

4.
TippiX

You all have good ideas … but I think the problem is another :P
I tried it myself a very long time, and almost no tutorial describes a very necessary step when connecting windows to linux. You need to add a samba user. Sounds nasty – it is!
My user in windows and in linux have the same name (case sensitive). Then create the samba-user with “smbpasswd -a “. The -a adds a user which is accepted by samba. It also let you choose a password which you have to enter in windows.
If you have different user names (windows, linux, samba) you can also use the one file which maps samba users to linux users.
Hope this helps. Good luck!

5.
TippiX

Sry for double post, but there is something missing in my last post (the blog killed some signs).
Here again. If your new samba user is called foobar, then type:
smbpasswd -a foobar
Then enter password and so on …
ps: the file to map samba to linux users is /etc/samba/smbusers
But if you use at every place the same name it is not necessary to edit this file.

6.

Thanks guys, I got it to work :D

I’m not really sure what the problem was previously since I did all these things. Anyway, I started from scratch and now it works. Basically I just created Samba user with the smbpasswd, rewrote smb.conf and restarted Samba.

#Global parameters
workgroup = VERKKO1
netbios name = Samba(test)
encrypt passwords = yes
security = user

[private]
path = /varasto/Files
read only = no
browsable = no
valid users = root

[public]
path = /varasto
read only = no
browsable = yes

Only problem is with Windows which allows only one connection which makes things difficult if you use different users for different shares.

@Donn
The password prompt issue is just the reason why I’m doing this. Hopefully it can now be fixed as I have a working test environment :) .

7.
TippiX

I believe you can use different users for different share (I hope I understood you correctly):
In the network environment (is this the right name? I only have a german windows xp) right click on the shared folder, click “connect with share” (or so) and in the new dialog, choose “connect with another user”. Here you type in the user from the samba share.
PS: it’s really not recommendable to use “root” as a valid user (except you know what you are doing ;) )

8.

Cool, that’s good to hear that you got things working. And thats great to hear that it’s a known bug and not some weird glitch that just I was experiencing. That’s dedication that you’re going to set up this environment to sort out the bug. You’re doing some amazing stuff with Cubic, I’d be lost without it, keep up the good work!

9.

I like the new tabs features but..

When open new tab as copy of active tab and reuse already open tabs are both checked you won’t get a new tab via ctrl+t or the menu. Still works via command line though.

I know this is by design but it may confuse some people.

10.

Yeah, I didn’t notice that issue. It will be fixed in next release.

11.
Barta

are you releasing a snapshot for week 29?

12.

Yep, I’ll post one later today.

Leave a reply

Or login with your forum information

:| :x :twisted: :) 8O :( :roll: :P :oops: :o :mrgreen: :lol: :idea: :D :evil: :cry: 8) :arrow: :? :?: :!:

Please use the forum to report bugs or feature requests