[Samba] Samba 4.1 gentent, ls, no display domain user name on Primary ACDC but wbinfo -u yes

Rowland Penny rowlandpenny at googlemail.com
Mon Mar 23 07:09:26 MDT 2015


On 23/03/15 12:51, Jhon P wrote:
> One ADDC with linux Debian 7 and Samba4.1 working.}
> Im test "NIS" and works fine after we expand the samba 4 schema. ;-)
>
> This is the DC with the problem of getent and can give domain users 
> infoonly "wbinfo -u".
>
> When list directories with "ls" also display UID instead Domain User 
> ID in the directories.
> When i use "getent passwd" this also display passwd file users "unix 
> users" not domain users.
>
> The Domain Works well anyway and i can manage with "RSAT" but if i 
> like manage it with linux its really dificult, because im need give 
> the UID and before check it with  "wbinfo --uid-info" to know how its 
> the owner  of a directory for example.
>
> I really want to manage it with linux, because I come from the old 
> school of samba 2:-), really depend 100% of microsoft does not make me 
> very happy i think.
>
> All clients are conected to this server.
>
> Regards and thanks.
>
> > Date: Mon, 23 Mar 2015 12:16:54 +0000
> > From: rowlandpenny at googlemail.com
> > To: samba at lists.samba.org
> > Subject: Re: [Samba] Samba 4.1 gentent, ls, no display domain user 
> name on Primary ACDC but wbinfo -u yes
> >
> > On 23/03/15 11:42, Jhon P wrote:
> > > Thanks for the clarification.
> > >
> > > They are around 80 clients.
> > > All windows 7 and Xp pro.
> > >
> > > One member server linux with Debian 7 for testing the future file
> > > server. All on this works fine.
> > >
> > > Other servers that are not in the domain
> > >
> > > Thanks.
> > > > Date: Mon, 23 Mar 2015 09:26:08 +0000
> > > > From: rowlandpenny at googlemail.com
> > > > To: samba at lists.samba.org
> > > > Subject: Re: [Samba] Samba 4.1 gentent, ls, no display domain user
> > > name on Primary ACDC but wbinfo -u yes
> > > >
> > > > On 23/03/15 00:55, Jhon P wrote:
> > > > > It will be necessary to join this PDC to the domain?
> > > >
> > > > Firstly, it is a 'DC' not a 'PDC', there really is no concept of a
> > > > Primary Domain Controller in active directory, other than one of the
> > > > FSMO roles. These FSMO roles are the only differences between DCs ,
> > > > other than this, all DCs are the same (or should)
> > > >
> > > > You do not join a DC to the domain unless it is a second (or
> > > subsequent)
> > > > DC, when you provision a DC or classicupgrade a PDC, it is
> > > automatically
> > > > joined to the domain.
> > > >
> > > > > I did this once and it was not me well and I had to restore the
> > > backup.
> > > > >
> > > > > The samba documentation does not say anything of this.
> > > > > Remember this isnt a member server this is the PDC, on samba 
> ACDC doc
> > > > > say this:
> > > > >
> > > > > "We /*_do not recommend_* using the Domain Controller as a file
> > > > > Server. This is due to issues with the winbind internal to the 
> Domain
> > > > > Controller./"
> > > > >
> > > > > But I also need to use it because I had no other server to use 
> as a
> > > > > file server.
> > > >
> > > > It is not recommended, but you can do it, there are plenty of 
> people
> > > who
> > > > post on here who do use a DC as a fileserver.
> > > >
> > > > Just how many clients do you have and what sort ?
> > > >
> > > > Rowland
> > > >
> > > > >
> > > > > If there is no chance you do not want to waste time with this.
> > > > >
> > > > > Many thank you very much.
> > > > >
> > > > >
> > > > >
> > > >
> > > > --
> > > > To unsubscribe from this list go to the following URL and read the
> > > > instructions: https://lists.samba.org/mailman/options/samba
> >
> > What is the DC (you may have said, but if you have, sorry I have 
> forgotten)
> >
> > Rowland
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions: https://lists.samba.org/mailman/options/samba

OK, so you have:
A) one debian 7 DC running self compiled samba 4.1.?
B) one debian 7 member server running ?? samba 4.1.?
C) 80 windows clients

Is this correct ?

Rowland



More information about the samba mailing list