Calendar
Tag CloudACLs Active Directory AD ADAM Amanda asterisk Asterisk Benchmark Blog 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 Gnome IAM Identity Management IDM IP Telephony Isode Jabber Jabber/XMPP JavaScript LDAP ldap LDAP Replication LDAP Schema Linux linux M-Vault 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 telecom surevoip Symas Symas OpenLDAP Ubuntu UC UM Unified Communications VoIP voip X.500 XMPP yubico 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 Dedicated OpenLDAP GUI? Fri, 25.09.2009 09:07 about Dedicated OpenLDAP GUI? Thu, 24.09.2009 21:53 about OpenLDAP Weekly News Issue 5 Thu, 07.05.2009 10:46 LinksCategories |
||||||||||||||||||||||||||||||||||||||||||