I don't understand what you mean by session username

Code: Select all
mount-FULL -t cifs "//192.168.1.100/CHEPENOY_C" "/mnt/sda4/CHEPENOY_C" -o "servernetbiosname=CHEPENOY,username=,password=sesame, iocharset=utf8"
Code: Select all
mount-FULL -t cifs "//192.168.1.101/C" "/mnt/sda4/KHUBLAI_C" -o "servernetbiosname=KHUBLAI,username=,password=, iocharset=utf8"
Code: Select all
, iocharset=utf8
Code: Select all
gxmessage "mount-FULL -t cifs //${IP}/${SHARE} ${MOUNTPOINT}
-o ${SERVERNETBIOSNAME}username=${USERNAME},password=${PASSWORD}"
I give in a rxvt pnethood 10.0.0.10 and that works perfectly well.menno wrote:Well I saw that You use in smbmount the IP number .
As far I know that doesn't work it should be the machinename .
As far I understand the samba manuals it say the de "service" should be been writen in U(niversal)N(ame)C(ode) text .
For some unknow reasen the cifs doesn't if frugel installetion .
It gives error on the unionfs system .
thanks for the feedback, I think I used the IP because it made it easier to deal with existing mounts if you do a rescan and smbmount via IP works for me. If it causes problems for others then I should rethink this.menno wrote:Well I saw that You use in smbmount the IP number .
As far I know that doesn't work it should be the machinename .
As far I understand the samba manuals it say the de "service" should be been writen in U(niversal)N(ame)C(ode) text .
For some unknow reasen the cifs doesn't if frugel installetion .
It gives error on the unionfs system .
Are you sure the other side is correctly defined as a shared resource?menno wrote:Béèm :
I give in a rxvt pnethood 10.0.0.10 and that works perfectly well.
I tried it . It finds the other side but can't mount .
It generally seems to work, but not with Win95/98 servers.Well I saw that You use in smbmount the IP number .
As far I know that doesn't work it should be the machinename .
I had assumed you weren't supporting smbmount anymore HW, as nothing has happened since I reported this:thanks for the feedback, I think I used the IP because it made it easier to deal with existing mounts if you do a rescan and smbmount via IP works for me. If it causes problems for others then I should rethink this.
So there are currently two problems with pnethood using smbmount:It works great for me - as long as I use cifs obviously. I think I'm using the standard Dingo for the client.
If I don't use cifs, it fails to mount Win98 shares, and if I mount non-Win98 shares with spaces, it still has the old problem, where if I open pnethood with a share already mounted, it has a tab for the machine, but with an underscore instead of the space etc... as I described before.
ah yes, I think both $IP and $MACHINE will contain the IP in this scenario, at some point it needs to do an ip to netbiosname lookup.disciple wrote:It generally seems to work, but not with Win95/98 servers.Well I saw that You use in smbmount the IP number .
As far I know that doesn't work it should be the machinename .
I had forgotten that there are still permissions problems with samba servers and cifs so it is important that pnethood still supports smb. I would also like to cleanup and properly separate the code that does the scanning from the GUI generation. This would make it simple to rewrite the GUI in gkbasic which I would like as an option.I had assumed you weren't supporting smbmount anymore HW, as nothing has happened since I reported this:
So there are currently two problems with pnethood using smbmount:
- spaces in shares, and
- mounting with IP instead of hostname.
Code: Select all
# /usr/local/apps/pnethood/AppRun
du: cannot access `/tmp/pnethood/log': No such file or directory
/usr/local/apps/pnethood/pnethood: line 18: [: too many arguments
Code: Select all
# pnethood steve-desktop
smb mounting enabled
cifs mounting enabled
And graphical interface shows up, but showing what looks like a directory listing of initrd on this (client) computer -- as shares for steve-desktop -- see attached screenshot pnetscreen.png if this forum accepts attachments..ping: bad address 'steve-desktop'
/usr/local/apps/pnethood/pnethood: line 1: 10024 Terminated gtkdialog3 --program=MSG_SCANNING_MACHINE --center
That is what I would expect to happen.vtpup wrote:3.) If I use the console and enter Pnethood 192.168.1.111 the server is opened immediately and all shares are properly shown withe the host name listed in the tab as the IP address.
Code: Select all
nbtscan 192.168.0.0/16
Code: Select all
nbtscan -t 10000 192.168.0.0/16
Code: Select all
# nbtscan 192.168.0.0/16
Doing NBT name scan for addresses from 192.168.0.0/16
IP address NetBIOS Name Server User MAC address
------------------------------------------------------------------------------
192.168.1.0 Sendto failed: Permission denied
192.168.1.111 STEVE-DESKTOP <server> STEVE-DESKTOP 00-00-00-00-00-00
Code: Select all
nbtscan -t 10000 192.168.0.0/16
Doing NBT name scan for addresses from 192.168.0.0/16
IP address NetBIOS Name Server User MAC address
------------------------------------------------------------------------------
192.168.1.0 Sendto failed: Permission denied
192.168.1.111 STEVE-DESKTOP <server> STEVE-DESKTOP 00-00-00-00-00-00
Code: Select all
# smbclient -NL 192.168.1.111
Anonymous login successful
Domain=[PUPLINK] OS=[Unix] Server=[Samba 3.0.26a]
Sharename Type Comment
--------- ---- -------
VMware Disk
Projects Disk
Downloads Disk
Transfer Disk
LinuxDataDisk Disk
Labels Disk
Data Directory Disk
IPC$ IPC IPC Service (Samba 3.0.26a)
tp0 Printer Canon_S600
PDF_file_generator Printer Writes PDF file
Anonymous login successful
Domain=[PUPLINK] OS=[Unix] Server=[Samba 3.0.26a]
Server Comment
--------- -------
STEVE-DESKTOP Samba 3.0.26a
Workgroup Master
--------- -------
PUPLINK
Code: Select all
# smbclient -NL STEVE-DESKTOP
Connection to STEVE-DESKTOP failed (Error NT_STATUS_BAD_NETWORK_NAME)