Good day,

Sorry to bother with this issue, if someone has a few minutes to check for hint that'd be very helpful.

Thank you.


After trying everything I could think of, still samba doesn't seem to properly work with windows special properties:

map archive
map ...

From windows's properties, the Unix properties don't map the archive, ... states, now can we change them.

Changing for example a file or folder to "hidden" from windows results in error request not supported.

Changing the Unix property in the OpenBSD file system don't result in showing proper states in Windows.


Do you have hints, does enable the samba map need something else be setup in samba configuration or specific to OpenBSD ?


I note the "Archive" should be on by default but don't work, I think the issue may not be in samba configuration.


Here are few configuration files:


fstab


/dev/wd1a /home/pub/ ffs rw 1 2


smb.conf


[global]

workgroup = WORKGROUP
server string = %h server

socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192

log file = /var/log/samba/smbd.%m
max log size = 1024
syslog = 1
log level = 3

dns proxy = no

domain master = yes
netbios name = sambaserver
local master = yes

map to guest = Bad User
invalid users = root
unix password sync = yes
domain logons = no
usershare allow guests = yes

#========== Share Definitions ============

[localshare]
    browseable = yes
    path = /home/pub
    writeable = yes
    guest ok = yes
    valid users = localshare
    create mask = 0755
    directory mask = 0755

    map readonly = yes
    map archive = yes
    map hidden = yes
    map system = yes


Le 24/03/2021 à 17:00, Kenneth Gober a écrit :
On Mon, Mar 22, 2021 at 9:11 AM jeanfrancois <jfsimon1...@gmail.com <mailto:jfsimon1...@gmail.com>> wrote:

    It has sometimes error messages when copy which I tracked to being
    from
    Windows network to the Samba server where source files or folders's
    properties are not supported (like archiving option).

    Has someone a fix for this, or can point out what I may have missed ?


Consult the smb.conf man page ("man smb.conf") and read about the
"map readonly", "map archive", "map hidden" and "map system" options.
These may help you.

-ken

Reply via email to