Solved

Samba making me nuts

Posted on 2000-03-23
7
218 Views
Last Modified: 2010-04-20
I installed Samba fine.  I configured a group admincdr with my user name in it.  I created a shared directory called [admincdr] with validated users admincdr.  I can see the Samba Server when I go to Network Neighborhood from any Windows PC on the network.  But when I click on the icon it asks me for a password. (Resource: \\SAMBA\IPC$) I enter all the possible passwords that I have programmed in the linux box but it does not allow me to connect.  When I try from another PC it asks me for a username and password.  I enter a valid username and password and it does not like it!  What should I do?
0
Comment
Question by:wchance
7 Comments
 
LVL 17

Accepted Solution

by:
inthe earned 125 total points
ID: 2650320
hi,
i found this that should help you:
Windows 98 is not able, per default, to negociate or to accept an authentication based on plain-text passwords. And per default, Samba will only send clear-text passwords. So you will have to add the following in you smb.conf file, global section to tell Samba also to use encrypted password. :
      encrypt passwords = Yes
This is one thing, the other is the creation of the encrypted password.       1) You must have a linux username identical to the one you are using in Windows. (I think is already the case).
      2) Create the encrypted password for this user : smbpasswd -a <USERNAME>. This will create a file called smbpasswd under a directory called private. If you want to change the location of this directory use the following line in your smb.conf file, global section :
          smb passwd file = /<PATH>/<TO>/<FILENAME>
 
This is needed with the security=user or with the security=share. (This is a line of the global section of the smb.conf file). This two methods of security use both a password exchange so it need to be encrypted.
 
Another solution is to allowed windows98 to use plain-text passwords. This is done by adding a registry key on your windows (the type of the key is DWORD) :
 
Path to key : HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\VNETSUP Name        : EnablePlainTextPassword
Value      : 00000001
 


Regards Barry

0
 
LVL 17

Expert Comment

by:inthe
ID: 2650328
ps:
you will find better explanantions here:

http://home.germany.net/101-69082/samba.html#4.4.
0
 
LVL 1

Expert Comment

by:bcoleman
ID: 2650336
Instead of using valid users = admincdr, use valid users = <your username>
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

Expert Comment

by:castleinfo
ID: 2650394
The easy way is to configure samba to make files available as a SHARE not per USER.

This will at least give you the confidence to move on to setting up an encrypted password file etc as in the instructions... It took me a week or so to figure out but once it works it's seemles and doesn't prompt for passwords.
0
 

Author Comment

by:wchance
ID: 2653767
Adjusted points from 100 to 125
0
 

Author Comment

by:wchance
ID: 2653768
He guys it worked, the only problem is that it is very slow.  I tried to transfer a 57 meg file and it said it would take an hour.  I copied it from a Windows to Windows and it took 2 minutes.  Please let me know what I have to fine tune.

0
 
LVL 17

Expert Comment

by:inthe
ID: 2655534
cant help much there but it is certainly a common problem..
pastye the whole link below into your browser window for a listing of other people who have/had same problem:

http://www.deja.com/dnquery.xp?ST=MS&QRY=samba+linux+windows+file+transfer+slow&svcclass=dnserver&DBS=1
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Zimbra on Amazon Linux help 7 115
Linux Desktop suggestion for Dell Inspiron 3043 13 67
Migrating a Linux server to VMware 3 112
RPM creation 6 24
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question