# Jammy verification

Test plan (b): the autopkgtests must pass, in particular the new test
for this issue: smbclient-macro-expansion


The test have passed for samba 2:4.15.13+dfsg-0ubuntu1.8 from jammy-proposed:
https://autopkgtest.ubuntu.com/results/autopkgtest-jammy/jammy/amd64/s/samba/20250902_165220_5a5a1@/log.gz

Details:
304s autopkgtest [16:45:43]: test smbclient-macro-expansion: 
[-----------------------
304s + set -e
304s + . debian/tests/util
304s + username=smbtest2314
304s + password=2314
304s + mktemp -d
304s + storagedir=/tmp/tmp.NZmcQq9igk
304s + chmod 1777 /tmp/tmp.NZmcQq9igk
304s + testfile=hello.txt
304s + echo hello
304s + trap cleanup EXIT
304s + cat
304s + sed -r -i /^\[global\]$/a config file = \/etc\/samba\/%U.conf 
/etc/samba/smb.conf
304s + systemctl reload smbd
304s + add_user smbtest2314 2314
304s + local username=smbtest2314
304s + local password=2314
304s + echo Creating a local and samba user called smbtest2314
304s + useradd -m smbtest2314
304s Creating a local and samba user called smbtest2314
304s + echo Setting samba password for the smbtest2314 user
304s Setting samba password for the smbtest2314 user
304s + echo 2314
304s + echo 2314
304s + smbpasswd -s -a smbtest2314
304s Added user smbtest2314.
304s Listing //localhost/hello.txt as user smbtest2314
304s + echo Listing //localhost/hello.txt as user smbtest2314
304s + smbclient //localhost/storage -U smbtest2314%2314 --command ls hello.txt
304s   hello.txt                           N        6  Tue Sep  2 16:45:42 2025
304s 
304s            20134592 blocks of size 1024. 16590556 blocks available
304s Listing //localhost/hello.txt as anonymous should fail, because then the 
share doesn't exist
304s + echo Listing //localhost/hello.txt as anonymous should fail, because 
then the share doesn't exist
304s + result=0
304s + smbclient //localhost/storage -N --command ls hello.txt
304s + result=1
304s + [ 1 -eq 0 ]
304s + cleanup
304s + set +e
304s + [ -d /tmp/tmp.NZmcQq9igk ]
304s + rm -rf /tmp/tmp.NZmcQq9igk
304s tree connect failed: NT_STATUS_BAD_NETWORK_NAME
304s autopkgtest [16:45:43]: test smbclient-macro-expansion: 
-----------------------]
305s smbclient-macro-expansion PASS

-- 
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

Reply via email to