LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Setup samba server using GLOBAL security as user, why remember password on winxp? (https://www.linuxquestions.org/questions/linux-newbie-8/setup-samba-server-using-global-security-as-user-why-remember-password-on-winxp-627369/)

hocheetiong 03-11-2008 06:48 PM

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 below:(i follow original smb.conf file, just add some parameter.)

[global]
security = user


[samba]
path = /samba
valid users = user1
browseable = yes

jschiwal 03-11-2008 08:09 PM

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.

hocheetiong 03-11-2008 08:25 PM

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.

jschiwal 03-11-2008 08:45 PM

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.


All times are GMT -5. The time now is 06:15 PM.