how do i get windows xp to request for a password when i try to access a share in net
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
how do i get windows xp to request for a password when i try to access a share in net
it used to be like when i setup a samba share, windows would ask for a password when i try to access it through network neighborhood (no matter what windows account i was using it would ask for a username and password) i want it to be setup like that again instead of having a windows profile that matches the username and password in the smbpasswd file
i am asking for windows to ask for username and password when i try to access a share in network neighborhood instead of having the same windows profile that matches the samba profile
ps: i am using webmin to manage samba graphically, the newest version of webmin
thanks
Last edited by baronobeefdip; 06-16-2010 at 01:57 PM.
Sounds like you may need to make sure simple file sharing is turned off. Open a Windows Explorer window, click on Tools menu then Folder Options, go to View tab, scroll all the way down in Advanced settings section and uncheck "Use simple file sharing".
It's Windows that is trying to use the credentials you are logged into Windows with to access the share. That's what simple file sharing does, it assumes you have the same users on all your computers, or that your on a common domain or workgroup etc... If you turn off simple file sharing Windows will prompt authentication to connect to the share, that is as long as your samba share is password protected, you can make your samba share unprotected, in which case Windows would just connect to it with no authentication. You can do this with the security option in smb.conf, set to user it will require authentication, set to share it will allow everyone, gotta have the right perms on the folder too.
how do i get windows to ask for a login on startup and not let anyone in until you enter a username and password for the samba server without putting an account on windows that resembles the samba one (i don't want to add accounts to alot of computers every time someone gets a new account for the network)
Check the security setting, should be on or around line 101, set to user to prompt for login to the share. Then add your share info to the bottom of the file, should look something like this
Make sure the user you created has rw access to the shared folder, and that's it, then go back to your Windows side and you will get prompted for user/pass when you try to map to the share, and you will of course use the user/pass you setup on the Linux side.
What I was saying before though is that Windows Simple File Sharing suppresses the prompt, you may still need to turn that off on any computer you want to connect to the share from, or you need to hard map the share to a drive letter and use the different user/password option.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.