Hi,

I added 3 sentences in my Samba part
to my config.scm:

guest account = gast
create mask = 0775
directory mask = 0755

(service samba-service-type (samba-configuration
                             (enable-smbd? #t)
                             (config-file (plain-file "smb.conf" "\
                [global]
                map to guest = Bad User
                logging = syslog@1

                [public]
                browsable = yes
                path = /home/gfp/public
                read only = no
                guest ok = yes
                guest account = gast                   ;hinzugefügt
                create mask = 0775                     ;hinzugefügt
                directory mask = 0755                  ;hinzugefügt
                guest only = yes\n")))))


But it is impossible in Guix to add a user like this in Debian:

sudo adduser someusername


Once the user exists, create a samba login:

sudo smbpasswd -a someusername


So what do I have to do in Guix to add a new user and create a samba login for that user?

thanks

Gottfried



Am 25.03.25 um 07:35 schrieb Ignas Lapėnas:

I'm guessing you might not have a "Guest account", to control which
system directories it has access to.

https://superuser.com/questions/1081542/how-to-allow-guest-access-in-samba


Attachment: OpenPGP_0xD9E413C6C4BB32CE.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to