Re: [Samba] Re: Logon Hours problems (Slackware)

2005-02-08 Thread bgforum2002
My setup was also on Slackware 10, and the time zone was correct, but still 
the time was incorrect, and changing strangely on every reboot (it was a 
dual-boot machine). I suppose it is a bug in Slackware 10. Besides, even the 
time zone is the same as yours - GMT+2.  /etc/localtome is a symlink to some 
file in  /usr/share/zoneinfo. The fact is, Athens and Sofia are in the same 
time zone, but when symlink points to Athens, everything is o.k., when the 
symlink points to Sofia time is incorrect. 

On Tuesday 08 February 2005 08:13, David Wilson wrote:
 Oh hell ! Mmm.. :)
 I wonder how to solve this ?

 My /etc/localtime has a whole lot of gibberish in it, but it does say SAST
 at the end.
 I assume my timezone is set correctly then ?

 Perhaps I should just try setting the timezone to GMT/UTC ?


 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
 [EMAIL PROTECTED]
 Powered by Linux, driven by passion !
 ___

 Computers are not intelligent. They only think they are.

 - Original Message -
 From: [EMAIL PROTECTED]
 To: David Wilson [EMAIL PROTECTED]
 Sent: Monday, February 07, 2005 1:27 PM
 Subject: Re: [Samba] Re: Logon Hours problems (Slackware)

 I observed this  problem on Slackware 10.0 :)
 
  On Sunday 06 February 2005 10:51, you wrote:
  Hi,
 
  Thanks for your reply.
  I'll check /etc/localtime and see if it's a similar thing to what you
  had.
  Thanks for your assistance.
 
  Just for reference this is a Slackware-10.0 box and the timezone was set
  to
  GMT+2 (SAST) by using timeconfig. Perhaps someone else has picked up
  this
  issue when using Slackware too ?
 
  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
  [EMAIL PROTECTED]
  Powered by Linux, driven by passion !
  ___
 
  Computers are not intelligent. They only think they are.
 
  - Original Message -
  From: [EMAIL PROTECTED]
  To: samba@lists.samba.org
  Sent: Friday, February 04, 2005 1:45 PM
  Subject: Re: [Samba] Re: Logon Hours problems (really stuck)
 
  I had some similar time problems with some versions of glibc. The
  solution
  was
   to point the link /etc/localtime from Sofia to Athens (we are in the
   same
   time zone). May be you could point that to some other city in the same
   time
   zone?
  
   On Thursday 03 February 2005 10:23, David Wilson wrote:
   Hi guys,
  
   Unfortunately this is still happening I've tried restarting Samba.
   Users
   who should be denied access after 21:00 are being denied access at
   19:00.
  
   Our time zone in South Africa is GMT+2. Perhaps I should set the
   timezone on the server to UTC/GMT ?
   Do you think this will help ? Should I then leave the time set to the
   current time in South Africa ? Or should I set the time to the time
   at UTC/GMT ?
  
   There's something I must be missing here.
  
   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
   [EMAIL PROTECTED]
   Powered by Linux, driven by passion !
   ___
  
   Computers are not intelligent. They only think they are.
  
   - Original Message -
   From: David Wilson [EMAIL PROTECTED]
   To: david rankin [EMAIL PROTECTED]; samba
   samba@lists.samba.org
   Sent: Monday, January 31, 2005 8:48 AM
   Subject: Re: [Samba] Re: Logon Hours problems (really stuck)
  
Hi David,
   
Nice name ! :)
   
Thanks for your reply.
I'm pretty sure I did restart Samba, to double check I will restart
it
again this evening.
   
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
[EMAIL PROTECTED]
Powered by Linux, driven by passion !
___
   
Computers are not intelligent. They only think they are.
   
- Original Message -
From: david rankin [EMAIL PROTECTED]
To: samba samba@lists.samba.org
Sent: Saturday, January 29, 2005 5:40 PM
Subject: Re: [Samba] Re: Logon Hours problems (really stuck)
   
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 ?
   
If you made changes, did you remember to restart samba? (stranger
things
have happened)
   
--
David C. Rankin, J.D., P.E.
RANKIN LAW FIRM, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
(936) 715-9333
(936) 715-9339 fax
www.rankin-bertin.com
--
   

Re: [Samba] Re: Logon Hours problems (really stuck)

2005-02-04 Thread bgforum2002
I had some similar time problems with some versions of glibc. The solution was 
to point the link /etc/localtime from Sofia to Athens (we are in the same 
time zone). May be you could point that to some other city in the same time 
zone?

On Thursday 03 February 2005 10:23, David Wilson wrote:
 Hi guys,

 Unfortunately this is still happening I've tried restarting Samba. Users
 who should be denied access after 21:00 are being denied access at 19:00.

 Our time zone in South Africa is GMT+2. Perhaps I should set the timezone
 on the server to UTC/GMT ?
 Do you think this will help ? Should I then leave the time set to the
 current time in South Africa ? Or should I set the time to the time at
 UTC/GMT ?

 There's something I must be missing here.

 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
 [EMAIL PROTECTED]
 Powered by Linux, driven by passion !
 ___

 Computers are not intelligent. They only think they are.

 - Original Message -
 From: David Wilson [EMAIL PROTECTED]
 To: david rankin [EMAIL PROTECTED]; samba
 samba@lists.samba.org
 Sent: Monday, January 31, 2005 8:48 AM
 Subject: Re: [Samba] Re: Logon Hours problems (really stuck)

  Hi David,
 
  Nice name ! :)
 
  Thanks for your reply.
  I'm pretty sure I did restart Samba, to double check I will restart it
  again this evening.
 
  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
  [EMAIL PROTECTED]
  Powered by Linux, driven by passion !
  ___
 
  Computers are not intelligent. They only think they are.
 
  - Original Message -
  From: david rankin [EMAIL PROTECTED]
  To: samba samba@lists.samba.org
  Sent: Saturday, January 29, 2005 5:40 PM
  Subject: Re: [Samba] Re: Logon Hours problems (really stuck)
 
  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 ?
 
  If you made changes, did you remember to restart samba? (stranger things
  have happened)
 
  --
  David C. Rankin, J.D., P.E.
  RANKIN LAW FIRM, PLLC
  510 Ochiltree Street
  Nacogdoches, Texas 75961
  (936) 715-9333
  (936) 715-9339 fax
  www.rankin-bertin.com
  --
  - Original Message -
  From: David Wilson [EMAIL PROTECTED]
  To: samba@lists.samba.org
  Sent: Saturday, January 29, 2005 5:01 AM
  Subject: [Samba] Re: Logon Hours problems (really stuck)
 
  Hi guys,
 
  I'm really sorry to bother you with this but I'm really battling and
  can't find any info to solve my problem.
  Please have a look at my issue below and give me some guidance as to
  what could be causing it.
 
  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
  [EMAIL PROTECTED]
  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: Thursday, January 27, 2005 3:43 PM
  Subject: Re: Logon Hours problems
 
 
 
 
  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
  [EMAIL PROTECTED]
  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
  [EMAIL PROTECTED]
  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 

[Samba] Problem with Redhat 8 and access control of files

2003-08-14 Thread bgforum2002
I have a RH8 and samba version 2.2.7-security-rollup-fix. The problem is 
I can't change the permissins of files from Windows clients (NT and 
2000). If I am logged as some user, create a file on some share and then 
try to change its permissions (for example trying to add read access to 
Everyone) it responds with Access denied. I have almost the same setup 
on another test machine with Gentoo Linux and Samba 2.2.8 and it works 
perfectly. I don't use posix acl,  just the default unix permissions. 
This is what the log output shows:

[2003/08/12 10:59:16, 2] smbd/open.c:open_file(245)
 user opened file RFC/rfc1.txt read=Yes write=No (numopen=2)
[2003/08/12 10:59:16, 2] smbd/posix_acls.c:set_canon_ace_list(1764)
 set_canon_ace_list: conn-vfs_ops.sys_acl_set_file type file failed 
for file R
FC/rfc1.txt (Operation not supported).
[2003/08/12 10:59:16, 2] smbd/close.c:close_normal_file(213)

And my smb.conf

  workgroup = Mydomain
  server string = My Server
  hosts allow = xx.xx.xx.0/255.255.255.128
  printcap name = /etc/printcap
  load printers = yes
  printing = lprng
  log file = /var/log/samba/%m.log
  max log size = 5
  log level = 2
  security = domain
 password server = PDC BACKUPDC
  encrypt passwords = yes
  smb passwd file = /etc/samba/smbpasswd
  local master = no
  os level = 33
 dns proxy = no
 default case = lower
winbind separator = @
winbind uid = 1-3
winbind gid = 1-2
admin users = [EMAIL PROTECTED]
# Share Definitions 
==
[homes]
  comment = Home Directories
  browseable = no
  writable = yes
  path = /home/Mydomain/%U
  create mode = 0700
  directory mode = 0700
  guest ok = no

[Mydomain]
  comment = Admin Share
  writable = yes
  valid users = [EMAIL PROTECTED] @[EMAIL PROTECTED] Supervisors
  path = /home/BNSA
  guest ok = no
[printers]
  comment = All Printers
  path = /var/spool/samba
  browseable = no
  public = yes
  writable = no
  printable = yes
[public]
  comment = Public Stuff
  path = /home/public
  public = yes
  writable = yes
  printable = no
  guest ok = no
[docs]
  comment = Linux Docs
  path = /usr/share/doc
  public = no
;   browseable = no
  writable = no
  valid users = list of users
  printable = no
  guest ok = no
  write list = [EMAIL PROTECTED]
What could be the reason of this behaviour and how can I solve the problem?

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re: samba Digest, Vol 2, Issue 79

2003-02-26 Thread bgforum2002


Once I have set up my Linux samba servers I would like to be able to get
users to access our Novell 5 server via samba.
It seems to suggest on the Samba site that Samba will run on a Novell server
but does anybody know how to do this?
May be it would be easier to mount Novell volumes on the samba server 
and export them as samba shares. I know you can do that to export Novell 
volumes as NFS exports. On the other side, Novell is quite good as file 
server, so why not use its own goodies?

__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Groups with Samba domain controler or domain member

2003-02-20 Thread bgforum2002


Update again:
glibc-2.3.1-46 _did_ break alot of things.  I
downgraded back to the one that came on the RedHat 8.0
CD.

You could downgrade to RedHat 7.3 (run up2date!) to
fix this problem, or work around it as I described.  I
hadn't tested that workaround, so your only option
could be going back to 7.3.


Well, I tried to change the ownership to the numeric gid, it worked, but 
afterwards it doesn't show the group name, only the gid. So I'm not sure 
it is actually working. However, it is not so important for me by now, I 
will leave it as is by now; it would be more pain to mess wth glibc, 
than create some additional groups:)

__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Groups with Samba domain controler or domain member

2003-02-19 Thread bgforum2002


Are you using RedHat 8.0?  It's also broken on my
RedHat 8.0 workstation; I think it's because there are
so many members of that group and some broken library
in 8.0 can't handle long group memberships.  It's
working perfectly on all of my 7.3 servers.

A _possible_ workaround is:
getent group | grep 'Domain Users'
(find out what the group id is.  On my system, it's
1).
chgrp 1 -R some_directory

I can't test it, it's just a thought.  I'm waiting
anxiously for RedHat 8.1, but I'm also considering
moving my workstation to Debian.


Well it is Redhat 8.0. So may be it is specific Redhat problem, but not 
so important for me by now; however it is good if you know everithing 
works as it should work.

__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Groups with Samba domain controler or domain member

2003-02-18 Thread bgforum2002


chgrp 'Domain Admins' some_file.txt



I tried that; it works with Domain Admins and every custom created 
group, but not with the built-in groups like Domain Users. What could be 
the reason? 

__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Re: Groups with Samba domain controler or domain member

2003-02-18 Thread bgforum2002


	Besides how to overcome the issue with permissions using group
names with spaces, what other kind of information do you need to know
about groups? 

Well, is it possible to map some NT group to Unix (except Domain Admins 
and Guests)? I need at least the Domain Users group, since I had set up 
a lot of permissions on users workstations using that group to make some 
programs work as ordinary user (One example is Word 97 on Windows 2000 - 
it behaves quite badly if you don't play with some regystry 
permissions). Should I wait for the next release of Samba or there is 
some workaround to make this working with the current stable release?


__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Groups with Samba domain controler or domain member

2003-02-17 Thread bgforum2002
Does anybody know more about groups? I am considering switching from NT 
to Samba domain and have made some test. Unfortunately I need to make 
two additional groups, except Domain Admin (one of them is Domain 
Users). Is it possible to make that with the stable version of Samba? 
And another, but not so important (for now) question. Currently I have a 
Samba server, providing files and printers as a part of NT domain. It 
has winbind running, and I can list all NT rous and users in the samba 
box. However, manipulating group ownership on files works only with 
groups that don't have spaces in their names. Does anybody know how to 
overcome this?

__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] winbind withoutt PAM

2003-01-22 Thread bgforum2002
As I understood from Samba documentation winbind can run without PAM 
installed; PAM is needed only if I need interactive login in the Unix 
box of NT domain users. Am I correct?

__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba