Calendar
ArchivesTag Cloud#asterisk #asterisk #voip #voip aastra ACLs Active Directory AD ADAM Amanda asterisk Asterisk Benchmark Blog call centre Catalyst Clustering DBIC DBIx-Class debian Digium Directory Services Disaster Recovery Dojo eDirectory Encrypted Backups Enterprise Backups Enterprise Directory Fedora Fedora Directory Server Fedora DS Flexitime Flexi Time FreeSWITCH Gnome IAM Identity Management IDM IP Telephony Isode Jabber Jabber/XMPP JavaScript ldap LDAP LDAP Replication LDAP Schema Linux linux Microsoft Microsoft FUD MirrorMode MySQL NBD OID on-hold OpenDS openldap OpenLDAP OpenLDAP Newsletter OpenLDAP Quick Tips OpenSIPS open source Open Source Oracle Oracle Internet Directory PABX Perl pikatechnologies pikawarp PostgreSQL Quad-Core RDBMS Red Hat Replication Request Tracker RT Samba Sendmail SIP sip Squid SSO Sun Sun Microsystems SunOne suretec Suretec suretec telecom surevoip Symas Symas OpenLDAP Ubuntu UC UM Unified Communications VoIP voip X.500 XMPP yubikey
|
OpenLDAP Quick Tips: Interacting with LDAP from shell scripts by Vincent van GelderFriday, December 12. 2008Trackbacks
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. |
QuicksearchComments about OpenLDAP Quick Tips: Creating encrypted passwords Tue, 29.06.2010 11:59 about OpenLDAP Quick Tips: Creating encrypted passwords Fri, 16.04.2010 10:38 about OpenLDAP Quick Tips: Creating encrypted passwords Fri, 16.04.2010 10:26 LinksCategories |
|||||||||||||||||||||||||||||||||||||||||||||||||