LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-25-2000, 03:06 AM   #1
pmlabrier
LQ Newbie
 
Registered: Sep 2000
Posts: 5

Rep: Reputation: 0
Angry


I am having trouble accessing samba shares on my Caldera Linux box from Win98se. I followed the instructions in the install guide exactly. They step you through creating a samba password file. and using the default smb.conf file.

I can see the linux machine in the Network Neighborhood and the connection even works using "net use" It seems to find it OK, but continually askes me for a password. I have my win login exactly the same login and password on both machines. I cannot get past it asking me for the password.

My network consists of one Caldera Linux machine, One Win98 desktop & 1 win98 laptop.

Any Suggestions?

Thanks,

Paul LaBrier
 
Old 09-25-2000, 09:01 PM   #2
ctdp
Member
 
Registered: Sep 2000
Location: Michigan
Distribution: Redhat
Posts: 30

Rep: Reputation: 15
You are may not be mapping your windows users to linux user names correctly. The other problem is that you may not be using encrypted passwords on the Linux side while Windows may expect encrypted passwords.

Go to:
http://ctdp.tripod.com/os/linux/usersguide/index.html and read item 38 about Samba.
There is a section near the bottom titled "Common Pitfalls" that describes how to troubleshoot some problems and check your log files.

Please let me know if this helps you.
 
Old 10-02-2000, 09:37 PM   #3
pmlabrier
LQ Newbie
 
Registered: Sep 2000
Posts: 5

Original Poster
Rep: Reputation: 0
Got it working with a minor problem

The suggestions ofered helped a lot. I can now access the shares IF I am logged into my win32 clients as root. I cannot get it to work if I log in using my normal account, pml. I can log into Windows & Linux using it but I must still have something wrong in the conf.

Paul
 
Old 10-03-2000, 08:06 PM   #4
ctdp
Member
 
Registered: Sep 2000
Location: Michigan
Distribution: Redhat
Posts: 30

Rep: Reputation: 15
Try logging in with your normal account and then read the log files in the /var/log/samba directory. It may give you some idea what the problem is. It should tell you what user you are trying to map to.
 
Old 10-19-2000, 05:05 PM   #5
Larry James
Member
 
Registered: Jun 2000
Location: Buffalo, New York
Distribution: Ubuntu, Raspbian
Posts: 381

Rep: Reputation: 40
Windows 98 doesn't process the password as plain text, so it's not sending the right thing to Samba. You have to add this change to the registry to have windows process the passwords as plain text:

REGEDIT4

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\VNETSUP]
"EnablePlainTextPassword"=hex:01,00,00,00

You can add this to the registry by copying and pasting the three lines into notepad, then save it as a file with the *.reg extention. Then execute it. After adding this to the registry reboot the machine. Samba should now accept your passwords.

-- L. James
 
Old 10-19-2000, 06:47 PM   #6
ctdp
Member
 
Registered: Sep 2000
Location: Michigan
Distribution: Redhat
Posts: 30

Rep: Reputation: 15
Clear text passwords

Clear text passwords are always a bad security idea. You are better off to continue with the line "encrypt passwords = yes" in the /etc/smb.conf file. If you can already log in while logged on as root on other clients, then clear text vs encrypted passwords is not the problem. If you are still having the problem with logins from win32 clients while not logged in as root, after attempting a login, check your log files in the /var/log/samba directory. You are probably not mapping user names correctly. The log files will tell you what names you are sending. See the "Commmon Pitfalls" section at the URL I quoted earlier.
 
Old 11-17-2000, 05:34 PM   #7
torp
Member
 
Registered: Nov 2000
Location: Denmark
Distribution: Slackware, FreeBSD, Solaris10, Suse
Posts: 34

Rep: Reputation: 15
ehh.. if you donīt think so much about security, i would be "easy" setting it up to sharing.
if you look in you smb.conf a shared folder looks like this
e.g
[Folder]
comment = Files
path =/somwhere/whatever
guest ok = yes
writable = no

the option guest ok = yes allows people to log into your comp. without password
however there is more, under [global] you have to add the line

security = share

then you linux box wonīt prompt for password at all, but needles to say it gives you security problems

regards Torp
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem while accessing Samba Shares. duffmckagan SUSE / openSUSE 16 09-22-2005 02:49 PM
Difficulty accessing SAMBA shares Tsarok Slackware 1 08-30-2005 09:16 PM
Accessing Samba shares from Fedora Core 2 NetAX Linux - Software 1 09-20-2004 06:21 PM
Accessing Samba Shares The_Q DamnSmallLinux 2 02-05-2004 04:36 AM
accessing samba shares is slow! kudos Linux - Software 2 11-26-2003 02:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration