Maybe the suggestion I made some time ago which worked for Solaris may work
for HP as well, if the Tridge replacement doesn't.
The timegm replacement within replace.c (see earlier e-mails).
time_t timegm(struct tm *t)
{
time_t tl, tb;
struct tm *tg;
tl = mktime (t);
if (tl == -1)
{
3600;
}
return (tl - (tb - tl));
}
---------
Clive Elsum BAppSc, RHCE
Systems Engineer - Information Technology Group
CSIRO Atmospheric Research
PMB 1, Aspendale, Victoria, Australia 3195
Phone : (+61 3) 9239 4509
Fax:(+61 3
if (tb == -1)
return -1; /* can't deal with output from gmtime */
tb += 3600;
}
return (tl - (tb - tl));
-
Clive Elsum BAppSc, RHCE
Systems Engineer - Information Technology Group
CSIRO Atmospheric Resea
/* can't deal with output from gmtime */
tb += 3600;
}
return (tl - (tb - tl));
---------
Clive Elsum BAppSc, RHCE
Systems Engineer - Information Technology Group
CSIRO Atmospheric Research
PMB 1, Aspendale, Victoria, Austra
changed the putenv call to force TZ=GMT
and all
works happily.
time_t timegm(struct tm *tm)
{
time_t ret;
char *tz;
char *tzvar;
tz = getenv("TZ");
/*putenv("TZ=");
putenv("TZ=GMT");
tzset();
r
Many thanks Andrew!!
Setting the Solaris box to GMT certainly did the trick.
Well done, I appreciate the prompt response to my query.
Clive Elsum
-Original Message-
From: Andrew Bartlett [mailto:abartlet@;samba.org]
Sent: Thursday, 14 November 2002 10:19 PM
To: [EMAIL PROTECTED]
Cc
: Preauthentication
failed
[2002/11/14 21:01:11, 1] utils/net_ads.c:ads_startup(148)
ads_connect: Invalid credentials
Thanks in advance
Clive
-
Clive Elsum BAppSc, RHCE
Systems Engineer - Information Technology Group
CSIRO Atmospheric
mods to the
Configure commands as detailed earlier.
With the new CVS code unmodified timegm I get the Clock Skew problem.
You say I have a 10+ hour problem, but where and how, and how can this be
rectified.?
TIA
Clive
-
Clive
tuted for timegm was
Preauthentication failed, invalid credentials.
Any help on this would be appreciated.
Thanks in advance
Clive
-
Clive Elsum BAppSc, RHCE
Systems Engineer - Information Technology Group
CSIRO Atmospheric Researc
ù\fþØ\212\230\000\000\000\000
\000\000\000\001\000\000\000\002\000\000\000\002þù¹x", '\000' ,
"ÿ,\030\030ÿ,\030\224\000\000\000\001\000\001ux\000\000\000\000ÿ¾õ(ÿ<¦h",
'\000' , " \002\000\000\000\000\000
\000\000\000\000\000\000\001\000\000\000\001ÿ+\b
One other thing I keep meaning to mention Andrew, I had to replace timegm
with mktime in libads/ldap.c as Solaris does not recognize timegm
Clive
-
Clive Elsum BAppSc, RHCE
Systems Engineer - Information Technology Group
CSIRO
1\000\000\000\002\000\000\000\002þù¹x", '\000' ,
"ÿ,\030\030ÿ,\030\224\000\000\000\001\000\001ux\000\000\000\000ÿ¾õÐÿ<¦h",
'\000' , " \002\000\000\000\000\000
\000\000\000\000\000\000\001\000\000\000\001ÿ+\b\004ÿ+\b\000\000\000\000\000
þñø¸ÿ>\e\224&quo
help on where to go on this would be greatly appreciated,
Clive
-----
Clive Elsum BAppSc, RHCE
Systems Engineer - Information Technology Group
CSIRO Atmospheric Research
PMB 1, Aspendale, Victoria, Australia 3195
Phone : (+
I am having major problems with SAMBA samba-3.0alpha20 in trying to connect
to
Windows 2000 AD. I have attached info if that helps. Any help you can give
me
would be greatly appreciated.
Thanks in advance
Clive Elsum
I can get samba-3.0alpha20 working if I include reference to our NT PDC
in
14 matches
Mail list logo