Re: [Mono-list] Need to query Active Directory groups from linux
Hi, Active Directory supports LDAP so it may be possible to query it using the Novell.Directory.Ldap classes. I use them to authenticate against AD not sure how much info can be obtained it may depend on how AD is configured. I've seen cases where querying was only allowed if the thread executing the query is executing in the context of an AD user who has permission to query. There are also a codeplex project http://www.codeplex.com/LINQtoAD I'm not sure if it can run on Mono. It relies on System.DirectoryInfo, I'm not sure if the Mono stuff in that namespace works or works as well as the Novell.Directory stuff. Hope it helps, Joe On Sat, Jun 27, 2009 at 6:18 PM, neibyjneiber...@gmail.com wrote: Anyone? I just need to know if I'm on the right track. If I am, I can point my friend in this direction and let him take it from there. Thanks! neiby wrote: forgive the totally newb question. Even though I'm not qualified to do so, I'm trying to help someone figure out a way to query active directory group membership information from linux. During a discussion we had, someone else mentioned Mono as a possible solution since it might allow them to write a .NET tool to do the query, but do it directly from a linux box. Here's the issue. This linux box is running an application that needs to watch IP addresses going through it, query AD to find out what user owns that IP address (that part already works), and then query AD to see what groups that user is member of. Depending on the answer, various internet access rules will be applied to that traffic. Would Mono be one possible solution to that problem? Many thanks! -- View this message in context: http://www.nabble.com/Need-to-query-Active-Directory-groups-from-linux-tp24214686p24237131.html Sent from the Mono - General mailing list archive at Nabble.com. ___ Mono-list maillist - mono-l...@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list -- Joe Audette Software Solutions Architect Source Tree Solutions, LLC PO Box 621861 Charlotte, NC 28262 704.323.8225 joe.aude...@gmail.com http://www.sourcetreesolutions.com http://www.mojoportal.com ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Need to query Active Directory groups from linux
Anyone? I just need to know if I'm on the right track. If I am, I can point my friend in this direction and let him take it from there. Thanks! neiby wrote: forgive the totally newb question. Even though I'm not qualified to do so, I'm trying to help someone figure out a way to query active directory group membership information from linux. During a discussion we had, someone else mentioned Mono as a possible solution since it might allow them to write a .NET tool to do the query, but do it directly from a linux box. Here's the issue. This linux box is running an application that needs to watch IP addresses going through it, query AD to find out what user owns that IP address (that part already works), and then query AD to see what groups that user is member of. Depending on the answer, various internet access rules will be applied to that traffic. Would Mono be one possible solution to that problem? Many thanks! -- View this message in context: http://www.nabble.com/Need-to-query-Active-Directory-groups-from-linux-tp24214686p24237131.html Sent from the Mono - General mailing list archive at Nabble.com. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Need to query Active Directory groups from linux
forgive the totally newb question. Even though I'm not qualified to do so, I'm trying to help someone figure out a way to query active directory group membership information from linux. During a discussion we had, someone else mentioned Mono as a possible solution since it might allow them to write a .NET tool to do the query, but do it directly from a linux box. Here's the issue. This linux box is running an application that needs to watch IP addresses going through it, query AD to find out what user owns that IP address (that part already works), and then query AD to see what groups that user is member of. Depending on the answer, various internet access rules will be applied to that traffic. Would Mono be one possible solution to that problem? Many thanks! -- View this message in context: http://www.nabble.com/Need-to-query-Active-Directory-groups-from-linux-tp24214686p24214686.html Sent from the Mono - General mailing list archive at Nabble.com. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list