Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Development & Programming > Repositories & Backports
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Repositories & Backports
Need help with apt-get and updating Ubuntu? Post here..

 
Thread Tools Display Modes
Old December 17th, 2004   #1
BertG
First Cup of Ubuntu
 
BertG's Avatar
 
Join Date: Dec 2004
Location: Belgium
Beans: 2
SMB / CLI: Can't mount win2K3 share

Hey,

I'm new to the Ubuntu scene and I must say: i like it.
Install went a lot easyer than Gentoo!

Now I'm having a problem, and I think i have narrowd it down allready

so here it is.
I'd like to mount a shared folder on my win 2k3 server, so i can play it's music
I can reach the map, no problem there, but my server won't allow the mounting
hence the next error:

cli_negprot: SMB signing is mandatory and we have disabled it.
6252: protocol negotiation failed
SMB connection failed

now i got so far figuring out that i have to do something with the kernel and adding CLI to it or something...

Can annyone help me?

thx!
BertG is offline   Reply With Quote
Old May 20th, 2005   #2
nianhbg
5 Cups of Ubuntu
 
Join Date: May 2005
Beans: 25
Ubuntu 8.10 Intrepid Ibex
Re: SMB / CLI: Can't mount win2K3 share

Hi i got a simulare problem with my windows 2003 server

I can connect to my server with smb commands in natulus
like smb://server/share i can even add a username like
smb://username@server/share and then enter a password
on password protected shares.

In xterm when i try to map a share like this

<code>
sudo mount //192.168.0.2/share /media/share
</code>

then i got a time out message on port 445 or 113


Best Regaards

Nicklas
__________________
Laptop: HP mini, ubuntu remix
Destop: Intel Quad 9400, 8 GB, Nvidia GTX260, Ubuntu 8.10
nianhbg is offline   Reply With Quote
Old June 22nd, 2005   #3
Blues-
5 Cups of Ubuntu
 
Blues-'s Avatar
 
Join Date: May 2005
Location: Reykjavík,Iceland
Beans: 29
Kubuntu 8.04 Hardy Heron
Send a message via MSN to Blues- Send a message via Skype™ to Blues-
Re: SMB / CLI: Can't mount win2K3 share

Yeap .. that is an annoying problem ..
but here is the answer.

In a nutshell, the cause of the problem is the default security policy on Windows 2003 Server being set to always encrypt network connections under all circumstances. Whilst this is fine for most clients (especially Windows clients, understandably), the version of SMB that Panther uses doesn’t support encrypted connections. Apparently this support exists in Samba 3, but not on the version Hoary uses. The solution is to change the security policy to use encryption when it’s available and not otherwise. Here’s how.

From Administrative Tools, open Domain Controller Security Settings.
Go to Local Policies then Security Options.

Scroll down to find the entry Microsoft network server: Digitally sign communications (always). Set this to Disabled.

The only thing left to do is to reload the security policy, as changes don’t otherwise take effect for some time. Open up a command window and type:

gpupdate

This will buzz and whirr for a few moments before confirming that the policy has been reloaded. With a bit of luck you should now be able to mount a network share from the Windows 2003 Server on your Box.
Blues- is offline   Reply With Quote
Old June 27th, 2005   #4
durandal
First Cup of Ubuntu
 
Join Date: Jun 2005
Beans: 2
Re: SMB / CLI: Can't mount win2K3 share

I just installed the latest Ubuntu release yesterday and I am trying to get it integrated with the network at my office. I am running into the same issue when I try the "Connect to Server" option. It connects to the server but it just keeps kicking back the password screen. I found a post in the FAQ that said to enter the servername/share in the server name field and that didn't work as well.

Blues - Your post looked promising but I don't see the option in the Administration control panel that you are referring too?

"from Administrative Tools, open Domain Controller Security Settings.
Go to Local Policies then Security Options."

Has this control panel changed to something else or is it not installed by default????
durandal is offline   Reply With Quote
Old July 21st, 2005   #5
GregW
First Cup of Ubuntu
 
Join Date: Jul 2005
Beans: 2
Re: SMB / CLI: Can't mount win2K3 share

Quote:
Originally Posted by durandal
Has this control panel changed to something else or is it not installed by default????
Hi durandal,

I doubt it, you will need to use the cifs module if you want to mount w2k3 shares, CIFS supports smb signing so you dont need to drop the security on your server.

try mount -t cifs //yoursever/yourshare /mnt/somepath -o username=validserveraccount

and then your password.

You may need to specify the fqdn for yourserver or just add the netbios name and ip address to your host file.

Hopefully bobs your uncle and your in business

(You will also need to update the samba debs from the backports, I've got this line in my apt sources file /etc/apt/sources.list

Code:
deb ftp://ftp2.caliu.info/backports/ hoary-backports main universe
GregW

Last edited by GregW; July 21st, 2005 at 06:41 PM..
GregW is offline   Reply With Quote
Old December 1st, 2005   #6
gruvsf
First Cup of Ubuntu
 
Join Date: Dec 2005
Beans: 1
Re: SMB / CLI: Can't mount win2K3 share

GregW-
You rock! That totally did it in FC4 and I didn't have to drop the security on Win2k3....I just joined this forum and will be checking it more now for resources.

Hans
gruvsf is offline   Reply With Quote
Old May 19th, 2006   #7
Benny_Blanc0
First Cup of Ubuntu
 
Join Date: May 2006
My beans are hidden!
Re: SMB / CLI: Can't mount win2K3 share

Another two thumbs up Greg. Cheers mate.
Benny_Blanc0 is offline   Reply With Quote
Old May 8th, 2007   #8
cewan
5 Cups of Ubuntu
 
Join Date: Feb 2007
Beans: 18
Re: SMB / CLI: Can't mount win2K3 share

You da man, GregW! Thanks alot
cewan is offline   Reply With Quote
Old January 14th, 2008   #9
Rimfrost
First Cup of Ubuntu
 
Join Date: Oct 2007
Location: Uppsala, Sweden
Beans: 10
Ubuntu 7.10 Gutsy Gibbon
Re: SMB / CLI: Can't mount win2K3 share

Greeting and many thanks to you, Greg, for saving the day. Cheers!
Rimfrost is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:06 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry