Nebu John Mathai
2003-Jul-10 20:59 UTC
[Samba] enforcing windows permissions on "smbmount"-ed shares
Hi, I'm using samba/winbind to integrate a linux machine on to a windows network. I'm at the point where I have a unified logon scheme with logins to the linux machine being authenticated through the windows PDC (using winbind). I also have a windows-based file server with shares that I can successfully "smbmount" on the linux machine. My problem is that I would like to be able to mount the windows share on the linux machine, while still maintaining the windows permissions. The share that I'm mounting has a bunch of user home directories, as well as some common folders. On windows, the permissions are correctly set so as to restrict and allow access, as dictated by the permissions. However, using "smbmount" there is no permission structure present--the share is mounted as root, and that is the only permission throughout the share. Is there a mechanism to mount a windows share on linux, while maintaining the windows permission structure? I have the following components on my system: system - redhat linux v7.2 kernel - 2.4.18 samba - v2.2.3a My system uses the stock RedHat components; I've not had to recompile the kernel for samba/winbind. Thanks for your help, Nebu (nebum@zoran.com)
Francois Menard (Mailing List Account)
2003-Jul-10 21:29 UTC
[Samba] Samba 3.0 beta 2 - smbclient and acctuented characters off a win2k server
Good news, In my new purpose in life to understand why I could not do a dir with smbclient and see our files with accentuated characters in a win2kserver share with real characters instead of question marks, I am now observing that 3.0 beta 2 allows me to see such characters whereas 3.0 beta 1 did not. I have no explanation from that in the what's new for 3.0 beta 2... On another note, when I try to create a directory with an accentuated character, I get an error message "short utf8 char". Bummer. Finally, this doesn't solve my problem of utilizing smbfs, which is still rigged with the problem. Anybody of higher competence than me can come up with a patch for 2.4.20 smbfs? Thanks -=Francois=-