Re: NT format windows domain to UPN conversion

From: Alun Jones [MS MVP] (alun_at_texis.com)
Date: 09/16/03


Date: Tue, 16 Sep 2003 18:20:04 GMT


In article <458f5504.0309160907.5b0fa8d5@posting.google.com>,
pyang@rsasecurity.com (paul yang) wrote:
>Actually, that is the confusion I have. Some windows API calls, for
>example: LsaLogonUser requires the format of username in UPN. I am not
>sure if I can pass the NT format name to it. I would rather stick with
>the spec of API to avoid unnecessary confusion. That is why I look for
>a way to conver NT format username to UPN.

I can't find the term "UPN", or even an "@" sign in the documentation of
LsaLogonUser. Granted, I've never actually called LsaLogonUser, so I may be
missing something. Note, for instance that LookupAccountName relies on
non-UPN format names. Maybe it's a bit like the old days of long file
names, where there were two names for the same file, but no good way of
getting from one to the other.

Alun.
~~~~

[Please don't email posters, if a Usenet response is appropriate.]

-- 
Texas Imperial Software   | Find us at http://www.wftpd.com or email
1602 Harvest Moon Place   | alun@texis.com.
Cedar Park TX 78613-1419  | WFTPD, WFTPD Pro are Windows FTP servers.
Fax/Voice +1(512)258-9858 | Try our NEW client software, WFTPD Explorer.


Relevant Pages

  • Re: NT format windows domain to UPN conversion
    ... LsaLogonUser requires the format of username in UPN. ... >>Does anyone know if there is a windows api that converts window NT ...
    (microsoft.public.platformsdk.security)
  • Re: NT format windows domain to UPN conversion
    ... LsaLogonUser can be called with either form. ... LsaLogonUser requires the format of username in UPN. ... > Cedar Park TX 78613-1419 | WFTPD, WFTPD Pro are Windows FTP servers. ...
    (microsoft.public.platformsdk.security)
  • Re: Help with comparing date stamp in PHP to date AND time stamp coming from MYSQL db!!!!!!
    ... the time limitation to pull the username out of the DB. ... date formats and how to compare them for my little script. ... So when the user logs in again, ... So I can't change the date format ...
    (comp.lang.php)
  • Re: Why am I always prompted for name/pwd when accessing domain re
    ... The first is the Netbios name and the second is the DNS format. ... I used the dotted form for the domain name because that is standard practice. ... You should use a dotted format for the DNS name of your domain (like domainname.com or domainname.local. ... computer option you enter your local username /password and do a local ...
    (microsoft.public.windows.server.networking)
  • Re: OWA 2003 bad login
    ... Have you tried logging in using the username in the format of ... format unless you have set it up to not require it. ... > I can logon to the remote workplace but when I try to ... > logged on to Outlook Web Access. ...
    (microsoft.public.exchange.admin)

Quantcast