Commit e3ff04766c24

Vincent Demeester <vincent@sbr.pm>
2025-06-05 14:50:08
systems/aix: trying to make samba work
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent f814b22
Changed files (2)
systems
aix
common
services
systems/aix/extra.nix
@@ -11,7 +11,9 @@
     samba.settings."vincent" = {
       path = "/data/share";
       public = true;
-      browseable = true;
+      browseable = "yes";
+      "read only" = "no";
+      "guest ok" = "yes";
       writable = true;
       comment = "Vincent's share";
       "create mask" = "0644";
systems/common/services/samba.nix
@@ -11,9 +11,13 @@
       openFirewall = true;
       settings = {
         global = {
+          security = "user";
+          workgroup = "WORKGROUP";
           "server smb encrypt" = "required";
           "server min protocol" = "SMB3_00";
           "server string" = "Aix";
+          "hosts allow" = "192.168. 10.100. 127.0.0.1 localhost";
+          "hosts deny" = "0.0.0.0/0";
         };
       };
     };