[Samba] lost rfc2307 settings in AD Manager.

L.P.H. van Belle belle at bazuin.nl
Mon May 12 04:43:43 MDT 2014


Ok, 

Steve , you made a point, that can be the cause, but i tried Rowlands suggestion

ldbmodify -H /var/lib/samba/private/sam.ldb /home/thcnbl/ypServ30.ldif --option="dsdb:schema update allowed"=true
and i got. 
ERR: (Entry already exists) "Entry CN=ypServ30,CN=RpcServices,CN=System,DC=internal,DC=domain,DC=tld  already exists" on 
DN CN=ypServ30,CN=RpcServices,CN=System,DC=INTERNAL,DC=DOMAIN,DC=TLD at block before line 5

so it still there in AD, but not listed in AD, i'll go check my RATS Tools again. 

>> and it created smb.conf with.
>> idmap_ldb:use rfc2307 = yes
>Has the line been removed from smb.conf ?
 No it's still there. 

Maybe this is related to the replication error? 

Is there a way to only backup the dns records? then i will redo my setup. 

Gr. 

Louis


>-----Oorspronkelijk bericht-----
>Van: rowlandpenny at googlemail.com 
>[mailto:samba-bounces at lists.samba.org] Namens Rowland Penny
>Verzonden: maandag 12 mei 2014 12:24
>Aan: samba at lists.samba.org
>Onderwerp: Re: [Samba] lost rfc2307 settings in AD Manager.
>
>On 12/05/14 10:51, L.P.H. van Belle wrote:
>> On my DC at creation, i created my domain with the following line:
>>   
>> samba-tool domain provision --use-rfc2307 --use-xattrs=yes 
>--realm= ... etc etc.
>>   
>> and it created smb.conf with.
>> idmap_ldb:use rfc2307 = yes
>Has the line been removed from smb.conf ?
>>   
>> But when i now look in my AD User manager, no NIS options anymore.
>I take it you mean ADUC and the UNIX Attributes tab isn't 
>showing any more.
>
>>   
>> Is there a possibility to add it again?
>
>Yes, but just what has gone, have a look at ypServ30.ldif and then try 
>searching in AD to see if that is still there. If it is just the line 
>from smb.conf that has disappeared, then the question has to be why ?
>
>
>>   
>> and can this be caused my the zarafa schema import ?
>
>Don't really see how, that zarafa script just seems to be a 
>fancy way of 
>modifying and then adding a couple of ldif's
>
>>   
>> I use this one for the zarafa schema update.
>>   
>> zarafa_schema_add.sh DC=INTERNAL,DC=DOMAIN,DC=TLD 
>/etc/samba/bin/schema/7.1.9/ \
>>   -v -H /var/lib/samba/private/sam.ldb -writechanges
>>   
>>   
>Rowland
>-- 
>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