Accessing LINUX/Unix LDAP

I currently use ADO (adoConn.Provider = "ADSDSOObject") to access user information in the domain Active Directory. I want to expand my application to be able to access user information in other LDAP compatable user lists (LINUX or UNIX for example). I did some
searching on deja.com (google groups) and microsoft's newsgroups, but couldn't find anything.

View Replies


ADVERTISEMENT

On Unix / Linux

I'm working on a proof of concept for ASP. I've already done it using Windows 2k server, IIS, using open source [no initial cost involved]. I'm looking to doing the same using a linux box. Does anyone know if this can be done without buying any additional tools?

View Replies View Related

Run On Unix/Linux Software

Will ASP run on Unix/Linux software like Apache or Red Hat? If so what needs to be done to do this?

View Replies View Related

Accessing LDAP With ASP

I am trying to access ldap with standard ASP. The code works on the web server where I am developing but any other PC on network gets the following error:

Providererror '80040e37'

Table does not exist. /training/index.asp, line 41

Does anyone have any experience with this??

View Replies View Related

Accessing LDAP Server

I am trying to access a LDAP server with ASP with no sucess. I can do it with ColdFusion but not ASP. All the examples I have seen so far do not use passwords or userid's. My LDAP server requires password and user credentials. Can anyone point me in the right direction.

View Replies View Related

Accessing AD Using ADSI LDAP Provider In ASP

I'd like to get some user account properties using .asp script. When I try
to use ADSI WINNT provider it works fine except that I apparently cannot
access some properties such as objUser.managedObjects. I have this simple
code:

<%
Set objUser = GetObject("LDAP://CN=Users,CN=FisrtName
LastName,DC=MyDomain,DC=com")
For Each strValue in objUser.managedObjects
Response.Write "This: " & strValue & "<br>"
Next
%>

As a VBS script it works fine but as an ASP page I cannot get the object
initialized. Is it problem with syntax or something else? I'd like to avoid
using .NET Framework and ADO connection as well if possible. All I really
need is to get list of managedObjects.

View Replies View Related

Interfacing With UNIX

I need to do is display results of a command I run in UNIX, for example:

In the ASP page I'd have a textbox in which the user would type an UNIX command like "cat unixFile", after the user hits the "Execute Button" the results would be displayed in another textbox.

Basically my question is, how can I login to an UNIX server from ASP, send UNIX commands and capture the result?

View Replies View Related

Directory On Unix

Is there a way to create directories using vb or jscript in IIS to a unix machine? I want to have the aility to upload files through my Win2k Web Server, and have those files stored on my Mac OS X Server under new directories based on date and Upload ID's from the Db.

View Replies View Related

ASP And Unix Web Hosting

Simple quesion: Can you run ASP pages on a Unix server?

I am trying to learn "include files" and before I go any further I need to know if it can be used on a Unix server. IF NOT, what would be my options?

View Replies View Related

Running On UNIX

i have got someone who is interested in moving a ASP site to my hosting setup but my host is a UNIX platform. Actually i can see no reason for his site to be ASP cause it looks like a flat html site with .asp encoded pages.I just wondered what the experts think of running ASP on UNIX.

View Replies View Related

Convert A File From Unix To DOS

In my pages i have to read a text file which is created in Unix format through my asp code. The problem is that the readline command reads the whole file and not line by line as the file is in Unix format. Is there a way to convert it using asp code and then read it or any other solution to this problem?

As the file is created by an application not controlled by myself it is impossible to force the application developer to do this job so i have to do it during runtime. So what are your suggestions?

View Replies View Related

Unix Time Stamp

I am trying to replicate the Unix Timestamp,specifically the function
mktime() in Vbscript, ASP. I have the following so far:

ThisTime = DateSerial(2004, 9, 27) + TimeSerial(0, 0, 0)
response.write DateDiff("s", "12/31/1969 00:00:00", ThisTime)

This returns the timestamp: 1096329600, and when you decode that it comes
to: 27 Sep 2004 20:00. I want to set the time too, ie. show for example: 27
Sep 2004 16:15

View Replies View Related

Execute Unix Script

Please tell me how to execute a unix shell script from ASP?

Is it possible to pass the user id and password for the unix server as call parameters?

View Replies View Related

Unix Apache ODBC To MS SQL

I need to access a database on a MS SQL Sever from my unix apache web server.I would preferably want to continue to use ASP rather than go to PHP or Perl - I know that I need to build unixODBC on the web box, but do I need to do anything else other than reference the SQL server in unixODBC?

Has anyone used unixODBC? The console & CLI seem fairly self-explanatory... Do you need extra drivers to connect to a MS SQL box? Can I still use the same server.createobject & ADODB statements in my ASP code? Or do they need to change? Syntax etc?

View Replies View Related

Oracle Database On Unix Box

I'm new to ASP so please forgive my ignorance. Our IT department says that there is no way that what I suggest can be done. I disagree because it should be possible (if not there is a massive hole in the market), but don't have the technical knowledge to back myself.

We have an Windows/IIS web server for our public website. Internally for our intranet we have a Unix box with and Oracle database. What I want to know is: Is it possible to query that database from the windows server using ASP? Are there any clients/COM/APIs etc that this would require? Can anyone direct me to a webpage that has more info?

View Replies View Related

Win2k Asp Connection To Data Source On Unix

i'm trying to use an odbc driver to connect from an asp page to a data source (dbase) on unix sunsolaris. is this poss?

the driver is installed though i cant seem to do it through dreamweaver ultradev - can i do it through the ftp connection?

what would i input as the source on the following to initiate the connection in the asp page?

"Provider= "MSDASQL"; Data Source= server name ?
"Database=test;User ID=sa;Password=blabla"

or how would i do it using the followign as an include file ? Code:

View Replies View Related

Ldap And ASP

I am trying to use windows (nt/xp) authenication for a website which can be accessed from internet as well as intranet. Our windows authentication uses active directory(win 2kservers). On login page for website, I have get username from windows and then ask for entering the password again. Send this information to active directory and query active directory if user is employee or contractor. if Employee, then user can access the contents on web site other wise user gets a messge saying insuffcient priviledges. I would appreciate if some one could send me code snippets.

View Replies View Related

LDAP

Im trying to run an LDAP script from an ASP page. I know very little about LDAP, and just based on some sample code I found on the internet, I got the following:


<%
Set Conn=CreateObject("ADODB.Connection")
Conn.Provider="ADSDSOObject"
Conn.Open("ADs Provider")
Set rs=Conn.Execute("ldifde -f UsersFile.ldf -p Subtree -r
"(&(objectClass=user)(showinaddressbook=CN=Global Address
List,OU=Microsoft Exchange,OU=CMC,OU=D-corp,OU=Organizations,DC=d-corp,DC=corp))"")
Do While Not rs.EOF
ReturnValue=rs.Fields(0)
Response.Write ReturnValue&"<BR>"
%>

Obviously, it does not work !! If someone can help me with what direction I should be proceeding in to change the code so that it works?

Is it because I havent specified the server name or something, or is it because I cant execute an LDAP command like ldifde in such a straightforward manner and I need to change that?

View Replies View Related

Asp In Linux

Is ASP compatible with linux. Which is the best scripting language which can be used on all servers.

In case of Linux which web server to be used for ASP.

View Replies View Related

LINUX

To make ASP run under Linux, PHP script files are saved as ASP extensions and are redirected to the PHP interpreter. So it looks like the server serves ASP files, but these are actually PHP scripts.

View Replies View Related

ASP On Linux

What is the best way of getting ASP running on Red Hat, free?

View Replies View Related

On Linux

Can ASP apps be run in Linux (I am using Mandriva 2007 Spring)? If so, which server has to be installed to make ASP apps run in a web browser in the same way as how ASP apps run in Windows?

As far as my knowledge goes, Linux does not support IIS; what about Apache? Will it be appropriate? Or are there any other web servers (preferably free ones like IIS) to make ASP apps run in Linux?

View Replies View Related

ASP With Linux

I know this is not ideal but i have a client with a simple asp site and i would like to move them to our linux box during a transition but they use an access database. Can someone tell me how i can get the connection to work under linux? Current Code: Code:

Dim MM_connPang_STRING
'MM_connPang_STRING = "dsn=pangDSN"
MM_connPang_STRING = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:clientdatabasepangDB.mdb"

View Replies View Related

On Linux

how can i run asp on linux either sun version / or perl apache version?

View Replies View Related

ASP Possible With Linux?

Is it possible to integrate ASP.Net on a Linux server? I heard there is some software in development for this but I cannot remember the name. I know Novelle is the one working on it.

View Replies View Related

LDAP Query

The users on my network, log in using a novell login box when they boot up their pc.
When they open their browser, they have to enter the same username and password to log into our intranet.
Is there anyway I can get rid of the login prompt for the browser, and log them in automatically using the initial windows login they entered.
I would like to authenticate users using an LDAP query also.

View Replies View Related

LDAP Query

Can anyone direct me to some simple ASP code samples to do the following?
I'd like to, given a UID, check to see if an individual in a public
directory is part of a given OU.
I've noticed that for a given person there can be several OU's, so I don't
think it'd be possible to select an OU. However, can I select cn where UID
= xxx and OU = xxx and then check to see if it's not null? didn't know whether to put this in here or an LDAP group

View Replies View Related

LDAP Problems

I am encountering an issue attempting to log into the LDAP. Here is the code:

Dim objBase, objContainer, objUser, strLDAPPath, strErrNum, iCounter

strLDAPPath = "LDAP://xxxx.xxxxxx.xxx.com:389/ou=Ebenefits, o=xxxxxx.xxx.com"

Set objBase = GetObject("LDAP:")
Set objContainer = objBase.OpenDSObject(strLDAPPath, "uid=HRISAdmin,ou=Directory Administrators,o=xxxxxx.xxx.com", "password", 0)
Set objUser = objContainer.GetObject("user", "uid=" & strUID)

The Set objUser line of code returns the following error:
Error -2147463164 An unknown directory object was requested

Any thoughts?

View Replies View Related

Query LDAP

I'm trying to get user details using ASP under IIS (Win2000) with the following code:

Set User = GetObject("WinNT://domainname/" & mid(strNTUser,8) & ",user")
strNTUserFullName= User.Fullname

The website this is running under uses Windows Authentication only no anonymous logins and this presumably is why I get the error 'General access denied error' from AD as the logged in user's credentials are not passed to the AD domain controller that is being queried for the users details.

how to I get this to work whilst keeping Windows Authentication?I only need the most basic details about the user so writing LDAP queries and creating recordsets etc seems like overkill and presumably the same problem will occur?

View Replies View Related

LDAP Field Name

I have a page which grabs data from Active Users which was working great last week. All of a sudden my code doesn't like some of the field names. For the purpose of keeping this short let's just say it's one field 'Department' Code:

Dim department
MyFullName = "FRED BLOGGS"
SQLStmt = "SELECT name,physicaldeliveryofficename,department " & _
"FROM 'LDAP://lvp-ad.myserver.wan' " & _
"WHERE objectClass = 'user' AND name='" & MyFullName &"'"
Set Conn = CreateObject("ADODB.Connection")
Conn.Provider = "ADSDSOObject"
Conn.Open "ADs Provider"
Set rs = Conn.Execute(SQLStmt)
So, if i remove department all works fine. Any help appreciated.

View Replies View Related

Can LDAP API Be Used Either From VB Or VBScript ?

We need to use LDAP in conjunction with our ASP pages. Are there LDAP API
that can be used either from VB or VBScript ? Where can I find sample codes
for it ?

View Replies View Related

Host ASP On Linux

Is it possible to host ASP (not .net) to host on Linux,( hopefully yes then whats required extra on Linux). If some one know any issues related to that or any reference site hosting
ASP on linux.

View Replies View Related

Apache/Linux Box

Is there any way to get ASP to work on a Linux box with apache and ensim?

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved