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
On Thursday 27 March 2008, Mesterhazy Attila wrote:> 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)Depends on your backend. LDAP has entry for this, with tdbsam you can use "net sam set workstations", with smbpasswd (deprecated - migration recommended) you are probably out of luck. -- Chris
"Mesterhazy Attila" <mester@freemail.hu> wrote in message news:freemail.20080227143335.6506@fm12.freemail.hu... 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) If you are using ldap for authentication, you can use the sambaUserWorkstations parameter. Have a look at this http://www.usenetlinux.com/archive/topic.php/t-891223.html Look also at this suggestion for tdbsam. http://dunedin.lug.net.nz/forums/archive/index.php/t-148867.html