Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. thendal

    adding Time in perl

    Thanks Kirsle for the module recommendation.
  2. thendal

    adding Time in perl

    Thanks KevinADC. That will work.
  3. thendal

    adding Time in perl

    Hi there!!! I'm wondering is there any easy way to add or manipulate time in the built-in time function. In the code below if i add $sec=$sec + 10; then if its greater than 60 seconds increase the minutes by one and if the minutes is greater than 60 then increase the hour by one. on and on...
  4. thendal

    Pattern Matching

    Thanks Mike,Brigmar & kevin. All your valuable comments worked. Finally i went with mike's suggestion if($output=~/^$/) Thanks again.
  5. thendal

    Pattern Matching

    Kevin, Yes empty line only has new line at the end.
  6. thendal

    Pattern Matching

    Hi all! I have a file which separates each record with a empty newline at the end. I'm reading this file and pattern matching with characters i need to capture. But my problem is I'm not able to capture the empty newline at the end of the each record. here is the file record1 sasdsdasd...
  7. thendal

    Replication from sunone DS to openldap

    Is there anyone out there successfully replicated sunone directory server to openldap. I set the agreement in SUN DS to replicate to openldap with openldap cn=manager credentials and then in openldap added the following two lines in slapd.conf updatedn cn=Directory Manager updateref...
  8. thendal

    Running unix command from webpage

    Thanks Kevin, That worked I am able to set the missing env variables.
  9. thendal

    Matching MySql results with LDAP results?

    First query the mysql database for all the usernames who have submited the survey. then query that usernames to openldap. HTH
  10. thendal

    newbie ldap questions

    I would suggest you to check out http://www.openldap.org/doc/admin23/ Also check out how to extend default schema http://www.redhat.com/docs/manuals/dir-server/deploy/schema.htm#24899
  11. thendal

    Running unix command from webpage

    How to run a unix command from a web page... I have unix command in the following path(solaris env) /opt/sys/rtool this command helps to administer a portal software. Here is the perl script to invoke the unix command http://localhost.server/cgi-bin/enable.pl?userid=username #!/usr/bin/perl...
  12. thendal

    Invoking Shell Script

    Hi, I have a html page where user enters a parameter. ------ html page... <input type=text name=username> -------- a CGI script which retreives the username ie) --------------- $op=new CGI; $username=$op->param('username'); -------- and then connects to another server using Net::SSH::Perl...
  13. thendal

    How to connect to MSsql server using perl

    I installed DBD::Sybase, freetds when i ran my script use DBI; BEGIN { $ENV{'SYBASE'} = '/usr/local/freetds'; $ENV{'TDSVER'} = 7.0; } $dbh = DBI->connect("dbi:Sybase:server=10.0.0.1", "$db_username", "$db_password") or die "\nCouldn't connect: " . $DBI::errstr...
  14. thendal

    How to connect to MSsql server using perl

    Thanks Lawn, I got the DBD::Sybase driver installed. Before that i installed freetds. update later. Any other heads up will help.
  15. thendal

    How to connect to MSsql server using perl

    Hi all! Some one direct me what modules i need to install to work with mssql server. I already have DBI worked with mysql. now i need to work with mssql. I can't find a driver for mssql server. I am pretty sure its out there. i am trying to install it from freebsd machine. any help will be...
  16. thendal

    Best way to delete entries in LDAP

    Chris, Used LDIF method used the following command line to grep all the dn under ou=people ldapsearch -b"ou=people,dc=site,dc=edu" "objectclass=*" dn > delete_dn.ldif then using perl script added "changetype: delete" once modified delete_dn.ldif reimported into the directory. I am using...
  17. thendal

    Best way to delete entries in LDAP

    Hi all, I have more than 10,000 entries under ou=people, i like to reload the data what is the best way to delete all the entries any advise will be appreciated. Thank you.
  18. thendal

    Adding multiple value to a hash

    Thank you all. It works.
  19. thendal

    Adding multiple value to a hash

    Hi all, How to add a array of value to a hash tried something like this ..didn't work I have a array @values=("one","two"); $add_hash{values}=@values; When i retrive $add_hash{values} it didn't output array value.. I guess i am missing something here...?
  20. thendal

    Output in MS Word

    Thanks Wraheem, This works in *nix?

Part and Inventory Search

Back
Top