jammy sru verification (a)
reproducing the fix from previous SRU:
# apt-cache policy samba
samba:
Installed: 2:4.15.13+dfsg-0ubuntu1.7
Candidate: 2:4.15.13+dfsg-0ubuntu1.7
Version table:
*** 2:4.15.13+dfsg-0ubuntu1.7 500
500 http://br.archive.ubuntu.com/ubuntu jammy-updates/main amd64
Packages
100 /var/lib/dpkg/status
2:4.15.13+dfsg-0ubuntu1.5 500
500 http://br.archive.ubuntu.com/ubuntu jammy-security/main amd64
Packages
2:4.15.5~dfsg-0ubuntu5 500
500 http://br.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
Joined the domain:
root@member-test:~# wbinfo -t
checking the trust secret for domain EXAMPLE via RPC calls succeeded
root@member-test:~# net ads testjoin
Join is OK
questing user is there:
root@member-test:~# wbinfo -u | grep questing
EXAMPLE\questing
And is found with "id" as well (that was the fix for the package in
jammy-updates, so we are for now just confirming it one more time):
root@member-test:~# wbinfo -u | grep questing
EXAMPLE\questing
root@member-test:~# net cache flush
root@member-test:~# id [email protected]
uid=10002(EXAMPLE\questing) gid=10000(EXAMPLE\domain users)
groups=10000(EXAMPLE\domain users),3001(BUILTIN\users)
Now we install the proposed jammy package (1.8):
root@member-test:~# apt-cache policy samba
samba:
Installed: 2:4.15.13+dfsg-0ubuntu1.8
Candidate: 2:4.15.13+dfsg-0ubuntu1.8
Version table:
*** 2:4.15.13+dfsg-0ubuntu1.8 500
500 http://br.archive.ubuntu.com/ubuntu jammy-proposed/main amd64
Packages
100 /var/lib/dpkg/status
2:4.15.13+dfsg-0ubuntu1.7 500
500 http://br.archive.ubuntu.com/ubuntu jammy-updates/main amd64
Packages
2:4.15.13+dfsg-0ubuntu1.5 500
500 http://br.archive.ubuntu.com/ubuntu jammy-security/main amd64
Packages
2:4.15.5~dfsg-0ubuntu5 500
500 http://br.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
And repeat the tests:
root@member-test:~# wbinfo -t
checking the trust secret for domain EXAMPLE via RPC calls succeeded
root@member-test:~# net ads testjoin
Join is OK
And the questing user is still there:
root@member-test:~# net cache flush
root@member-test:~# id [email protected]
uid=10002(EXAMPLE\questing) gid=10000(EXAMPLE\domain users)
groups=10000(EXAMPLE\domain users),3001(BUILTIN\users)
To double check, I repeated the whole test plan (a) but starting with the
packages from proposed (1.8):
root@member-test:~# apt-cache policy samba
samba:
Installed: 2:4.15.13+dfsg-0ubuntu1.8
Candidate: 2:4.15.13+dfsg-0ubuntu1.8
Version table:
*** 2:4.15.13+dfsg-0ubuntu1.8 500
500 http://br.archive.ubuntu.com/ubuntu jammy-proposed/main amd64
Packages
100 /var/lib/dpkg/status
2:4.15.13+dfsg-0ubuntu1.7 500
500 http://br.archive.ubuntu.com/ubuntu jammy-updates/main amd64
Packages
2:4.15.13+dfsg-0ubuntu1.5 500
500 http://br.archive.ubuntu.com/ubuntu jammy-security/main amd64
Packages
2:4.15.5~dfsg-0ubuntu5 500
500 http://br.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
Joining domain (and ignoring the DNS error, as advised in the test plan):
root@member-test:~# net ads join -U Administrator
Password for [EXAMPLE\Administrator]:
Using short domain name -- EXAMPLE
Joined 'MEMBER-TEST' to dns domain 'EXAMPLE.COM'
DNS Update for member-test.example.com failed: ERROR_DNS_UPDATE_FAILED
DNS update failed: NT_STATUS_UNSUCCESSFUL
Testing join is OK:
root@member-test:~# wbinfo -t
checking the trust secret for domain EXAMPLE via RPC calls succeeded
root@member-test:~# net ads testjoin
Join is OK
questing test user is also ok:
root@member-test:~# wbinfo -u | grep questing
EXAMPLE\questing
root@member-test:~# id [email protected]
uid=10002(EXAMPLE\questing) gid=10000(EXAMPLE\domain users)
groups=10000(EXAMPLE\domain users),3001(BUILTIN\users)
Test plan (a) verification succeeded as well.
Jammy verification succeeded overall.
** Tags removed: verification-needed-jammy
** Tags added: verification-done-jammy
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2120811
Title:
config file = /etc/samba/users/%U.conf variables like %U empty
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/2120811/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs