winbindd: local unix users vs. NTdomain users ........
Savchuk Valery
volsk at mail.ru
Sat Dec 15 11:38:03 GMT 2001
Hi!
I use Samba 2.2.2 on Linux Red Hat 7.1.
My Samba server is NT domain member (security = domain),
and I use winbindd.
I detect some strange situation, as I look. See below.
For example, my NT domain is MYDOMAIN (PDC implemented
on NT4), and this domain have user myuser (MYDOMAIN+myuser
as see him Samba&Winbindd).
Linux, which run Samba&winbindd, have local user myuser too.
Local unix user myuser have uid 542 and home
directory /home/myuser.
Domain user MYDOMAIN+myuser have uid 10012 and
template home directory /smbhome/MYDOMAIN/myuser.
Strange thing: after connect myuser into domain MYDOMAIN
from Windows2000 machine and connect into [homes] share
onto Samba server, this user get uid 10012 (as MYDOMAIN+myuser)
but his home directory is /home/myuser (as local unix user myuser).
But /home/myuser have owner uid 542, not 10012 !!!!!!!!!!!!!!!!!
I must run "chown -R MYDOMAIN+myuser /home/myuser" to
provide for this user right access in his home directory.
I think, what it's very ugly situation.
Also, what will be, if myuser (see above) is enumered
into "print admin" line of smb.conf: "print admin = myuser"?
How myuser will be to "admin" print$, if he is MYDOMAIN+myuser
(uid 10012) instead myuser (uid 542)?
I not found, how to make this situation rightly.
I think, what local user myuser must have more high
priority under NT domain user myuser (MYDOMAIN+myuser)
in any time and in any shares.
Or have posible manually control order of selection
doubled users.
Also:
I think what need have commands like "winbind add user script
(winbind delete user script)" which will run, when winbindd
detect adding(deleting) user from NTdomain. For creating
(deleting) template home directories, for example.
Now I must to create homedirs manually :(((
------
Valery Savchuk
volsk at mail.ru
svl at volskcement.ru
More information about the samba
mailing list