Am 2016-12-01 um 10:34 schrieb Stefan G. Weichinger via samba:> Am 2016-12-01 um 10:05 schrieb Stefan G. Weichinger via samba: > >> It fails at wins.dat: >> >> Importing WINS database >> ERROR(ldb): uncaught exception - Entry name=PRE01SRV,type=0x00 already >> exists > > forget it, fixed by a rerun after rm-ing the generated files.I made some progress now: could contact the PDC-VM via smbclient, create and use a user etc What I don't understand yet, is the kerberos-part, I can't do the kinit-step. Where does the password for the user administrator come from, how do I set that to be able to use it? I tried with smbpasswd but failed. I only know the kerberos-stuff from joining ADS-member-servers where there is another PDC providing that.
On Thu, 1 Dec 2016 12:55:38 +0100 "Stefan G. Weichinger via samba" <samba at lists.samba.org> wrote:> Am 2016-12-01 um 10:34 schrieb Stefan G. Weichinger via samba: > > Am 2016-12-01 um 10:05 schrieb Stefan G. Weichinger via samba: > > > >> It fails at wins.dat: > >> > >> Importing WINS database > >> ERROR(ldb): uncaught exception - Entry name=PRE01SRV,type=0x00 > >> already exists > > > > forget it, fixed by a rerun after rm-ing the generated files. > > I made some progress now: > > could contact the PDC-VM via smbclient, create and use a user etc > > What I don't understand yet, is the kerberos-part, I can't do the > kinit-step. Where does the password for the user administrator come > from, how do I set that to be able to use it? I tried with smbpasswd > but failed. > > I only know the kerberos-stuff from joining ADS-member-servers where > there is another PDC providing that. > >You should have seen a line like this towards to the end of the upgrade: Administrator password has been set to password of user But it is usually the 'root' user password. Rowland
Am 2016-12-01 um 13:19 schrieb Rowland Penny via samba:> You should have seen a line like this towards to the end of the upgrade: > > Administrator password has been set to password of user > > But it is usually the 'root' user password.Ah, yes, I should have remembered reading that. Unfortunately it isn't working for me, yet. in my test VM I rm-ed /var/lib/samba/private/* explicitly set passwd for root again re-ran classicupgrade ln -sf /var/lib/samba/private/krb5.conf /etc/krb5.conf and kinit fails for me: # kinit Administrator at my.tld kinit: Cannot find KDC for realm "my.tld" while getting initial credentials - krb5.conf only contains: # cat /etc/krb5.conf [libdefaults] default_realm = MY.TLD dns_lookup_realm = false dns_lookup_kdc = true ? I played around and edited it like: # cat /etc/krb5.conf [libdefaults] default_realm = my.tld dns_lookup_realm = false dns_lookup_kdc = true [realms] my.tld = { kdc = mypdc admin_server = mypdc default_domain = my.tld kpasswd_server = mypdc } [domain_realm] .my.tld = my.tld my.tld = my.tld - Then I get: # kinit Administrator at my.tld Password for Administrator at my.tld: kinit: Preauthentication failed while getting initial credentials same for # kinit Administrator at MY.TLD # kinit Administrator