[Samba] Linux Active Directory Integration Problem

Jens Heidbüchel j.heidbuechel at fz-juelich.de
Fri Mar 30 10:59:11 GMT 2007


Jens Heidbüchel schrieb:
> Brijesh Shukla schrieb:
>> Hi,
>> I am getting the problem to access shared folder when I am using Dual 
>> boot
>> operating System.
>> Let say I have two operating system on the same machine.
>> 1) XP  and the name of the machine in xp environment is "XYZ"
>> 2)Cent OS (Linux) and the name of the machine in Linux environment is 
>> "ABC"
>> both operating system share the same static IP address.
>>
>> the problem appear when I have logged in my domain using XP OS and 
>> restart
>> the machine in Linux mode.
>> In Linux mode I can join the domain using "net ads join -U user%password"
>> command, it is working fine and
>> I am getting the message like "Join in Domain" but when I try to 
>> access any
>> share folder my domain controller
>> is giving the message " You do not have access right to see the content".
>>  But if I reboot my domain controller and Linux PC I am able to see my
>> shared content.
>>
>> Any idea or guess where I am making mistake?????????
>>
>> Thanks & Regards
>> Brijesh Shukla
> 
> Hi Brijesh,
> 
> the machine account, which is created by joining the domain is 
> overwritten by another when joining the domain with samba and the 
> Windows Client "key" does not fit to the machine account anymore. We 
> have several notebooks which had the same problem.
> 
> We solve it by giving the dual boot system another netbios name, so that 
> smb.conf looks like that:
> 
> netbios name = machinename_l
> netbios aliases = machinename
> 
> By joining the domain the machine account is created for machinename_l 
> and does not touch the "original" Windows machine account. The alias is 
> therefore, that the machine can be accessed with it's original name when 
> booted in Linux.
> 
> 
> Greets, Jens
> 

Upps. I'm sorry. I overread that the two os'es have different names.

Ignore me. :)



More information about the samba mailing list