You are not logged in.
Pages: 1
I am unable to mount CIFS filesystem using PyNeighborhood.
The mode for mount.cifs and umount.cifs have been set to setuid root to allow non-root users to mount and unmount shares.
Using the command line, it is straightforward:
mount.cifs //198.172.1.375/Shared /home/user/Shared/ -o guest
Unfortunately, PyNeighborhood can't mount this share folder.
It can unmount it however...
I suppose that I do not specify correctly the option "guest" (don't prompt for a password) with PyNeighborhood.
I need help to setup PyNeighborhood, or at least to point me in the right direction.
Thanking you in advance.
Last edited by sylvain77 (2008-10-24 00:59:47)
Offline
It is not a permission problem because I have the same issue as root...
Last edited by sylvain77 (2008-10-24 00:05:32)
Offline
Using the --debug option, I have discovered that pyNeighborhood does not mount shares because it can't retrieve IP addresses.
If I specify the IP address, it can mount CIFS file-systems...
pyNeighborhood uses nmblookup to retrieve IP addresses.
nmblookup -T "hostname"
Unfortunately, this command does not give results.
FYI; the following command provides the IP address.
nmblookup "hostname"
I have this problem since the latest update of smbclient.
Last edited by sylvain77 (2008-10-24 00:12:58)
Offline
I have just solved the problem.
In pyNeiborhood preferences, I give the following lookup command: nmlookup -B
The actual command performed by pyNeiborhood is:
nmlookup -B -T "hostname"
I am not sure it is the best solution but it works.:D
Offline
CORRECTION: I have not solved the problem.:(
Sorry, for the previous post.
Yes, nmlookup -B allows me to retrieve IP addresses.
Unfortunately, pyNeighborhood can't scan groups with this option.
Is nmlookup defective?
Is it possible to prevent pyNeighborhood to use the option T?
Last edited by sylvain77 (2008-10-24 00:56:05)
Offline
I have the same problem and found, that problem was in slashes "//" in Network name.
You should set fields in "Add machine" dialog something like that:
Network name: Natalie
IP address: 194.85.80.27
Display in a list as: Natalie
Offline
Thanks for the tip.
Hopefully, pyNeighborhood 0.5.0 will solve the problem...
Offline
Pages: 1