Adding New OU

2009-12-07 Thread Lupin Deterd
Hi, What is the correct syntax of adding an OU using Net::LDAP, I tried the following: !/usr/bin/perl -w use 5.10.1; use strict; use Net::LDAP; use Data::Dumper; my $ldap = Net::LDAP->new("192.168.183.2") or die "$@"; my $mesg = $ldap->bind( "cn=admin,dc=lab,dc=net", password => 'xxx' ); $mesg

Re: Adding New OU

2009-12-07 Thread Chris Ridd
On 7 Dec 2009, at 09:38, Lupin Deterd wrote: > Hi, > > What is the correct syntax of adding an OU using Net::LDAP, I tried > the following: > !/usr/bin/perl -w > > use 5.10.1; use strict; > > use Net::LDAP; use Data::Dumper; > > my $ldap = Net::LDAP->new("192.168.183.2") or die "$@"; my $mesg

Re: Adding New OU

2009-12-07 Thread Lupin Deterd
On 12/7/09, Chris Ridd wrote: > > On 7 Dec 2009, at 09:38, Lupin Deterd wrote: > >> Hi, >> >> What is the correct syntax of adding an OU using Net::LDAP, I tried >> the following: >> !/usr/bin/perl -w >> >> use 5.10.1; use strict; >> >> use Net::LDAP; use Data::Dumper; >> >> my $ldap = Net::LDAP->

Re: Adding New OU

2009-12-07 Thread Chris Ridd
On 7 Dec 2009, at 11:06, Lupin Deterd wrote: > On 12/7/09, Chris Ridd wrote: >> >> On 7 Dec 2009, at 09:38, Lupin Deterd wrote: >> >>> Hi, >>> >>> What is the correct syntax of adding an OU using Net::LDAP, I tried >>> the following: >>> !/usr/bin/perl -w >>> >>> use 5.10.1; use strict; >>>