Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^4: Change a user's Kerberos Password?

by 5mi11er (Deacon)
on Jul 08, 2009 at 15:45 UTC ( #778314=note: print w/replies, xml ) Need Help??


in reply to Re^3: Change a user's Kerberos Password?
in thread Change a user's Kerberos Password?

Well, what I did, because I needed to talk to two different AD domains, was to create two krb5.conf files.

Example: Two companies, two domains, call them ZAY and BXC. First configure your krb5.conf file for connecting to the ZAY domain. Once you're able to kinit and net join to that domain, copy the krb5.conf to zay-krb5.conf.

Next, configure the krb5.conf file to connect to the BXC domain. Once you're able to kinit and net join to that domain, copy the krb5.conf to bxc-krb5.conf.

Once you know which domain you want to talk to, lets assume zay for this example, do this:

export KRB5_CONFIG='zay-krb5.conf'; perl <script name>
-Scott

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://778314]
help
Chatterbox?
[Corion]: Whooops - I misread and miuxed Ubuntu and the ActiveState Perl question. Sorry!
[Corion]: Discipulus: Hurr - I'd use the command line, as always

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2016-12-07 09:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (125 votes). Check out past polls.