Query against Active Directory

2005-04-11 Thread Young, Darren
And the results: CN=Young\, Darren,OU=Users,OU=CS,DC=gsb,DC=uchicago,DC=edu displayName=Young, Darren Using the same credentials I have the following script: == #!/usr/local/bin/perl use Net::LDAP; my $host = gsbad1; my $port = 389; my $binduser = CN

RE: Query against Active Directory

2005-04-11 Thread Young, Darren
: Vladimir Levijev [mailto:[EMAIL PROTECTED] Sent: Monday, April 11, 2005 3:23 PM To: perl-ldap@perl.org Cc: Young, Darren Subject: Re: Query against Active Directory On Monday 11 April 2005 23:11, Young, Darren wrote: Hi, How about changing filter a bit: $mesg = $ldap-search( base

RE: Query against Active Directory

2005-04-11 Thread Young, Darren
Grr... Thanks... Works perfectly now. -Original Message- From: Barrett, John [mailto:[EMAIL PROTECTED] Sent: Monday, April 11, 2005 5:50 PM To: Young, Darren; perl-ldap@perl.org Subject: RE: Query against Active Directory Try using $binduser instead of $binddn in your ldap-bind

Correct usage

2005-04-13 Thread Young, Darren
I have a general question on how the first parts of the connect (the new() and bind()) calls should be used. The first question is on the usage of the new method. Now, I'm assuming that new() is actually trying to establish a connection to the server, so if that fails then the server is

Sizelimit Exceeded from Active Directory

2005-06-17 Thread Young, Darren
Have a Net::LDAP script that needs to query AD and gather a list of all users then shove that information into an array for processing. What I'm doing at the moment is to search for sAMAccountName=* however I get the following from the script: 06-17-2005 11:10:09: main(): LDAP search failed on

RE: Sizelimit Exceeded from Active Directory

2005-06-17 Thread Young, Darren
] Sent: Friday, June 17, 2005 11:40 AM To: Young, Darren; perl-ldap@perl.org Subject: RE: Sizelimit Exceeded from Active Directory I think you need to enable paging using the Net::LDAP::Control::Paged module. Also, if you are searching for all users, I think the proper filter is: $filter

moddn/modrdn examples

2005-07-06 Thread Young, Darren
I need to have a Net::LDAP script move users from one OU to another, can this be done with a dn() call or do I need to use moddn/modrdn? Anyone have an example of dn() or a moddn/modrdn call? - | Darren Young |

ldap_explode_dn

2005-07-06 Thread Young, Darren
Anyone have an example of using Net::LDAP::Util-ldap_explode_dn() ? I'm lost on the part Explodes the given DN into an array of hashes and returns a reference to this array... If (should) I say: my $dn = uid=dyoung2, ou=GSB, dc=uchicago, dc=edu; my @dnvals = ldap_explode_dn($dn); Any

Modify multivalued attribute

2006-06-07 Thread Young, Darren
How can/should I change one value in a multivalued attribue? The attribute I have in question is mailAlternateAddress of which there can be any number of them attached to a given dn. As in: dn: uid=testacct,ou=people,o=gsb,dc=uchicago,dc=edu mailAlternateAddress: [EMAIL PROTECTED]

RE: Check connection

2008-06-10 Thread Young, Darren
[mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2008 2:40 AM To: Young, Darren Cc: perl-ldap@perl.org Subject: Re: Check connection Young, Darren a écrit : Is there any way to check to see if a Net::LDAP object is connected/bound to a server? As in: $ldap = Net::LDAP-new($server

RE: Creating AD account and Exchange Account

2009-12-29 Thread Young, Darren
Yes, you just have to set the attributes correctly. We do it all the time for AD with Exchange 2003 related attributes. -Original Message- From: Sheahan, John [mailto:john.shea...@priceline.com] Sent: Tuesday, December 29, 2009 12:07 PM To: 'perl-ldap@perl.org' Subject: Creating AD

RE: Creating AD account and Exchange Account

2009-12-29 Thread Young, Darren
Send a message to the user, I've found that when the mailbox host receives the first one the mailbox is initialized. -Original Message- From: Sheahan, John [mailto:john.shea...@priceline.com] Sent: Tuesday, December 29, 2009 12:25 PM To: Young, Darren; perl-ldap@perl.org Subject: RE

RE: Creating AD account and Exchange Account

2009-12-30 Thread Young, Darren
BTW: I've found that using the Win32::Exchange::Mailbox from Perl on Windows the mailbox is physically initialized. -Original Message- From: Sheahan, John [mailto:john.shea...@priceline.com] Sent: Tuesday, December 29, 2009 12:58 PM To: Young, Darren; perl-ldap@perl.org Subject: RE

RE: Creating AD account and Exchange Account

2010-01-11 Thread Young, Darren
Yea, I haven't gotten that far yet, I'll let you know what we discover. -Original Message- From: Yash Vartak [mailto:var...@vartakinc.com] Sent: Monday, January 11, 2010 9:34 AM To: Young, Darren; Sheahan, John; perl-ldap@perl.org Subject: Re: Creating AD account and Exchange Account

RE: Creating AD account and Exchange Account

2010-01-11 Thread Young, Darren
I've been testing our scripts against 2007 and so far, so good. All we do is write homeMDB and a few other attributes to the user objects and when the first message is received by the mailbox host it initializes the mailbox. At the same time attributes such as homeMTA and mailNickName are

perl-ad-manager

2010-01-19 Thread Young, Darren
I'm in the process of creating an all Perl/LDAP based AD management set of libraries and scripts and am looking for any assistance in development and/or testing it. Our overall goal has been to have a toolset that can be used from UNIX/Linux to manage AD based objects. Things like provisioning,

RE: perl-ad-manager

2010-01-19 Thread Young, Darren
in that directory for this. -Original Message- From: Dan Cutler [mailto:dcut...@intelimedix.com] Sent: Tuesday, January 19, 2010 2:59 PM To: perl-ldap@perl.org Cc: Young, Darren Subject: RE: perl-ad-manager Darren, I'd be glad to help out with a few things... I am in a software

RE: perl-ad-manager

2010-01-20 Thread Young, Darren
Well, the first thing I'm going to work on is the project goals document and a features roadmap. -Original Message- From: John Arends [mailto:jare...@illinois.edu] Sent: Tuesday, January 19, 2010 7:26 PM To: Justin Alcorn Cc: Young, Darren; perl-ldap@perl.org Subject: Re: perl-ad

RE: perl-ad-manager

2010-01-21 Thread Young, Darren
: Wednesday, January 20, 2010 11:59 AM To: perl-ldap@perl.org Subject: RE: perl-ad-manager Hi Darren, I really suck at programming but would like to get better so please let me know if I can help you in any capacity. Thanks John -Original Message- From: Young, Darren

RE: perl-ad-manager

2010-02-08 Thread Young, Darren
...@asenjo.nl (J.I. Asenjo) writes: On Fri, 05 Feb 2010, 10:18:54AM +0100�, Buchan Milne said: On Tuesday, 19 January 2010 17:35:47 Young, Darren wrote: Am I the only one getting multiple times this same message? No, me too. Me too. I'm talking to the list manager... Cheers, Chris