[Samba] User restriction on some client machines

Mesterhazy Attila mester at freemail.hu
Thu Mar 27 13:33:35 GMT 2008


Hi,

we have a Samba 3.0.24 server on a Fedora Core 5 system and we use it as PDC. I have client machines with Windows XP SP2.

What I want:
- some machines (for example machine1) should be used only by user1 and user2
- allow user3 to use ONLY some machines (for example machine2)

I tried the following:

[global]
include = /etc/samba/smb.conf.%m
invalid users = user3

here's the smb.conf.machine1 script:
[global]
invalid users = !user1 !user2


here's the smb.conf.machine2 script:
[global]
invalid users = 

But it doesn't work. Every client is useable for everyone except user3 who can not logon to any computer.

Can someone help, please?


Attila

ui: Te már megnézted, hogy diszlexiásak-e a gyerekeid?

Találtam egy szülőknek szóló diszlexiatesztet, ingyenes oldal, nem kerül semmibe. Ne várj, töltsd ki te is! Kattints ide: www.diszlexiateszt.hu/i.php?id=fr080325


More information about the samba mailing list