[linux-cifs-client] Mounting CIFS gives me permission denied
Neil Aggarwal
neil at JAMMConsulting.com
Sun Oct 10 06:23:13 GMT 2004
Hello:
Some follow-up information. I am able to communicate with the
file server using smbclient.
I tried this command:
smbclient -L 192.168.1.2 -U administrator
Password:
and entered the administrator password.
It gave me this output:
Domain=[HOMEXCORP] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
Sharename Type Comment
--------- ---- -------
IPC$ IPC Remote IPC
print$ Disk Printer Drivers
GDrive Disk
NETLOGON Disk Logon server share
G$ Disk Default share
ADMIN$ Disk Remote Admin
SYSVOL Disk Logon server share
VPLOGON Disk Symantec AntiVirus
C$ Disk Default share
VPHOME Disk Symantec AntiVirus
session request to 192.168.1.2 failed (Called name not present)
session request to 192 failed (Called name not present)
Domain=[HOMEXCORP] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
Server Comment
--------- -------
APOLLO
FILESERVER
STATIOND
STATIONF STATIONF
STATIONH
STATIONJ
STATIONL
Workgroup Master
--------- -------
HOMEXCORP APOLLO
But, if I try this command:
mount -t smbfs //192.168.1.2/Gdrive /mnt/GDrive -o user=administrator
I get this output:
cli_negprot: SMB signing is mandatory and we have disabled it.
5002: protocol negotiation failed
SMB connection failed
Any ideas?
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months or less! http://newsletter.JAMMConsulting.com
> -----Original Message-----
> From:
> linux-cifs-client-bounces+neil=jammconsulting.com at lists.samba.
> org
> [mailto:linux-cifs-client-bounces+neil=jammconsulting.com at list
> s.samba.org] On Behalf Of Neil Aggarwal
> Sent: Sunday, October 10, 2004 12:23 AM
> To: linux-cifs-client at lists.samba.org
> Subject: [linux-cifs-client] Mounting CIFS gives me permission denied
>
>
> Hello:
>
> I have a Windows 2003 Small Business Server acting as the
> primary domain controller in a network for a client.
>
> In addition, I have a Windows 2000
> server acting as a fileserver and as a backup domain
> controller.
>
> I just did a fresh install of Fedora Core 2 for a firewall
> and routing machine.
>
> I would like to mount one of the shares from the fileserver
> to the Linux box, so I logged in as root and typed:
> mount.cifs //192.168.1.2/GDrive /mnt/GDrive
> -o user=[user],password=[pass],domain=[domain],ro
> This is all on one line and the items in brackets []
> are replaced with the appropriate values.
>
> When I try this, I get:
> mount error 13 = Permission denied
> Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
>
> And these messages appear on the /var/log/messages file:
> Oct 10 00:19:03 www kernel: CIFS VFS: Send error in SessSetup = -13
> Oct 10 00:19:03 www kernel: CIFS VFS: cifs_mount failed
> w/return code = -13
>
> I can mount this share on a windows machine with no problem.
>
> I even tried it with the administrator account to no avail.
>
> I checked the web and docs and I cant find anything to help.
>
> I am pretty sure this is not a firewall problem.
>
> Any ideas?
>
> Thanks,
> Neil
>
> --
> Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
> FREE! Valuable info on how your business can reduce operating costs by
> 17% or more in 6 months or less! http://newsletter.JAMMConsulting.com
>
> _______________________________________________
> linux-cifs-client mailing list
> linux-cifs-client at lists.samba.org
> http://lists.samba.org/mailman/listinfo/linux-cifs-client
>
More information about the linux-cifs-client
mailing list