Jump to content

samba acl support on reiserfs?


mudfish
 Share

Recommended Posts

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. :help:

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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. :thanks:

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...