Mada.cz ___________technet blog

3Bře/100

Apache a LDAP, Windows autentifikace

Potřebujete zajistit aby byli uživatelé před vstupem na web ověřeni vůči AD?
V nastavení Apache (httpd.conf), povolit modul:

LoadModule authz_ldap_module modules/mod_authz_ldap.so

V adresáři webového serveru, který chcete zabezpečit vytvořte .htaccess soubor s následujícími parametry:

AuthType Basic
# What the users will see as a "title" of the login prompt:
AuthName "Domain Credentials Required"
# use plain LDAP authentication:
AuthzLDAPMethod ldap
# FQDN resolvable hostname (or IP) of the Windows
# AD domain controller:
AuthzLDAPServer your_dc.your_domain.com
# Distinguished Name (DN) of the user that mod_authz_ldap should
# bind to the LDAP server as when searching for the domain user
# provided by the web client (Active Directory does not allow
# anonymous binds). Note, the cn attribute corresponds to the
# "Display Name" field of a user's account in the Active Directory
# Users and Computers tool, not their login username:
AuthzLDAPBindDN "cn=your_user,OU=your_OU,dc=your_domain,dc=com"
# the BindDN user's password:
AuthzLDAPBindPassword "password"
# LDAP Attribute where the user's domain login username is stored in:
AuthzLDAPUserKey sAMAccountName
# Base DN to begin searching for users from in the LDAP:
AuthzLDAPUserBase "dc=your_domain,dc=com"
# Search in sub-containers below the UserBase DN if
# necessary (most likely):
AuthzLDAPUserScope subtree
# Require the username and password provided to be a valid
# user in the AD:
require valid-user

Červěně jsou označny oblasti, které je zapotřebí nahradit.

Upozornění:

Metoda zde popsaná pracuje s heslem ve formátu plain-text, takže pozor na rizika s tím spojená.

13Říj/091

Odstranění diakritiky v Excelu

microsof-excell-20071Potřebujete odstranit diakritiku ve vašem Excel dokumentu?

Otevřete si Váš Excel dokument s diakritikou, poté spustťe stažený soubor "Excel_add-on_diacritic_char_remover.xla" a v sekci Nástroje vyberte funkci Odstranění diakritiky.

excel_odstraneni_diakritiky1

Upozornění: Před spuštěním cizího makra si v Nástroje/Makro/Zabezpečení zkontrolujte, jak máte nastavenou úroveň zabezpečení. Cizí nepodepsaná makra mohou obsahovat viry.

Doplněk ke stažení:
Excel_add-on_diacritic_char_remover

5Říj/090

Spuštěna funkce anonymizéru

anonymPotřebujete otevřít freemail nebo jiný web, který je blokován vaší firemní politikou či jiným zařízením?
Využijte funkci anonymizéru, který převádí URL adresu tak, aby nebyla pro tento typ software/hardware nečitelnou.

.:: Anonymizér - anonymní a bezpečné surfování

25Zář/090

Video streaming přes FireWire

vlcPokud chcete streamovat video na síť a nemáte prostředky na encoder a streaming server, postačí kamera připojená k PC přes FireWire a VLC player.

Spousta diskuzních fór tohle řeší ale nikde jsem nenašel návod, takže jsme s kolegy bádali a tady je výsledek:

1) Stáhneme a nainstalujeme VLC player
http://www.videolan.org/vlc/download-windows.html

2) Ve VLC playeru zvolíme: Média - Proudové vysílání (CTRL+S)

vlc1

3) Zde záložku "Zachycovací zařízení", Capture mode: DirectShow -> Pustit proudemvlc2

4) Ponechat nastavení a zvolit další:vlc3

5) New destination: UDP - Přidat  (event. zaškrtnout display localy), vyškrtnout "Activate transcoding"vlc4

6) Zapsat UDP adresu, port a Pustit proudem.vlc5

V případě, že potřebujete streamovat v rámci více VLAN a přijímání streamu nefunguje, musíte nastavit TTL na vyšší hodnotu, než je defaultní (1). Nastavení TTL ovšem v současné verzi VLC (1.0.1) nefunguje.

Proto je potřeba pouštět VLC player přes command-line nebo zástupcem a to s následujícími parametry:

Spuštění streamu:
"C:\Program Files\VideoLAN\VLC\vlc.exe" dshow:// --sout #duplicate{dst=std{access=udp,mux=ts,dst=239.255.255.2:1234},dst=display} --ttl 12

Příjem streamu:
"C:\Program Files\VideoLAN\VLC\vlc.exe" udp://@239.255.255.2:1234 -f --aspect-ratio=4:3

Bez problému streamuji s bitratem okolo 20Mbps (rozlišení 720p) na Cisco hardwaru, pokud po cestě vložím no-name switch, obraz začíná vypadávat.

Doufám, že se tento návod bude hodit.

24Zář/090

Firma EIITE je v insolvenci a končí

eiiteFirma EIITE, poskytovatel služeb v oblasti informačních technologií oznámila na svých webový stránkách zánik.

„Vážení klienti,

společnost EIITE s.r.o. se dostala díky současné ekonomické krizi do problémů, které bylo nutné řešit návrhem na insolvenci společnosti, jež bude v nejbližších dnech uvedena v OR.

Veškerá školicí činnost je zastavena a žádná školení ani služby již nebudeme poskytovat.

Omlouvám se Vám tímto jako jednatelka společnosti za problémy způsobené tímto rozhodnutím."

Adéla Skálová

jednatelka

Firma přerušila "rozjetá" školení a klienty nekontakovala. Školení, které u nich mají mnozí z nás zaplacené tak opět končí v /dev/null/

Jednalo se zejména o kurzy pro IT, konzultace, technickou podporu, projekci, nasazování i audit IT a odborné posudky soudního znalce. Eiite byla autorizovaným školícím partnerem společností jako Microsoft, SuSE, GTS Learning, Sylvan aj. Realizovala také rekvalifikační kurzy MŠMT a nabízela outsourcing IT specialistů.

17Zář/090

Google Chrome, Chromium crashes due to winhttp.dll

chromeGoogle chrome crashes due to an issue with winhttp.dll, for a few.Though Google chrome initialized and started up properly, after disabling sandboxing using “--no-sandbox” option and thereby fixing the application failed to initialize (0xc0000005) error, Google chrome crashed on browsing any web page.On further verification, the crash seems to have been caused by winhttp.dll.

The fix for this issue was to add “--new-http” option towards end of the “target” line i.e. Right click the shortcut to “Google Chrome” and click Properties. Then in the target text field, add a space then add “--new-http” (without the double quotes) right after the ending quotation mark.Note that I am adding this option by leaving a space after the “-–no-sandbox” option.Also note that there are two dashes before new.Refer image below.


What this effectively does, is it creates a new instance of winhttp.dll, from your windows operating system environment, and thereby overrides the winhttp.dll that comes packaged with Google chrome.

Now, I did experiment to remove these options in the shortcut to Google chrome and started browsing web pages.Voila!!! there weren’t any issues.So those folks who still want to have the sandboxing effect, do remove it, once everything starts working properly.Fix the crashes due to winhttp.dll with “--new-http” and enjoy browsing with google chrome.

Update 2: If you remove the options, google chrome will throw the same errors on a restart.So you should live without the sandboxing effect until Google resolves this issue permanently.

Převzato z: http://techblissonline.com/

17Zář/090

The application failed to initialize properly (0xc0000005) Google Chrome, Chromium

chromeGoogle chrome’s “application failed to initialize properly (0xc0000005)error have some temporary fixes.Google chrome (chrome.exe) did not work for me initially, and I got the Google chrome error:

“The application failed to initialize properly (0xc0000005).Click on OK to terminate the application.”

I was disappointed and doing a search revealed that several people were reporting the same problem on various windows platforms including windows vista (SP1, ultimate), windows XP3 or windows XP2.So the error seem to have been triggered in different versions of windows vista and windows XP platforms and it is not specific to any one of them.Also, the bug was reportedly caused by “Symantec Endpoint Protection“, though in my case, I was not using any symantec product.

If you faced “The application failed to initialize properly (0xc0000005).Click on OK to terminate the application.” error with google chrome (chrome.exe) and you are using symantec, then you could try the following steps:

  • Back up the registry on an affected system
  • Open the registry on the Agent system by entering regedit from a run prompt
  • Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SysPlant
  • Open the Start DWORD
  • Change the value to 4 to disable the drivers
  • Reboot the system to commit the changes

The above registry solution to fix the Google chrome error was issued in symantec forums.Read it here.

The other easier solution is to run Google Chrome with --no-sandbox (with two dashes before “no”). To run it with the above option, edit the property of the shortcut you use to launch Google chrome and add the above option at the end of the “target” line (after the path to the chrome exe) i.e. Right click your shortcut to “Google Chrome” and click Properties. In the target text field, add a space then add --no-sandbox (with two dashes before “no”) right after the ending quotation mark. Run using this shortcut.However make sure that there is a space in between the ending quotation mark and the --no-sandbox option that you add.You could find a shortcut to google chrome on your desktop.Also note that you should use two dashes before “no”.See the pic. below.

google-chrome-0xc0000005
You are in effect loosing the sandbox effect of Google Chrome.

What is sandboxing in Google chrome?

Sandboxing is a special feature in Google chrome, to prevent malware from installing itself onto computer/PC.It also prevents what happens in one tab from affecting the other tabs i.e each tab runs as a seperate process and for each of these processes, all the rights have been stripped.

processes sandboxed in google chrome
Hence, each of these processes are isolated and the websites/web applications you run via these processes can compute but they cannot write files to your hard drive or read files from sensitive areas like your documents or desktop.

From the above, it is clear that sandboxing has lots of goodness and one would not like to loose this feature of google chrome. However note that sandboxing is only an additional security feature in google.

Update: If you are facing crashes with Google chrome, it might be due to winhttp.dll. Read here how to resolve Google chrome crashes due to winhttp.dll

Převzato z http://techblissonline.com/

1Zář/090

Centreon – Sessions Expiration Time

Centreon - monitoring system

Pokud máte problém s expirací session v Centreonu (Nagios), můžete je disablovat v

/etc/cron.d/php5
# Look for and purge old sessions every 30 minutes
#39,39 * * * * root [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -r -0 rm

nicméně doporučuji změnit pouze execution time v

/usr/lib/php5/maxlifetime

#!/bin/sh -e
max=28800

Myslím, že tohle se může hodit.

22Srp/092

Skype multi-chat – administrace a role

Potřebujete moderovat Váš skype multi-chat?

skypeJste-li  admin skype multi-chatu (obvykle pokud chat vytvoříte) lze použít různé příkazy pro správu  členů chatu, zabezpečit chat heslem, či provádět další administrativní úkoly.

Pro vypsání administrativních příkazů jednoduše v chat okně napište /help

Zde je seznam příkazů a jejich vysvětlení:

/add [Skype jméno] Přidá kontakt k chatu
/alertsoff Vypne zvyraznovani textu
/alertson [text] Zvýrazní daný text, pokaždé když bude napsán.
/call [Skype jméno] Spustí skype hovor
/clear Odstraní historii chatu - nelze vrátit zpět!
/clearpassword Odstraní heslo chatu
/find [text] Vyhledá požadovaný text
/get allowlist Vypíše seznam lidí s přístupem k chatu
/get banlist Vypíše seznam lidí v banlistu
/get creator Detail osoby, která je tvůrcem chatu
/get guidelines Vypíše pravidla chatu
/get options Vypíše aktivní možnosti chatu
/get password_hint Vypíše nápovědu pro heslo
/get role Vypíše vaši roli chatu
/goadmin Puts a Creator tag next to the chat creator's name.
/history Načte kompletní historii chatu do aktivího okna
/htmlhistory Otevře v novém okně prohlížeče historii chatu ve formátu HTML
/info Vypíše počet uživatelů v chatu a jejich maximální možný počet.
/kick [Skype Name] Vykopne člena chatu
/kickban [Skype Name] Vykopne člena chatu a zabrání znovu-přidání člena
/leave Opustit stávající chat– nedostupné, pokud jste tvůrce chatu
/me [text] Vypíše vaše jméno a text vedle něj.
/set allowlist [[+|-]mask] .. Nastaví povolené členy
/set banlist [[+|-]mask] .. Nastaví banlist
/set guidelines [text] Nastaví pravidla chatu
/set options [[+|-]flag] Nastaví možnosti chatu, více informací níže
/set password [text] Vytvoří heslo pro chat (akceptuje hesla bez mezer)
/set password_hint [text] Vytvoří nápovědu pro heslo.
/setpassword [password] [password hint] Vytvoří heslo chatu a nápovědu pro heslo
/setrole [Skype Name] MASTER | HELPER | USER | LISTENER Umožní přidat role k jednotlivým členům chatu. Role jsou popsány níže
/topic [text] Změní nadpis chatu.
/whois [Skype Name] Vypíše detaily uživatele včetně role

Text v hranatých závorkách [text] nahraďte za Vámi požadovaný text.

Příklad:

Název topicu změníme následovně:
/topic Meeting 23.8.2009

Role chatu závisí na tom, zda-li jste zakladatel chatu nebo zda-li vám nějaká role byla přidělena:

Creator Zakladatel chatu. V jednom chatu může být pouze jeden. Pouze Creator může členy povýšit do funkce Master
Master Také znám jako chat host. Master nemůže přidělova ostatním práva Master
Helper Helper není ovlivněn funkcí listener (viz. níže). Nemůže povyšovat/ponižovat ostatní členy chatu.
User Klasický člen chatu
Listener Uživatel může zprávy pouze číst, memůže zapisovat.
Applicant Žadatel čekající na schválení. Jakmile bude jednou umožněn vstup, nelze mu vrátit status žadatele.

Skype ke stažení pro Windows zde:

http://www.skype.com/intl/en/download/skype/windows/

Skype ke stažení pro Linux zde:

http://www.skype.com/intl/en/download/skype/linux/

Text převzat z: http://www.skype.com/go/help.chathelp a přeložen