Hi I have created users on samba, they can accees their home directories. I want have one super user who can see all other home directors when he logs on.( The group leader to check their report) Is it possible in samba, Please help me how to configure this on samba. I am working on RH7.1 linux. -Ashok __________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com
Hi Ashok, I am guessing that you are using the 'homes' section of the smb.conf to share out your user home directories. This is going to be a problem; the individual home directory shares don't actually EXIST until the user with the appropriate name connects to the samba box; so unless ALL of your users were connected to samba, the shares wouldn't be available. What you COULD do, if your home directories are all under the same unix path (for instance /home), is make an explicit share to that parent directory, set browseable=no and make the ONLY valid user for this share your 'superuser', and set him as an 'admin user' for that share. Setting him as an admin user for the share means that when he accesses files in that share, he will do so as the unix user 'root'. For instance, if your home directories are under /home (like /home/sue,/home/bill,etc...) and the user that you want to give superuser access to is named 'mike', your 'super homedir share' would look like: [superhome] path=/home browseable=no writeable=yes valid users = mike admin users = mike Hope this helps Don -----Original Message----- From: Ashok Kumar [mailto:ldapsk@yahoo.com] Sent: Wednesday, October 17, 2001 5:52 AM To: samba@samba.org Subject: samba --help Hi I have created users on samba, they can accees their home directories. I want have one super user who can see all other home directors when he logs on.( The group leader to check their report) Is it possible in samba, Please help me how to configure this on samba. I am working on RH7.1 linux. -Ashok __________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Hi Ashok, the 'browseable=no' is what keeps you from seeing the 'superhome' share. I told you to put it there because I assumed you wouldn't want it showing up in the browse list, since ONLY a single user will be able to successfully access it... you can still attach to it by doing a net use, or from the windows run window \\servername\superhome... But if you want it to show up in the browse list, all you have to do is change the 'browseable=no' to 'browseable=yes' in your superhome definition. Hope this helps, Don -----Original Message----- From: Ashok Kumar [mailto:ldapsk@yahoo.com] Sent: Wednesday, October 17, 2001 7:51 AM To: MCCALL,DON (HP-USA,ex1) Subject: samba --help Hi Don I have got all home directories under /home. When I log on I can see my home directory. I have made the following changes in smb.conf [superhome] comment = Root of HS path = /home public = no valid users = ashok admin users = ashok writable = yes browseable = no create mask = 0775 But I dont see the superhome directory at all when I log in. What might be the problem. I have created one more directory called public under home, and made the following changes in smb.conf But this works fine. I can see the common directory when I log on. [common] comment = shared Directory path = /home/public writable = yes public = no valid users = ashok raju create mask = 0740 I dont know anything else has to be enabled to see all home directories. Please help me. Regards Ashok __________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com
Hi Ashok, That's a problem. the '0740' will prevent the users from editing each other's files, but the ability to DELETE files from a directory is governed not by the FILE permissions, but the DIRECTORY permissions. So if a user can CREATE a file in a directory, he can also DELETE a file in that same directory, regardless of the ownership of the file itself. Anybody out there on the list got an idea for getting around this? Don -----Original Message----- From: Ashok Kumar [mailto:ldapsk@yahoo.com] Sent: Wednesday, October 17, 2001 8:24 AM To: MCCALL,DON (HP-USA,ex1) Subject: RE: samba --help Hi Don, Thank you very much. it worked. I want one more help. In a shared directory which will be accessed by two users. I want the user1 created files should be readable by user2, but user2 should not be able to delete or modify user1's files or directory. Similary for user1 should be able to read only user2 files or directory but not modify or delete user2 files or directory. I have made the fillowing changes in smb.conf But user2 can delete user1 files and user1 can delete user2 files. [common] comment = shared Directory path = /home/public writable = yes public = no valid users = ashok raju create mask = 0740 Public directory has 777 permission drwxrwxrwx 3 root root 4096 Oct 10 12:11 public what changes have to be made to have this functional. Please do help. Regards -Ashok __________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com
Hi Don, We have two servers( Rh7.1 Linux) with samba installed. User names on both the servers its same. when I log on win98 with server2 password, I get access for server1 also even though I have not give password for server1. I want if user gives server1 password he should get server1 access only. Or If he gives server2 password he should get servr2 access only. How to do this. Plaese help me. Regards -Ashok __________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com
Hi, We have two servers( Rh7.1 Linux) with samba installed. User names on both the servers its same. when I log on win98 with server2 password, I get access for server1 also even though I have not give password for server1. I want if user gives server1 password he should get server1 access only. Or If he gives server2 password he should get servr2 access only. How to do this. Plaese help me. Regards -Ashok __________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com
Hi What does this mean in samba. machine password timeout = 604800 Regards -Ashok __________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com
This is the number of seconds in one week and is the default frequency used by a Samba server to automatically update with a random number key its machine account password on a Windows Primary Domain Controller. At 09:50 PM 10/18/2001 -0700, you wrote:>Hi > >What does this mean in samba. > > machine password timeout = 604800 > > >Regards >-AshokRegards, Will Schmidt SW Engineer/Consultant Kipe & Associates currently on assignment @ Freightliner LLC Portland, OR (541) 462-3160 (541) 462-3899 fax -------------- next part -------------- HTML attachment scrubbed and removed