RE: Samba 3.0 Alpha 21 - TZ environment variable.

2003-01-11 Thread Clive . Elsum
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) {

RE: Samba 3.0 alpha 20 problem with timegm->mktime() on HP-UX

2002-11-27 Thread Clive . Elsum
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

RE timegm on SOLARIS

2002-11-20 Thread Clive Elsum
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

FIX to RE: Cannot get net ads join to work under Solaris 8

2002-11-17 Thread Clive . Elsum
/* 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

RE: Cannot get net ads join to work under Solaris 8

2002-11-16 Thread Clive . Elsum
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

RE: Cannot get net ads join to work under Solaris 8

2002-11-14 Thread Clive . Elsum
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

Cannot get net ads join to work under Solaris 8

2002-11-14 Thread Clive . Elsum
: 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

RE: Trying to join a Solaris 8 box to Windows 2000 AD.

2002-11-13 Thread Clive . Elsum
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

RE: Trying to join a Solaris 8 box to Windows 2000 AD.

2002-11-13 Thread Clive . Elsum
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

RE: Trying to join a Solaris 8 box to Windows 2000 AD.

2002-11-12 Thread Clive . Elsum
ù\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

RE: Trying to join a Solaris 8 box to Windows 2000 AD.

2002-11-12 Thread Clive . Elsum
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

RE: Trying to join a Solaris 8 box to Windows 2000 AD.

2002-11-12 Thread Clive . Elsum
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

RE: Trying to join a Solaris 8 box to Windows 2000 AD.

2002-11-12 Thread Clive . Elsum
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 : (+

Trying to join a Solaris 8 box to Windows 2000 AD.

2002-11-10 Thread Clive . Elsum
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