FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour active directory question
Posts: 566
Joined: Thu Aug 30, 2007 03:40 PM
active directory question
Posted: Sun Jul 06, 2014 12:13 AM

active directory question: I searched the Forum but not found, have any way of knowing if I am running my system connected to an AD workstation, and if positive, get the group, user, user connection time, email, and outher informations from AD?

thanks

Posts: 1283
Joined: Fri Feb 10, 2006 02:34 PM
Re: active directory question
Posted: Sun Jul 06, 2014 10:56 AM
Salutacions, saludos, regards

"...programar es fácil, hacer programas es difícil..."

UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
HIX -> https://github.com/carles9000/hix
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: active directory question
Posted: Mon Jul 07, 2014 01:02 PM
Carles, please:

Code (fw): Select all Collapse
Application
===========
   Path and name: C:\FWH1306\samples\LOGINFW.exe (32 bits)
   Size: 2,416,128 bytes
   Compiler version: xHarbour 1.2.3 Intl. (SimpLex) (Build 20130422)
   FiveWin  Version: FWHX 13.05
   Windows version: 6.1, Build 7601 Service Pack 1

   Time from start: 0 hours 1 mins 1 secs 
   Error occurred at: 07/07/14, 09:59:59
   Error description: Error BASE/1004  Class: 'NIL' has no exported method: FIELDS
   Args:
     [   1] = U   

Stack Calls
===========
   Called from:  => FIELDS( 0 )
   Called from: LOGINFW.prg => LOADDATA( 266 )
   Called from: LOGINFW.prg => SELECTUSERS( 106 )
   Called from: LOGINFW.prg => (b)MAIN( 21 )
   Called from: .\source\function\MSGRUN.PRG => (b)MSGRUN( 36 )
   Called from: .\source\classes\DIALOG.PRG => (b)TDIALOG:TDIALOG( 88 )
   Called from:  => TDIALOG:DISPLAY( 0 )
   Called from: .\source\classes\DIALOG.PRG => TDIALOG:HANDLEEVENT( 879 )
   Called from:  => DIALOGBOXINDIRECT( 0 )
   Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE( 274 )
   Called from: .\source\function\MSGRUN.PRG => MSGRUN( 42 )
   Called from: LOGINFW.prg => MAIN( 21 )


Regards
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 1283
Joined: Fri Feb 10, 2006 02:34 PM
Re: active directory question
Posted: Tue Jul 08, 2014 05:59 AM

Hi,

Probably because you haven't created the correct access. Try to put in the line 100 (just after oRs: Execute ()) the standard function xBrowse( o ). If you don't see anything, is there are any errors on your connection via ADO. I guess you've changed the domain name for yours ( look at begining MI_DOMINIO statement)

Salutacions, saludos, regards

"...programar es fácil, hacer programas es difícil..."

UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
HIX -> https://github.com/carles9000/hix

Continue the discussion