Re: First LDAP-Perl Script

2009-09-21 Thread Chris Ridd
On 21 Sep 2009, at 13:53, Graham Barr wrote: On Sep 21, 2009, at 5:41 AM, Chris Ridd wrote: On 20 Sep 2009, at 18:44, Parag Kalra wrote: I think I got what was going wrong...If I am not wrong 'bind' method uses authentication hence credentials only while making any changes (add/modify/d

Re: First LDAP-Perl Script

2009-09-21 Thread Graham Barr
On Sep 21, 2009, at 5:41 AM, Chris Ridd wrote: On 20 Sep 2009, at 18:44, Parag Kalra wrote: I think I got what was going wrong...If I am not wrong 'bind' method uses authentication hence credentials only while making any changes (add/modify/delete) to ldap server. So if I will use wrong c

Re: First LDAP-Perl Script

2009-09-21 Thread Chris Ridd
On 20 Sep 2009, at 18:44, Parag Kalra wrote: I think I got what was going wrong...If I am not wrong 'bind' method uses authentication hence credentials only while making any changes (add/modify/delete) to ldap server. So if I will use wrong credentials to modify ldap database then it will

Re: First LDAP-Perl Script

2009-09-20 Thread Parag Kalra
I think I got what was going wrong...If I am not wrong 'bind' method uses authentication hence credentials only while making any changes (add/modify/delete) to ldap server. So if I will use wrong credentials to modify ldap database then it will surely shout... Cheers, Parag On Sun, Sep 20, 20

First LDAP-Perl Script

2009-09-20 Thread Parag Kalra
Hello All Just installed LDAP server (OpenLDAP) on Ubuntu with following base root dn settings: cn=admin,dc=nodomian Added few organisation units to it using command line utility 'ldapadd' and few using ldap browser - 'phpldapadmin' Then I felt like playing with Perl to connect to LDAP server a

RE: Perl Script Needed To Delete All The Files Stored In The Home Drectories.

2009-01-05 Thread Sheahan, John
what is the exact path to the directories? can you give me a few examples? thanks jack -Original Message- From: Jyotishmaan Ray [mailto:[email protected]] Sent: Sunday, January 04, 2009 11:36 PM To: [email protected] Subject: RE: Perl Script Needed To Delete All The Files Stored

RE: Perl Script Needed To Delete All The Files Stored In The Home Drectories.

2009-01-04 Thread Jyotishmaan Ray
Dear All,   I am a new bie in perl scripting language.   I have this problem :   I have around 500 students directories created on a server where they (students) have their own program files etc.   Now the priblem is to delete all these files of those students whose roll no. starts with    s08-1-

Re: Perl Script Needed To Create The Home Drectories.

2008-08-20 Thread Brian Reichert
On Wed, Aug 20, 2008 at 12:07:02PM -0700, Jyotishmaan Ray wrote: > Depending on the Linux system's policies, executing a command like this: useradd -m -d /mnt/btech -c $encrypted_password -s $shell $user will: - create the UID in the password database - create a group ID in /etc/groups - ad

Re: Perl Script Needed To Create The Home Drectories.

2008-08-20 Thread Jyotishmaan Ray
From: Andrej Ricnik-Bay <[EMAIL PROTECTED]> Subject: Re: Perl Script Needed To Create The Home Drectories. To: "Marc Girod" <[EMAIL PROTECTED]>, "Perl-LDAP Mailing List" Date: Wednesday, August 20, 2008, 11:33 PM On 20/08/2008, Marc Girod <[EMAIL PROTECTED]>

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: Perl Script Needed To Create The Home Drectories.

2008-08-20 Thread Jason A. Kates
gt; /mnt/btech/s08-1-5-097 > > All the student should have read/write and execute permissions in their home > directories. > > > Can any one provide the perl script for doing this ? > > > > > > > > > -- Jason A. Kates ([EMAIL PROTECTED]) Fax:208-975-1514 Phone: 212-400-1670 x2

RE: Perl Script Needed To Create The Home Drectories.

2008-08-20 Thread Jyotishmaan Ray
Would appreciate you if provide some pointers in writing a script for creating some hundreds of home directories for each one of them.

Re: Perl Script Needed To Create The Home Drectories.

2008-08-20 Thread Marc Girod
Hi all, May I add my grain of salt? On Wed, Aug 20, 2008 at 3:20 AM, Vartak, Yash V <[EMAIL PROTECTED]> wrote: > You should not expect the community to write entire stuff for you, > the community is for programmers to help each other with genuine queries, > and not give ready made solutions. Gr

RE: Perl Script Needed To Create The Home Drectories.

2008-08-19 Thread Vartak, Yash V
Ray [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 20, 2008 1:35 AM To: [email protected]; Peter Karman Subject: Re: Perl Script Needed To Create The Home Drectories. Your script is not clear. Please provide step wise solution. I am a new bie in perl.   --- On Tue, 8/19/08, Peter Karman

Re: Perl Script Needed To Create The Home Drectories.

2008-08-19 Thread Jyotishmaan Ray
Your script is not clear. Please provide step wise solution. I am a new bie in perl.   --- On Tue, 8/19/08, Peter Karman <[EMAIL PROTECTED]> wrote: From: Peter Karman <[EMAIL PROTECTED]> Subject: Re: Perl Script Needed To Create The Home Drectories. To: [EMAIL PROTECTED], "p

Re: Perl Script Needed To Create The Home Drectories.

2008-08-19 Thread Jyotishmaan Ray
Is that possible to create the home directories- /mnt/btech/rollno    --- On Tue, 8/19/08, Jason A. Kates <[EMAIL PROTECTED]> wrote:

Re: Perl Script Needed To Create The Home Drectories.

2008-08-19 Thread Peter Karman
; s08-1-5-094 > s08-1-5-095 > s08-1-5-096 > s08-1-5-097 > > For example, the home directories, for the rollno, s08-1-5-097, would be > this-> > > > /mnt/btech/s08-1-5-097 > > All the student should have read/write and execute permission

Perl Script Needed To Create The Home Drectories.

2008-08-19 Thread Jyotishmaan Ray
t/btech/s08-1-5-097 All the student should have read/write and execute permissions in their home directories. Can any one provide the perl script  for doing this ?   

RE: Need Help In Writing A Perl Script.

2008-08-19 Thread Vartak, Yash V
and then delete it from your system. Do not copy, use or circulate this communication. Thank you. -Original Message- From: Jyotishmaan Ray [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 19, 2008 5:28 PM To: [email protected] Subject: Need Help In Writing A Perl Script. Dear All,

Need Help In Writing A Perl Script.

2008-08-19 Thread Jyotishmaan Ray
tudent. This would be their home directory. 9) The lines below the line of homedirectory  would remain same for all the files. Please provide me the perl script for that. I am just a new bie and would take weeks to write the script for doing that. A sample student file of five  students is as gi

Re: RES: Question Regarding compiling a perl script implementing Net::LDAP

2005-04-28 Thread Graham Barr
On Thu, April 28, 2005 12:26 am, [EMAIL PROTECTED] said: > Comment out Line 36 in Constants.pm to default to newline mode instead > of paragraph mode... this helped me. My Perl version is 5.8.6 running > on Whitebox/RH Linux That line is just an optimization. But using paragraph mode does seem to

Re: RES: Question Regarding compiling a perl script implementing Net::LDAP

2005-04-27 Thread luke
Comment out Line 36 in Constants.pm to default to newline mode instead of paragraph mode... this helped me. My Perl version is 5.8.6 running on Whitebox/RH Linux

RES: Question Regarding compiling a perl script implementing Net::LDAP

2005-03-30 Thread Ricardo Encarnação Carraretto
Hello, Insert the following line in your Perl script (just before the "use" section): #perl2exe_noopt Net::LDAP::Constant I had the same problem and it was solved using this parameter. Best Regards Ricardo -Mensagem original- De: Matthews, Scott (Contr) [mailto:[EMAIL

RE: Question Regarding compiling a perl script implementing Net::LDAP

2005-03-29 Thread Liebeskind Uri \(liu\)
: Dienstag, 29. März 2005 00:41 To: [EMAIL PROTECTED] Subject: Question Regarding compiling a perl script implementing Net::LDAP Hi My apologies for bothering you.  I have created a Perl Script that reviews data in our LDAP directory.  It runs fine as a regular Perl Script but when I try and

Question Regarding compiling a perl script implementing Net::LDAP

2005-03-29 Thread Matthews, Scott (Contr)
Hi My apologies for bothering you.  I have created a Perl Script that reviews data in our LDAP directory.  It runs fine as a regular Perl Script but when I try and compile it to an exe using Par or even Perl2Exe I get these errors on execution of the resulting executeable. "LDAP_SUCCES

RE: Perl Script

2004-09-21 Thread Paul Connolly
ant Bagade [mailto:[EMAIL PROTECTED] Sent: 21 September 2004 09:43 To: [EMAIL PROTECTED] Subject: Perl Script Hello, I have made on perl script(attached) which do ldapsearch. When I run that script through perl command it works,but when I called it through some programme to view it in browser it neve

Re: Perl Script

2004-09-21 Thread Chris Ridd
On 21/9/04 9:43 am, Chandrakant Bagade <[EMAIL PROTECTED]> wrote: > Hello, > > I have made on perl script(attached) which do ldapsearch. > When I run that script through perl command it works,but when I called > it through some programme to view it in browser it never works

Perl Script

2004-09-21 Thread Chandrakant Bagade
Hello, I have made on perl script(attached) which do ldapsearch. When I run that script through perl command it works,but when I called it through some programme to view it in browser it never works.My OS Win-2000.Any Thing I am missing as some environmental variable or something.. Best