Hi Tonni!
Thanks for the reply. Actually, the gidNumber 1064 from my samba server was the group who are allowed the access the shared folder. Originally the owner was actually root and that the bases of my sharing of every folder was the group. If I have the group allowed to read, write and execute then there shouldn't be no problem even if the owner is root. However, when one user saves his file then he will be the owner of that file and that I am forcing the group to be for example 1064 to allow other members of the group to view or edit the file.
I am also using LDAP as my main database for SAM and then using the smbpasswd database to authenticate each user.
As you can see from the RH7.3 permissions, the "owner" and "group" was actually using the local account created from that machine. Mandrake does not do the same behaviour as the RH7.3 and RH9. I think this has something to do with smbclient but I need to confirm this with you "the experts" :-)
Thank you.
Tony Earnshaw wrote:
ons, 04.05.2005 kl. 14.28 skrev Joey Esquibal:
We've just successfully upgraded our samba server from 2.0 to 3.0. Access from windows clients and linux clients particularly RH7.3 and RH9.0 has no problem accessing the files and saving them.
Unfortunately, we also have Mandrake and Knoppix workstations and in which we're having problems on the mounting of the samba shares. Mandrake and Knoppix basically uses the original "owner" and "group" from the samba server itself which causes these linux distros unable to save files and giving the "read-only" access.
Here's the sample ls output from my Mandrake workstation: --snip-- -rwxrwxr-x 1 root 1064 0 Dec 16 2003 Tech Docu 0028.sxw* drwxrwxr-x 1 root 1064 0 Feb 4 2004 tintan-emailbackup.feb2004/ drwxrwxr-x 1 root 1064 0 Jan 13 2004 Trainings/ drwxrwxr-x 1 root 1064 0 Nov 4 2002 UNIX Handbook/ --snip--
From RH7.3:
--snip--
-rwxrwxr-x 1 joeyae joeyae 0 Dec 16 2003 Tech Docu 0028.sxw*
drwxrwxr-x 1 joeyae joeyae 0 Feb 4 2004 tintan-emailbackup.feb2004/
drwxrwxr-x 1 joeyae joeyae 0 Jan 13 2004 Trainings/
drwxrwxr-x 1 joeyae joeyae 0 Nov 4 2002 UNIX Handbook/
--snip--
How come your Red Hat servers know who the uidNumbers and gidNumbers belong to? How come the Mandrake and Knoppix machines don't? Do you, for example, have a database (/etc/passwd, LDAP, NIS) on the Red Hat machines and not on the others? Who has gidNumber 1064 on the Samba server? I don't know why the Mandrake machine would make the dirs owner root, though.
--Tonni
-- ...Choose friends of various ages in varying situations. Acquintance I would have, but when't depends Not on the number, but the choice of friends. - Abraham Cowley (Friends are the spice of life)
-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
