I haven't tried it, 'cause it's a school system and we want the option to
stop users who try to mess with things from logging on; to get an account the
user first logs in as "setup" with blank password, this runs a script that
creates a user entry and home directory for them if they're not already there
or blocked. It also sets up the pam_mount stuff. The main reason I did this
is that X seems to require .Xauthority to be on a UNIX file system as it has
to set special attributes, so it won't run if the user's home directory is
SMB.
Robert Synnott.
On Thursday 06 June 2002 23:07, David Golden wrote:
> Does pam_mount play nice with winbind ? *
>> If you're not already, it might be worth investigating samba's winbind to
> create local users automatically for you when they first login to the linux
> box. With winbind, you can set a pretty arbitrary template to use for the
> autogenerated unix usernames - samba maintains a mapping db** between
> uid/gid and nt domain rids (or is it sids...I don't want to remember)
>> The conventional template is to prepend the NT domain name to the NT
> username, so that nt user mydomain\dgolden is unix username (all one
> string) "mydomain+dgolden" or "mydomain\dgolden" with a home directory of
> /home/mydomain/dgolden
>> David Golden
>> * if so then, great!, it's my problems solved for integrating my crop of
> linux clients with an NT domain - my major remaining trouble was the lack
> of user's "P: drive" NT pseudo-home directories...
>> ** back this mapping db up!
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!