[Samba] how to get list of user groups for netlogon script ?

Paul Gienger pgienger at ae-solutions.com
Thu Mar 3 14:25:57 GMT 2005

> is there a env-variable or a command to give a list of groups a user 
> is in under windows xp (cmd.exe)?

You could try the ifmember program from MS.  It's kind of a pain to work 
with the results, but it does work.  Sorry I can't give an example but 
I've long since ditched ifmember for scripts that are dynamically 
generated on the server side on login.

Paul Gienger                    Office: 701-281-1884
Applied Engineering Inc.
Systems Architect               Fax:    701-281-1322
URL: www.ae-solutions.com       mailto: pgienger at ae-solutions.com

More information about the samba mailing list