Well, as I understood you Q you wanted to retrieve info about your AD users correct? You can do this with LDAP sql questions straight from PHP. (I know there are at least one LDAP modul for PHP as I have used it in LDAP authentication from within PHP)

You can also use almost any other language as most of them has APIs for LDAPs.

Cheers,
Henrik

3 jul 2006 kl. 10:51 skrev Markus Fischer:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ah ok, so the "key" to Windows Domain in this case is using LDAP. Do you know of any documentation *specific* to using ldap on window from within
linux?

thank you very much,
- - Markus

Henrik Zagerholm wrote:
Hi,

It is pretty easy to program yourself but you can also use tools like
this one.

http://sourceforge.net/projects/phpldapadmin

Cheers,
Henrik
3 jul 2006 kl. 07:55 skrev Markus Fischer:

Hi,

I'm currently positively having winbind authentication against a DC and
pam also works with it.

I'm also using PAM authentication in PHP with the help of the pam_auth module which provides one function in PHP, pam_auth($user, $pass) which
returns true/false.

I would like to get more information and do more tests with the
authenticated user on the unix side (not necessarily in PHP). This would
cover:

* get the full name of the user
* get the primary email address from DC (exchange is used)
* test whether the user is in a certain group on the DC
* get all groups the user is in

Normally under linux or in linux application, how can I access this
information?

thanks,
- Markus
- --To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEqNqT1nS0RcInK9ARAgEsAKCo93msGl9Ov95fsrU6Nx6ykpGruACg2ObN
CyMVB8ak2gNz5KVaoOpjYQQ=
=taOY
-----END PGP SIGNATURE-----

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to