[Samba] Console client bug

belaz at tuta.io belaz at tuta.io
Sat Mar 4 13:08:11 UTC 2023


I've deleted actual samba service, but not other packages, so it still shows something:

Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Weak crypto is allowed
Server role: ROLE_STANDALONE

# Global parameters
[global]
        log file = /var/log/samba/log.%m
        logging = file
        map to guest = Bad User
        max log size = 1000
        obey pam restrictions = Yes
        pam password change = Yes
        panic action = /usr/share/samba/panic-action %d
        passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
        passwd program = /usr/bin/passwd %u
        server role = standalone server
        unix password sync = Yes
        usershare allow guests = Yes
        idmap config * : backend = tdb


[homes]
        browseable = No
        comment = Home Directories
        create mask = 0700
        directory mask = 0700
        valid users = %S


[printers]
        browseable = No
        comment = All Printers
        create mask = 0700
        path = /var/spool/samba
        printable = Yes


[share]
        comment = Files to share
        path = "/home/me/Desktop/Share"


[print$]
        comment = Printer Drivers
        path = /var/lib/samba/printers
And by the way, in the beginning it didn't even create the log folder and file. The file appeared only when I created the folder manually.

-- 
I'm using Tutanota - the end-to-end encrypted email service



Mar 3, 2023, 12:33 by samba at lists.samba.org:

>
>
> On 03/03/2023 08:56, belaz--- via samba wrote:
>
>> Yes, I mean smbclient.
>> I input a command like
>> smbget -U guestshare -R smb://localhost/share
>> The version option says that version is 4.13.13-Debian.
>> Computer is irrelevant, because you are developing it for a certain operating system, not a computer.
>> Dolphin worked.
>>
>
>
> smbget != smbclient
>
> It also works for myself on Samba 4.15.7 with just one slight change, I do not have a user called 'guestshare', so I used the guest user 'nobody'.
>
> Can we please see the output of 'testparm -s' ?
>
> Rowland
>
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>



More information about the samba mailing list