[Samba] Ignoring unknown parameter "guest oki"
Robert Steinmetz,,,
rob at steinmetznet.com
Sun Jan 23 18:57:38 UTC 2022
The last ones I have are all about 2021/08/29
The later I start getting these:
[2022/01/20 15:43:43.649953, 0]
../source3/param/loadparm.c:3337(process_usershare_file)
process_usershare_file: share name
hewlett-packard-designjet-500+hpgl2-(c7770b)cmd contains invalid
characters (any of %<>*?|/\+=;:",)
Except that on all of my servers there either are no files in
/var/lib/samba/usershares or the files there are empty (zero bytes)
On 1/22/2022 4:37 PM, Luke Barone wrote:
> Those logs say they're from 2021. Anything more recent?
>
> Also, hit reply all so it goes to the list
>
> On Sat., Jan. 22, 2022, 2:26 p.m. Robert Steinmetz,,,,
> <rob at steinmetznet.com> wrote:
>
>
> On 1/22/2022 4:04 PM, Luke Barone wrote:
>> Ok, can you paste your smb.conf file?
>>
>>
> # Samba config file created using SWAT
> # from 192.168.1.30 (192.168.1.30)
> # Date: 2009/06/15 09:59:15
>
> [global]
> workgroup = ORLEANS
> netbios name = hamlet
> server string = Egroupware Server (Samba,Ubuntu)
> security = user
> obey pam restrictions = Yes
> passdb backend = tdbsam
> passwd program = /usr/bin/passwd %u
> passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
> *Retype\snew\sUNIX\spassword:* %n\n .
> #syslog = 0
> log level = 4
> logging = syslog at 0 file at 4
> log file = /var/log/samba/log.%m
> max log size = 1000
> name resolve order = wins host bcast
> time server = Yes
> logon path = \\REMUS\profiles\%U
> logon home = \\REMUS\%U
> logon drive = U:
> domain logons = Yes
> os level = 64
> preferred master = yes
> domain master = yes
> # local master = yes
> dns proxy = No
> wins support = Yes
> ldap ssl = no
> panic action = /usr/share/samba/panic-action %d
> # invalid users = root
> admin users = root, administrator
> create mask = 0664
> directory mask = 0775
> # hosts allow = 192.168.1.0/255.255.255.0
> <http://192.168.1.0/255.255.255.0> 99.57.10.14/255.255.255.248
> <http://99.57.10.14/255.255.255.248>
> hosts allow = 192.168.1.0/255.255.255.0
> <http://192.168.1.0/255.255.255.0>
> interfaces = enp1s0 192.168.1.0/24 <http://192.168.1.0/24>
> # interfaces = eth1 lo 192.168.1.1
> # interfaces = lo eth1 192.168.1.0/24 <http://192.168.1.0/24>
> # interfaces = eth1 192.168.1.0/24 <http://192.168.1.0/24>
> bind interfaces only = yes
> # ADDed to allow Windows 10 to log in
> server min protocol = NT1
> client min protocol = NT1
> # "backend = tdb" is redundant here since it is the default
> idmap config * : backend = tdb
> idmap config * : range = 10000-20000
>
> [netlogon]
> comment = Network Logon Service
> path = /var/lib/samba/netlogon
> browseable = No
> available = Yes
>
> #[homes]
> # comment = User Home Drive
> # path = %H
> # read only = No
> # guest ok = Yes
> # hide dot files = No
>
> #[printers]
> # comment = All Printers
> # path = /tmp
> # create mask = 0700
> # printable = Yes
> # browseable = No
>
> #[print$]
> # comment = Printer Drivers
> # path = /var/lib/samba/printers
>
> [Finance]
> comment = Financial Data
> path = /files/finance
> read only = No
> guest ok = Yes
>
> [Accounting]
> comment = Accounting Folder from Shylock2
> path = /files/accounting
> read only = no
> guest ok = Yes
> force user = arris
> force group = users
> force create mode = 0664
> force directory mode = 0775
> inherit permissions = Yes
>
> #[Office]
> # comment = Office Data
> # path = /files/office
> # force user = arris
> # force group = users
> # read only = No
> # force create mode = 0664
> # force directory mode = 0775
> # inherit permissions = Yes
> # guest ok = Yes
>
> #[Sigma]
> # comment = Arris Data
> # path = /files/sigma
> # invalid users =
> # read list = rob, debbie
> # write list = rob, debbie
> # force user = arris
> # force group = users
> # read only = No
> # acl check permissions = No
> # acl group control = Yes
> # acl map full control = No
> # force create mode = 0664
> # force directory mode = 0775
> # guest ok = Yes
> # hide dot files = No
>
> #[Projects]
> # path = /files/projects
> # force user = arris
> # force group = users
> # read only = No
> # force create mode = 0664
> # force directory mode = 0775
> # inherit permissions = Yes
> [NTFS_Backup]
> path = /ntfs-backup
> force user = arris
> force group = users
> read only = No
> force create mode = 0664
> inherit permissions = Yes
>
> --
>
> Robert Steinmetz AIA
> Principal
> Steinmetz & Associates
>
> New Orleans & Atlanta
>
--
Robert Steinmetz AIA
Principal
Steinmetz & Associates
New Orleans & Atlanta
More information about the samba
mailing list