[Samba] Ignoring unknown parameter "guest oki"

Luke Barone lukebarone at gmail.com
Sat Jan 22 22:04:23 UTC 2022


Ok, can you paste your smb.conf file?

On Sat., Jan. 22, 2022, 1:59 p.m. Robert Steinmetz,,,, <rob at steinmetznet.com>
wrote:

> Here you go:
>
> # testparm -s
> Load smb config files from /etc/samba/smb.conf
> Processing section "[netlogon]"
> Processing section "[Finance]"
> Processing section "[Accounting]"
> Processing section "[NTFS_Backup]"
> Loaded services file OK.
> Server role: ROLE_DOMAIN_PDC
>
> # Global parameters
> [global]
>         bind interfaces only = Yes
>         client min protocol = NT1
>         dns proxy = No
>         domain logons = Yes
>         domain master = Yes
>         interfaces = enp1s0 192.168.1.0/24
>         ldap ssl = no
>         log file = /var/log/samba/log.%m
>         logging = syslog at 0 file at 4
>         logon drive = U:
>         logon home = \\REMUS\%U
>         logon path = \\REMUS\profiles\%U
>         max log size = 1000
>         name resolve order = wins host bcast
>         obey pam restrictions = Yes
>         os level = 64
>         panic action = /usr/share/samba/panic-action %d
>         passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
> *Retype\snew\sUNIX\spassword:* %n\n .
>         passwd program = /usr/bin/passwd %u
>         preferred master = Yes
>         security = USER
>         server min protocol = NT1
>         server string = Egroupware Server (Samba,Ubuntu)
>         time server = Yes
>         wins support = Yes
>         workgroup = ORLEANS
>         idmap config * : range = 10000-20000
>         idmap config * : backend = tdb
>         admin users = root administrator
>         create mask = 0664
>         directory mask = 0775
>         hosts allow = 192.168.1.0/255.255.255.0
>
>
> [netlogon]
>         browseable = No
>         comment = Network Logon Service
>         path = /var/lib/samba/netlogon
>
>
> [Finance]
>         comment = Financial Data
>         guest ok = Yes
>         path = /files/finance
>         read only = No
>
>
> [Accounting]
>         comment = Accounting Folder from Shylock2
>         force create mode = 0664
>         force directory mode = 0775
>         force group = users
>         force user = arris
>         guest ok = Yes
>         inherit permissions = Yes
>         path = /files/accounting
>         read only = No
>
>
> [NTFS_Backup]
>         force create mode = 0664
>         force group = users
>         force user = arris
>         inherit permissions = Yes
>         path = /ntfs-backup
>         read only = No
>
>
> On 1/22/2022 3:14 PM, Luke Barone wrote:
>
> Run "testparm -s", and paste the output here
>
> On Sat, Jan 22, 2022 at 1:12 PM Robert Steinmetz,,, <rob at steinmetznet.com>
> wrote:
>
>> Except it isn't in the smb.conf file anywhere. Is there some other
>> location?
>> On 1/22/2022 1:57 PM, Luke Barone wrote:
>>
>> You have "oki" instead of "ok" on the guest line.
>>
>> On Sat, Jan 22, 2022 at 11:51 AM Robert Steinmetz,,, via samba <
>> samba at lists.samba.org> wrote:
>>
>>> I'm having problems with one of my Samba Servers (hamlet) looking
>>> through the logs I see a bunch of messages in /var/log/samba/log.hamlet
>>> like this:
>>>
>>> [2021/09/21 10:56:25.488126,  0]
>>> ../lib/param/loadparm.c:1844(lpcfg_do_service_parameter)
>>>    Ignoring unknown parameter "guest oki"
>>>
>>> It looks like a typo in a smb.conf file but it isn't included in any of
>>> my smb.conf files
>>>
>>> The message also shows up in logs of my windows workstations, in a
>>> slightly different form, although not currently:
>>>
>>> [2021/08/10 06:16:33.733887,  0]
>>> ../lib/param/loadparm.c:1844(lpcfg_do_service_parameter)
>>>    Ignoring unknown parameter "guest oki"
>>> [2021/08/10 06:28:33.824025,  0]
>>> ../lib/param/loadparm.c:784(lpcfg_map_parameter)
>>>    Unknown parameter encountered: "guest oki"
>>>
>>> Guessing from the "lpcfg" this seem to relate to printer configuration.
>>> I don't know if this is causing the problems but who knows.
>>>
>>>
>>> Any ideas?
>>>
>>> --
>>> Robert Steinmetz
>>> --
>>> To unsubscribe from this list go to the following URL and read the
>>> instructions:  https://lists.samba.org/mailman/options/samba
>>>
>> --
>>
>> 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