[Toolserver-l] Set your default license

Simon Walker stwalkerster.ml at googlemail.com
Mon May 24 15:27:08 UTC 2010


Mike.lifeguard:
> How would someone check the default license a user set if they needed to?

River Tarnell:
> willow% ldapsearch -h ldap -b ou=people,o=unix,o=toolserver '(uid=rriver)'
tsDefaultLicense
> version: 1
> dn: uid=rriver,ou=People,o=unix,o=toolserver
> tsDefaultLicense: zlib

Could this be made into a command to make it easier, such as the following:

#!/bin/bash
echo `ldapsearch -h ldap -b ou=people,o=unix,o=toolserver '(uid=$1)'
tsDefaultLicense` | grep tsDefaultLicense

Just a thought

stwalkerster




More information about the Toolserver-l mailing list