Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jul 2000 16:55:59 +0200
From:      Mark Rowlands <mark.rowlands@minmail.net>
To:        support@tecpro.com, "Charles Peters - Tech Support" <support@tecpro.com>, freebsd-questions@FreeBSD.ORG, Tommy Forrest - KE4PYM <tforrest@mcs.net>, bob@mail0.mia.bellsouth.net, samba@samba.org
Subject:   Re: Problem connecting Windows 2000 Professional to Samba 2.0.7 share
Message-ID:  <00070517044600.00225@marbsd.tninet.se>
In-Reply-To: <3962730F.12171.AA57610@localhost>
References:  <3962730F.12171.AA57610@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 05 Jul 2000, Charles Peters - Tech Support wrote:
> 
> For Windows 2000 machines that are unable to connect to Samba 
> Shares, the following registry hack will solve your problem:
> 	
> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\La
> nmanWorkStation\Parameters
> 
> Add value EnablePlainTextPassword = 1
> 
> 
> Greetings,
> 
> I have a Samba 2.0.7 server running on FreeBSD 4.0 Release.  It 
> works flawlessly, with one exception.  When I try and connect my 
> Windows 2000 Professional workstation to a samba share, 
> windows 2000 returns the following error message:
> 
> 	System Error 1240 has occured.
> 	The account is not authorized to log in from this station.
> 
> I am using the following command to connect (from a command 
> window):
> 	
> 	net use m: \\otis\charles
> 
> This command works flawlessly from all of my win98 and win95 
> machines.
> 
> Below is a copy of my smb.conf file:
> 
> # Samba config file created using SWAT
> # from UNKNOWN (0.0.0.0)
> # Date: 2000/06/27 00:59:46
> 
> # Global parameters
> [global]
> 	workgroup = workgroup
> 	log file = /var/log/log.%m
> 	max log size = 50
> 	interfaces = 192.168.0.4
> 	netbios name = otis
> 	dns proxy = No
> 	server string = SambaServer
> 
> [homes]
> 	comment = Home Directories
> 	read only = No
> 	browseable = No
> 
> [printers]
> 	comment = All Printers
> 	path = /var/spool/samba
> 	print ok = Yes
> 	browseable = No
> 
> [music]
> 	browsable = Yes
> 	comment = Music
> 	write list = @peters
> 	create mode = 777
> 	directory mode = 777
> 	writable = yes
> 	path = /usr/sshare/music
> 
> Any suggestions would be greatly appreciated.
> 
> Thanks in advance!
> 
> Charles
> 
> 
> 
> Charles Peters
> mailto:support@tecpro.com
> 
this will work , but I think inclusion of 

encrypt passwords = yes
smb passwd file=/usr/local/samba/private/smbpasswd

in the global section of your conf file

and using smbpasswd -a  to add your users  would be better
than sending unencypted passwords. 

see http://www.oreilly.com/catalog/samba/chapter/book/ch06_04.html

-- 
Mark Rowlands  +4686224510  GMT + 1
_______________________________________________

These opinions are mine, they are just opinions
you are free to disagree, please do so quietly 

_______________________________________________


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00070517044600.00225>