Just would like to draw the maintainers attention to my GUI to samba. Some time ago I spoke with someone on the subject, since the project is very advanced right now this email is just a reminder. Any information on whats worng whats missing and what does not wrong is welcomed. The project is at: http://freshmeat.net/projects/thor Atom
Does not look like it is usable. I could not get it to authenticate... And what is the point of showing printers ? The word "Disk" in the links is not needed either. atom wrote:> > Just would like to draw the maintainers attention to my GUI to samba. > Some time ago I spoke with someone on the subject, since the project is very > advanced right now this email is just a reminder. Any information on whats > worng whats missing and what does not wrong is welcomed. > The project is at: > http://freshmeat.net/projects/thor > Atom > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba
What word "Disk". Could you be more specific. And the printers youre right, i'll work on it (i forgot about that, there are no shared printers in my network). Could you tell me to what kind of server you were trying to log in (when the auth failed). I'm working on that now too, i have some problems with encrypted passwords so that might be a problem. Thank you for your help. Atom -------------- next part -------------- HTML attachment scrubbed and removed
Well i agree that hiding the special "$" is a good idea. I don't understand how can I parse the smbclient Output wihout the "Disk" word> root@puppy:~# smbclient -L atomixadded interface ip=10.1.1.6 bcast=10.1.1.255 nmask=255.255.255.0 Password: Domain=[NET] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager] Sharename Type Comment --------- ---- ------- Filmy Disk E$ Disk Domylny udzia IPC$ IPC Zdalne wywoanie IPC D$ Disk Domylny udzia dzejdzej Disk INSTALKI Disk backup Disk MP Disk warez Disk Loops Disk ADMIN$ Disk Administracja zdalna C$ Disk Domylny udzia sample Disk uklady Disk Why is it confusing since the software only operates on files. Also maybe you have an old version of Thor (see fresmeat.net for the latest version). And the auth utility well it work, look at http://212.160.15.90 and click the Thor Demo, then click the yellow key and you will be prompted for a Login and Password. It's just a simple link so it should work to that level at least. Thank you again for interestng in this. Atom> > atom wrote: > > > > What word "Disk". Could you be more specific. > > As far as I understand you parse smbclient output and put Sharename and > Type columns > as label for a link to the share - "ShareName Disk". I don't think the > word Disk carries much useful info. It is rather confuses. > > > And the printers youre right, i'll work on it (i forgot about that, > > there are no shared printers in my network). > > There is also such shares as IPC$ and ADMIN$ that should be hidden. > > > Could you tell me to what kind of server you were trying to log in > > (when the auth failed). I'm working on that now too, i have some > > Samba 2.2.6. > I don't see any passwords prompts at all when try to click on the auth > button. > At the same time I watch that it spits word "Password:" in the Apache > error log. > > > problems with encrypted passwords so that might be a problem. > > Thank you for your help. > > > Any time. > Actually the interface you are making is something that many people > need. > As you probably know there was smb2www script that is very outdated and > has some > major issues (such as running away processes consuming 100% CPU). > So it would be good to have something that work with new versions of > Samba. > Keep up your work ! > > > > > Atom >
> > > atom wrote: > > > > Well i agree that hiding the special "$" is a good idea. > > > > I don't understand how can I parse the smbclient Output wihout the"Disk"> > word > > > > > smbclient -L atomix | sed s/' Disk '// > Also I noticed you don't care about possible spaces in the share names > and theys are being passed > to the web form without "webalization" (replacing with %20). > One more potential problem with smbclient - it will cut share names that > are longer than 14 characters. So you may want to find another way of > getting list of shares. I'm sure there is a Perl module for it.Well they are actually, everywhere in the functions.php file you will find urlencode functions when passing parameters like dirs or files also shares as variables.> > > > Why is it confusing since the software only operates on files. Alsomaybe> > Beecause it does not carry useful information since all the shares we > are interested > in marked as "Disk".I'll look for some perl modules for smbclient output parsing. Maybe that will help.> > you have an old version > > of Thor (see fresmeat.net for the latest version). > > > No, I grabbed it from your site. It si v0.5p1. > > > > > > And the auth utility well it work, look at http://212.160.15.90 andclick> > the Thor Demo, then click the yellow key > > and you will be prompted for a Login and Password. It's just a simplelink> > so it should work to that level at least. > > > > I don't know. In my case it does not happen. I don't get any login > prompts.I have to look into that since it's a simple <a href to a file,> > Thank you again for interestng in this. > > > > Atom > > > > atom wrote: > > > > > > > > What word "Disk". Could you be more specific. > > > > > > As far as I understand you parse smbclient output and put Sharenameand> > > Type columns > > > as label for a link to the share - "ShareName Disk". I don't think the > > > word Disk carries much useful info. It is rather confuses. > > > > > > > And the printers youre right, i'll work on it (i forgot about that, > > > > there are no shared printers in my network). > > > > > > There is also such shares as IPC$ and ADMIN$ that should be hidden. > > > > > > > Could you tell me to what kind of server you were trying to log in > > > > (when the auth failed). I'm working on that now too, i have some > > > > > > Samba 2.2.6. > > > I don't see any passwords prompts at all when try to click on the auth > > > button. > > > At the same time I watch that it spits word "Password:" in the Apache > > > error log. > > > > > > > problems with encrypted passwords so that might be a problem. > > > > Thank you for your help. > > > > > > > > > Any time. > > > Actually the interface you are making is something that many people > > > need. > > > As you probably know there was smb2www script that is very outdatedand> > > has some > > > major issues (such as running away processes consuming 100% CPU). > > > So it would be good to have something that work with new versions of > > > Samba. > > > Keep up your work ! > > > > > > > > > > > > > Atom > > > > > > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: http://lists.samba.org/mailman/listinfo/samba >
Well i checked the www.cpan.org for any samba perl modules and found one: http://search.cpan.org/author/ALIAN/Filesys-SmbClientParser-2.3/SmbClientPar ser.pm than looked at the source and found this line: if ( $line =~ /^\s+([\S ]*\S)\s+(Disk)\s+([\S ]*)/ ) This module also uses the "Disk" word. Also the author of this module writes: SmbClientParser is adapted from SMB.pm make by Remco van Mook mook@cs.utwente.nl on smb2www project. So i think that this is a good idea after all. Perhaps you could be more specific on what is worng with that kind of parsing. I added a hide special shares (those with $) in the conf file as you proposed. The next release will contain that fix. Atomix