I don't know if this is really a Samba question or a more generic Unix question, so if this is inappropriate, I apoligize in advance... I have a single Unix box running Digital Unix 4.0b and Samba 1.9.18p1. Everything is working great. Samba is running in User authenticate mode. I would like to setup a new Unix box (most likely RedHat Linux 5) and install Samba there as well. Here is the issue... I want everyone on the DU box to be able to access the Samba shares on the Linux box. I want the users on the Linux box to be able to access the shares on the Linux box but NOT the DU box. Is this a Samba config issue? A network security issue? Or both? I do not have Kerberos, NIS, PAM or any other network authentication scheme happening. Thanks for any/all help! --------------------------------------------------------------------- | Tim Winders, CNE | Email: twinders@SPC.cc.tx.us | | Network Administrator | Phone: 806-894-9611 x 2369 | | South Plains College | Fax: 806-897-4711 | ---------------------------------------------------------------------
You wrote (paraphrased) | I want everyone on machine D to be able to access the Samba | shares on machine L. | I want the users on machine L to be able to access the | shares on the Linux box but NOT machine D. Ok, users(L) is going to be a subset of users(D) This is easiest done with groups: create a group of users(L), then one of users(D). Call them userl and userd. In the smb.conf for L, put ``valid users = @userl'' in the appropriate place, either [global], [homes] or the individual shares. You will then need to make sure the groups files are synchronized between the machines, probably with a simple cron script. There are other ways to do this, too... --dave -- David Collier-Brown, | Always do right. This will gratify some people 185 Ellerslie Ave., | and astonish the rest. -- Mark Twain Willowdale, Ontario | davecb@hobbes.ss.org, canada.sun.com M2N 1Y3. 416-223-8968 | http://java.science.yorku.ca/~davecb