ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi!, I am trying to accomplish the following goals and I was wondering if any PHP developers can give me some leads on if this is possible. I have already finished the first piece of the script which was to query our AS400 and grab user information such as password, and user_name. I now have data in 2 rows stored in an array in PHP. I now need to somehow get this data into Active directory so they can be accounts in AD. The goal was to extract user_name and password from AS400 and then somehow inject into AD so users on the AS400 could auth via Radius using their password and username on our WiFi network. Can the LDAP injection piece of this code work? I am not sure on how to go about this? Should the user_name and password be dumped to a flat file and sent over to AD some how?
Hi!, I am trying to accomplish the following goals and I was wondering if any PHP developers can give me some leads on if this is possible. I have already finished the first piece of the script which was to query our AS400 and grab user information such as password, and user_name. I now have data in 2 rows stored in an array in PHP. I now need to somehow get this data into Active directory so they can be accounts in AD. The goal was to extract user_name and password from AS400 and then somehow inject into AD so users on the AS400 could auth via Radius using their password and username on our WiFi network. Can the LDAP injection piece of this code work? I am not sure on how to go about this? Should the user_name and password be dumped to a flat file and sent over to AD some how?
Thanks
This page http://us2.php.net/manual/en/book.ldap.php can give you lots of LDAP resources for PHP. Specifically, there are LDAP add/modify/delete commands, with examples.
Reading the users from the AS400, and getting them into an array in PHP is the hard part.
Thank you for the resources TBOne I have already got the data from the 400 into the array. This is the last part of my journey. Thanks for letting me know this is possible.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.