verification for noble:

1- created a CIFS share and added file to it following the steps in 
https://ubuntu.com/tutorials/install-and-configure-samba#1-overview:
  
$ sudo systemctl status samba       
● samba-ad-dc.service - LSB: Samba daemons for the AD DC
     Loaded: loaded (/etc/init.d/samba-ad-dc; generated)
     Active: active (exited) since Mon 2024-11-25 20:51:33 EET; 23min ago
 Invocation: 6d74229c380c41f2a068a646d452cde6
       Docs: man:systemd-sysv-generator(8)
    Process: 1993190 ExecStart=/etc/init.d/samba-ad-dc start (code=exited, 
status=0/SUCCESS)
   Mem peak: 1.7M
        CPU: 4ms

Nov 25 20:51:33 XPS-17-9720 systemd[1]: Starting samba-ad-dc.service - LSB: 
Samba daemons for the AD DC...
Nov 25 20:51:33 XPS-17-9720 systemd[1]: Started samba-ad-dc.service - LSB: 
Samba daemons for the AD DC.

$ ls ~/sambashare 
smbfile2.txt  smbfile3.txt  smbfile4.txt  smbfile.txt


$  tail /etc/samba/smb.conf
# admin users are members of.
# Please note that you also need to set appropriate Unix permissions
# to the drivers directory for these users to have write rights in it
;   write list = root, @lpadmin

[sambashare]
    comment = Samba on Ubuntu
    path = /home/ghadi/sambashare
    read only = no
    browsable = yes

3- connect the noble machine to the samba share using the proposed
kernel and create a mount point folder in ~/cifs-mnt:

$ apt list --installed linux-generic
Listing... Done
linux-generic/noble-proposed,now 6.8.0-50.51 amd64 [installed]
N: There are 2 additional versions. Please use the '-a' switch to see them.

$ tail -n1 /etc/fstab
//192.168.1.126/sambashare /home/ghadi/cifs-mnt cifs 
username=<username>,password=<password> 0 0

Used a placeholder username and password in the above output.

$ sudo mount cifs-mnt/

4- verify that the files are visible with ls:

$ ls cifs-mnt/
smbfile.txt  smbfile2.txt  smbfile3.txt  smbfile4.txt

Files are now correctly being displayed!

** Tags removed: verification-needed-noble-linux
** Tags added: verification-done-noble-linux

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2082423

Title:
  Unable to list directories using CIFS on 6.8 kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2082423/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to