Directory Programming .NET

Active Directory and ADAM programming support for .NET developers
Welcome to Directory Programming .NET Sign in | Join | Help
in Search

Execute kerberos commands in C#

Last post 05-14-2008, 1:31 PM by fixitchris. 5 replies.
Sort Posts: Previous Next
  •  05-12-2008, 11:38 AM 3529

    Execute kerberos commands in C#

    Hope some bright minds could figure and help me with this:

    I'd like to use kadmin to change password on another linux server FROM a c# programming language windows server. I wonder if there is some mechanism/setup for these two servers to talk to each others. Or is there something like LDAP for Active Directory?  Small sample is a big deal!

    Will never thank you enough.
  •  05-12-2008, 12:04 PM 3531 in reply to 3529

    Re: Execute kerberos commands in C#

    No idea on this one.  I don't even know what kadmin is.  If it can execute on a Windows box, you can definitely call it from C# using the Process class, but I don't know if that helps you.

  •  05-12-2008, 2:11 PM 3535 in reply to 3531

    Re: Execute kerberos commands in C#

    kadmin can execute commands to kerberos. i.e. changing userpasswords.  The problem is how windows server can deliver these commands and be recognized by the linux system that host kerberos.  I found this article on technet.microsoft.com but can't find any atual technique details yet, http://technet.microsoft.com/en-us/library/bb742432.aspx

  •  05-12-2008, 3:26 PM 3536 in reply to 3535

    Re: Execute kerberos commands in C#

    According to that doc, kadmin is an implementation-specific tool that isn't defined in the spec.  Do you have a version of kadmin that works on your Linux servers?

    In general, I'd recommend you ask this question somewhere else.  I don't know anything about this topic and I'm not sure if anyone else on this forum does either.  I also suggest providing a lot more details on what you are trying to accomplish if you want to avoid wasting time by having people ask you follow up questions.  :)

  •  05-12-2008, 4:23 PM 3537 in reply to 3536

    Re: Execute kerberos commands in C#

    Yes, I used kadmin, which is MIT kerberos command to change password on the linux server and it works fine.  The dilemma is how to execute this command from a different server-the windows server on c# coding.

    Thank you.

  •  05-14-2008, 1:31 PM 3556 in reply to 3529

    Re: Execute kerberos commands in C#

View as RSS news feed in XML