Hi, can I querry a NT PDC for all domain members with a samba command line tool? This would be nice for some scripting (getting all domain users in /etc/passwd) because winbind doesn't work for Solaris at the moment as far as I know. Thanks Uwe
On Tue, 25 Sep 2001, Jens-Uwe Walther wrote:> Hi, > > can I querry a NT PDC for all domain members with a samba command line tool? > This would be nice for some scripting (getting all domain users in /etc/passwd) > because winbind doesn't work for Solaris at the moment as far as I know.Not exactly what you asked for but "addusers" from the NT4 resource kit will dump all the users/groups to a CSV file. It's fairly easy in perl to massage that, and get what you need. Yours Tony. /* * "The significant problems we face cannot be solved at the * same level of thinking we were at when we created them." * --Albert Einstein */
On Tue, 25 Sep 2001, Jens-Uwe Walther wrote:> Hi, > > can I querry a NT PDC for all domain members with a samba command line > tool? This would be nice for some scripting (getting all domain users > in /etc/passwd) because winbind doesn't work for Solaris at the > moment as far as I know.See winbind(8) or maybe look at rpcclient. cheers, jerry --------------------------------------------------------------------- www.samba.org SAMBA Team jerry_at_samba.org www.plainjoe.org jerry_at_plainjoe.org --"I never saved anything for the swim back." Ethan Hawk in Gattaca--