Hi people,
I have actually this:
[root@DS-01] />> ldapsearch -p 38900 -b
"cn=33607783128,ou=subscribers,o=company" '(objectclass=*)'
cn=33607783128,ou=subscribers,o=company
spufi=0003ba177aec106733667524633607783128
barredforselfadmin=false
mobile=33607783128
prepaidaccountroute=any
sn=33607783128
allowmt=true
searchon=mms33607783128
searchon=mars33607783128
allowmo=true
currencypref=Euro
objectclass=top
objectclass=person
objectclass=organizationalPerson
objectclass=inetOrgPerson
objectclass=subpreferences
objectclass=searchable
uid=33607783128
cn=33607783128
community=DEFAULT
languagepref=fr
terminalmodel=SonyEricssonT68/R201A
ou=WL33607783128,cn=33607783128,ou=subscribers,o=company
ou=WL33607783128
objectclass=top
objectclass=organizationalUnit
ou=DL33607783128,cn=33607783128,ou=subscribers,o=company
ou=DL33607783128
objectclass=top
objectclass=organizationalUnit
cn=mms33607783128,cn=33607783128,ou=subscribers,o=company
origaddrsubst=false
origaddrhide=true
fwdtoemail_nonconv=false
fwdtoemail_media=false
fwdtoemail_roam=false
fwdtoemail_offnocov=false
fwdtoemail_exp=false
rjct_maxsize=false
rjctallanon=false
rjct_blklst=false
rjct_nonconv=false
stripmsg_nonconv=true
fwdtoemail_maxsize=false
fwdtoemail_timerng=false
rjct_timerng=false
noreadreply=false
fwdtoemail_blklst=false
rjctnot_whtlst=false
rjct_media=false
rjct_msgclass=false
mmssvcname=PremiumDEFAULTsvc
fwdalltoemail=false
svcenabled=true
cpyingemail=CpyingEmail@subTemplate1.com
objectclass=top
objectclass=mmspreferences
objectclass=searchable
cpyalltoemail=false
marketplan=any
cn=mms33607783128
fwdalltomsisdn=false
promotionplan=any
deliverymethod=MMS
alternatemsisdn=0000
fwdingemail=FwdingEmail@subTemplate1.com
discountplan=any
lawfulintercept=48
cpyalltomsisdn=false
cpymotoemail=false
ratevitals=any
searchon=mms33607783128
ou=BL33607783128,cn=33607783128,ou=subscribers,o=company
ou=BL33607783128
objectclass=top
objectclass=organizationalUnit
I want to search all the cn=33607783128,ou=subscribers,o=company that
have the allowmo=true. How can I do this?
I tryied:
ldapsearch -p 38900 -b "cn=33607783128,ou=subscribers,o=company"
'&((objectclass=person)(allowmt=true))'
Person is to filter out the information about the allowmt so it
doesn't appear the rest of branches, but then?
BR,
Joaquuin