[Samba] problem about UID
Murat Can Tuna
tuna at ptt.uni-due.de
Wed Sep 15 06:02:24 MDT 2010
Hi everyone,
I have an ubuntu server 9.10 as server and fedora 11 as client and I
have installed and configured samba 3.4.0 on ubuntu and samba
3.4.7-0.50.fc11 on fedora, and openldap smbldap-tools and ldapscript.
My problems are related to UID numbers ( at least I think so).
muratcan, muratcan2, muratcan3 has been created by ldapscript and on
server side there is written UID numbers but on client side, names
are written instead. The other users like murat murat2 murat3 and so
has been created by smbldap-useradd , on server side as owner there
is written names of the users but on client side vice-versa.
I can log in with those users but I don't have any write access.
Only muratcan2 and muratcan3 work exactly like I want. I could
create all my users with ldapadduser command but I want to find out
what is going wrong.
Client:
bash-4.0$ ls -alh
ls: Zugriff auf .directory nicht möglich: Keine Berechtigung
insgesamt 4,0K
drwxr-xr-x 12 1005 users 0 15. Sep 12:58 .
drwxr-xr-x. 4 root root 4,0K 16. Mär 2010 ..
l?????????? ? ? ? ? ? .directory
drwxr-xr-x 3 root root 0 18. Mär 13:25 .ecryptfs
drwxr-x--- 2 1001 users 0 10. Sep 19:11 murat
drwxr-x--- 2 root root 0 10. Sep 19:15 murat2
drwxr-x--- 2 1002 Domain Users 0 10. Sep 19:15 murat3
drwxr-x--- 2 1006 users 0 15. Sep 12:41 muratcan
drwxr-x--- 2 muratcan2 users 0 15. Sep 13:15 muratcan2
drwxr-x--- 2 muratcan3 users 0 18. Mär 13:03 muratcan3
drwxr-xr-x 2 murat 1007 0 15. Sep 12:54 muratsamba
drwxr-xr-x 4 root root 0 22. Jul 18:22 samba
drwx------ 30 1000 1000 0 8. Sep 16:52 tuna
bash-4.0$ cd murat
bash: cd: murat: Keine Berechtigung
bash-4.0$ whoami
murat
bash-4.0$
Server:
root at parkplatz:/home# ls -alh
insgesamt 56K
drwxr-xr-x 12 samba users 4,0K 2010-09-15 12:58 .
drwxr-xr-x 23 root root 4,0K 2010-06-04 07:56 ..
lrwxrwxrwx 1 root root 44 2010-03-18 15:41 .directory
-> /etc/kubuntu-default-settings/directory-home
drwxr-xr-x 3 root root 4,0K 2010-03-18 13:25 .ecryptfs
drwxr-x--- 2 murat users 4,0K 2010-09-10 19:11 murat
drwxr-x--- 2 root root 4,0K 2010-09-10 19:15 murat2
drwxr-x--- 2 murat3 513 4,0K 2010-09-10 19:15 murat3
drwxr-x--- 2 muratcan users 4,0K 2010-09-15 12:41 muratcan
drwxr-x--- 2 65536 users 4,0K 2010-09-15 13:15 muratcan2
drwxr-x--- 2 65537 users 4,0K 2010-03-18 13:03 muratcan3
drwxr-xr-x 2 muratsamba muratsamba 4,0K 2010-09-15 12:54 muratsamba
drwxr-xr-x 4 root root 4,0K 2010-07-22 18:22 samba
drwx------ 30 tuna tuna 12K 2010-09-08 16:52 tuna
Best Regards
Murat Can Tuna
More information about the samba
mailing list