[Samba] What is the Uid in smbstatus command?

Jim Brand JHBRAND at up.com
Tue May 10 18:42:46 UTC 2022


What does the Uid under the Locked files: section output of smbstatus signify?  Reason I ask is that some of our CentOS 6 servers running samba-3.6.23-53 are creating files with this UID instead of user specified in the config file:

force user = someuser

Yes, we are doing our best to upgrade to CentOS 7 and a supported samba version.  But until we do....

My smb.conf -

[global]
        security = ADS
        workgroup = MYGROUP
        realm = MYGROUP.COM
        encrypt passwords = yes
        client use spnego = yes
        client signing = yes
        kerberos method = secrets and keytab
        server schannel = yes
        log level = 3
        max log size = 500
        log file = /var/log/samba/log.%h.%m
        idmap config MYGROUP : backend = rid
        idmap config MYGROUP : range = 1000-2999999
        idmap config * : backend = tdb
        idmap config * : range = 3000000-39999999
        winbind cache time = 300
        winbind nss info = sfu
        winbind use default domain = yes
        winbind refresh tickets = yes
        map to guest = Bad User
        wide links = No
        unix extensions = No
        load printers = No
        printcap name = /dev/null
        max protocol = SMB2
        include = /usr/local/custom.conf
--------------------------------------------------
>From nsswitch.conf

passwd:     files winbind
shadow:     files winbind
group:      files winbind

Thanks,
Jim

This email and any attachments may contain information that is confidential and/or privileged for the sole use of the intended recipient. Any use, review, disclosure, copying, distribution or reliance by others, and any forwarding of this email or its contents, without the express permission of the sender is strictly prohibited by law. If you are not the intended recipient, please contact the sender immediately, delete the e-mail and destroy all copies.


More information about the samba mailing list