04-08-2002
If it is setting itself back, check your crontabs for any program to do with time and/or check that ntp is/is not running.
You can check
http://docs.hp.com and search for timezone for different info on it.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I'm running on UNIX with Solaris. I need to change the Timezone on the box and was going to make the changes to the files and then reboot the box.
Someone warned me that this method should not be used and that a util (unconfig.sys I think it was) should be used to make the changes.
Any ideas... (2 Replies)
Discussion started by: Lextar
2 Replies
2. UNIX for Dummies Questions & Answers
Hello again,
under hp-ux i have a file /etc/TIMEZONE. here is definied which timezone i am.
i dont know who reads this file to set after reading the timezone under /usr/lib/tztab.
my 2 questions, who reads the file /etc/TIMEZONE ( which service ) and do i need in the first line to set my... (6 Replies)
Discussion started by: ortsvorsteher
6 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I got an question about changing timezone thrue command line on a SunOS Release 4.1.2 without restarting the computer.
Now it's set on WET and I want to set the timezone to CET (GMT +1)
Plz somebody help me.
Regards
Novisern:confused: (5 Replies)
Discussion started by: Novisern
5 Replies
4. UNIX for Advanced & Expert Users
HI ;
I got Solaris8 installed oon Sunfire V440 .I have TZ=GMT in /etc/TIMEZONE , but when i log in as root i see the date in GMT+1.
So i have every time to "set TZ=GMT ; export $TZ" .
How can i set the TZ=GMT at the startup defenitely.
Thanks
:) (7 Replies)
Discussion started by: oss
7 Replies
5. AIX
Hi
On several AIX 5.3 LPARs the timezone is currrently set to:
TZ=NZST-12NZDT,M9.5.0/02:00,M4.1.0/03:00
Daylight savings in NZ starts on Sun 28th Sep 2008, which is the fourth Sunday. Do I need to change my TZ variable to NZST-12NZDT,M9.4.0/02:00,M4.1.0/03:00 or will AIX interpret the fifth... (2 Replies)
Discussion started by: KiwiP
2 Replies
6. Shell Programming and Scripting
Hi All,
While installing Red Hat Linux, I tried changing the timezone to Japan for testing.But the timezone was not set to Japan.
I tried other timezones , but they didn't work as well.
I am guessing the problem might be due to some missing rpm.Does anyone has any idea or faced a similar... (1 Reply)
Discussion started by: nua7
1 Replies
7. Solaris
Hi Everyone,
We have Solaris server which displays the time in CET and our application is used across the globe.(Users are in singapore, poland, US).
At present in order to display Timezone we are manually manupulating time based on country in a enviromental file.
I want to know , do we... (2 Replies)
Discussion started by: gehlnar
2 Replies
8. Solaris
Hi,
On my server timezone is IST, so I have configured the sudo for user to change the date, but when he is changing the date time zone is also getting changed from ist to gmt. using solaris 10. I have checked in /etc/TIMEZONE file in that it is showing TZ=Asia/Calcutta, wheather any other file... (1 Reply)
Discussion started by: manoj.solaris
1 Replies
9. Solaris
hii there...
can you guys help me with TIMEZONE setting on my solaris box
i tried to edit cat /etc/TIMEZONE..but i think it will work after rebooting,
but something i did which took me to GMT
my problem is i have this issue on a server, and i have to fix this without rebooting.
thanks for... (1 Reply)
Discussion started by: 6pound
1 Replies
10. UNIX for Dummies Questions & Answers
HI Gurus,
I have a issue. One of our applications needs the data loads with the timezone (CST) but our zones run on GMT. I tried to change the TZ value under /etc/default/init value but it seems to effect the the whole zone. Is there any way I can just set up the TZ as CST for a particular user.... (2 Replies)
Discussion started by: rama krishna
2 Replies
LEARN ABOUT REDHAT
ldap_url_parse
LDAP_URL(3) Library Functions Manual LDAP_URL(3)
NAME
ldap_is_ldap_url, ldap_url_parse, ldap_free_urldesc, ldap_url_search, ldap_url_search_s, ldap_url_search_st - LDAP Uniform Resource Locator
routines
SYNOPSIS
#include <ldap.h>
int ldap_is_ldap_url( url )
char *url;
int ldap_url_parse( url, ludpp )
char *url;
LDAPURLDesc **ludpp;
typedef struct ldap_url_desc {
char * lud_scheme; /* URI scheme */
char lud_host; /* LDAP host to contact */
int lud_port; /* port on host */
char * lud_dn; /* base for search */
char ** lud_attrs; /* list of attributes */
int lud_scope; /* a LDAP_SCOPE_... value */
char * lud_filter; /* LDAP search filter */
char ** lud_exts; /* LDAP extensions */
/* may contain additional fields for internal use */
} LDAPURLDesc;
ldap_free_urldesc( ludp )
LDAPURLDesc *ludp;
int ldap_url_search( ld, url, attrsonly )
LDAP *ld;
char *url;
int attrsonly;
int ldap_url_search_s( ld, url, attrsonly, res )
LDAP *ld;
char *url;
int attrsonly;
LDAPMessage **res;
int ldap_url_search_st( ld, url, attrsonly, timeout, res )
LDAP *ld;
char *url;
int attrsonly;
struct timeval *timeout;
LDAPMessage **res;
DESCRIPTION
These routines support the use of LDAP URLs (Uniform Resource Locators) as detailed in RFC 2255. LDAP URLs look like this:
ldap://hostport/dn[?attrs[?scope[?filter[?exts]]]]
where:
hostport is a host name with an optional ":portnumber"
dn is the search base
attrs is a comma separated list of attributes to request
scope is one of these three strings:
base one sub (default=base)
filter is filter
exts are recognized set of LDAP and/or API extensions.
Example:
ldap://ldap.example.net/dc=example,dc=net?cn,sn?sub?(cn=*)
URLs that are wrapped in angle-brackets and/or preceded by "URL:" are also tolerated. Alternative schemes such as ldaps:// and ldapi://
may be parsed using the below routines as well.
ldap_is_ldap_url() returns a non-zero value if url looks like an LDAP URL (as opposed to some other kind of URL). It can be used as a
quick check for an LDAP URL; the ldap_url_parse() routine should be used if a more thorough check is needed.
ldap_url_parse() breaks down an LDAP URL passed in url into its component pieces. If successful, zero is returned, an LDAP URL description
is allocated, filled in, and ludpp is set to point to it. If an error occurs, a non-zero URL error code is returned.
ldap_free_urldesc() should be called to free an LDAP URL description that was obtained from a call to ldap_url_parse().
ldap_url_search() initiates an asynchronous LDAP search based on the contents of the url string. This routine acts just like
ldap_search(3) except that many search parameters are pulled out of the URL.
ldap_url_search_s() performs a synchronous LDAP search based on the contents of the url string. This routine acts just like
ldap_search_s(3) except that many search parameters are pulled out of the URL.
ldap_url_search_st() performs a synchronous LDAP URL search with a specified timeout. This routine acts just like ldap_search_st(3) except
that many search parameters are pulled out of the URL.
SEE ALSO
ldap(3), ldap_search(3)
The LDAP URL Format, RFC 2255, Tim Howes and Mark Smith, December 1997.
ACKNOWLEDGEMENTS
OpenLDAP is developed and maintained by The OpenLDAP Project (http://www.openldap.org/). OpenLDAP is derived from University of Michigan
LDAP 3.3 Release.
OpenLDAP 2.0.27-Release 17 October 2000 LDAP_URL(3)