I've attached what LDAP gave me for a test user's attributes on a test
script I was playing with the other day for your reference.  The list
will likely block it, but it should reach you directly.

-----Original Message-----
From: Steven Manross [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, October 02, 2002 1:37 PM
To: 'Norris, Joseph'; Perl Win32 Users (E-mail)
Subject: RE: Active directory madness - where is the phone number and
the emai l

It's not available using the WinNT provider..  The WinNT provider just
has
attributes that were commonly available via Lan Manager (and some more,
but
not telephone or e-mail).

You must use the LDAP Provider..  And for that you must know the exact
location of the user or use ADODB to find the actual path of the user
you
want to look at.

Ex. 


<zhnap>
.
.
.

USNIntersite:
aCSPolicyName:
accountExpires: Win32::OLE=HASH(0x1a2aff8)
accountNameHistory:
adminCount:
adminDescription:
adminDisplayName:
allowedAttributes:
allowedAttributesEffective:
allowedChildClasses:
allowedChildClassesEffective:
altSecurityIdentities:
assistant:
badPasswordTime: Win32::OLE=HASH(0x1a2b334)
badPwdCount: 0
bridgeheadServerListBL:
c: CA
canonicalName:
cn: First M. Last
co: CANADA
codePage: 0
comment:
company: Corporate Company
controlAccessRights:
countryCode: 124
createTimeStamp:
dBCSPwd:
dSASignature:
dSCorePropagationData:
defaultClassStore:
department: Large Department
description: Description Field
desktopProfile:
destinationIndicator:
directReports:
displayName: First M. Last
displayNamePrintable:
distinguishedName: CN=First M. Last,CN=Users,DC=GOULDAD,DC=com
division:
dynamicLDAPServer:
employeeID:
extensionName:
fRSMemberReferenceBL:
fSMORoleOwner:
facsimileTelephoneNumber: 111-1111
flags:
fromEntry:
frsComputerReferenceBL:
garbageCollPeriod:
generationQualifier:
givenName: First
groupMembershipSAM:
groupPriority:
groupsToIgnore:
homeDirectory:
homeDrive:
homePhone: 306-773-9009
homePostalAddress:
info:
initials: M
instanceType: 4
internationalISDNNumber:
ipPhone: 1.2.3.4
isCriticalSystemObject:
isDeleted:
isPrivilegeHolder:
l: Swift Current
lastKnownParent:
lastLogoff: Win32::OLE=HASH(0x1a28050)
lastLogon: Win32::OLE=HASH(0x1a2b2ec)
legacyExchangeDN:
lmPwdHistory:
localeID:
lockoutTime:
logonCount: 0
logonHours:
logonWorkstation:
mS-DS-ConsistencyChildCount:
mS-DS-ConsistencyGuid:
mS-DS-CreatorSID:
mSMQDigests:
mSMQDigestsMig:
mSMQSignCertificates:
mSMQSignCertificatesMig:
mail: [EMAIL PROTECTED]
managedObjects:
manager:
masteredBy:
maxStorage:
memberOf:
mhsORAddress:
middleName:
mobile: 316-650-5081
modifyTimeStamp:
msNPAllowDialin:
msNPCallingStationID:
msNPSavedCallingStationID:
msRADIUSCallbackNumber:
msRADIUSFramedIPAddress:
msRADIUSFramedRoute:
msRADIUSServiceType:
msRASSavedCallbackNumber:
msRASSavedFramedIPAddress:
msRASSavedFramedRoute:
nTSecurityDescriptor: Win32::OLE=HASH(0x1a28200)
name: CN=First M. Last
netbootSCPBL:
networkAddress:
nonSecurityMemberBL:
ntPwdHistory:
o:
objectCategory: CN=Person,CN=Schema,CN=Configuration,DC=GOULDAD,DC=com
objectClass: ARRAY(0x1a2823c)
objectGUID: ¬¿e+-ï?F+-L½¦íü+
objectSid: ??     ?§   ¦FS?B¦tR°ƒ¦t,?
objectVersion:
operatorCount:
otherFacsimileTelephoneNumber:
otherHomePhone:
otherIpPhone:
otherLoginWorkstations:
otherMailbox:
otherMobile:
otherPager:
otherTelephone:
otherWellKnownObjects:
ou:
pager: 913-927-3057
partialAttributeDeletionList:
partialAttributeSet:
personalTitle:
physicalDeliveryOfficeName: Office Field
possibleInferiors:
postOfficeBox: 1991
postalAddress:
postalCode: S9H 4M7
preferredDeliveryMethod:
preferredOU:
primaryGroupID: 513
primaryInternationalISDNNumber:
primaryTelexNumber:
profilePath:
proxiedObjectName:
proxyAddresses:
pwdLastSet: Win32::OLE=HASH(0x1a283d4)
queryPolicyBL:
registeredAddress:
replPropertyMetaData:
replUpToDateVector:
repsFrom:
repsTo:
revision:
rid:
sAMAccountName: fmlast
sAMAccountType: 805306368
sDRightsEffective:
sIDHistory:
scriptPath:
securityIdentifier:
seeAlso:
serverReferenceBL:
servicePrincipalName:
showInAddressBook:
showInAdvancedViewOnly:
siteObjectBL:
sn: Last
st: Saskatchewan
street:
streetAddress: 123 Address Street
subRefs:
subSchemaSubEntry:
supplementalCredentials:
systemFlags:
telephoneNumber: 913-999-9999
teletexTerminalIdentifier:
telexNumber:
terminalServer:
textEncodedORAddress:
thumbnailLogo:
thumbnailPhoto:
title: Big Organization
tokenGroups:
tokenGroupsGlobalAndUniversal:
tokenGroupsNoGCAcceptable:
uSNChanged: Win32::OLE=HASH(0x1a27ebc)
uSNCreated: Win32::OLE=HASH(0x1a27ce8)
uSNDSALastObjRemoved:
uSNLastObjRem:
uSNSource:
unicodePwd:
url:
userAccountControl: 512
userCert:
userCertificate:
userParameters:
userPassword:
userPrincipalName: [EMAIL PROTECTED]
userSMIMECertificate:
userSharedFolder:
userSharedFolderOther:
userWorkstations:
wWWHomePage: Web Page Field
wbemPath:
wellKnownObjects:
whenChanged: Win32::OLE::Variant=SCALAR(0x1a26804)
whenCreated: Win32::OLE::Variant=SCALAR(0x1a26810)
x121Address:

Reply via email to