yes thats a good idea to import all computers from the ad
Posts made by q16marvin
-
RE: Feature Request - LDAP login
-
RE: Ubuntu 11.10 and fog 0.32 works slow
is it more a ubuntu problem or an fog problem? to night i will try some other ubuntu server / desktop versions. i hope this helps to solve the problem.
-
RE: Feature Request - LDAP login
[url]http://adldap.sourceforge.net/[/url]
and then something like that:
[PHP]<?php
session_start ();
require_once(âldap/src/adLDAP.phpâ);try {
$adldap = new adLDAP();
}
catch (adLDAPException $e) {
echo $e;
exit();
}$loginUsername = $_REQUEST[âloginUsernameâ];
$loginPassword = $_REQUEST[âloginPasswordâ];
$loginUsername = strtolower($loginUsername);if ($adldap->authenticate($loginUsername, $loginPassword)){
$result = $adldap->user()->inGroup($loginUsername,âXXXXXXXXXâ);
if($result){
$info = $adldap->user()->info($loginUsername);
//var_dump($info);
$sql = sprintf(âSELECT u.id, u.username, u.name, u.firstname FROM user u WHERE (lower(u.username) like â%sâ)â,$loginUsername);
$result = mysqli_query ($GLOBALS[âdbâ],$sql);
$data = mysqli_fetch_array ($result);
if (mysqli_num_rows ($result) > 0 and $data[âstatusâ]<>â0â)
{
$_SESSION[âuser_idâ] = $data[âidâ];
$_SESSION[âuser_nicknameâ] = $data[âusernameâ];
$_SESSION[âuser_nachnameâ] = $data[ânameâ];
$_SESSION[âuser_vornameâ] = $data[âfirstnameâ];
echo â{success: true}â;
}else
{
echo â{success: false, errors: { reason: âLogin fehlgeschlagen. Bitte erneut versuchen.â }}â;
}
}else{
echo â{success: false, errors: { reason: âLogin fehlgeschlagen. Bitte erneut versuchen.â }}â;
}
}else{echo "{success: false, errors: { reason: 'Login fehlgeschlagen. Bitte erneut versuchen.' }}";
}
?> [/PHP] -
Office 2003 snapin to big?
Hello, i want to test the snapin feature. i build like in the video tutorial a snapin file with SFX Maker.
The Installer.exe is now 377MB. I changed the settings in the php file so i can upload such a big file. But wenn i deploy the snapin i see the Installer.exe is copied in the C:\Program Files\FOG\tmp directory of the target Client. But after ca. 100MB it stops and the Prompt with: âNon 7z archive.â. It seems he want to starts the exe bevore its finished ulpload.
[ATTACH]6[/ATTACH]
i have a ubuntu 11.10 with fog 0.32
[url=â/_imported_xf_attachments/0/6_Unbenannt.png?:â]Unbenannt.png[/url]
-
Ubuntu 11.10 and fog 0.32 works slow
Hi, i installed a new server with ubuntu 11.10 with fog 0.32. all works great, but i think the imagin process works realy slow (max 250MiBb/min). With my old FOG Server (0.29) i reach 800 or 900. Is there a reason for?
i see my cpu load is 100% during the imagin with some nfsd tasksâŠ
okay an upload of an image works extremly fast. but there is also a point: hey starts fast, stops for some seconds, run fast, stops, fast, stops etc. whats going on there?
Thank you very much!