Samba uid/gid mapping (Server to client) problems
Hi all,
I want to setup a Samba server and some clients. The Samba server was intented to be NT4 style PDC. I decided to use the suggested method of user authentication where the authentication is all over made by the Samba server and I don't have to create all the users on every client (because there are lots of new and leaving users). Login works (there's a problem with creating new local home directories from graphical KDE login screen, see http://www.linuxquestions.org/questi...hreadid=273188 for details), the uid and gid from the server (around 1000) are mapped to some around 15000. Then I created a share. The clients can connect as wished (log.smbd says something with the uid and gid around 1000), but I wanted to create shares like Code:
+public share I'm a bit confused of all this and finally thinking maybe it isn't even possible to do what I'm trying to do. In case it helps, I have attached the smb.conf files of the server and the client, just let me know if you'd like to see another file like nsswitch.conf (I just added winbind for passwd, group and shadow there). Thanks in advance, //mc Code:
smb.conf of the server Code:
smb.conf of the client |
For file works, for dir doesn't work!
It turns out that the subject is even stranger.
I created a simple ascii file within the Samba share, chown a user, chgrp the real group, chmod 770. Then I smbmounted the share with another user of the real group and can less the ascii file! But a dir on this share with the same security settings cannot be accessed :confused: :scratch: :cry: ls -l on the client, in the mounted share: Code:
drwxrwx--- 1 1002 1000 0 2005-01-03 03:52 non-accessible dir It also turns out that the server is working correctly as I can access the non-accessible dir from a windows box. So there must be something with the samba client... |
Getting stranger and stranger with every moment I try this...
Logged on at the Samba client, I smbmounted a real Windows network share and - you guess it - it works. I can browse the entire directory tree of this share as I expected. So for me it looks that the only thing which is not working is the combination Samba Server to Samba Client. Which is rather odd and I thought that would be the easiest thing to do... :cry: Please help me not to lose faith in linux so quickly... //mc |
All times are GMT -5. The time now is 05:14 PM. |