logon path and %u

Gerald (Jerry) Carter jerry at samba.org
Wed Nov 19 13:53:40 GMT 2003


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

Raphael Berghmans wrote:
| Hi,
|
| Yesterday I've configured a profile share and setup the "logon path"
| like this : \\%M\profiles\%u
|
| But when the user profile directory is not correctly created, indeed the
| directory created is "%u" and not the value of "%u". When I replace %u
| by %U, It's working.
|
| Why ?

because we avoid getpwnam calls in the net_samlogon()
call so all we have is the string of the username and
not the uid which is needed for thr %u.




- --
cheers, jerry
- ----------------------------------------------------------------------
Hewlett-Packard            ------------------------- http://www.hp.com
SAMBA Team                 ---------------------- http://www.samba.org
GnuPG Key                  ---- http://www.plainjoe.org/gpg_public.asc
"If we're adding to the noise, turn off this song" --Switchfoot (2003)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/u3XjIR7qMdg1EfYRAgqPAKDBThtYNAsRTI6Ig/NK+kbHG0clWgCgoWOb
f6LXpalDIIYPTZXG82egyA8=
=TR9o
-----END PGP SIGNATURE-----




More information about the samba-technical mailing list