#!/bin/sh # Origin (possibly): http://www.whitemiceconsulting.com/node/101 & http://www.whitemiceconsulting.com/system/files?file=LDAP102.pdf # TODO: # * Handle non-ASCII input # + ASCIIfy known limited fields (dn, gecos,...) # + Unicode-wrap the rest: Double first colon, and base64-encode rest of line. getent passwd | awk -f userimport.awk