[Samba] Samba4 Centos 7 - CPU 100%

Maiquel Consalter
2016-08-30T14:15:30Z

>From reading his old smb.conf it appears it was, but I noticed
>something:
>Maiquel, can you run this command on a DC and report back with the
>result.
>ldbsearch -H /usr/local/samba/private/sam.ldb -b
>'CN=ypservers,CN=ypServ30,CN=RpcServices,CN=System,DC=samdom,DC=example,DC=com'
>-s sub '(objectClass=msSFU30DomainInfo)' cn | grep 'cn:' |
awk '{print
>$NF}'
>Replace 'DC=samdom,DC=example,DC=com' with your domain DN
>I also it take that ldap was running on the machine when you upgraded
>it to an AD DC
Follow the output.
#> ldbsearch -H /usr/local/samba/private/sam.ldb -b \
'CN=ypservers,CN=ypServ30,CN=RpcServices,CN=System,DC=campus,DC=domain,DC=br'
-s sub '(objectClass=msSFU30DomainInfo)' cn | grep 'cn:' | awk
'{print \
$NF}'
domain.br


2016-08-30 6:14 GMT-03:00 Rowland Penny via samba <samba at
lists.samba.org>:

> On Tue, 30 Aug 2016 10:05:34 +0200
> "L.P.H. van Belle via samba" <samba at lists.samba.org>
wrote:
>
> > Just checked you smb.conf
> >
> >
> >
> > Now i dont know the exact working of : samba-tool domain
> > classicupgrade
> >
> > Rowland know all about that but i see some things which might give
> > the problems.
> >
> > I’ll have to ask rowland to have a look in this..
> >
> >
> >
> > But i do thinks that the “old samba 3 “ domain was not a domain.
> >
> > I dont know if that hurts the upgrade.
>
> From reading his old smb.conf it appears it was, but I noticed
> something:
>
> Maiquel, can you run this command on a DC and report back with the
> result.
>
> ldbsearch -H /usr/local/samba/private/sam.ldb -b
> 'CN=ypservers,CN=ypServ30,CN=RpcServices,CN=System,DC>
samdom,DC=example,DC=com'
> -s sub '(objectClass=msSFU30DomainInfo)' cn | grep 'cn:' |
awk '{print
> $NF}'
>
> Replace 'DC=samdom,DC=example,DC=com' with your domain DN
>
> I also it take that ldap was running on the machine when you upgraded
> it to an AD DC
>
> Rowland
> >
> >
> >
> > Can you check if you have “2 x “ Administrator in your domain?
> >
> >
> >
> > And can you run :
> >
> > samba-tool dapcmp --filter="whenChanged" ldap://DC1
ldap://DC2
> >
> >
> >
> > but im did see what you old samba version was.
> >
> > And you didnt tell how big the DB sized are.
> >
> > That can really be handy to know.
> >
> >
> >
> > Greetz,
> >
> >
> >
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>



--
Att,
Maiquel