Quantcast
Channel: Authentication
Viewing all articles
Browse latest Browse all 8256

Re: LDAP/AD not working

$
0
0
by Tinoy John.  

Hi guys,

I have extracted values for my LDAP running ldp.exe from a windows system and it is given below,

 

ld = ldap_open("server1.com", 389);

Established connection to server1.

Retrieving base DSA information...

Result <0>: (null)

Matched DNs: 

Getting 1 entries:

>> Dn: 

1> currentTime: 3/22/2016 17:58:31 India Standard Time India Daylight Time; 

1> subschemaSubentry: CN=Aggregate,CN=Schema,CN=Configuration,DC=TINOY,DC=com; 

1> dsServiceName: CN=NTDS Settings,CN=TINOY-IND-SER,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=TINOY,DC=com; 

5> namingContexts: DC=TINOY,DC=com; CN=Configuration,DC=TINOY,DC=com; CN=Schema,CN=Configuration,DC=TINOY,DC=com; DC=DomainDnsZones,DC=TINOY,DC=com; DC=ForestDnsZones,DC=TINOY,DC=com; 

1> defaultNamingContext: DC=TINOY,DC=com; 

1> schemaNamingContext: CN=Schema,CN=Configuration,DC=TINOY,DC=com; 

1> configurationNamingContext: CN=Configuration,DC=TINOY,DC=com; 

1> rootDomainNamingContext: DC=TINOY,DC=com; 

37> supportedControl: xxxxxxxxxxxxxxx; 

2> supportedLDAPVersion: 3; 2; 

19> supportedLDAPPolicies: MaxPoolThreads; MaxPercentDirSyncRequests; MaxDatagramRecv; MaxReceiveBuffer; InitRecvTimeout; MaxConnections; MaxConnIdleTime; MaxPageSize; MaxBatchReturnMessages; MaxQueryDuration; MaxTempTableSize; MaxResultSetSize; MinResultSets; MaxResultSetsPerConn; MaxNotificationPerConn; MaxValRange; MaxValRangeTransitive; ThreadMemoryLimit; SystemMemoryLimitPercent; 

1> highestCommittedUSN: 16312799; 

4> supportedSASLMechanisms: GSSAPI; GSS-SPNEGO; EXTERNAL; DIGEST-MD5; 

1> dnsHostName: server1; 

1> ldapServiceName: TINOY.com:TINOY-IND-SER$@TINOY.COM; 

1> serverName: CN=TINOY-IND-SER,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=TINOY,DC=com; 

6> supportedCapabilities: xxxxxxxx;

1> isSynchronized: TRUE; 

1> isGlobalCatalogReady: TRUE; 

1> domainFunctionality: 3; 

1> forestFunctionality: 3; 

1> domainControllerFunctionality: 6; 

-----------

res = ldap_simple_bind_s(ld, 'Tinoy@TINOY.com', <unavailable>); // v.3

Authenticated as dn:'Tinoy@TINOY.com'.


Viewing all articles
Browse latest Browse all 8256

Trending Articles