- fixed the %U macro so that the old (and documented) semantics work
authorAndrew Tridgell <tridge@samba.org>
Fri, 25 Aug 2000 03:58:02 +0000 (03:58 +0000)
committerAndrew Tridgell <tridge@samba.org>
Fri, 25 Aug 2000 03:58:02 +0000 (03:58 +0000)
commit2520a0eff9c5decbec79aababe9910db3535890a
tree7b1772018d773d1da94b7769184c18638e090419
parent156e17dea48962bca98a3f7d1e876eb6047ebc8a
- fixed the %U macro so that the old (and documented) semantics work
again. This got broken with one of the substitute.c updates a couple
of months ago.

- also fixed %u to return the username from the current_user structure
  when called via a method that does not have direct access to the
  username. I cache the uidtoname() result to prevent thrashing nss.
source/lib/substitute.c