[Samba] Basic question for user/pass authentication

Gaiseric Vandal gaiseric.vandal at gmail.com
Fri Jan 28 13:41:01 MST 2011


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. Cabral<jelocabral at 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<bob at 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<bob at 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
>>>>> bob at computerisms.ca
>>>>> Network, Internet, Server,
>>>>> and Open Source Solutions
>>>>>
>>>>>
>>>>>            
>>> Bob Miller
>>> 334-7117/660-5315
>>> http://computerisms.ca
>>> bob at 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
>>
>>      



More information about the samba mailing list