search for: computer_dn

Displaying 1 result from an estimated 1 matches for "computer_dn".

Did you mean: compute_df
2009 Jul 29
1
Batch computer account creation
...d only auto generated value) Is there any way to do that under Linux ? Thanks, Thomas #! /usr/bin/perl use strict; use Net::LDAP; use Net::LDAP::Entry; my $base_dn = "DC=my,DC=domain"; my $computer_name = "host01"; my $computer_branche = "OU=Workstations"; my $computer_dn = "CN=$computer_name,$computer_branche,$base_dn"; my $ldap = Net::LDAP->new( 'ldap://20.20.1.11') or die "$@"; my $mesg = $ldap->bind ("CN=Administrator,CN=Users,$base_dn", password => "secret"); $mesg->code && die $mesg->erro...