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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Password Prompt

Status
Not open for further replies.

hellsbells

Technical User
Jan 9, 2003
32
GB
Does anyone know how to stop being prompted for a password when connecting a share within Samba.

I am trying to map a network drive from Win2K to an AIX5L machine running samba 2.2.3. My smb.conf is as follows:

#======================= Global Settings =====================================
[global]

netbios name = atoc-inttest
client code page = 950
workgroup = A-CENTRES-GB
server string = atoc-inttest
encrypt passwords = Yes
log file = /usr/local/samba/var/log.%m
max log size = 50
dns proxy = No
hosts allow =
wins support = yes

[public]

path = /tmp
guest ok = yes
writeable = yes

[logs]

path = /usr/WebSphere/AppServer/logs
guest ok = yes
read only = No
browseable = yes
valid users =
public = yes

When I try to map a drive I am being prompted for a password but it does not require a password so if you simply press ok it still carries on and maps the drive.

How do I disable this prompt?

 
Try the command smbpasswd -a username password for each user that accesses the server
 
Many thanks for your response.

When you connect to the share, you are presented with a logon screen - you do not need to logon - simply press okay and the share connects.

The users who will need to access the share are on a NT domain and change their passwords every 30 days. Thus this would cause a headache to administer.

Is there no way of just opening up a share globally without a password being prompted for at all?
 
Add security = share to your global section.

To prevent logon prompts and to maintain security, you need to use winbind
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top