More information on my problem below. It seems that users that were only meant to kicked off at 21:00 were kicked off at 19:00. I've checked the time and timezone on the Linux server and all seems correct. I think I've messed up something somewhere to do with Samba and time and Logon Hours restrictions. Please point me in the right direction. Many thanks David Wilson From: "David Wilson" <dave@dcdata.co.za> To: <samba@lists.samba.org> Sent: Sunday, January 23, 2005 6:26 PM Subject: [Samba] Logon hours> Hi guys, > > Sorry to bug you on this. > Any ideas on my query below ? I saw something about all samba-3.x versions > requiring a patch to implement the logon hours restrictions 100% ? > > Thanks in advance. > Kindest regards > David Wilson > _______________________________ > D c D a t a > Tel +27 33 342 7003 > Fax +27 33 345 4155 > Cell +27 82 4147413 > http://www.dcdata.co.za > support@dcdata.co.za > Powered by Linux, driven by passion ! > _______________________________ > > ----- Original Message ----- > From: "David Wilson" <dave@dcdata.co.za> > To: <samba@lists.samba.org> > Sent: Friday, January 21, 2005 11:02 AM > Subject: Logon hours > > >> Hi guys, >> >> Another quick question: >> I'm running Samba-3.0.9 with an LDAP backend. >> User logon restrictions, in terms of allowed logon hours are set by using >> NT's "User Manager.exe" which connects to the Samba controlled domain. >> The restrictions appear to work OK except when there are multiple rules >> for the logon hours. >> .e.g >> Logon restrictions work pefectly if the logon time is: 13:00-17:00, but >> not when there is more than one 'rule' e.g. 13:00-14:00 and 15:00-17:00. >> As soon as there is more than one rule users cannot log on and if I try >> to use smbclient I get something like and error like INVALID_LOGON_HOURS. >> >> Any ideas ? >> Your assistance is greatly appreciated. >> >> >> >> Kindest regards >> David Wilson >> _______________________________ >> D c D a t a >> Tel +27 33 342 7003 >> Fax +27 33 345 4155 >> Cell +27 82 4147413 >> http://www.dcdata.co.za >> support@dcdata.co.za >> Powered by Linux, driven by passion ! >> _______________________________ > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/sambaKindest regards David Wilson _______________________________ D c D a t a Tel +27 33 342 7003 Fax +27 33 345 4155 Cell +27 82 4147413 http://www.dcdata.co.za support@dcdata.co.za Powered by Linux, driven by passion ! _______________________________ "Computers are not intelligent. They only think they are."
I've found the "time offset" option from the smb.conf man page. In South Africa we are GMT+2, so I've set "time offset = 120" in my smb.conf. Do you think this is the right thing to do ? Kindest regards David Wilson _______________________________ D c D a t a Tel +27 33 342 7003 Fax +27 33 345 4155 Cell +27 82 4147413 http://www.dcdata.co.za support@dcdata.co.za Powered by Linux, driven by passion ! _______________________________ "Computers are not intelligent. They only think they are." ----- Original Message ----- From: David Wilson To: samba@lists.samba.org Sent: Tuesday, January 25, 2005 2:11 PM Subject: Logon Hours problems More information on my problem below. It seems that users that were only meant to kicked off at 21:00 were kicked off at 19:00. I've checked the time and timezone on the Linux server and all seems correct. I think I've messed up something somewhere to do with Samba and time and Logon Hours restrictions. Please point me in the right direction. Many thanks David Wilson From: "David Wilson" <dave@dcdata.co.za> To: <samba@lists.samba.org> Sent: Sunday, January 23, 2005 6:26 PM Subject: [Samba] Logon hours> Hi guys, > > Sorry to bug you on this. > Any ideas on my query below ? I saw something about all samba-3.x versions > requiring a patch to implement the logon hours restrictions 100% ? > > Thanks in advance. > Kindest regards > David Wilson > _______________________________ > D c D a t a > Tel +27 33 342 7003 > Fax +27 33 345 4155 > Cell +27 82 4147413 > http://www.dcdata.co.za > support@dcdata.co.za > Powered by Linux, driven by passion ! > _______________________________ > > ----- Original Message ----- > From: "David Wilson" <dave@dcdata.co.za> > To: <samba@lists.samba.org> > Sent: Friday, January 21, 2005 11:02 AM > Subject: Logon hours > > >> Hi guys, >> >> Another quick question: >> I'm running Samba-3.0.9 with an LDAP backend. >> User logon restrictions, in terms of allowed logon hours are set by using >> NT's "User Manager.exe" which connects to the Samba controlled domain. >> The restrictions appear to work OK except when there are multiple rules >> for the logon hours. >> .e.g >> Logon restrictions work pefectly if the logon time is: 13:00-17:00, but >> not when there is more than one 'rule' e.g. 13:00-14:00 and 15:00-17:00. >> As soon as there is more than one rule users cannot log on and if I try >> to use smbclient I get something like and error like INVALID_LOGON_HOURS. >> >> Any ideas ? >> Your assistance is greatly appreciated. >> >> >> >> Kindest regards >> David Wilson >> _______________________________ >> D c D a t a >> Tel +27 33 342 7003 >> Fax +27 33 345 4155 >> Cell +27 82 4147413 >> http://www.dcdata.co.za >> support@dcdata.co.za >> Powered by Linux, driven by passion ! >> _______________________________ > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/sambaKindest regards David Wilson _______________________________ D c D a t a Tel +27 33 342 7003 Fax +27 33 345 4155 Cell +27 82 4147413 http://www.dcdata.co.za support@dcdata.co.za Powered by Linux, driven by passion ! _______________________________ "Computers are not intelligent. They only think they are."
Hi guys, The "time offset" option unfortunately did not solve my problem. Users that are meant to be kicked off at 21:00 keep getting kicked off at 19:00. The time on the server is right. What else could be causing my problem ? Kindest regards David Wilson _______________________________ D c D a t a Tel +27 33 342 7003 Fax +27 33 345 4155 Cell +27 82 4147413 http://www.dcdata.co.za support@dcdata.co.za Powered by Linux, driven by passion ! _______________________________ "Computers are not intelligent. They only think they are." ----- Original Message ----- From: David Wilson To: samba@lists.samba.org Sent: Tuesday, January 25, 2005 10:16 PM Subject: Re: Logon Hours problems I've found the "time offset" option from the smb.conf man page. In South Africa we are GMT+2, so I've set "time offset = 120" in my smb.conf. Do you think this is the right thing to do ? Kindest regards David Wilson _______________________________ D c D a t a Tel +27 33 342 7003 Fax +27 33 345 4155 Cell +27 82 4147413 http://www.dcdata.co.za support@dcdata.co.za Powered by Linux, driven by passion ! _______________________________ "Computers are not intelligent. They only think they are." ----- Original Message ----- From: David Wilson To: samba@lists.samba.org Sent: Tuesday, January 25, 2005 2:11 PM Subject: Logon Hours problems More information on my problem below. It seems that users that were only meant to kicked off at 21:00 were kicked off at 19:00. I've checked the time and timezone on the Linux server and all seems correct. I think I've messed up something somewhere to do with Samba and time and Logon Hours restrictions. Please point me in the right direction. Many thanks David Wilson From: "David Wilson" <dave@dcdata.co.za> To: <samba@lists.samba.org> Sent: Sunday, January 23, 2005 6:26 PM Subject: [Samba] Logon hours> Hi guys, > > Sorry to bug you on this. > Any ideas on my query below ? I saw something about all samba-3.x versions > requiring a patch to implement the logon hours restrictions 100% ? > > Thanks in advance. > Kindest regards > David Wilson > _______________________________ > D c D a t a > Tel +27 33 342 7003 > Fax +27 33 345 4155 > Cell +27 82 4147413 > http://www.dcdata.co.za > support@dcdata.co.za > Powered by Linux, driven by passion ! > _______________________________ > > ----- Original Message ----- > From: "David Wilson" <dave@dcdata.co.za> > To: <samba@lists.samba.org> > Sent: Friday, January 21, 2005 11:02 AM > Subject: Logon hours > > >> Hi guys, >> >> Another quick question: >> I'm running Samba-3.0.9 with an LDAP backend. >> User logon restrictions, in terms of allowed logon hours are set by using >> NT's "User Manager.exe" which connects to the Samba controlled domain. >> The restrictions appear to work OK except when there are multiple rules >> for the logon hours. >> .e.g >> Logon restrictions work pefectly if the logon time is: 13:00-17:00, but >> not when there is more than one 'rule' e.g. 13:00-14:00 and 15:00-17:00. >> As soon as there is more than one rule users cannot log on and if I try >> to use smbclient I get something like and error like INVALID_LOGON_HOURS. >> >> Any ideas ? >> Your assistance is greatly appreciated. >> >> >> >> Kindest regards >> David Wilson >> _______________________________ >> D c D a t a >> Tel +27 33 342 7003 >> Fax +27 33 345 4155 >> Cell +27 82 4147413 >> http://www.dcdata.co.za >> support@dcdata.co.za >> Powered by Linux, driven by passion ! >> _______________________________ > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/sambaKindest regards David Wilson _______________________________ D c D a t a Tel +27 33 342 7003 Fax +27 33 345 4155 Cell +27 82 4147413 http://www.dcdata.co.za support@dcdata.co.za Powered by Linux, driven by passion ! _______________________________ "Computers are not intelligent. They only think they are."