hi!
i got entries in the ldap using php , type read user permissions in the search field in forum page , and look for my post (read user permissions : posted by hamarsheh).
goodluck!
User Profile
Collapse
-
to enable ldap in you'r php :
all you have to do is to uncomment the line :
extension=php_l dap.dll
in the php.ini file .
to know more about using ldap in php , type read user permissions in the search field in forum page , and you will find solutions we got , see the one posted by me (hamarsheh).
good luck!Leave a comment:
-
what we need is a product for sso , not an application written in php or other language..
the problem is that i need to transfer a variable from php page to asp , but i couldn't , i spent alot of time searching for this but what i got is that you can't do that ..
so i thought of installing those products ..
have you any idea about transfering variables from php page to asp page..
itried using cookies...Leave a comment:
-
i used the link the page was opened , but i really didn't know where to go !
i searched for a trial version on the web site , but i didn't find that.
i need a trial version to try this product ...
how to get it? ...
thanks alot!...Leave a comment:
-
in our website user has to enter his name & pw , to log in to the website and get his right permissions , and because the db used have high security that not everything is available for all users , we don't want to keep asking the user for his account , every time he opens apage , we want to take his account once , and make it present in all pages, and this is the work of sso , there are softwares available for this , they are not written for...Leave a comment:
-
single sign on software for all application?
Hi everbody!
i need single sign on software for our php website , For all application, because we used visual basic and php, and another things so we need software to do single sign on , that the user logs once to his page , and logs out when ever he want .
as i said this software must be for all application i mean it shoud not be written by aprogramming language , i;m looking for this product , but till now i found... -
thank you all ...
i now got all groups and all users and everything you need from ldap , there is afree class on internet adldap class ,here is the link :
http://adldap.sourceforge.net/download.php
there is many versions i used version 2.1 in the folder there is a file called examples you can uncomment any script to use it , it uses all function which are defined in adldap file(which is the class), examples.php includes the...Leave a comment:
-
as i said befor the function that returns file group id dosen't produce meaningful results on windows system, if you tried to print its value nothing is displayed .
someone suggested another way :
to use windows authentication , so when user tries to open a link it asks him for pw and user name , i have no idea how to implement it on php .
i'll look for applying this on php , but now i'll focus my search on getting...Leave a comment:
-
may be i didn't give the complete picture about what we are infact doing ..
we are designing aweb site , we have a local network in our company , on the local network users have permissions on folders they can't open every thing , what we need is to reflect this on our website there are links on the website which uses these folders
the steps are : we need to get all groups from the ldap , then to get users of each group , so when...Leave a comment:
-
because the function dosen't produce meaningful results on windows system, there is afunction which resolves this , but unfortunately its only defined on unix platforms . this is the problem i'am facing , i looked for functions that can do the same thing and defined on windows but i didn't find any one all sites give you the same function which works only on unix.......Leave a comment:
-
thanks alot motoma ...
i got all users from ldap there was an error on our organizational unit .
Now what i want to do is to read users permissions i now need to get the file group id , i can do it using the function int filegroup ( string $filename )
which returns the group ID of the file, . The group ID is returned in numerical format,so you have to use posix_getgrgid( ) to resolve it to a group name....Leave a comment:
-
i found something about ldap support in php but i don't understand what i have to do , what i have to do with the dark lines below ...
LDAP support in PHP is not enabled by default. You will need to use the --with-ldap[=DIR] configuration option when compiling PHP to enable LDAP support. DIR is the LDAP base install directory. To enable SASL support, be sure --with-ldap-sasl[=DIR] is used, and that sasl.h exists on the system.Leave a comment:
-
this error msg appears befor i added debugging msg .
Can't contact LDAP server
although the connect function returns true .
i installed openldap server and determined cn , ou , and all required information and i executed my code while that server was running , the same result , i dont know what i have to do , is ldap supported automatically and i only connect to it or there must be some program installed inaddtion...Leave a comment:
-
the following was displayed:
Warning: mysql_query(): supplied resource is not a valid MySQL-Link resource in C:\AppServ\www\ test.php on line 23
--------------------------------------------------------------------------------
MySQL Error:
and my php code[apiece of it] :
[code=php]
if(!($ldap=ldap _connect("aham@ bir.edu"))){
die("ldap server can not be...Leave a comment:
-
do asearch and be sure if the file php_ldap.dll exists or not
it must be on you'r computerLeave a comment:
-
thank you all..
my php now sees ldap functions all you have to do is to uncomment the line :
extension=php_l dap.dll
in the php.ini file .
but now the problem that i'am facing and searching on the net is that i can't bind to ldap , the function returns false..Leave a comment:
-
i tried to execute some of the codes but the functions used was'nt defined in my php , i don't know if ihave to do some configurations , or install some thing so that php can connect with ldap ,or these functions are defined for use on unix only i really do'nt know...
i read alot about ldap there was functions , but they are defined in unix and you have to include aclass in you'r php , i tried to download the class but there was an error...Leave a comment:
-
Reading LDAP Entries in PHP
thanks alot Motorna!!!
iam exploring you'r link for php.net , but till i find my important code ,please if any one has acode that he tried and worked with him about reading ldap entries by php give me a help!!!
cause we need it as soon as possible.. -
thanks alot!!!
iam exploring you'r link for php.net , but till i find my important code ,please if any one has acode that he tried and worked with him about reading ldap entries by php give me a help!!!
cause we need it as soon as possible..Leave a comment:
-
read users permissions on files in the local network
please i need you'r help .. we are designing a web site and we need a critical code in php for security , we have to read users permissions on files in the local network ,to give them the real access and permissions also in their homes(on website) not just in thier work place (by local network security)so we have to read ldap file system ,but we can't find the code required ........
No activity results to display
Show More
Leave a comment: