Doesn't ask for password

Kary Rogers kdr1 at ECE.MsState.EDU
Mon Jan 24 22:38:43 GMT 2000


I've got Samba cooperating with an LDAP server.  I can login with a user
onto a PC in the domain, etc.  But, I have a problem.  When I try to map
a drive to a Samba share or connect to a share via browsing (public =
no) it asks for a username, but it doesn't require a password.  As long
as I supply any valid username, it will connect and not prompt for a
password.  note: This is when I am not logged into the domain, but just
Administrator of the PC.

This is not how I wish it to behave for obvious reasons.  Any help would
be appreciated.

Thanks in advance,

-Kary Rogers


The Obligatory smb.conf:
------------------------------
[global]

netbios name = yavinsamba
workgroup = TEST
server string = TEST_ECE Samba Server

#LDAP info
ldap suffix = "ou=Samba,o=ece,o=msstate,o=edu,c=us"
ldap bind as = "cn=root,o=ece,o=msstate,o=edu,c=us"
ldap passwd file = /opt/samba/private/ldappasswd
ldap server = localhost

log level = 10

# change 'no' to 'yes' and uncomment 'lpstat' to autodetect printers
load printers = no
; printcap name = lpstat

# separate log file for each machine
log file = /opt/samba/var/log.%m
# WINS and LMHOSTS files
lock dir = /opt/samba/var/locks
# size at which to cap logs (in kB)
max log size = 1024

# make users supply passwords to access services
security = user

# no-access user who browses
guest account = samba

# Password options
encrypt passwords = yes

# reccommended for performance
socket options = TCP_NODELAY 

# configure browsing
domain logons = yes
local master = yes
domain master = yes 
preferred master = yes
wins support = yes
os level = 65

# hm.
dns proxy = no 

# case preservation and sensitivity
case sensitive = no
preserve case = yes
short preserve case = no
default case = lower
mangle case = no

allow hosts = 130.18.65. 130.18.64.

name resolve order = host wins bcast

#============================ Share Definitions
==============================

# directories

[test]
	comment = test
	path = /usr/local/rpm
	browseable = yes
	public = no


More information about the samba-ntdom mailing list