If i would set an User Expire date, then will be change the shadowExpire value in LDAP correctly, but the sambaKickofftime Value will be set with the Unix Time Format.
So i can only expire an Unix User login, but not an WIndows User Login.
Please dont hurt me :-)
best Regards and an happy new year
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well, according to Samba documentation sambaKickoffTime should be in UNIX time format. In Samba docs it says: SambaKickoffTime - Specifies the time (UNIX time format) when the user will be
locked down and cannot login any longer...
I beleive I tested this and it worked as well, but I'm not sure any more. I'll check it once more and let you know.
Cheers
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2005-01-03
HI,
Your are right with the Docs.
I have readed today.
But if i set an User Expire under an Unix with the "smbldap-usermod" then it will be correcly set the Sambakickofftime.
I think there are two different Time Formats.
The UNIX TIME under shadowExpire are the Days
from First Jan.1970 to now in Days.
And the Sambakickofftime is a Timestamp with Hour,minutes and seconds -> a 8 Digit Integer Value.
I thinks this is the Problem !
Thanks for the Help.
Cheers too.!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I checked smbldap-usermod.pl and it seems as SambaKickoffTime actually represents number of SECONDS since 1/1/1970 (they use shell command 'date' with option %s)!
I'll change that for the next release which will be in few weeks (I guess :-)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I have found an Bug.
If i would set an User Expire date, then will be change the shadowExpire value in LDAP correctly, but the sambaKickofftime Value will be set with the Unix Time Format.
So i can only expire an Unix User login, but not an WIndows User Login.
Please dont hurt me :-)
best Regards and an happy new year
Hi,
happy New Year too!
Well, according to Samba documentation sambaKickoffTime should be in UNIX time format. In Samba docs it says: SambaKickoffTime - Specifies the time (UNIX time format) when the user will be
locked down and cannot login any longer...
I beleive I tested this and it worked as well, but I'm not sure any more. I'll check it once more and let you know.
Cheers
HI,
Your are right with the Docs.
I have readed today.
But if i set an User Expire under an Unix with the "smbldap-usermod" then it will be correcly set the Sambakickofftime.
I think there are two different Time Formats.
The UNIX TIME under shadowExpire are the Days
from First Jan.1970 to now in Days.
And the Sambakickofftime is a Timestamp with Hour,minutes and seconds -> a 8 Digit Integer Value.
I thinks this is the Problem !
Thanks for the Help.
Cheers too.!
I checked smbldap-usermod.pl and it seems as SambaKickoffTime actually represents number of SECONDS since 1/1/1970 (they use shell command 'date' with option %s)!
I'll change that for the next release which will be in few weeks (I guess :-)