Re: [Samba] Basic question for user/pass authentication
Dear, If I have a Windows XP box joined to a Domain called Company with a user Jelo I as you: Do I have to put Workgroup = Company in smb.conf ??? And do I have to use the same passwords for the Windows and Linux/Samba users ??? Thanks a lot, JeLo On Thu, Jan 27, 2011 at 6:36 PM, Bob Miller b...@computerisms.ca wrote: What can be the problem ??? Do I have to use for Samba the same password as used in Windows or not ??? I have found that it is just easier to use the same credentials for each user on all machines in a workgroup. Windows is pretty quirky about when it will allow you to use alternate credentials, in my experience, and Windows always prefers to use the credentials of the user who is logged in. Also, check your smb.conf, there are directives that can lock you out regardless of correct user credentials or file permissions, (valid users might be there without your user listed, for example). Thanks a lot, JeLo Bob Miller 334-7117/660-5315 http://computerisms.ca b...@computerisms.ca Network, Internet, Server, and Open Source Solutions -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Basic question for user/pass authentication
On Fri, 2011-01-28 at 15:01 -0300, J. L. Cabral wrote: Dear, If I have a Windows XP box joined to a Domain called Company with a user Jelo I as you: Do I have to put Workgroup = Company in smb.conf ??? Yes. And do I have to use the same passwords for the Windows and Linux/Samba users ??? In a domain context, this question doesn't make sense to me. You don't really have windows users in a domain, you have domain users. I found just about everything I needed to know about samba and domains here: http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/ Thanks a lot, JeLo On Thu, Jan 27, 2011 at 6:36 PM, Bob Miller b...@computerisms.ca wrote: What can be the problem ??? Do I have to use for Samba the same password as used in Windows or not ??? I have found that it is just easier to use the same credentials for each user on all machines in a workgroup. Windows is pretty quirky about when it will allow you to use alternate credentials, in my experience, and Windows always prefers to use the credentials of the user who is logged in. Also, check your smb.conf, there are directives that can lock you out regardless of correct user credentials or file permissions, (valid users might be there without your user listed, for example). Thanks a lot, JeLo Bob Miller 334-7117/660-5315 http://computerisms.ca b...@computerisms.ca Network, Internet, Server, and Open Source Solutions Bob Miller 334-7117/660-5315 http://computerisms.ca b...@computerisms.ca Network, Internet, Server, and Open Source Solutions -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Basic question for user/pass authentication
Dear, I've seen an implementation where the Windows desktops belong to Company.com domain and the Samba server was a stand-alone server with workgroup = SALES, and Windows clients access to Samba resources succesfully. I mean here the Samba's workgroup is different from Windows' domain, so is this implementation ok ??? Thanks again JeLo On Fri, Jan 28, 2011 at 3:24 PM, Bob Miller b...@computerisms.ca wrote: On Fri, 2011-01-28 at 15:01 -0300, J. L. Cabral wrote: Dear, If I have a Windows XP box joined to a Domain called Company with a user Jelo I as you: Do I have to put Workgroup = Company in smb.conf ??? Yes. And do I have to use the same passwords for the Windows and Linux/Samba users ??? In a domain context, this question doesn't make sense to me. You don't really have windows users in a domain, you have domain users. I found just about everything I needed to know about samba and domains here: http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/ Thanks a lot, JeLo On Thu, Jan 27, 2011 at 6:36 PM, Bob Miller b...@computerisms.ca wrote: What can be the problem ??? Do I have to use for Samba the same password as used in Windows or not ??? I have found that it is just easier to use the same credentials for each user on all machines in a workgroup. Windows is pretty quirky about when it will allow you to use alternate credentials, in my experience, and Windows always prefers to use the credentials of the user who is logged in. Also, check your smb.conf, there are directives that can lock you out regardless of correct user credentials or file permissions, (valid users might be there without your user listed, for example). Thanks a lot, JeLo Bob Miller 334-7117/660-5315 http://computerisms.ca b...@computerisms.ca Network, Internet, Server, and Open Source Solutions Bob Miller 334-7117/660-5315 http://computerisms.ca b...@computerisms.ca Network, Internet, Server, and Open Source Solutions -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Basic question for user/pass authentication
at the most basic level a domain is a workgroup with a central auth server, so yes, you set the samba workgroup to the domain you can manually maintain linux users, which you will find fiddly and tedious, or you can join the samba server to the domain as well and have it use the central auth server too On Fri, Jan 28, 2011 at 1:57 PM, J. L. Cabral jelocab...@gmail.com wrote: Dear, I've seen an implementation where the Windows desktops belong to Company.com domain and the Samba server was a stand-alone server with workgroup = SALES, and Windows clients access to Samba resources succesfully. I mean here the Samba's workgroup is different from Windows' domain, so is this implementation ok ??? Thanks again JeLo On Fri, Jan 28, 2011 at 3:24 PM, Bob Miller b...@computerisms.ca wrote: On Fri, 2011-01-28 at 15:01 -0300, J. L. Cabral wrote: Dear, If I have a Windows XP box joined to a Domain called Company with a user Jelo I as you: Do I have to put Workgroup = Company in smb.conf ??? Yes. And do I have to use the same passwords for the Windows and Linux/Samba users ??? In a domain context, this question doesn't make sense to me. You don't really have windows users in a domain, you have domain users. I found just about everything I needed to know about samba and domains here: http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/ Thanks a lot, JeLo On Thu, Jan 27, 2011 at 6:36 PM, Bob Miller b...@computerisms.ca wrote: What can be the problem ??? Do I have to use for Samba the same password as used in Windows or not ??? I have found that it is just easier to use the same credentials for each user on all machines in a workgroup. Windows is pretty quirky about when it will allow you to use alternate credentials, in my experience, and Windows always prefers to use the credentials of the user who is logged in. Also, check your smb.conf, there are directives that can lock you out regardless of correct user credentials or file permissions, (valid users might be there without your user listed, for example). Thanks a lot, JeLo Bob Miller 334-7117/660-5315 http://computerisms.ca b...@computerisms.ca Network, Internet, Server, and Open Source Solutions Bob Miller 334-7117/660-5315 http://computerisms.ca b...@computerisms.ca Network, Internet, Server, and Open Source Solutions -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Basic question for user/pass authentication
If you have a Windows of Samba machine that is not a domain member, having the workgroup name match the domain name will make browsing for resources easier. If you have Windows or Samba machine that is not a domain member, using the same password for the local account as the domain accounts should not be essential but should make life easier.If the passwords don't match, you may sometimes need to use the net use . on the windows machine to disconnect from the samba server and then reconnect with the correct credentials (e.g. SAMBASERVER\yourname rather that DOMAINNAME\yourname.) If you samba server already has local unix acounts defined, and you want to join the samba server to the domain, you will have to decide how to either phase out the local unix accounts or make sure the uid's between the local and domain accout accounts match up. On 01/28/2011 03:10 PM, Chris Weiss wrote: at the most basic level a domain is a workgroup with a central auth server, so yes, you set the samba workgroup to the domain you can manually maintain linux users, which you will find fiddly and tedious, or you can join the samba server to the domain as well and have it use the central auth server too On Fri, Jan 28, 2011 at 1:57 PM, J. L. Cabraljelocab...@gmail.com wrote: Dear, I've seen an implementation where the Windows desktops belong to Company.com domain and the Samba server was a stand-alone server with workgroup = SALES, and Windows clients access to Samba resources succesfully. I mean here the Samba's workgroup is different from Windows' domain, so is this implementation ok ??? Thanks again JeLo On Fri, Jan 28, 2011 at 3:24 PM, Bob Millerb...@computerisms.ca wrote: On Fri, 2011-01-28 at 15:01 -0300, J. L. Cabral wrote: Dear, If I have a Windows XP box joined to a Domain called Company with a user Jelo I as you: Do I have to put Workgroup = Company in smb.conf ??? Yes. And do I have to use the same passwords for the Windows and Linux/Samba users ??? In a domain context, this question doesn't make sense to me. You don't really have windows users in a domain, you have domain users. I found just about everything I needed to know about samba and domains here: http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/ Thanks a lot, JeLo On Thu, Jan 27, 2011 at 6:36 PM, Bob Millerb...@computerisms.ca wrote: What can be the problem ??? Do I have to use for Samba the same password as used in Windows or not ??? I have found that it is just easier to use the same credentials for each user on all machines in a workgroup. Windows is pretty quirky about when it will allow you to use alternate credentials, in my experience, and Windows always prefers to use the credentials of the user who is logged in. Also, check your smb.conf, there are directives that can lock you out regardless of correct user credentials or file permissions, (valid users might be there without your user listed, for example). Thanks a lot, JeLo Bob Miller 334-7117/660-5315 http://computerisms.ca b...@computerisms.ca Network, Internet, Server, and Open Source Solutions Bob Miller 334-7117/660-5315 http://computerisms.ca b...@computerisms.ca Network, Internet, Server, and Open Source Solutions -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Basic question for user/pass authentication
On Fri, Jan 28, 2011 at 2:57 PM, J. L. Cabral jelocab...@gmail.com wrote: I've seen an implementation where the Windows desktops belong to Company.com domain and the Samba server was a stand-alone server with workgroup = SALES, and Windows clients access to Samba resources succesfully. I mean here the Samba's workgroup is different from Windows' domain, so is this implementation ok ??? Don't confuse a DNS (or Internet or AD) domain and a NetBIOS domain. A NetBIOS domain is flat, non-hierarchical, no dots and it has little to do with its hierarchical cousin. It is a common configuration to have a DNS domain of example.com and a NetBIOS workgroup or domain of EXAMPLE but there's no rule or necessity to do so, the workgroup could easily be called BUTTERCUP instead with no operating difference. Chris -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Basic question for user/pass authentication
Dear, I have Debian + Samba and I've created a smb.conf in order to authenticate users I've created with useradd -s /bin/false and after that added to samba with smbpasswd -a user. I've created the share in /var/share with rwxrwxrwx. I edited some lines from smb.conf in GLOBAL and SHARE sections. I use: security = user but when from the Windows machine I access the share resource: net use W: \\sambahost\share with samba user y pass I get Access denied but I can see the resource. What can be the problem ??? Do I have to use for Samba the same password as used in Windows or not ??? Thanks a lot, JeLo -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Basic question for user/pass authentication
What can be the problem ??? Do I have to use for Samba the same password as used in Windows or not ??? I have found that it is just easier to use the same credentials for each user on all machines in a workgroup. Windows is pretty quirky about when it will allow you to use alternate credentials, in my experience, and Windows always prefers to use the credentials of the user who is logged in. Also, check your smb.conf, there are directives that can lock you out regardless of correct user credentials or file permissions, (valid users might be there without your user listed, for example). Thanks a lot, JeLo Bob Miller 334-7117/660-5315 http://computerisms.ca b...@computerisms.ca Network, Internet, Server, and Open Source Solutions -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba