LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-22-2007, 09:03 PM   #1
hocheetiong
Member
 
Registered: Jul 2007
Location: Penang , Malaysia.
Distribution: red hat linux
Posts: 133

Rep: Reputation: 15
Smile how to configure samba server every time login to that folder need key password.


Hi, ok i have configure my samba server as global SHARE. Than i have set one of the folder as valid users "abc" ok, i can connect to that samba server to that folder for user abc, i enter password than i can success enter to that folder, ok now what is my problem is why my windows xp pc connect to that samba server like \\mysambaserver\abc i just only need to enter password 1 time only, than whatever i already close that connection, than i open windows explorer again \\mysambaserver\abc than why direct can enter to this folder??? why no need enter password again??? i not yet click "save password" on first time i connect to \\mysambaserver\abc. How to solve it, i want everytime also enter the password, how to configure???

Thank....
 
Old 11-23-2007, 12:36 AM   #2
magnetux
LQ Newbie
 
Registered: Nov 2007
Posts: 3

Rep: Reputation: 0
it should be like this

first you must make 2 account :
first for unix account
second for samba user account,
so when your account akses samba server, it would be ask you the unix password, after that when your account open one of the listing shared folder, it would be asking the second password. it all if you use user level security, here my /sm.conf
#----------------------------------------------------------------------
[global]
netbios name = ORION
workgroup = GALAXY
deadtime = 5
keepalive = 500
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
os level = 33
preferred master = Yes
domain master = No
dont descend = lost+found
[image bank]
comment = read only file
path = /mnt/sdb1/image_bank
valid users = universe
writeable = No
browseable = Yes
#-----------------------------------------------------------------------
result : when user universe connect to ORION, the user will e asking the first password by ORION, after that user universe wll see the listing folder, and if the user universe try to open image bank folder, the ORION will e asking the second password (share password )
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba password protected shared Folder Mrpeepers310 Linux - Networking 5 09-18-2010 10:04 AM
samba security question, why just enter password 1 time only? hocheetiong Linux - Newbie 2 11-11-2007 10:02 PM
Allowing certain IPs to login SAMBA without password Panagiotis_IOA Linux - Networking 0 06-07-2006 06:40 PM
Samba server folder access issue TruthSeeker Linux - Newbie 3 03-03-2006 01:59 AM
Samba issue. Sometimes cannot login by using correct user/password. olegarr Linux - Networking 3 10-30-2003 09:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration