Sunday, January 08, 2012

Add domain automatically to Default Identity in Horde when using standard passwd files

Masalah dalam Horde adalah apabila kita create user dalam LDAP akan mengalami masalah dimana User kena Set Default Identity terlebih dahulu.. tiada masalah sekiranya jika kita ada 15 orang users.. tetapi mempunyai klien seramai hampir 5,000 users.. ini akan mengakibat jiwa yang tertekan ..

maka bagaimana ingin membuat ia secara automatis .. supaya kita sebagai Pentadbir Sistem tidak tertekan selalu.

Tambah, 


/usr/share/horde/config/hooks.php

if (!function_exists('_prefs_hook_from_addr')) {
function _prefs_hook_from_addr($user = null)
{
if (is_null($user)) {
$user = Auth::getAuth();
}
if (!empty($user)) {
$user = Auth::getAuth();
$mail = "$user" . "@example.com";
return (empty($mail) ? '' : $mail);
}
return '';
}
}

Remark: "@example.com" gantikan dengan domain jabatan atau syarikat anda .. sebagai contoh domain kami adalah "selasih.net"



Langkah kedua,

Buka,

/usr/share/horde/config/prefs.php

Cari 

$_prefs['from_addr'] = array(
'value' => '',
'locked' => true,
'shared' => true,
'type' => 'text',
'desc' => _("Your From: address:")


Gantikan seperti dibawah,

$_prefs['from_addr'] = array(
'value' => '',
'locked' => true,
'hook' => true,
'shared' => true,
'type' => 'text',
'desc' => _("Your From: address:")
);



Dan "ta da" .. masalah selesai.

Sila hubungi Rizal di +60.12.390.1337 | [email protected] bagi mendapatkan sokongan teknikal kepada myWorkspace dan Horde IMP untuk jabatan anda.

9 comments:

oakleyses said...

oakley sunglasses, polo outlet, nike free, uggs outlet, longchamp outlet, christian louboutin shoes, oakley sunglasses, ray ban sunglasses, christian louboutin uk, burberry handbags, christian louboutin, michael kors outlet, jordan shoes, louis vuitton outlet, replica watches, longchamp outlet, christian louboutin outlet, michael kors outlet online, kate spade outlet, polo ralph lauren outlet online, nike outlet, louis vuitton outlet, uggs on sale, longchamp outlet, ray ban sunglasses, uggs outlet, prada outlet, oakley sunglasses wholesale, oakley sunglasses, burberry outlet, nike air max, nike air max, tory burch outlet, louis vuitton, gucci handbags, ugg boots, michael kors outlet, ray ban sunglasses, michael kors outlet online, louis vuitton, replica watches, chanel handbags, cheap oakley sunglasses, michael kors outlet online, louis vuitton outlet, ugg boots, prada handbags

oakleyses said...

mulberry uk, nike air max, nike air max uk, hollister uk, hogan outlet, abercrombie and fitch uk, nike air force, nike roshe run uk, true religion outlet, nike roshe, lululemon canada, nike blazer pas cher, true religion outlet, polo lacoste, ray ban uk, guess pas cher, michael kors outlet, michael kors, oakley pas cher, nike free uk, true religion jeans, replica handbags, kate spade, sac hermes, new balance, sac longchamp pas cher, longchamp pas cher, north face uk, north face, vans pas cher, true religion outlet, burberry pas cher, jordan pas cher, louboutin pas cher, hollister pas cher, polo ralph lauren, michael kors pas cher, timberland pas cher, nike air max uk, ray ban pas cher, sac vanessa bruno, nike tn, coach outlet store online, coach purses, converse pas cher, air max, coach outlet, nike free run, michael kors, ralph lauren uk

oakleyses said...

iphone 6 cases, instyler, babyliss, ghd hair, herve leger, lululemon, s6 case, iphone 6s cases, asics running shoes, soccer jerseys, nike huaraches, reebok outlet, wedding dresses, oakley, nike roshe run, north face outlet, hollister, nike air max, nfl jerseys, hermes belt, north face outlet, nike trainers uk, mont blanc pens, timberland boots, bottega veneta, mac cosmetics, iphone 5s cases, valentino shoes, jimmy choo outlet, ferragamo shoes, louboutin, abercrombie and fitch, ipad cases, chi flat iron, ralph lauren, p90x workout, longchamp uk, beats by dre, vans outlet, mcm handbags, giuseppe zanotti outlet, iphone 6 plus cases, iphone cases, baseball bats, hollister clothing, new balance shoes, soccer shoes, celine handbags, iphone 6s plus cases, insanity workout

oakleyses said...

karen millen uk, ugg,uggs,uggs canada, converse outlet, barbour, thomas sabo, montre pas cher, wedding dresses, louis vuitton, canada goose jackets, doudoune moncler, pandora charms, ugg uk, hollister, moncler uk, barbour uk, toms shoes, supra shoes, ugg,ugg australia,ugg italia, pandora jewelry, ugg, canada goose outlet, louis vuitton, louis vuitton, marc jacobs, replica watches, vans, canada goose, canada goose outlet, moncler, converse, moncler, juicy couture outlet, hollister, swarovski crystal, moncler outlet, coach outlet, pandora jewelry, doke gabbana, moncler, moncler outlet, canada goose uk, juicy couture outlet, canada goose, ray ban, canada goose outlet, links of london, louis vuitton, canada goose, lancel, pandora uk, louis vuitton, gucci

chenlina said...

chenlina20160129
tory burch handbags
coach factory outlet
tory burch sale
christian louboutin outlet
coach factory outlet
christian louboutin shoes
coach factory outlet
ralph lauren outlet
tiffany and co
oakley sunglasses
beats by dr dre
oakley outlet
louis vuitton handbags
canada goose outlet
cheap oakley sunglasses
louis vuitton outlet
oakley outlet
canada goose outlet
canada goose
pandora jewelry
air max 95
ugg sale
tods shoes
louis vuitton
lebron james shoes 13
cheap jerseys
replica watches
supra shoes
giuseppe zanotti
cheap nfl jerseys
coach outlet store online
adidas superstars
nike huarache
coach outlet store
michael kors outlet online
tod's shoes
ralph lauren polo shirts
swarovski outlet
ray ban sunglasses outlet
celine handbags
as

艾丰 said...

JAINBIN0326
nike huarache
pandora outlet
longchamp outlet online
celine outlet
cheap snapbacks
true religion jeans
michael kors outlet
swarovski outlet
louis vuitton handbags
tiffany jewellery
adidas wings shoes
louis vuitton handbags outlet
jordan shoes
michael kors outlet
thomas sabo outlet
nike air force 1
cheap nhl jerseys
mcm outlet
michael kors handbags
valentino outlet
cheap nike shoes
nfl jerseys wholesale
swarovski crystal
nike free 5
michael kors factory outlet
nike outlet store
michael kors outlet store
michael kors handbags
rolex watches
longchamp handbags
lacoste polo shirts
mbt shoes outlet
camisetas futbol baratas
louis vuitton bags cheap
lacoste shirts
new balance shoes
michael kors outlet online
ralph lauren shirts
michael kors outlet online
michael kors outlet

chenlina said...

chenlina20160607
celine handbags
coach factory outlet
ray ban sunglasses outlet
replica watches
coach factory outlet
giuseppe zanotti
coach outlet online
coach outlet
cheap jordan shoes
rolex watches
vans shoes
michael kors handbags
hollister clothing
michael kors handbags
ray ban sunglasses
louis vuitton outlet
jordan retro
kate spade
air max 90
toms outlet
louis vuitton handbags
replica watches
marc jacobs handbags
michael kors outlet
nike trainers uk
mont blanc fountain pens
coach outlet store online
fake watches
kate spade handbags
louis vuitton outlet
mont blanc
louis vuitton handbags
tod's shoes
ralph lauren outlet
michael kors handbags
celine outlet
tiffany outlet
coach outlet
kd 8 shoes
christian louboutin sale
as

Gege Dai said...

jianbin0702
montblanc pens
fitflops uk
toms outlet store
rolex watches
kate spade uk outlet
chaussure louboutin
coach outlet online
coach outlet
ghd uk
louis vuitton neverfull sale
tory burch outlet online
cartier uk
louis vuitton sunglasses
dior sunglasses
ray ban sunglasses sale
true religion outlet
fitflops clearance
cartier watches
adidas uk store
oakley sunglasses
cheap nba jerseys
nike store uk
soccer jerseys wholesale
true religion jeans outlet
tiffany outlet
nike air max 90
true religion outlet
longchamp pliage
adidas outlet store
michael kors outlet
rolex watches
ray-ban sunglasses
michael kors outlet
ray-ban sunglasses
coach outlet store
tory burch outlet

Gege Dai said...

jianbin0702
montblanc pens
fitflops uk
toms outlet store
rolex watches
kate spade uk outlet
chaussure louboutin
coach outlet online
coach outlet
ghd uk
louis vuitton neverfull sale
tory burch outlet online
cartier uk
louis vuitton sunglasses
dior sunglasses
ray ban sunglasses sale
true religion outlet
fitflops clearance
cartier watches
adidas uk store
oakley sunglasses
cheap nba jerseys
nike store uk
soccer jerseys wholesale
true religion jeans outlet
tiffany outlet
nike air max 90
true religion outlet
longchamp pliage
adidas outlet store
michael kors outlet
rolex watches
ray-ban sunglasses
michael kors outlet
ray-ban sunglasses
coach outlet store
tory burch outlet