LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


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

Rep: Reputation: 15
Smile Setup samba server using GLOBAL security as user, why remember password on winxp?


Hi, i am setup a samba server for sharing files to all winxp client. I setup samba server Global security have user, share, ads... I am using user Global security. I am using winxp as a client to trying to connect to this samba server, //192.168.1.10 firstly i connect to this samba server than direct prompt out a screen to asking me keyin username and password, than i keyin a valid username and password, i success go to share folder, but the problem is whatever i close the windows explorer and disconnect the samba server port 445, than reconnect again, when i want to access that folder than no need keyin username and password(when first time access to that folder i not click on "save password")why no need to keyin username and password??? I want evertime access to that samba folder need to keyin username and password. thank you.

my samba server smb.conf as belowi follow original smb.conf file, just add some parameter.)

[global]
security = user


[samba]
path = /samba
valid users = user1
browseable = yes
 
Old 03-11-2008, 08:09 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
The save password option will allow you to reconnect between sessions and reboots. If you are afraid someone else will come along and access the share from your computer, you should logout.
 
Old 03-11-2008, 08:25 PM   #3
hocheetiong
Member
 
Registered: Jul 2007
Location: Penang , Malaysia.
Distribution: red hat linux
Posts: 133

Original Poster
Rep: Reputation: 15
Smile If don't want logout or restart from client pc(winxp) is it posible?

Thank you jschiwal, ya i am at client pc(winxp) once i logout user or reboot pc,than ask me again the username and password, but is it posible configure on samba server or winxp(client) to no need logout or reboot, because at same samba server i have two or more folder share to difference user, but i need at same client(winxp) to access this all share folder which is difference user security folder, i dont want to access one of samba folder than need to logout pc, than can access again other samba folder.

is it any other solution maybe can change the GLOBAL security to other "user, share, ads, domain, server"

Thank you.
 
Old 03-11-2008, 08:45 PM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
I didn't understand why you wanted to loose the credentials. When you connect to the other share, that uses different credentials, you would have to re-enter them anyway. You can map the share and click on the line that says to login as a different user. However since the other shares are on a samba server, just add a "write list <your user name>" directive for that share. That will give you read/write access to the share. Make sure that the permissions on the directories allow you to write to it as well. For public shares, use the same permissions as the /tmp directory, including the sticky bit:
sudo chmod a=rwxt </path/to/directory>. The samba or samba-doc package contains 3 pdf samba3 books that should help. The "Samba 3 by Example" will take you step by step through a number of sample configurations including preparing the directories. Either Samba or Samba-swat also supply "Using Samba 2nd Edition" which also takes you step by step through the process.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
remotely new user add with password in samba server anindyabhattacharjee Linux - Enterprise 2 01-01-2008 03:48 AM
Remote Setup of Samba for File Server for WinXP Network ads086 Linux - Networking 2 06-22-2006 11:30 PM
Winxp Pro password on Samba apara197 Linux - Software 6 11-10-2005 03:11 PM
Windows XP Setup for user verification with Samba file server crazyswede Linux - Networking 2 07-28-2004 04:51 PM
Suse 8.2 won't remember root password as reg. user obarney Linux - General 6 09-29-2003 11:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:54 PM.

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