-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Mike.lifeguard:
> How would someone check the default license a user set if they needed to?
The following one-liner might also be interesting:
ldapsearch -h ldap -b o=unix,o=toolserver \
'(&(objectclass=posixAccount)(tsDefaultLicense=*))' tsDefaultLicense \
| sed -n '/^dn:/ {
N;
s/^dn: uid=\([^,]*\).*tsDefaultLicense: \(.*\)/\1:\2/;
p;
}' | nawk -F: '{ printf("%-16s %s\n", $1, $2); }'
- river.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (HP-UX)
iEYEARECAAYFAkv6uZQACgkQIXd7fCuc5vLLlQCgraGtTGyusBsC7ExoPSa351SM
oHgAmQEGCDfHKjPi9yqe9nkADqu4hqjw
=TCZM
-----END PGP SIGNATURE-----
_______________________________________________
Toolserver-l mailing list ([email protected])
https://lists.wikimedia.org/mailman/listinfo/toolserver-l
Posting guidelines for this list:
https://wiki.toolserver.org/view/Mailing_list_etiquette