[BUGS] winbindd maintainer? (was: Re: winbindd: local unix users vs. NTdomain users)

Valery Savchuk volsk at mail.ru
Mon Dec 24 04:22:03 GMT 2001


> On Tue, Dec 18, 2001 at 09:18:01AM +0300, Valery Savchuk wrote:
>
> > I use /home/%u for local users
> > and /userdata/%D/%U for NTDomain users homes
>
> OK - I still don't quite understand the problem.  You have the
> configuration above and when you log in as VOLSKCEMENT+Administrator
> your home directory is set to /home/Administrator instead of
> /userdata/VOLSKCEMENT/Administrator?

Problem not in directories but in uids
Smbd connected into /home/svl (owned local unix user svl,uid=542)
as domain user VOLSKCEMENT+svl (uid=10012)

I need:

When some user (MYDOMAIN+myuser) connected into Samba
1) if local unix user myuser exist, he must be as local user and his home
dir must be
    from passwd (/home/myuser)
2) else he must be as domain user MYDOMAIN+myuser and his homedir must be
from
    "template homedir = ... " line from smb.conf

With correct uid, of course.







More information about the samba mailing list