logo

Manual Pages


Table of Contents

NAME

na_cifs_sidcache - clears the CIFS SID-to-name map cache

SYNOPSIS

cifs sidcache clear all

cifs sidcache clear domain [ domain ]

cifs sidcache clear user username

cifs sidcache clear sid textualsid

DESCRIPTION

cifs sidcache clear clears CIFS SID-to-name map cache entries. When SID-to-name map caching is enabled, CIFS maintains a local cache that maps a SID to a user or group name. Entries in this cache have a limited life span that is controlled by the cifs.sidcache.lifetime option. Use this command when cache entries must be deleted before they become stale. Deleted entries are refreshed when next needed and retrieved from a domain controller.

Clearing all cache entries
To clear all SID-to-name cache entries, use the all option:

cifs sidcache clear all

Clearing a single Windows domain
To clear entries for a domain, use the domain option:

cifs sidcache clear domain [ domain ]

domain
name of the Windows domain to clear. If not specified, cache entries for the filer's home domain are cleared.

Clearing a single user
To clear SID-to-name cache entry for a user, use the user option:

cifs sidcache clear user username

username
name of the Windows user or group to clear from the cache. The username can be specified as any of `domain\username', [email protected]', or simply `username'. When username is specified without a domain, the filer's home domain is assumed.

Clearing a single SID
To clear SID-to-name cache entry for a SID, use the sid option:

cifs sidcache clear sid textualsid

textualsid textual form of the SID to clear from the cache. The SID should be specified using standard `S-1-5...' syntax, as

for
example S-1-5-21-4503-17821-16848-500

EFFECTIVE

Any changes take effect immediately

PERSISTENCE

Changes are persistent across system reboots.

SEE ALSO

na_options(1).


Table of Contents