Posts by denisvm • 171 points
7 posts
-
1
votes2
answers406
viewsA: Error in bind server configuration
You are performing the query on the DNS server 8.8.8.8, if your server is for internal use only, you should perform the DNS queries for this domain directly on it and not on the internet.
-
0
votes3
answers259
viewsA: Fix SRC Urls by HTACCESS
In this case the ideal is for you to specify the path of the files to a) full URL or b) relative path (e.g., "/style.css" or "/css/style.css"). This problem is not related to htaccess
-
1
votes1
answer2034
viewsA: Check if a user belongs to an LDAP+PHP group
You can change the variable $grupo for the DN of the administrator group you want and check if the ldap_Search function returns any object, if the return is empty, indicates that the user is not a…
-
1
votes1
answer655
viewsA: User-friendly URL with HTACCESS
The ideal scenario is for you to focus routing on the application itself, making it more flexible and dynamic, while simplifying redirects on the webserver. Anyway to except the rule that forwards…
-
1
votes4
answers5957
viewsA: Error in code, C
You have an error related to printf line, it should be written as follows: printf("O valor digitado foi: %d\n", A); Variable A in the case of scanf is passed as a reference so that it can change it,…
-
1
votes1
answer968
viewsA: connect AD via php and ssl
First perform a connection test on port 636 of the LDAP server. LDAP uses port 389, whereas LDAPS (LDAP over SSL) uses port 636. You can connect on this port via a telnet connection?
-
2
votes1
answer1357
viewsA: List of user groups with ldap
If you want to get all the available groups on the LDAP server you can use the filter "(objectClass=group)", this way you will filter all the records that have the "group) objectClass". $res =…