Calendar
ArchivesTag Cloud#asterisk #asterisk #voip #voip ACLs Active Directory AD ADAM Amanda Asterisk asterisk Benchmark Blog branding call centre callrecording Catalyst Clustering DBIC DBIx-Class Digium Directory Services Disaster Recovery Dojo eDirectory Enterprise Backups Enterprise Directory Fedora Fedora Directory Server Fedora DS Flexitime freeswitch FreeSWITCH IAM Identity Management IDM IP Telephony Isode Jabber Jabber/XMPP JavaScript Kamailio ldap LDAP LDAP Replication LDAP Schema linux Linux M-Vault Microsoft Microsoft FUD MirrorMode MySQL NBD ofcom OID on-hold OpenDS OpenLDAP openldap OpenLDAP Newsletter OpenLDAP Quick Tips OpenSIPS opensips open source Open Source Oracle Oracle Internet Directory PABX Perl pikatechnologies pikawarp PostgreSQL Quad-Core RDBMS Red Hat Replication RT Samba Sendmail SIP sip Squid SSO Sun Sun Microsystems SunOne suretec Suretec suretec telecom surevoip SureVoIP Symas Symas OpenLDAP UC UM Unified Communications VoIP voip X.500 XMPP
|
Friday, December 12. 2008OpenLDAP Quick Tips: Interacting with LDAP from shell scripts by Vincent van GelderTrackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
Either `ldapsearch ... 1.1' or ask it to retrieve a shorter type. Cheers, Gavin. From the manpage: QUOTE: -A Retrieve attributes only (no values). This is useful when you just want to see if an attribute is present in an entry and are not interested in the specific values.
for dn in $(ldapsearch -ZZ -LLL -A -b 'ou=Users,ou=Intranet,o=Company,c=NL' -s one '(&(!(jpegPhoto=*))(objectClass=inetOrgPerson))' jpegPhoto \ | unldif | grep '^dn' ) do echo $dn echo "changetype: modify" echo "add: jpegPhoto" echo "jpegPhoto::$(openssl base64 -in $PHOTO | sed 's/^/ /')" echo done And how are you reading the feed/site? RSS Reader? The feeds are via feedburner, all other browsers we know can understand the escape codes: http://www.theukwebdesigncompany.com/articles/entity-escape-characters.php Thank you. |
QuicksearchCommentsMon, 10.12.2012 09:35
Wed, 21.03.2012 11:47
Wed, 21.03.2012 10:50
LinksCategories |
|||||||||||||||||||||||||||||||||||||||||||||||||