[Lias] Winbind logins - progress report - DONE! :-)

Simon Bryan sbryan at olmc.nsw.edu.au
Wed May 14 09:49:02 UTC 2003


Have now completed the final stage. There is a pam module, pam_mkhomedir
which will create a users home directory on first login. You then use
smbmount to amp their real home directory. Haven't got that part automated
but it is a generic script that could be placed on the desktop for any
user.
smbmount //sambaserver/homes  /homes/$USER

It asks for the password and then maps it over the top of the exisiting
home directory.

____________________
Simon Bryan
IT Manager
OLMC Parramatta

Simon Bryan said:
> Hi all,
> An update on how we are going with being able to login to a Linux
> workstation with a Windows username and password. The short answer is it
> works. :-)
>
> The issue I am now having is getting a home directory setup for the user,
> (it occurs to me while writing this that the 'shell' for the users is set
> to 'bash/false' which may be causing me problems.
>
> My initial thought was to map the home directory from the main server to
> the home directory on the workstation, thus meaning that there would be
> the users correct home directory no matter where they logged in. I am
> meeting 'stern resistance'.
>
> I have not been successful with smbmount yet, but it looks mildly
> promising. I can map an individuals home directory using the 'homes' share
> from the server, however this has to be done after the user logs in and
> the GUI is refusing to login without a home directory.
>
> I tried NFS which mounted the directories OK, but totally messed with the
> ownerships (guess it is using the UID rather than the Username).
>
> I am considering at the moment whether it is possible to have a 'dummy'
> home directory created at login and then run a script to map the users
> home drive to /home/username.
>
> Any thoughts appreciated.
>
> ____________________
> Simon Bryan
> IT Manager
> OLMC Parramatta
>
>
>
>
> _______________________________________________
> lias mailing list
> lias at lists.linux.org.au
> http://lists.linux.org.au/listinfo/lias
>




More information about the lias mailing list