Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hello,
For some reasons, I cann't mount to my Win2k3 shared folder from my FC3 box.
(smbfs is installed)
root# cat /proc/filesystems
nodev smbfsMy Win2k3 shared folder as //main-server/public
Mount point: /mnt/shareHere is what I mount:
root# mount -t smbfs -o username=xxxx,password=xxxx //main-server/public /mnt/share
and here is what I got:
cli_negport: SMB signing is mandatory and we have disabled it.
5813: protocol negotiation failed
SMB Connection failedWhat have I done wrong?
Can you pls help?
Thanks
vophuynh

Are you able to list the shares on the server with the command:
$ smbclient -L main-serverAre you able to access any shares on the fedora box from the server?

Yes, I can see all shared files listed by
$ smbclient -L main-serverAnd I can only access to these shared files by
copy them to my fedora hard disk:smb://main-server/public
However, I just cann't mount to it just like
map drive in Windows.vophuynh

Are you able to mount it with:
$ smbmount //main-server/public /mnt/share -o username=xxxx
It should then prompt you for a password.You may need to add "client signing = yes" to your smb.conf file.

Just found this on the net:
"...I have answered this one before - smbfs *is not* compatible with SMB
signing, and therefore cannot be used with win2k3 DCs in their default
mode. This is one of smbfs's numerous failings. The CIFS VFS - http://www.samba.org/samba/Linux_CIFS_client.htm - does not have this issue..."http://lists.samba.org/archive/samba/2003-December/076388.html

3Dave,
I am now able to mount cifs:
# mount -t cifs //main-server/public /mnt/share -o user=xxx,password=xxx
But don't know how to umount it.
And can you pls address how to add the text
to /etc/fstab so it can auto-mount each time boot up.thanks
vophuynh

You should be able to unmount it with:
$ smbumount /mnt/share
(The benefit of using smbmount and smbumount is that you do not have to be root to use the command unlike mount)The line you want to add to /etc/fstab would be:
main-server:/public /mnt/share cifs username=xxx,password=xxx,uid=500,gid=500 1 2
Unfortunately this stores your username and password in clear text. An alternative would be to use a ceredentials file. Create a file:
/home/vophuynh/.smbcredentials
(that's quite some name....where are you from?)
In this file put:
username=xxx
password=xxx
Make it readable to only you:
$ chmod 600 /home/vophuynh/.smbcredentials
And then change the line in fstab to:
main-server:/public /mnt/share cifs credentials=/home/vophuynh/.smbcredentials,uid=500,gid=500 1 2
NB You may need to use the IP address of the server rather than the domain name.

3Dave,
main-server:/public /mnt/share cifs username=xxx,password=xxx,uid=500,gid=500 1 2
IT NEVER WORKS
/home/vophuynh/.smbcredentials
I CREATED .smbcredentials, but don't know how
to add text in there, seems to me, it is
a directory other than a file.
Can you pls elaborate a little bit, such
USERNAME=XXX
PASSWORD=XXX
will be saved in what file?THANKS ALOT,
vophuynh

Perhaps it should be:
//main-server/public /mnt/share cifs username=xxx,password=xxx,uid=500,gid=500 1 2
(Sorry, I don't use windoze servers or cifs and it is not compiled into my kernel so I can't try it out myself. I use NFS instead)Have you tried the IP instead of domain name?
eg:
//192.168.0.1/public /mnt/share cifs username=xxx,password=xxx,uid=500,gid=500 1 2.smbcredentials should be a file and should contain two lines:
USERNAME=XXX
PASSWORD=XXX

//main-server/public /mnt/share cifs username=xxx,password=xxx,uid=500,gid=500 1 2
YES, I CAN MOUNT IT NOW, THANKS
HOWEVER, THE MOUNT FOLDER APPEARS ON MY MOUNT POINT, IN 'MY COMPUTER', AND ALSO ON THE DESKTOP. DO YOU KNOW HOW TO GET RID THE ONE ON THE DESKTOP? IT LOOKS PRETTY UGLY
WHEN I MOUNT 2 OR 3 MOUNTPOINT ON IT.THANKS AGAIN,
vophuynh

Are you running KDE? Bring up the Control Centre > Desktop > Behavior > Device Icons and then either disable them all together or untick the ones you don't want. NB there should be two entries for each type of device, one showing when it is mounted and the other unmounted.

I'm currently at work, not able to try it.
However, I am running Gnome desktop instead,
does it make much difference from KDE?vophuynh

Not sure about gnome....you may have to edit a file (%gconf.xml ?) in your home directory (~/.gconf ?)

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |