Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Samba Login Problem

0 views
Skip to first unread message

Doug Holtz

unread,
Feb 28, 2002, 9:52:01 PM2/28/02
to
Howdy;
I have Red Hat 7.1 running with samba 2.0.7-36 for a small home network. 3
users can log on fine. 1 user can't logon; the log file for his PC states
the passwords don't match for Unix and samba.
I ran passwd and smbpasswd for this user but I still can't get a logon.
Any ideas?
TNX
--
Doug Holtz
dho...@wi.rr.com


Michael A. Angelo

unread,
Feb 28, 2002, 10:04:41 PM2/28/02
to
If it's Windows NT/2000 (I am not sure about the Windows 9x/XP versions),
encrypt passwords is set by default. You have to turn this off via the
Registry (regedit). Here are my notes:

You need to set SAMBA to not encrypt passwords and you need to put the
number 1 in the following Windows registry setting:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkStation\Param
eters

Add a new DWORD value: Value Name: EnablePlainTextPassword Data: 0x01

I hope this helps!!!

"Doug Holtz" <dho...@wi.rr.com> wrote in message
news:l1Cf8.4207$991.2...@typhoon.kc.rr.com...


-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 80,000 Newsgroups - 16 Different Servers! =-----

Todd Jones

unread,
Feb 28, 2002, 11:06:53 PM2/28/02
to
I would upgrade to the latest samba which is available for RH7.1 from
samba.org. The version is 2.2.3a. Many improvements have been made
since the version you use and it may clear things up. I would not set
your clients to not encrypt password, but rather set the 'encrypt
passwords = yes' in the globals section.

Todd Jones

Nico Kadel-Garcia

unread,
Feb 28, 2002, 11:20:33 PM2/28/02
to

"Michael A. Angelo" <mikea...@usa.net> wrote in message
news:3c7eee1b$1...@corp.newsgroups.com...

> If it's Windows NT/2000 (I am not sure about the Windows 9x/XP versions),
> encrypt passwords is set by default. You have to turn this off via the
> Registry (regedit). Here are my notes:
>
> You need to set SAMBA to not encrypt passwords and you need to put the
> number 1 in the following Windows registry setting:
>
>
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkStation\Param
> eters
>
> Add a new DWORD value: Value Name: EnablePlainTextPassword Data: 0x01

Don't use Samba without encrypting your passwords. There's no real excuse
for it, and from a security standpoint it's a really bad idea.

The *only* justifiable reasons to use unencrypted passwords are twofold:

1: You're running WfW 3.11 and you still need shared access by loggin
in, and you don't care about security.
2: You run unencrypted for a very, very short period to allow user's
UNIX passwords to be stored in the Samba password file, then turn it off,
keeping in mind that those passwords have been put in serious peril to
anyone with sufficient access to your local network or Samba server to
sniff.

Doug Holtz

unread,
Feb 28, 2002, 11:25:01 PM2/28/02
to
Thanks for these replies.
Somehow my permissions for this user got snarked. In messing around with
linuxconf I got a message box indicating the user's permissions didn't
match; I had the OS fix this and all is well. What a mess.
Thanks again.
Doug

"Doug Holtz" <dho...@wi.rr.com> wrote in message
news:l1Cf8.4207$991.2...@typhoon.kc.rr.com...

Michael A. Angelo

unread,
Feb 28, 2002, 11:41:21 PM2/28/02
to
Interesting! I found that answer in a book actually!! I could not get SAMBA
to work any other way with my Windows 2000 machine. Unless the new SAMBA
understands Windows 2K encryption, I have to stay as is!

While we are here, does anyone know of a way to share a CD-ROM on SAMBA? If
I put a CD in the drive of one machine while running Redhat 7.2, the entire
machine freezes. I'd like to be able to get to a CD drive on my Windows 2K
machine, Win98 machine, or another Linux machine.

Any ideas?

"Nico Kadel-Garcia" <nka...@bellatlantic.net> wrote in message
news:lkDf8.105$0H...@nwrddc01.gnilink.net...

Shaun Marolf

unread,
Mar 1, 2002, 3:09:27 AM3/1/02
to
Bad idea to share a Linux CD-ROM. Better and easier to use a Windows CD-ROM.
Just make sure you have a cd in the drive when you set the share access from
other machines. However if you must share a linux CD-ROM then use the the
line 'path = /mnt/cdrom' in the share description.

Example:

[CD-ROM]
Comment = CD-ROM access from Linux server
path = /mnt/cdrom
read only = yes

This will do the trick.

Note: make sure there is a CD in the drive and it the device is mounted or
you will have errors.

-- Shaun


"Michael A. Angelo" <mikea...@usa.net> wrote in message

news:3c7f04c3$1...@corp.newsgroups.com...


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.325 / Virus Database: 182 - Release Date: 2/19/02


Shaun Marolf

unread,
Mar 1, 2002, 3:11:39 AM3/1/02
to
This is the best solution however the Red Hat package is corrupted and I
don't know if they fixed it yet. Best check before downloading it to find
out. Just a note 2.2 and up works well with Encrypted passwords 2.2.3a fixes
many problems with XP access.

-- Shaun

"Todd Jones" <jon...@charter.net> wrote in message
news:pan.2002.02.28.22....@charter.net...

Michael Thomas

unread,
Mar 1, 2002, 12:55:33 PM3/1/02
to
On Thu, 28 Feb 2002 22:06:53 -0600, Todd Jones <jon...@charter.net>
wrote:

>I would upgrade to the latest samba which is available for RH7.1 from
>samba.org. The version is 2.2.3a. Many improvements have been made
>since the version you use and it may clear things up. I would not set
>your clients to not encrypt password, but rather set the 'encrypt
>passwords = yes' in the globals section.
>
>Todd Jones
>

Hey Todd, you sure about this? On their FTP site they only list
2.2.3a under the 7.2 directory. Does it really work with 7.1?

MT

Shaun Marolf

unread,
Mar 1, 2002, 1:29:59 PM3/1/02
to
Yes it works with 7.1. Already set it up on another 7.1 system when I helped
someone else with this myself ;)

-- Shaun
"Michael Thomas" <m...@armory.com> wrote in message
news:e2gv7uolsmi9p6i5a...@4ax.com...

Nico Kadel-Garcia

unread,
Mar 1, 2002, 2:46:43 PM3/1/02
to

"Michael Thomas" <m...@armory.com> wrote in message
news:e2gv7uolsmi9p6i5a...@4ax.com...
> On Thu, 28 Feb 2002 22:06:53 -0600, Todd Jones <jon...@charter.net>
> wrote:
>
> >I would upgrade to the latest samba which is available for RH7.1 from
> >samba.org. The version is 2.2.3a. Many improvements have been made
> >since the version you use and it may clear things up. I would not set
> >your clients to not encrypt password, but rather set the 'encrypt
> >passwords = yes' in the globals section.
> >
> >Todd Jones
> >
>
> Hey Todd, you sure about this? On their FTP site they only list
> 2.2.3a under the 7.2 directory. Does it really work with 7.1?
>
> MT

Recompile from the SRPM if it won't.


0 new messages