Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Samba Configuration

Status
Not open for further replies.

phet

IS-IT--Management
Mar 7, 2001
14
US
I am new to Linux.I am running redhat 7.3. I install samba 2.2.3a. I can see the domain and the folder just fine, but when I click on the folder to see the content of it, it give me an error "You do not have permission necessary to view the contents of this folder. I am guessing that Linux doesn't encrypt the password and Window NT expect an encrypted passwd. Can anyone help.?
 
edit /etc/samba/smb.conf and make sure
encrypt_passwords=yes
is set and not commented out


From the smb.conf man file:

encrypt passwords (G)
This boolean controls whether encrypted passwords will be negotiated with the client. Note that Windows NT 4.0 SP3 and above and also Windows 98 will by default expect encrypted passwords unless a registry entry is changed. To use encrypted passwords in Samba see the file ENCRYPTION.txt in the Samba documentation directory docs/ shipped with the source code.

In order for encrypted passwords to work correctly smbd(8) must either have access to a local smbpasswd(5) file (see the smbpasswd(8) program for information on how to set up and maintain this file), or set the security = [server|domain] parameter which causes smbd to authenticate against another server.


do a "man smbpasswd" for information on setting up the smbpasswd file, and then restart samba and you should be ok :)

--d3vNull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top