I experiment with two computers in a network. The first machine is
running Red Hat 6.2 as Gnome Workstation and Samba 2.0.6 on it. The
second machine is running Windows NT 4.0 Server as a PDC. Samba is
configured to belong to a workgroup with the same name as domain's name
on PDC. Well, from within NT's Windows Explorer it is no problem to
access files on RedHat box. But ...

1.) If I am logged on NT machine as an ordinary <user>, I get a content
of /home/<user> directory.

2.) If I am logged on NT machine as "administrator", I get not only the
stuff under /home/<user> directory, but 'hidden' stuff as well
(directories and files beginning with a dot, like .enlightenment or
.gnome etc.). As long as I know, only the root in Linux has access to
these 'system' files and directories per default (I am not an expert). I
wonder if it might be a security issue?

What causes that difference? Both cases I use the same Samba account
(actually, it is the only one Samba account I have made). Its username
is the same as the username for standard Linux user, but the password is
different. Beside that, Samba account's username is different from both
'administrator' and/or 'root', for any case. In addition ...

3.) If I am logged on NT machine as "root" ("root" it is just a *copy*
of the built-in administrator's account under NT, with the *same*
privileges), I get the content of /home/<user> directory just as the
ordinary <user> under 1.) case.

After all, it looks to me as like Samba 'checks' what account is used
when logged to NT box, and if it has the username "administrator" then
Samba offers such an user more than in a case of a user that is not
called "administrator". Any comment?

Misko



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to