From: Dave Airlie (airlied at domain parthus.com)
Date: Thu 13 Jul 2000 - 14:51:48 IST
There is no nice way to this at the moment, you can use pwdump I
think or something like that to grab the list of a/c's from the NT box in
a cronjob and add those a/c's to the Linux box, but you'd have some
trouble with uids and stuff for new a/c's you could then use something
like pam_smb to get the passwords from NT,
The big problem at the moment is automatic mapping of NT RIDs to
Unix/Posix uid/gids, the Samba guys have been working on it but still
haven't come up with a solid way that they have implemented and tested...
This is part of the plan for the full domain controller release that it
can autogenerate a/c's on the fly.....
You might try looking through the archives of samba-technical and
samba-ntdom for solutions I think some people have come up with some that
might come close to what you want ..
On Thu, 13 Jul 2000, Gavin O Gorman wrote:
> We have a test linux machine in here. Plan is that we leave it just
> sitting there and if any students are interested they can log on
> and play with it.
> However, all student accounts are on NT machines. I was thinking
> that it might be possible to grab a list of names from an NT machine
> ( via samba maybe ) and then i could use this list to add the students
> to the linux machine with a script of some sort. The machine will
> be left on it's own to work away and after i leave ( 2 days ) there
> won't be anyone who knows how to add users ( or will have the time, or
> inclination ) to do so.
> sorry, i ain't describing this too well. I want the machine to be able to
> create users by the users themselves on the fly. I don' want to leave a
> script running on telnet because then there will be no control over how
> many accounts are created or, more importantly, who creates them.
> so, because they already have their accounts on NT, i figure i can just
> use those.
> follow ?
-- David Airlie, Software Engineer, Parthus Technologies plc., Mary Rosse Centre, National Tech Park, Limerick, Ireland. t: +353-61-508116 / f: +353-61-508101 / David.Airlie at domain parthus.com
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:06:52 GMT