Well unless you want to set up smbount entries for every user in the autofs mount maps, (how many users are there?), then you should follow the instructions in the htmldocs/smb.conf.5.html under /usr/share/doc for the samba package installed on your system which you have not specified.
But somehow I fear you may not like the method of achieving what you want to do.
nis homedir (G)
Get the home share server from a NIS map. For UNIX systems that use an
automounter, the user's home directory will often be mounted on a
workstation on demand from a remote server.
When the Samba logon server is not the actual home directory server, but
is mounting the home directories via NFS then two network hops would be
required to access the users home directory if the logon server told the
client to use itself as the SMB server for home directories (one over SMB
and one over NFS). This can be very slow.
This option allows Samba to return the home share as being on a different
server to the logon server and as long as a Samba daemon is running on
the home directory server, it will be mounted on the Samba client
directly from the directory server. When Samba is returning the home
share to the client, it will consult the NIS map specified in homedir map
and return the server listed there.
Note that for this option to work there must be a working NIS system and
the Samba server with this option must also be a logon server.
Default: nis homedir = no
Last edited by Corin; 07-28-2003 at 04:26 PM.