1 2 3 4

ADSI query problem with VBS

2378 byte By JRosensteel at 2007-12-5 22:13:01
I am an intern at a major corporation and one of the assignments one of my co-workers decided to direct my way was to make pre-existing VBScript return the neccesary values from an ADSI query.I am not very familiar with ADSI or LDAP so bear with me if I dont make any sense, and I will try to clarify...

Single Sign On

1616 byte By Lueni at 2007-12-4 23:57:02
I'm researching for a SingleSignOn solution for a 3 tier application.In the moment the user has to log in many times:1) MS Windows log on on the domain (Active directory)2) Novell 3) Our ApplicationThe Windows log on is required. Novell is not my problem how to configure it to reuse the Windows...

Internet Information Services

301 byte By Kethees S at 2007-12-4 10:39:21
Hi, I have installed the IIS on my machine and was working fine. but for few days it is not working ..... I couldn't even see my default website default FTP site Default SMTP Virtual server would you please help me Anahtan...

MailEnable contact with Japanese characters fails with 8000500d

856 byte By bravishanker at 2007-12-3 19:25:50
All,The below is a script for mail enabling a contact. It fails with error code 8000500d. Observere that it has Japanese charactersstrOU = "OU=FSP,DC=RAVIDOM80"strContactCN = "CN=ЎкюǼ"strEmailAddr = "Agramzow@AcmeConsulting.com"strDisplayName = "sderytry"Set objOU = GetObject(...

Active Desktop help needed

139 byte By Alexey B at 2007-12-1 0:34:56
I want to have a picture on my desktop that would execute an application with a command line parameter. How can I do that?<br/>Thanks.

Data typing clashes with ADSI

725 byte By Bob Hollister at 2007-11-29 14:56:27
I've created several new Attributes and aggregated them under a new Auxiliary class. This Auxiliary class has been associated with the Win2K User class. When I manually create a new user, the new Attributes in the Auxiliary class show up as expected and I can enter values. The problem comes wh...

DFS

126 byte By ihbond at 2007-11-27 0:19:23
How can I resolve the actual server pathname from a DFS alias, using a script on a client machine?<br/>ian.bond@pss.boeing.com

Accessing Data server version from code using API

670 byte By K_S at 2007-11-25 11:56:03
Hi,We are upgrading our code for use from Sun One DS 5.2 to 6.2. As the APIs have changed for the 2 versions, i have to find out Sun One's data server version to decide which function call to use. That is, if DS version is 5.2 use the old function else use the new function call.So i wanted to k...

Accessing Account Expiration Date using c++

212 byte By champishere at 2007-11-25 10:24:51
Hi,<br/>Can any one help me with c++ code, how to access specific property of user account in active directory, say Account Expiration date.<br/>I have to use ADSI to achieve this.<br/>Thanks in advance

Need a script to monitor servers disk free space remotely

806 byte By Vishal Saini at 2007-11-25 8:46:11
Hello I need a script or utility (free) to monitor the disk space into my network. Can you please provide me a script which can fulfill my requirements: I want to run this script remotely from one server to monitor the disk space on all other servers into the network. I'll put this into Schedul...

What are the alternatives for Active Directory ?

211 byte By Krishnaa at 2007-11-25 8:15:28
Hello Guys,<br/>I am looking for options for Active Directory, I know Novel eDirectory and Open LDAP server (I have not found installer of open LDAP server though), do you know any other directory service ?

MFC GetBitmap Problem

995 byte By drikgrit at 2007-11-25 8:14:34
I opened a Single Document with VC++ 5 and Windows XP.The compiler gave no errors.The image loads, but I get an assertion when I get to the line bmp.GetBitmap(&bi);The assertion mentions afxwin1.inl, Line 413.What have I forgotten?// CMyAppView message handlersvoid CMyAppView::OnDip08H() { // TO...

getting user from specific domain

256 byte By linal at 2007-11-25 7:54:31
hi<br/>how can i get specific user information (display name etc.) according to user name and domain?<br/>i don't know if the domain contain com or extension, so i can't use it. <br/>I have only the domain name. For example DomainA\UserNameA

Cant seem to change displayName via LDAP

1012 byte By rtanner at 2007-11-25 7:50:08
I am trying to keep ActiveDirectory people info in sync with our corporate database and so I am using the LDAP interface to ActiveDirectory. When I try to change the displayName attribute I get no error back from ActiveDirectory to indicate a problem, but the displayName doesn't change (I can...

Active Directory queries on all subdomains under root?

1297 byte By huckfinn at 2007-11-25 7:36:30
Hi all,I am using C# 2.0.Here is my active directory setup:MAIN_DIRECTORY (root)\ SUBDOMAIN1 -> [user1, user2]\ SUBDOMAIN2 -> [user3, user4]From a machine in the SUBDOMAIN1, I want to query user information from all subdomains under the root.I am using the following code: DirectoryEntry oDirE...

Accessing users ldap details without authetincating

286 byte By ritao at 2007-11-25 7:20:24
Hi,<br/>I'm new to asp.net and would like to know if there is a way of extracting a user's details(ie. name, phone, email) given their user id without having to authenticate. All the examples I've seen so far require authentication first.<br/>TIA<br/>ritao

LDAP and AD Schema extension.

300 byte By Krishnaa at 2007-11-25 7:10:38
Is it possible to extend AD schema (i.e. adding new attribute to "user" class) using LDAP APIs ?? I know people mostly use ADSI for that but what about other directories ? <br/>MSDN docs on LDAP API's do not talk about schema extension, is adding new attribute same as adding new entries ??...

Account Lockout Policies

346 byte By s_o_s at 2007-11-25 6:58:05
I'm using windows server 2003 in Managing Group PolicyI faced problem when I enter Account Lockout duration less thanreset Account Lockout counter after ..the question: why Account Lockout durationmust more thanreset Account Lockout counter after ? many Thanks....

Differences between WSS and MOSS ?

205 byte By JACKWEBS at 2007-11-25 5:39:06
What are the main differences between WSS 3.0 and MOSS 2007 ?<br/>I realise that WSS 3.0 is free but there must be strong reasons why a company would pay for MOSS 2007 over the WSS version?<br/>Thanks

Problem with xcopy

214 byte By tsaju at 2007-11-25 4:15:26
I have a problem with xcopy, when I try to copy a folder it copies the contents of the folder to the destination. The attribute I use is /S. <br/>Is there any way to copy the root folder with the xcopy command

Need to retieve UPN (User Principal Name)

331 byte By ucky23 at 2007-11-25 3:50:14
Hello,I need to retieve UPN (User Principal Name) for a user under Active Directory.I want to use ADSI and C++ to get that.Can anyone help me with thisI am new to ADSI.I tried for some sample app but no successI know you can query the attribute for a user but how?thanks in advance...

Block Internet

856 byte By Sabin_33 at 2007-11-25 2:45:27
I'm relitively new to Windows 2000 and Domain management.I've already crashed our server once: (Luckily I wasn't hired only becuase of my Network Administration skills)I want to make an account not be able to get on to the internet.I already have blocked access to Internet Explorer (t...

ldap search

150 byte By mayag at 2007-11-25 2:20:54
Hi all,<br/>how can I get users from Ldap with attribute isDeleted==FALSE using Ldap API C function ldap_search ?<br/>thanks in advance,<br/>Maya

Binding string

501 byte By damma at 2007-11-25 2:08:06
On my laptop - I can connect to Active Directory only if I specify the binding string as WinNT://<domain name>/<server>/<user>The server is the name of the domain control server.Any other name beside <server> (which is the name of the domain controller server) does not work....

parsing .ldif file

201 byte By mayag at 2007-11-25 1:58:57
Hi all,<br/>I have to parse .ldif file in order to perform "full sync" of AD with DB. If you ever did parsing of .ldif file in C/C++, I would appreciate any help from you.<br/>Thank you in advance

Active Directory - full synchronization

242 byte By mayag at 2007-11-25 1:57:19
Hello all,<br/>I have to develop a data synchronization module using C/C++. First I have to find out what is the algorithm for full synchronization between Active Directory and Postgress. Can you help me ?<br/>Thanks in advance,<br/>Maya

LOGIN SCRIPT on WIN 98

535 byte By hb.harshad at 2007-11-25 1:09:09
Hello , i have NT server 4.0 as domain controller , i set login script to execute NOTEPAD.EXE at every LOGIN.I have win 98 client machine which is under domain of NT server.whenever i login the notepad.exe gets executed and it gives error message saying Page fault and print all the register values a...

currently logged in users

356 byte By mayag at 2007-11-25 0:39:38
Hello all,I am new to Active directory and will appreciate any help re. the following issue: I need to get a list of all users that are currently logged in Windows 2003 server. I have to do it from Linux workstation. Can it be done using Active directory? How? If not, please let me know if there is...

Custom Application Permissions ?

654 byte By stevebrett at 2007-11-24 22:50:39
HiI've been tasked with investigating if AD could be used to replace an administration section of our product.What we essentially need to do (in C# using .Net 2.0) would be too create org units that can manage themselves to a certain extent and control permissions of a web based system.The leve...

Active Directory Add User Permissions

440 byte By RobDog888 at 2007-11-24 21:33:54
On SBS 2003 running AD I want to create a custom Group and assign certain permissions. I remember from the NT 4 Server days that you could browse the permissions/rights and choose thm out but not in AD anymore?I found some of the rights but I know there are allot more to choose from. http://www.micro...

Active Directory and Auto Updating from Application

598 byte By WeePecky at 2007-11-24 21:19:20
Hi, Sorry if this has already been answered elsewhere, I did search but did not find an answer ...I am required to write some client side code that will automatically update our Active Directory with updated client information (including deletions). Our client environment is Lotus Notes, so VB Scrip...

Insufficient Permission error in RSoP.MSC logging mode..

2119 byte By se7va at 2007-11-24 20:56:18
Hi guru's, I got a problem with (RSoP.MSC) whenever I try to run this rsop snapin I am getting an error message saying that "The snap-in was unable to generate the computer or users data due to insufficient permissions - Details: Access is Denied". 1. But...

MSDOS BAT Problem

243 byte By BlackWidow at 2007-11-24 19:42:35
Hello,<br/>I need to check if a file in my D:\somedir directory begins with "app..." and if it begins then need to rename it to somename. I also need to do this until there is no more file left in this directory.<br/>Can anyone help.

Error while adding into the Sun ONE Directory Server 5.2

2732 byte By darma at 2007-11-24 19:21:02
I am using Sun ONE Directory Server 5.2 installed in Windows. am getting the below Error when I am trying to add the entry into the LPAD Server.javax.naming.NameAlreadyBoundException: [LDAP: error code 68 - Entry Already Exists]; remaining name 'ou=People,dc=company,dc=co,dc=in'at com.sun....

Error accessing the OLE registry

805 byte By jain_ajay_m at 2007-11-24 18:41:46
Hi Folks,I get an error message "Error accessing the OLE registry" when I try to query the Active Directory from my ASP.NET application. There is no error on local machine and testing machine. But such error occurs only on production machine.Does anyone know its resolution?Code Snippet:DirectorySear...

winldapapi + kerberos

210 byte By slivkap at 2007-11-24 16:25:13
Hi,<br/>How to force ldap_bind_s to user kerberos ? With LDAP_AUTH_NEGOTIATE as a 4th option I am able to use NTLM, but how can I say to ldap_bind_s to use Kerberos and not NTLM ? <br/>thanks in advance...

How do we get the Active Directory Tree/ Forest.

160 byte By luvrahul at 2007-11-24 15:06:55
How do we get Active Directory Tree/Forest programmatically. Its similar to the select users computers dialog location button click tree.<br/>thanks<br/>rv

Master.bat coding errors!

990 byte By Forgotten2 at 2007-11-24 14:57:36
I am writing a script the executes .exes and .bats automatically, eliminating any humna error...I have run into a snag, can anyone help?@ECHO OFF:: START installstart /wait install.exeset /p _setupdir=What was the directory you specified in the INSTALL program? EG "C:\Program Files\Civ3" Make sure t...

Changing Passwords using ldap c api

178 byte By wojtyla at 2007-11-24 14:43:11
Can anyone tell me how one can change the password of a given user using the c api for ldap<br/>i wishto know which attributes need to be modified<br/>thanxs in advance

Local Path and Connect To radio Buttons in Profile tab of the User in ADSI

596 byte By adam.admin at 2007-11-24 12:22:41
I was facing problems trying to toggle between the 2 radio buttons Local Path and Connect To in Home Folder of the User Profile.As of now, both Local Path and Connect To use the same property HomeDirectory for setting......so irrespective of field where data is added, the radio button pre-selected g...

How to impersonate the owner of any folder ?

1606 byte By priyankpatel at 2007-11-24 11:40:33
I am working on Sharepoint portal web server. My application, say " http://localhost/helpdocs" opens a page which list all directories. I go to link "open in web folder" and it opens a directory browser on website like windows browser. Here, there is one directory "Documents" which has plenty of dire...

RPC to 127.0.0.1 fails on Win 2003 AD DC Server

1909 byte By dbeck at 2007-11-24 11:28:21
I have a Windows 2003 (SP1) server set up as the primary Active Directory domain controller. We run an application on this server which does an RPC call to another program on the same server in order to launch this program. It is architected this way because in some installations the program that RP...

Unique ID for a folder?

655 byte By piraya at 2007-11-24 11:20:46
I am developing a picture archive based on a file structure, but with additional info stored in a database.I'm looking for a way to avoid broken links when renaming folders in the file structure, and wonder if there is any such thing as a unique ID for a folder that exists independently of the...

ADSI / using IADsNameTranslate in C++

1303 byte By Ankur_Gupta_US at 2007-11-24 11:05:26
Hi,I am using ADSI api and want to extract Net BIOS name from DNS using C++.I got following sample from MSDN. But this sample is not compiling. I got following compilation error:error C2065: 'IADsNameTranslate' : undeclared identifierI have Included "activeds.h" and "Iads.h" in the header...

ADSI Terminal Server Extensions (IADsTSUserEx)

2546 byte By coffeehound at 2007-11-24 10:58:52
Hi,I am very new to ADSI programming and am stuck on probably a simple thing.I am getting the following error in VC++ 6.0 when compiling & executing the ADSI sample code (see below) taken straight from MSDN.error C2065: 'IID_IADsTSUserEx' : undeclared identifierI have imported the required...

Software Installation extension not available in group policy

582 byte By chmanish at 2007-11-24 10:30:11
Hi,I have installed Win2k Adv Server on a machine. I have also installed teh Active Directory and have set the DNS server. I wish to assign an application (.msi) to certain computers. In the gropu policy editor, when I click on the Software Settings node, it does not expand to show the Software Inst...

ADSI userAccountControl Furtif_00 Project

1293 byte By nander at 2007-11-24 10:17:16
Hi everybodyI continue the last year project of Furtif_00 that you can see here : http://www.dev-archive.com/forum/showthread.php?t=309450&page=4and i have to modify the "change password" option of a user.i know that this could be done with the "userAccountControl" .I try the folowing code in c++ but...

ADSI VC++/ geeting the DN of a User

594 byte By rajesh_gaddam at 2007-11-24 10:10:54
Hi, I wrote a C++ program to get the DN of a user in ActiveDirectory. The program is fetching the object successfully and identifying the attribute "distinguishedname" correctly. But when I'm trying to print the value of "distinguishedname" it is printing <null>. I'm not sure...

why ldap_search_s(...) fail sometimes; operations error

1017 byte By berni_z at 2007-11-24 9:58:13
Hi,I have a question relating to ldap_search_s.Before I call the ldap_search_s function, I do following steps:1. ldap_initialize(&pldap, hostname);2. ldap_set_option(.);3. ldap_bind_s(pldap, NULL, NULL, LDAP_AUTH_SIMPLE);Then I call the function:ldap_search_s(pldap,base,LDAP_SCOPE_SUBTREE,filter,att...

pointing Active Directory

130 byte By papo24 at 2007-11-24 9:19:46
I install bind dns in unix already but a have a problem. I want to point to <br/>windows active directory from unix bind dns.