[Samba] difference between %u and %U

Gerald (Jerry) Carter jerry at samba.org
Fri Feb 9 22:00:44 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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 is based on the uid of the connected userand
is only available with the context of a share
connection.  That's a little over simplified explanation
but a good rule of thumb.


cheers, jerry
=====================================================================
Samba                                    ------- http://www.samba.org
Centeris                         -----------  http://www.centeris.com
"What man is a man who does not make the world better?"      --Balian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFzO8MIR7qMdg1EfYRArppAKDl3+1gd/sBNj2Gqpp/J76emGTv3QCg5kkF
Ob30Bx8eK7o9ZeCNak62N1Q=
=THHh
-----END PGP SIGNATURE-----


More information about the samba mailing list