#
# settings for SmartClient name switching service (nss)
#

# check program, used by auto.vhome with parameter $user
#   if it returns true, auto.vhome uses net directory as home_dictionary
#   otherwise the local home is used
#SC_NSS_CHECK_USE_NET_DIR="sc_check_net ldap.vermkv"
#SC_NSS_CHECK_USE_NET_DIR="true"
#SC_NSS_CHECK_USE_NET_DIR="false"
# to use sc_net_profile,
# "sc_net_profile.sh -i" must be called during boot
SC_NSS_CHECK_USE_NET_DIR="sc_net_profile.sh --not offline"

# directory to store settings
SC_NSS_DIR="/var/lib/sc_kprofile/nss/"

# merge user and group information into /etc/passwd, /etc/group
SC_NSS_MERGE="no"

# modify users home directory, see sc_nss_mod_passwd.pl
SC_NSS_MERGE_MODIFY_HOME="yes"
SC_NSS_HOME_DICTIONARY_FILE="/var/lib/sc_kprofile/nss/home_dictionary"
SC_NSS_HOME_PATH="/vhome"
SC_NSS_NET_HOME_PATH_REGEX="^/net"
SC_NSS_LOCAL_HOME_PATH="/local/home"
SC_NSS_LDAP_USER_FILTER="(&(objectclass=posixAccount)(objectclass=scPerson)(!(uid=*$)))"

# minimun entries in database
# to accept database as valid
SC_NSS_MERGE_MIN_ENTRIES=5
