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

Configuring Samba on Solaris 10

Status
Not open for further replies.

McQueen

Technical User
Feb 13, 2003
55
GB
Hello all,

I'm trying to setup a samba share but I want the users to have to type in there username and password.
As a test I'm using myself I have a login and password and I can login and access the servers.
But when I share my user area and try to browse to it via a windows PC the username defaults to servername\Guest
and the username box is grayed out so I can't manually type in my own username and password can anyone
help. I've attached the smb.conf file.

[global]
workgroup = uk-2000
server string = jig02031
security = user
socket options = TCP_NODELAY
log file = /var/adm/samba/log.%m

[smcqueen]
comment = Share my login directory
path = /export/home/smcqueen
force user = smcqueen
public = no
writable = yes
guest ok = yes


Thanks for help
 
When you have guest ok=yes on any share, think of it as "world readable". Any client using any creds will be able to, even if not explicitly allowed, connect and access that share as the guest user. If you want to allow that behavior (sounds like you don't though,) you can define what user's rights samba will use by defining guest user further up in the config

John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top