[Samba] couldn't find service %u on 3.0.14a

Gerald (Jerry) Carter jerry at samba.org
Mon Aug 22 21:45:50 GMT 2005


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

Bill Witts wrote:

| Anyway, I found a workaround. My Unix usernames are the
| same as my NT  usernames. So I just changed %u to %U to
| see what happened, and the problem has gone away.
|
| I would guess that this'll give some big hints to anyone
| who is checking through the code!

This is actually how it is supposed to work.  The %u
requires an active connection to a share, but the domain
logon happens outside any any given share.  So the %u is
not expanded when sent back the client in the NET_USER_INFO_3
structure (part of thje samlogon reply).






cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDCkeNIR7qMdg1EfYRAigxAKDBFOm3QvfR16KOVBeeyDrCnMwBZwCfXyH8
o2fLJY+5o4Ech7ZdnUM5TLE=
=IBo3
-----END PGP SIGNATURE-----


More information about the samba mailing list