user

These options should go in an [users] section of the /etc/realmd.conf file. Only specify the settings you wish to override.

default-home

Specify the default-home setting in order to control how to set the home directory for accounts that have no home directory explicitly set.

[users]
default-home = /home/%D/%U
# default-home = /nfs/home/%D-%U

The default setting for this is /home/%D/%U. The %D format is replaced by the domain name. In the case of Active Directory this is the short domain name. The %U format is replaced by the user name.

You can verify the home directory for a user by running the following command.

$ getent passwd 'DOMAIN/User'
DOMAIN\user:*:1344600500:1344600513:User Name:/home/DOMAIN/user:/bin/bash

default-shell

Specify the default-shell setting in order to control how to set the Unix shell for accounts that have no shell explicitly set.

[users]
default-shell = /bin/bash
# default-shell = /bin/sh

The default setting for this is /bin/bash shell. The shell should be a valid shell if you expect the domain users be able to log in. For example it should exist in the /etc/shells file.

You can verify the shell for a user by running the following command.

$ getent passwd 'DOMAIN/User'
DOMAIN\user:*:1344600500:1344600513:User Name:/home/DOMAIN/user:/bin/bash