PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WEBDEV 2024
→
API/LDAP connection blind
API/LDAP connection blind
Started by JS, Feb., 23 2005 3:35 PM - No answer
Connect yourself…
JS
#1
Posted on February, 23 2005 - 3:35 PM
Qu'es ce qui ne va pas dans ma connection anonyme??
hinstx est un entier
hinstx = ChargeDLL("wldap32.dll")
SI (hinstx=0) ALORS
Erreur("Erreur lors du chargement de wldap32.dll")
FinProgramme
FIN
retour1 est un entier
port est un entier = 389
serveur_LDAP est un entier
llp_idx est une chaîne = Null
serveur_LDAP="192.168.100.1"
llp_idx = API("WLDAP32","ldap_init",&serveur_LDAP,&port)
var_log est une chaîne ASCIIZ sur 20 = ""
var_pwd est une chaîne ASCIIZ sur 20 = ""
retour1 = API("WLDAP32","ldap_simple_bind_s",&llp_idx,Null,Null)
SI (retour1=0) ALORS
Info("c bon ca!!!")
SINON
Info("looser")
FIN
AppelDLL32("WLDAP32","ldap_unbind_s",llp_idx)
DéchargeDLL(hinstx)
En tout cas impossible de me connecter si qqn à de l'expérience sur le sujet
Report
0
0
→ Go back to WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
WEBDEV (earlier versions)
WINDEV Mobile (earlier versions)
Reports & Queries
Off-topic
Tools
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text