Re: Perl Script Needed To Create The Home Drectories.

2008-08-20 Thread Andrej Ricnik-Bay
On 20/08/2008, Marc Girod <[EMAIL PROTECTED]> wrote: > But, questions like 'why is there a @ on line 4?' should be > acceptable. But you don't sign up for a power-sliding event and then ask the people there what those pedals are for ... ? > Marc Cheers, Andrej -- Please don't top post, and

Re: Help with Active Directory interaction

2008-08-12 Thread Andrej Ricnik-Bay
On 13/08/2008, John Arends <[EMAIL PROTECTED]> wrote: > $mesg = $ldap->search(filter=>"(OU=SubOU,OU=myOU)", > base=>"dc=ad,dc=myorg,dc=edu"); That filter looks quite wrong - you're not qualifying any attributes, just values? Try something like filter=>"(cn=*)" -- Please don't top post, and don

Re: :LDAP 0.36, GroupWise and odd results...

2008-08-08 Thread Andrej Ricnik-Bay
On 09/08/2008, Miller, Don C. <[EMAIL PROTECTED]> wrote: > Andrej, Hi Don, > which line is specifically line 55. Sorry about that - it's the line with the get_value('sn'); > Print "In lookups ", $entry->get_value ... Thanks, will check that out on Monday. > Don Cheers, Andrej -- Pl

Net::LDAP 0.36, GroupWise and odd results...

2008-08-07 Thread Andrej Ricnik-Bay
Hi, The question is a tad vague, maybe someone can hint me at phrasing it differently... ? I'm running a reasonably simple query against a GW-Server, and am getting strange output for two accounts ... In lookups: XXXY SnSnSn GivenName XXXY has address GivenName.SUse of un

Re: Question to direct page access

2008-07-28 Thread Andrej Ricnik-Bay
On 29/07/2008, Katsuhisa Fujinaga <[EMAIL PROTECTED]> wrote: > Does anybody know how to direct page access? Bless mailing-lists and google ... I knew I saw something like this before on the list... http://www.nntp.perl.org/group/perl.ldap/2007/01/msg2462.html > Kind regards. > > Katsuhisa Fuj

Re: IO::Socket::SSL: Timeout

2008-07-18 Thread Andrej Ricnik-Bay
On 19/07/2008, _V-IT-Systemhaus-Perl-LDAP von extern <[EMAIL PROTECTED]> wrote: > Hi *, > - Novell SLES 10 (x86_64) > - Net::LDAP 0.36 > - Net::SSLeay 1.32 > - openssl 0.9.8a-18.23 First thoughgt ... SLES has some iptables filtering going by default, check whether you can reach the port via te

Re: Problem with DN

2008-05-28 Thread Andrej Ricnik-Bay
On 29/05/2008, Zumwalt, Robert <[EMAIL PROTECTED]> wrote: > I am getting a error: What is the error? > Using the following DN: > DISPLAYNAME=Name > 1,[EMAIL PROTECTED],OU=OSS_8781150020001601_200805281457 > 19695574,O=blah.com,O=consumer,O=site Is mail actually meant to be part of this, and

Re: printMembers.pl returns 30 members, where ldap browser returns 217!

2007-09-13 Thread Andrej Ricnik-Bay
On 9/14/07, Julius Squeezer <[EMAIL PROTECTED]> wrote: > Greetings > > For some groups the script's ( > http://search.cpan.org/src/GBARR/perl-ldap-0.34/contrib/printMembers.pl ) > output and ldap browser's (came with IBM Directory Server) output matches > exactly, but for some other groups the scr

Re: Trouble with Net::LDAP

2007-08-21 Thread Andrej Ricnik-Bay
On 8/22/07, Andres Tarallo <[EMAIL PROTECTED]> wrote: > I'm writing an application that uses Net::LDAP. When I try to add an > object in my tree y get this errors: > LDAP_PROTOCOL_ERROR Unrecognized version number or incorrect PDU > structure. > > Any clue to debug this is welcome. Perl version, op

Re: Net::Ldap

2007-07-12 Thread Andrej Ricnik-Bay
On 7/13/07, Muhammad Azam Akram <[EMAIL PROTECTED]> wrote: Hi I installed net::ldap from cpan. Then I run the >perl Makefile.PL It went fine... Did all so say that all requirements were met? Personally I find it a good idea to have CPAN resolve things for me (most of the time they're spot on)

Re: Perl Ldap support

2007-03-07 Thread Andrej Ricnik-Bay
On 3/8/07, Bill <[EMAIL PROTECTED]> wrote: Andrej, Hi Bill! I normally use the client commands and store the ouptut into an array for processing. with the NET::LDAP it seems too much typing. :-) I should have mentioned in my initial email that I have read through the FAQ's and articles on

Re: Perl Ldap support

2007-03-06 Thread Andrej Ricnik-Bay
On 3/7/07, Bill <[EMAIL PROTECTED]> wrote: Hi All. Hi Bill! I am new to this email group. I been reading the emails for the past couple of weeks and notice mostly everyone is using Net::LDAP module for perl to ldap interaction. Normally we have ibm ldap client on our server installed, thus

Re: Accessing values of an $entry object inside a function

2007-02-28 Thread Andrej Ricnik-Bay
*sigh* Disregard the last mail, I was having a major blond day. It's all well - I was trying to compare values that I hadn't retrieved

Re: Accessing values of an $entry object inside a function

2007-02-28 Thread Andrej Ricnik-Bay
On 3/1/07, Peter Marschall <[EMAIL PROTECTED]> wrote: Hi Andrej, Hi Peter, and as always thanks for the response! Don't put the evaluation statement inside quotes: printf $entry->get_value( 'preferredName' )."$field\n"; should do. Returns an empty value, even though I can see (with ad

Accessing values of an $entry object inside a function

2007-02-27 Thread Andrej Ricnik-Bay
Hi Guys, Sorry for asking something that's probably trivial; I'm trying to pass an $entry to a series of functions that do some checking and build an array for a modify operation as they go. But for some reason I can't seem to access values. if( $found_empNo == 1 ){ update_edir

Re: CPAN Upload: G/GB/GBARR/perl-ldap-0.34.tar.gz

2007-02-10 Thread Andrej Ricnik-Bay
woo-hoo! :) Thanks Graham!

Re: German special characters cause problems with Net::LDAP

2007-02-08 Thread Andrej Ricnik-Bay
Any hints ? Could be a data related issue? Since UTF seems to be the default the question would be whether what you enter is UTF or rather ASCII with a German character set ... best regards Christian Cheers, Andrej

Re: Pass IIS credentials through LDAP?

2006-12-31 Thread Andrej Ricnik-Bay
On 1/1/07, Eric Nichols <[EMAIL PROTECTED]> wrote: Any ideas? I'm fairly certain (not that I have any windows expertise what so ever) that this works via some RPC or similar system hooks and has nothing to do with LDAP (or perl, for that matter). Cheers, Andrej

Re: LDAP string (server name)

2006-12-03 Thread Andrej Ricnik-Bay
If I can have a perl command to check this, that would be great too.. Thanks again!! Check what? So far there was no actual description of a problem, or an outcome achievable? :) Just a VB code snippet that -in isolation- doesn't make much sense (to me, anyway). Cheers, Andrej

Re: LDAP string (server name)

2006-12-01 Thread Andrej Ricnik-Bay
On 1 Dec 2006 15:12:49 -0800, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hello!! I have been tring this for a while. If anybody can help me with this, I would really appreciate it. I have installed an LDAP server on my local machine. I am creating a new instance of DirectoryEntry using: New

Re: preferred method to get a complete AD structure into a hash

2006-11-06 Thread Andrej Ricnik-Bay
On 11/7/06, Hirmke Michael <[EMAIL PROTECTED]> wrote: Hi *, is there a preferred method to get a complete AD (LDAP) structure into a hash of hashes or some other more complex perl structure? The result should look similar to this example: $VAR1 = { 'CN=Connections,CN=...' => { 'CN=UMS Con

Re: The filter, the or and the missing attribute

2006-10-11 Thread Andrej Ricnik-Bay
On 10/12/06, Peter Marschall <[EMAIL PROTECTED]> wrote: From the information you sent I can see no perl-ldap problem Thanks Peter, That confirms my thoughts; back to hassling our service provider :} Peter Cheers, Andrej

Re: The filter, the or and the missing attribute

2006-10-11 Thread Andrej Ricnik-Bay
On 10/12/06, Quanah Gibson-Mount <[EMAIL PROTECTED]> wrote: Have you check the NDS log to see if the filter being logged is the filter you specified in your script? If you use this filter with ldapsearch, does it work? I don't have access to the logs, as I said, we outsourced many aspects of IT

Re: The filter, the or and the missing attribute

2006-10-11 Thread Andrej Ricnik-Bay
On 10/12/06, Peter Marschall <[EMAIL PROTECTED]> wrote: Hi, Hi Peter! > My problem is that if I filter for > (&(|(uid=$userid)(cn=$userid))(mail=*)) > the query returns NOTHING if a user happens not to have > a cn or a uid, while what I was hoping to get one of them > because of the or. The f

The filter, the or and the missing attribute

2006-10-10 Thread Andrej Ricnik-Bay
Hi Guys, We have an NDS directory that's (very poorly) maintained by a third party. In this directory there are users with a weird zoo of attributes. My task is that I need to find e-Mail addresses for users. My search term is a userid that can be matched (in NDS) by either cn or uid. My pro

Re: Net::LDAP::Schema and attributes

2006-09-18 Thread Andrej Ricnik-Bay
On 9/19/06, Peter Marschall <[EMAIL PROTECTED]> wrote: Hi, Hi Peter, And thanks for the response. this is outside the scope of this list, but I would not expect that a perl object survives between two invocations of a CGI script. /me slaps his hand on his forehead Sorry guys. Regards Pete

Re: Net::LDAP::Schema and attributes

2006-09-18 Thread Andrej Ricnik-Bay
On 9/19/06, Peter Marschall <[EMAIL PROTECTED]> wrote: Hi, Hi Peter, Please keep your reply to the list !!! You deprive others of the help you get if you send personal mail in response to posts that help you with your requests. Sorry, only clicking on the reply is a bad habit, I'll watch it.

Re: Net::LDAP::Schema and attributes

2006-09-17 Thread Andrej Ricnik-Bay
Hi again, I've run into a problem that I can't quite understand. I've created an HTML form that invokes a CGI script as form-action, that works well. I have a collection of LDAP related functions in a package that I use from the CGI script - this works to. ldapconnect() works, parseldapoutput(

Re: Net::LDAP::Schema and attributes

2006-09-13 Thread Andrej Ricnik-Bay
Thanks to both Peter and Simon, I like both ideas, I guess I'll need to have a much closer second look at our schema and then decide which way I want to go down. I think that several of the attributes for objects in people is of no concern to most staff anyway, and I need to investigate how acce

Net::LDAP::Schema and attributes

2006-09-12 Thread Andrej Ricnik-Bay
Hi Gents, I've quickly glanced over the mailing list archive, read the docs on cpan, googled around but I still fail to understand how I could narrow down a search for attributes that only returns values that make sense in a given ou, e.g. ou=people,ou=users,o=org The reason that I'm looking for