Charles Peters - Tech Support
2000-Jul-05 03:28 UTC
Problem connecting Windows 2000 Professional to Samba 2.0.7 share
Earlier tonight, I sent the following message to the list, and recieved several responses, all of which were very helpful. I found the following solution in the mailing list archive using the search feature (it does work yall). 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 This works, I just verified it on 3 seperate machines. Thanks, Charles 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
Mark Rowlands
2000-Jul-05 14:55 UTC
Problem connecting Windows 2000 Professional to Samba 2.0.7 share
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 _______________________________________________