Git Product home page Git Product logo

Comments (7)

bochoven avatar bochoven commented on August 18, 2024

What attributes do you want to collect?

from munkireport-php.

rsaeks avatar rsaeks commented on August 18, 2024

I worked though the code a bit and added in an additional if where if the
DS type is LDAPv3 to return domain=`dscl localhost -list /LDAPv3' so I can
get the directory the machine is bound to. That is then echo'd out via
echo "Active Directory Domain = ${domain}" >>
"$DIR/cache/directoryservice.txt" outside of both loops as LDAP or AD will
return the bound domain and reported back in the web-interface.

It's a bit crude and not the best use of code (I should probably use a
select instead) but it gets the job done!

Randy

On Sat, Jan 11, 2014 at 8:34 AM, Arjen van Bochoven <
[email protected]> wrote:

What attributes do you want to collect?


Reply to this email directly or view it on GitHubhttps://github.com//issues/65#issuecomment-32097463
.

from munkireport-php.

bochoven avatar bochoven commented on August 18, 2024

Do you want to create a pull request for that?

from munkireport-php.

rsaeks avatar rsaeks commented on August 18, 2024

I can look to tidy up the code a bit and then put in a pull request.

On Sat, Jan 11, 2014 at 1:22 PM, Arjen van Bochoven <
[email protected]> wrote:

Do you want to create a pull request for that?


Reply to this email directly or view it on GitHubhttps://github.com//issues/65#issuecomment-32104463
.

from munkireport-php.

rsaeks avatar rsaeks commented on August 18, 2024

Here is the change I put together:

http://pastie.org/private/wmefbqghfkmhj3kyrbi4a

Sorry - I haven't had the chance to look at putting in the pill request.

from munkireport-php.

bochoven avatar bochoven commented on August 18, 2024

Pasted in. Thanks

from munkireport-php.

bochoven avatar bochoven commented on August 18, 2024

Ok I pasted your change and committed it to the repo.

Thanks!

-Arjen

(no need to put in a pill request :-))

On 07 Feb 2014, at 19:35, rsaeks <[email protected]mailto:[email protected]> wrote:

Here is the change I put together:

http://pastie.org/private/wmefbqghfkmhj3kyrbi4a

Sorry - I haven't had the chance to look at putting in the pill request.


Reply to this email directly or view it on GitHubhttps://github.com//issues/65#issuecomment-34484801.

from munkireport-php.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.