[conspire] Samba Blues...

Eric Ferrari eferrari at attbi.com
Mon Jan 6 15:38:29 PST 2003

Would need to see a copy of your smb.conf file.....

Problem might be this.....

In Red Hat Linux 8.0 encrypted passwords are enabled
by default because it is more secure. If encrypted
passwords are not used, plain text passwords are used,
which can be intercepted by someone using a network
packet sniffer. It is recommended that encrypted
passwords be used.

The Microsoft SMB Protocol originally used plaintext
passwords. However, Windows 2000 and Windows NT 4.0
with Service Pack 3 or higher require encrypted Samba
passwords. To use Samba between a Red Hat Linux system
and a system with Windows 2000 or Windows NT 4.0
Service Pack 3 or higher, you can either edit your
Windows registry to use plaintext passwords or
configure Samba on your Linux system to use encrypted
passwords. If you choose to modify your registry, you
must do so for all your Windows NT or 2000 machines -
this is risky and may cause further conflicts.

To configure Samba on your Red Hat Linux system to use
encrypted passwords, follow these steps:


      Create a separate password file for Samba. To
create one based on your existing /etc/passwd file, at
a shell prompt, type the following command:

cat /etc/passwd | mksmbpasswd.sh >

      If the system uses NIS, type the following

ypcat passwd | mksmbpasswd.sh > /etc/samba/smbpasswd

      The mksmbpasswd.sh script is installed in your
/usr/bin directory with the samba package.

      Change the permissions of the Samba password
file so that only root has read and write permissions:

chmod 600 /etc/samba/smbpasswd


      The script does not copy user passwords to the
new file. To set each Samba user's password, use the
command (replace username with each user's username):

smbpasswd username 

      A Samba user account will not be active until a
Samba password is set for it.

      Encrypted passwords must be enabled in the Samba
configuration file. In the file smb.conf, verify that
the following lines are not commented out:

encrypt password = yes
smb passwd file = /etc/samba/smbpasswd


      Make sure the smb service is started by typing
the command service smb restart at a shell prompt.

----- Original Message ----- 
From: "Jose Sanchez" <jose_sanchez79 at yahoo.com>
To: <conspire at linuxmafia.com>
Sent: Monday, January 06, 2003 3:04 PM
Subject: [conspire] Samba Blues...

> Hello. I am setting up a windows machine so it can
> browse to my linux file server. I can see my lfs from
> Windows Network Neighborhood with no problem which by
> double-clicking on the Windows NN icon prompts me to
> give a user name and password. I have users setup on
> the lfs but when I try any of the IDs I get rejected
> even root. The permissions on the shared folder are
> set to rwx for all specified logins in the smb.conf
> file. What am I missing in this setup? T I A
> -Jose 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> _______________________________________________
> conspire mailing list
> conspire at linuxmafia.com
> http://linuxmafia.com/cgi-bin/mailman/listinfo/conspire

More information about the conspire mailing list