mudfish Posted October 3, 2008 Report Share Posted October 3, 2008 hi all, i have a mandriva 2007 which has samba installed and a share on its reiserfs partition but i cannot seem to get acl support to work. i don't see any security tabs when i browse the share using the root account on my winxp computer.just wanna ask some questions here and much help is appreciated. 1. is acl supported on reiserfs? 2. is the linux kernel on my system(2.6.17-5mdv) supports acl or do i still have to patch it? 3. or do i have to change it to ext3 or xfs filesystem? below is my fsstab entry /dev/hda1 / ext3 defaults 1 1 /dev/hdc1 /home reiserfs notail,noatime,acl 1 2 none /proc proc defaults 0 0 /dev/hdc5 /tmp ext3 defaults 1 2 /dev/hda6 /usr ext3 defaults 1 2 /dev/hda7 /var ext3 defaults 1 2 /dev/hda5 swap swap defaults 0 0 my smb.conf [global] workgroup = HOME server string = samba log level = 3 log file = /var/log/samba/log.%m max log size = 100 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 preferred master = No local master = No wins support = Yes nt acl support = yes [MyShare] comment = A Shared Drive browseable = yes writable = yes guest ok = no path = /home/MyShare need help. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted October 3, 2008 Report Share Posted October 3, 2008 You configure the security within samba, and it seems you don't have any configured! You can install swat and use a web browser to configure samba, or alternatively install drakwizard and then use the Mandriva Control Center "Configure Your Computer" to configure samba. Quote Link to comment Share on other sites More sharing options...
mudfish Posted October 3, 2008 Author Report Share Posted October 3, 2008 hi ian, added security=user in the globals section on my smb.conf but still no luck.i think security=user is the default so i guess it is not a problem. :unsure: Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted October 3, 2008 Report Share Posted October 3, 2008 Normally when you create the share, you also note which users can gain access to that share and specify the username itself. I don't have samba installed, so can't say the exact config. You also need to create the user on the Linux system with: smbpasswd -a username replacing username with the user you want. Quote Link to comment Share on other sites More sharing options...
mudfish Posted October 4, 2008 Author Report Share Posted October 4, 2008 appreciate your reply but it seems my questions has not been answered. :sad: Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted October 4, 2008 Report Share Posted October 4, 2008 Erm, but I answered your question :huh: You need to configure samba so that it is secured so that not just ANY user can gain access - which is exactly what you have right now. Or is that not what you want? Anyway, your ACL stuff is not dependant on reiserfs as far as I can see. This is dependant on your samba configuration. Check out this google search: http://www.google.co.uk/search?hl=en&q...earch&meta= loads of people who had the same problem - bound to be some answers there. Although all the ones I read, look that they didn't solve it. However, if we look at it from a Windows point of view. If your machine is NOT in the same domain as the samba machine, or it is just a workgroup, then the managing of permissions with the security tab will HAVE to be done from the machine running the share - in this instance - the samba server on Linux. If samba HAS been configured as a domain AND the windows computer is a part of the domain, AND you are using a user that has ADMIN capabilities for samba, AND that you created it using the command I gave you before - then providing that samba has ACL enabled then you should see the support. So, it's not just as simple as enabling ACL support in samba, and expecting the Windows machine to automatically work. Quote Link to comment Share on other sites More sharing options...
mudfish Posted October 7, 2008 Author Report Share Posted October 7, 2008 However, if we look at it from a Windows point of view. If your machine is NOT in the same domain as the samba machine, or it is just a workgroup, then the managing of permissions with the security tab will HAVE to be done from the machine running the share - in this instance - the samba server on Linux. If samba HAS been configured as a domain AND the windows computer is a part of the domain, AND you are using a user that has ADMIN capabilities for samba, AND that you created it using the command I gave you before - then providing that samba has ACL enabled then you should see the support. thanks.that should be the reason why i am not seing the security tabs in my windows box..Im off to configuring SAMBA as a PDC now.Does anybody here have a working samba guide to PDC using Mandriva 2007?Again, thank you Ian. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted October 7, 2008 Report Share Posted October 7, 2008 Try this: http://daniel.fiser.cz/?go=samba found with a google search - it's not distro specific, it's just samba you need to install and then configure smb.conf correctly. Some options you might want to change to be specific to you like domain name, etc. But it should do the trick. Quote Link to comment Share on other sites More sharing options...
David Batson Posted October 7, 2008 Report Share Posted October 7, 2008 (edited) thanks.that should be the reason why i am not seing the security tabs in my windows box.. To see the security tabs in Windows, then in Windows you either have to turn off "Simple file sharing" or else boot up in SAFE MODE. Edited October 7, 2008 by David Batson Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.