Displaying 1 result from an estimated 1 matches for "wbsepar".
Did you mean:
separ
2007 Jul 28
0
AD group membership script
...For the curious, I'm providing this script under the terms of the GPLv3
as defined by the Free Software Foundation on June 29, 2007.
Here's the script:
#Begin Script
open (USERLIST, 'wbinfo -u |');
while (<USERLIST>){
#Get this from your smb.conf obviously
$wbseparator = '+';
$beginpoint = index($_, $wbseparator);
$beginpoint += 1;
$username = substr($_, $beginpoint);
open(USERSIDS, 'wbinfo -n ' . $_ . ' |');
while (<USERSIDS>){
$space = ' ';
$endpoin...