AndyLiebman@aol.com
2004-Sep-27 04:18 UTC
[Samba] Getting Samba to ask for Username and Password
Can somebody tell me how to get samba to ask me for a username and password when I click on my Samba server in Windows XP Explorer? When I click on another computer on the network (Workstation A) from a workstation (Workstation B) where I'm NOT logged in with a username:password that Workstation A recognizes as having an account, I get a dialog box asking me for a username and password. But when I click on the Samba server from a machine that doesn't have an account on the Samba server, I just get a message saying "the resource can't be found or I don't have permission to use it. Contact my administrator." Or something like that. How do I have to configure smb.conf to get the username:password dialog box? Regards, Andy Liebman
Chris McKeever
2004-Sep-27 04:29 UTC
[Samba] Getting Samba to ask for Username and Password
On Mon, 27 Sep 2004 00:18:43 EDT, andyliebman@aol.com <andyliebman@aol.com> wrote:> Can somebody tell me how to get samba to ask me for a username and password > when I click on my Samba server in Windows XP Explorer? > > When I click on another computer on the network (Workstation A) from a > workstation (Workstation B) where I'm NOT logged in with a username:password that > Workstation A recognizes as having an account, I get a dialog box asking me for > a username and password. > > But when I click on the Samba server from a machine that doesn't have an > account on the Samba server, I just get a message saying "the resource can't be > found or I don't have permission to use it. Contact my administrator." Or > something like that.all XP machines have an account to log in to themselves/network, and that is what is passed to the samba. if that username is the same as in samba, but different passwords, it will not let you in. If it completely doesnt exist, it should prompt you for one..and finally - you can set samba up to allow guest, meaning if the username doesnt exist, it signs them in asa guest account (however, if the username does exist, and it is a bad password, it denies access - there is a flag to turn that off as well, but then things get confusing with the worng username/passwords allowing access)> > How do I have to configure smb.conf to get the username:password dialog box? > > Regards, > Andy Liebman > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >
AndyLiebman@aol.com
2004-Sep-27 10:24 UTC
[Samba] Getting Samba to ask for Username and Password
> In a message dated 9/27/2004 12:30:10 AM Eastern Daylight Time,techjedi@gmail.com > writes:> > all XP machines have an account to log in to themselves/network, and > that is what is passed to the samba. if that username is the same as > in samba, but different passwords, it will not let you in. If it > completely doesnt exist, it should prompt you for one..and finally - > you can set samba up to allow guest, meaning if the username doesnt > exist, it signs them in asa guest account (however, if the username > does exist, and it is a bad password, it denies access - there is a > flag to turn that off as well, but then things get confusing with the > worng username/passwords allowing access)Thanks for the reply, but you are missing my point. I know that if a user has a username and password on a Windows XP machine, and he/she has the same username and password on the samba server, the user will get in. But I have a situation where I have 60 users who have accounts on the samba server, and 10 workstations where ANY of the 60 users might sit down to access the server. I don't want to create user accounts on every Windows XP workstation for ALL 60 users. But I want all users to be able to access the samba server from every Windows XP workstation. Right now, if create a new username and password on the samba server and try to log in from a Windows workstation where that username doesn't have an account -- by clicking on the name of the samba server in the place where I see other computers on the network -- the samba server simply rejects my log in attempt. It doesn't do whatever is required to pop up a dialog box on my Windows XP machine and ask for the username and password. I'm wondering if there is a specific line in the smb.conf file that brings about this action? I should note that currently I have my samba server configured so that each user sees one public folder, and then all the other folders that are available are specific to that user (which I achieve by using "include = %U.smb.conf" in my general settings.