[Samba] difference between %u and %U

Rashid N. Achilov achilov-rn at askd.ru
Mon Feb 12 07:05:08 GMT 2007


On Saturday 10 February 2007 03:05, James A. Dinkel wrote:
> What is the difference between %u and %U?  The documentation says they
> both return the value of the connected username, but will they return
> different values?

%u contains username AFTER users.map processing
%U contains username BEFORE users.map processing

so, when you have entry:
root = Administrator (this is usual entry), path = /dirs/%u will explain 
as /dirs/Administrator, and path /dirs/%U - as /dirs/root
-- 
   With Best Regards.
   Rashid N. Achilov (RNA1-RIPE), Web: http://www.askd.ru/~shelton
   OOO "ACK" telecommunications administrator, e-mail: achilov-rn [at] askd.ru
   PGP: 83 CD E2 A7 37 4A D5 81 D6 D6 52 BF C9 2F 85 AF 97 BE CB 0A


More information about the samba mailing list