Bug#401846: Warning: getdate(): Cannot perform date calculation

2006-12-06 Thread Roland Gruber
Hi Michael,

Michael Biebl schrieb:
> Warning: getdate(): Cannot perform date calculation in
> /usr/share/ldap-account-manager/lib/modules/sambaSamAccount.inc on line
> 825

what value does this account have in the LDAP attribute
"sambaPwdMustChange"? Could be that it includes some bogus value.


Greetings

Roland


-- 

LDAP Account Manager
http://lam.sourceforge.net

Want more? Get LDAP Account Manager Pro!
http://lam.sourceforge.net/lamPro/index.htm


signature.asc
Description: OpenPGP digital signature


Bug#401846: Warning: getdate(): Cannot perform date calculation

2006-12-08 Thread Michael Biebl
Roland Gruber schrieb:
> Hi Michael,
> 
> Michael Biebl schrieb:
>> Warning: getdate(): Cannot perform date calculation in
>> /usr/share/ldap-account-manager/lib/modules/sambaSamAccount.inc on line
>> 825
> 
> what value does this account have in the LDAP attribute
> "sambaPwdMustChange"? Could be that it includes some bogus value.
> 

I use smbldap-tools_0.9.2-3 because it allows users to change their
password from within windows, add workstations to the domain on the fly,
and more. The config in smb.conf looks like this:
-
  ldap passwd sync = yes
   passwd program = /usr/sbin/smbldap-passwd %u
   passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*all*authentication*tokens*updated*
   ldap delete dn = yes
   add user script = /usr/sbin/smbldap-useradd -m "%u"
   delete user script = /usr/sbin/smbldap-userdel "%u"
   add machine script = /usr/sbin/smbldap-useradd -w "%u"
   add group script = /usr/sbin/smbldap-groupadd -p "%g"
   delete group script = /usr/sbin/smbldap-groupdel "%g"
   add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"
   delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g"
   set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u"
-

smbldap-tools sets sambaPwdMustChange to 9223372036854775807 , when it
creates an user or host account.

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#401846: Warning: getdate(): Cannot perform date calculation

2006-12-09 Thread Roland Gruber
Hi Michael,

Michael Biebl schrieb:
> smbldap-tools sets sambaPwdMustChange to 9223372036854775807 , when it
> creates an user or host account.

for some reason I do not get the warning but this value is definitely
wrong. sambaPwdMustChange has Unix time format (seconds since 1970).
Even if the value would be in microseconds then this would mean millions
of years.

Are you using the latest version (0.9.2-3) of the smbldap-tools? Then I
can offer you to reassign this bug to their bug tracker.

However, thanks a lot for your feedback.


Greetings

Roland


-- 

LDAP Account Manager
http://lam.sourceforge.net

Want more? Get LDAP Account Manager Pro!
http://lam.sourceforge.net/lamPro/index.htm


signature.asc
Description: OpenPGP digital signature


Bug#401846: Warning: getdate(): Cannot perform date calculation

2006-12-09 Thread Michael Biebl
Roland Gruber wrote:
> Hi Michael,
> 
> Michael Biebl schrieb:
>> smbldap-tools sets sambaPwdMustChange to 9223372036854775807 , when it
>> creates an user or host account.
> 
> for some reason I do not get the warning but this value is definitely
> wrong. sambaPwdMustChange has Unix time format (seconds since 1970).
> Even if the value would be in microseconds then this would mean millions
> of years.
> 
> Are you using the latest version (0.9.2-3) of the smbldap-tools? Then I
> can offer you to reassign this bug to their bug tracker.

Yes, I have version 0.9.2-3 of smbldap-tools installed. If you say, that
the produced value by smbldap-tools is bogus and the bug should be
reassigned, please do so. Nevertheless maybe lam should handle such a
case more gracefully and instead of getting a debug warning message from
php, lam should display info message, saying that the value is not valid.

Cheers,
Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#401846: Warning: getdate(): Cannot perform date calculation

2006-12-06 Thread Michael Biebl
Package: ldap-account-manager
Version: 1.1.1-1
Severity: normal

When displaying the "Samba 3" for Users or hosts, I get the warning
message:

Warning: getdate(): Cannot perform date calculation in
/usr/share/ldap-account-manager/lib/modules/sambaSamAccount.inc on line
825

at the top of the "Samba 3" page.

Users and hosts were created using the smbldap-tools from idealx.

Cheers,
Michael

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (300, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.19
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages ldap-account-manager depends on:
ii  apache2-mpm-prefork [httpd]  2.2.3-3.1   Traditional model for Apache HTTPD
ii  debconf [debconf-2.0]1.5.9   Debian configuration management sy
ii  libapache2-mod-php5  5.2.0-7 server-side, HTML-embedded scripti
ii  php-fpdf 1.53.dfsg-5 PHP class to generate PDF files
ii  php5 5.2.0-7 server-side, HTML-embedded scripti
ii  php5-ldap5.2.0-7 LDAP module for php5

Versions of packages ldap-account-manager recommends:
ii  php5-mhash5.2.0-7MHASH module for php5

-- debconf information excluded


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]