[Samba] Wbinfo -u

Jeremy Guasco jguasco+samba at lncsa.com
Wed Jun 8 14:23:58 UTC 2022


Le 08/06/2022 à 10:58, L. van Belle via samba a écrit :
> This might be just a  "net cache flush" also.
>
> Greetz,
>
> Louis
>
>
>
>> -----Oorspronkelijk bericht-----
>> Van: samba <samba-bounces at lists.samba.org> Namens Rowland Penny via
>> samba
>> Verzonden: dinsdag 7 juni 2022 18:41
>> Aan: samba at lists.samba.org
>> CC: Rowland Penny <rpenny at samba.org>
>> Onderwerp: Re: [Samba] Wbinfo -u
>>
>> On Tue, 2022-06-07 at 17:16 +0200, Jeremy Guasco via samba wrote:
>>> Hi,
>>>
>>> Since we upgraded to sernet-samba-ad 4.16.1-10debian11 we can't use
>>> wbinfo -u to get our user list.
>>>
>>> However wbinfo -g is working, and wbinfo -u still works on a server on
>>> 4.8.12-21.
>>>
>>> Anyone is experiencing the same thing ?
>>>
>>> Do you have an other way to get samba user list ?
>>>
>>> Thanks
>>>
>>> Jeremy
>>>
>> Strange, I am using 4.16.1 from Debian backports and 'wbinfo -u' works for
>> me.
>>
>> This maybe something to do with your smb.conf, so please post the output
>> of 'testparm -s'
>>
>> Rowland
>>
>>
>>
>>
>> --
>> To unsubscribe from this list go to the following URL and read the
>> instructions:  https://lists.samba.org/mailman/options/samba
>
Hi,

"net cache flush" didn't solve this issue

Here is the testparm -s :

Load smb config files from /etc/samba/smb.conf
lpcfg_do_global_parameter: WARNING: The "server schannel" option is 
deprecated
Loaded services file OK.
Weak crypto is allowed

Server role: ROLE_ACTIVE_DIRECTORY_DC

# Global parameters
[global]
         check password script = /usr/local/bin/crackcheck -c -d 
/var/cache/cracklib/cracklib_dict
         disable netbios = Yes
         disable spoolss = Yes
         dns forwarder = 192.168.0.1
         ldap server require strong auth = No
         load printers = No
         log file = /var/log/samba/samba.log
         max log size = 50000
         ntlm auth = mschapv2-and-ntlmv2-only
         passdb backend = samba_dsdb
         printcap name = /dev/null
         realm = CORP.XXX.COM
         restrict anonymous = 2
         server role = active directory domain controller
         server schannel = Auto
         smb ports = 445
         wins support = Yes
         workgroup = SAMBA
         rpc_server:tcpip = no
         rpc_daemon:spoolssd = embedded
         rpc_server:spoolss = embedded
         rpc_server:winreg = embedded
         rpc_server:ntsvcs = embedded
         rpc_server:eventlog = embedded
         rpc_server:srvsvc = embedded
         rpc_server:svcctl = embedded
         rpc_server:default = external
         winbindd:use external pipes = true
         idmap_ldb:use rfc2307 = yes
         server role check:inhibit = yes
         idmap config * : backend = tdb
         map archive = No
         printing = bsd
         vfs objects = dfs_samba4 acl_xattr

[netlogon]
         path = /var/lib/samba/sysvol/corp.xxx.com/scripts
         read only = No

[sysvol]
         path = /var/lib/samba/sysvol
         read only = No




More information about the samba mailing list