Solved

Samba making me nuts

Posted on 2000-03-23
7
203 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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
My bash alias isn't executing 5 49
Changing passwords in Linux Systems 3 42
Best way to virtualise a remote Linux server 2 52
VMware Workstation 12 Player 16 42
This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

862 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now