Markus Fischer
2006-Jul-03 05:56 UTC
[Samba] Gathering more information about authenticated domain users
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEqLFV1nS0RcInK9ARAgroAKDhx/Yyq4C67JqGRz9MbCexOAIICgCgk2Fe BVfhcpTFItgvpCjWe7VKuMY=R3BO -----END PGP SIGNATURE-----
Henrik Zagerholm
2006-Jul-03 07:28 UTC
[Samba] Gathering more information about authenticated domain users
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:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > 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 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.3 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFEqLFV1nS0RcInK9ARAgroAKDhx/Yyq4C67JqGRz9MbCexOAIICgCgk2Fe > BVfhcpTFItgvpCjWe7VKuMY> =R3BO > -----END PGP SIGNATURE----- > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba