Lines Matching +full:join +full:- +full:group -(+path:inc +path:lang) -(+path:lib +path:plugins +path:lang) -(+path:lib +path:tpl +path:dokuwiki +path:lang)
12 * Copyright (c) 2006-2012 Scott Barnett, Richard Hyland
31 * @copyright (c) 2006-2012 Scott Barnett, Richard Hyland
32 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html LGPLv2.1
53 $this->adldap = $adldap;
67 for ($i=0; $i<$groups["count"]; $i++){ // For each group
72 // so we ditch the first three characters and the group
75 $groupArray[] = substr($bits[0], 3, (strlen($bits[0])-3));
105 '/([\x00-\x1F\*\(\)\\\\])/',
107 return "\\".join("", unpack("H2", $matches[1]));
120 $strGUID = str_replace('-', '', $strGUID);
131 for ($i=16; $i<=(strlen($strGUID)-2); $i++) {
151 $result = "$rev-$auth";
155 hexdec($this->littleEndian(substr($hex_sid, 16 + ($x * 8), 8)));
156 $result .= "-" . $subauth[$x];
159 // Cheat by tacking on the S-
160 return 'S-' . $result;
164 * Converts a little-endian hex number to one that hexdec() can convert
172 for ($x = strlen($hex) - 2; $x >= 0; $x = $x - 2) {
189 $hex_guid_to_guid_str .= substr($hex_guid, 8 - 2 * $k, 2);
191 $hex_guid_to_guid_str .= '-';
193 $hex_guid_to_guid_str .= substr($hex_guid, 12 - 2 * $k, 2);
195 $hex_guid_to_guid_str .= '-';
197 $hex_guid_to_guid_str .= substr($hex_guid, 16 - 2 * $k, 2);
199 $hex_guid_to_guid_str .= '-' . substr($hex_guid, 16, 4);
200 $hex_guid_to_guid_str .= '-' . substr($hex_guid, 20);
214 $strGUID = $this->binaryToText($binaryGuid);
257 * Round a Windows timestamp down to seconds and remove the seconds between 1601-01-01 and 1970-01-01
263 $unixTime = round($windowsTime / 10000000) - 11644477200;