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...
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...
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...
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
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...
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...
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...
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...
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...
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.
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...?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.