First off, here is my smb.conf file: # Samba config file created using SWAT # from gerrym (10.1.1.17) # Date: 1999/11/03 10:53:06 # Global parameters netbios name = PENGUIN security = SERVER encrypt passwords = Yes smb passwd file = /usr/local/samba/bin/smbpasswd log file = /usr/local/samba/lib/samba.log.%m domain groups = adm domain admin group = adm domain admin users = gerrym, root, cliffb, delphias admin users = root, cliffb, gerrym, delphias, patricef [confid] path = /fmit/confid valid users = root, cliffb, gerrym, delphias, patricef write list = root, cliffb, gerrym, delphias, patricef force group = @IT read only = No create mask = 0770 directory mask = 0770 [commodore] path = /home/samba/commodore valid users = @sales, @IT write list = @sales, @IT force user = @sales force group = @sales read only = No create mask = 0770 directory mask = 0770 [scratch] path = /home/samba/scratch read only = No create mask = 0770 directory mask = 0770 [TRImages] path = /tr/TRImages read only = No create mask = 0770 directory mask = 0770 [TRData] path = /tr/TRData read only = No create mask = 0770 directory mask = 0770 [creditx] path = /home/samba/creditx valid users = @IT, @credit write list = @IT, @credit force user = @credit force group = @credit read only = No create mask = 0770 directory mask = 0770 [Disk_Img] path = /home/samba/Disk_Img valid users = @IT write list = @IT force user = @IT force group = @IT read only = No create mask = 0770 directory mask = 0770 [docs] path = /home/samba/docs write list = @IT force user = @IT force group = @IT read only = No create mask = 0770 directory mask = 0770 [iso9000] path = /home/samba/iso9000 valid users = johno, @IT write list = johno, @IT force group = @IT read only = No create mask = 0770 directory mask = 0770 [iso-9000] path = /home/samba/iso-9000 valid users = johno, @IT write list = johno, @IT force group = @IT read only = No create mask = 0770 directory mask = 0770 Ok, heres my sys parameters: RH60 running Samba 2.0.5a. I have the following groups in /etc/groups IT, sales, intsales,credit all the proper names were added to their corresponding groups. Problem #1) User johno cannot access the shares iso9000 or iso-9000, even though I have hime set up as a valid user. Problem #2) No one, except IT can access scratch, docs, TRImages or TRData, and I didnt specify any valid users so they could read the files there. Problem #3) If I remove domain groups = adm domain admin group = adm domain admin users = gerrym, root, cliffb, delphias admin users = root, cliffb, gerrym, delphias, patricef from the globals section, I cannot even access this section. ANY ANSWERS WILL BE GREATLY APPRECIATED!!! THANKS TO ALL WHO ANSWERED MY LAST QUESTION.
What about the linux file system permissions on that directories? Say, if these users logged in in the linux box, could they do what you expect them to do in these directories? For example, granting a user write access to a share from samba won't work unless that same user has write access privileges in the filesystem. [snip]>Ok, heres my sys parameters: RH60 running Samba 2.0.5a. I have the >following groups in /etc/groups IT, sales, intsales,credit >all the proper names were added to their corresponding groups. >Problem #1) User johno cannot access the shares iso9000 or iso-9000, >even though I have hime set up as a valid user. >Problem #2) No one, except IT can access scratch, docs, TRImages or >TRData, and I didnt specify any valid users so they > could read the files there.[snip]
On 4 Nov 99, Gerry Maddock <gerrym@futuremetals.com> had questions about Share problems: [snip]> Ok, heres my sys parameters: RH60 running Samba 2.0.5a. I have > the following groups in /etc/groups IT, sales, intsales,credit > all the proper names were added to their corresponding groups. > Problem #1) User johno cannot access the shares iso9000 or > iso-9000, even though I have hime set up as a valid user.[snip] First, samba will *not* override the underlying linux file/directory permissions. Second, RedHat uses a different default setup (different than most, anyway) based on user-private groups (see the RedHat manual). If you want a particular win-user to access a samba share, then that user (on the linux side) must own the files/dirs under that share, or else belong to a group that owns them (the latter is what you want for multiple users to have access to shared files/dirs). Check and see which user owns the stuff underneath the given samba shares (if they're owned by root, that's probably not what you want). Steve ****************************************************************** Stephen L Arnold http://www.rain.org/~sarnold #include <std_disclaimer.h> ******************************************************************
We have an Intel RH6.2 system running samba 2.06. The system has what I will call two different tyopes of shares. (1) User/home shares and (2) Library shares. The "user" shares seem to operate just fine files can be copyed/moved, apps can open these files and edit them no problems. The "library" shares all are accessed by the same softwware "Revision Master" a small document/file management system. The software runs just fine on WinNT 4.0 shares, but has quite a few problems when moved to Samba. performance of the library drops to nil if you can open it at all, new files cannot be added, and some update operations won't work. I have reset the file system and share perms to 777, to try and determine if it is a perm problem. Nothing changes. Since the "user" shares seem to be fine I am assuming this is a problem with the app. Has anyone any experience with tuning samba for application access problems? TIA Rick