On Jun 14, 2007, at 11:11 AM, Bob Doolittle wrote:

You could just parse the output of "ls -l SYMLINK",
which is a cheap operation (much cheaper than an LDAP
lookup).

yep. As someone else pointed out, /bin/pwd (instead of the builtin pwd) also works.

While working my way through this, I started playing with the LDAP interface to the sun ray data store and got the information this way:

Now *that's* really digging into private interfaces that
are subject to change, and work only under certain
circumstances.

May be, but as you've already pointed out every solution offered so far could be broken by a future release, and the ldapsearch is an order of magnitude faster than utdesktop -L -c (assuming I need the srds location information, which is looking more and more like a bad idea).

I presume in your case you are using registered desktops,
and logging in without smartcards?

Yes, for the most part.  A handful of users do have smart cards.

This wouldn't work if you were using smartcards.

We use very few smart cards; they don't work out too well in our environment, except for limited deployment (a few instructors and myself).

And, if you didn't register
smartcards, it would be trivial because $SUN_SUNRAY_TOKEN
would just be pseudo.00144f85ec2d in this first example.

There's a thought. I'm configured for self-registration just to keep track of who's who and who's where, but if I'm basically going to have to map everything back to a MAC address anyway, I may as well turn it off.

-Jason
----------------------------------------
Jason Winningham
Computer Systems Engineer
College of Engineering
The University of Alabama in Huntsville
http://support.eng.uah.edu/    http://www.eng.uah.edu/~jdw


_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to