Displaying 1 result from an estimated 1 matches for "beginpoint".
Did you mean:
  beginpaint
  
2007 Jul 28
0
AD group membership script
...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 = ' ';
                $endpoint = index($_, $space);...