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, > > >
>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 DCFollow 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
On Tue, 30 Aug 2016 11:15:30 -0300 Maiquel Consalter <maiquelconsalter at gmail.com> wrote:> >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 >OK, that confirms it, in the last smb.conf you posted for the DC, there are these lines: realm = DOMAIN.BR workgroup = DOMAIN.BR You have just posted that your workgroup name is 'domain.br' now leaving aside that having '.' in a workgroup name doesn't seem to be a good idea, your workgroup and realm in smb.conf are the same, yet the alterations you made to the command I posted are 'DC=campus,DC=domain,DC=br'. This means your dns name is 'campus.domain.br' and as your realm is supposed to be the uppercase dns name, the line in smb.conf should be: realm = CAMPUS.DOMAIN.BR Yet you also posted that you used '--realm=domain.br' during the classicupgrade, so I am getting really confused now ;-) Rowland