Luca Bertoncello
2016-Apr-19 07:56 UTC
[Samba] After Samba update getent returns just local users and groups
Hi list! I have Samba 4.3.8 installed from Ubuntu-Repositories on a Ubuntu 14.04 server. It worked fine as AD-Controller, then today I performed an update, since Ubuntu sayd, that new update are available. Well, maybe I'll NOT do that anymore, since I have many problem, now... I solved almost all of them, but this problem unfortunately not... I use nss and winbind. The users are present and I can login and use smbclient, but now getent passwd or getent group returns just local users and groups... Of course I didn't change anything... My /etc/nsswitch.conf: # /etc/nsswitch.conf # # Example configuration of GNU Name Service Switch functionality. # If you have the `glibc-doc-reference' and `info' packages installed, try: # `info libc "Name Service Switch"' for information about this file. passwd: compat winbind group: compat winbind shadow: compat hosts: files dns networks: files protocols: db files services: db files ethers: db files rpc: db files netgroup: nis sudoers: files Any idea? Thanks Luca Bertoncello (lucabert at lucabert.de)
Rowland penny
2016-Apr-19 08:05 UTC
[Samba] After Samba update getent returns just local users and groups
On 19/04/16 08:56, Luca Bertoncello wrote:> Hi list! > > I have Samba 4.3.8 installed from Ubuntu-Repositories on a Ubuntu > 14.04 server. > It worked fine as AD-Controller, then today I performed an update, > since Ubuntu sayd, that new update are available.Just what was installed ?> > Well, maybe I'll NOT do that anymore, since I have many problem, now... > I solved almost all of them, but this problem unfortunately not... > > I use nss and winbind. The users are present and I can login and use > smbclient, but now getent passwd or getent group returns just local > users and groups...Does 'getent passwd USERNAME' work ? (where USERNAME is a valid username) Rowland> > Of course I didn't change anything... > > My /etc/nsswitch.conf: > > # /etc/nsswitch.conf > # > # Example configuration of GNU Name Service Switch functionality. > # If you have the `glibc-doc-reference' and `info' packages installed, > try: > # `info libc "Name Service Switch"' for information about this file. > > passwd: compat winbind > group: compat winbind > shadow: compat > > hosts: files dns > networks: files > > protocols: db files > services: db files > ethers: db files > rpc: db files > > netgroup: nis > sudoers: files > > Any idea? > > Thanks > Luca Bertoncello > (lucabert at lucabert.de) > >
L.P.H. van Belle
2016-Apr-19 08:06 UTC
[Samba] After Samba update getent returns just local users and groups
Yes, this is a bug somewhere, and my guess is its related to the precompiles debian/ubuntu packages. Try getent passwd username id username wbinfo -g do these work? Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens Luca Bertoncello > Verzonden: dinsdag 19 april 2016 9:56 > Aan: samba at lists.samba.org > Onderwerp: [Samba] After Samba update getent returns just local users and > groups > > Hi list! > > I have Samba 4.3.8 installed from Ubuntu-Repositories on a Ubuntu > 14.04 server. > It worked fine as AD-Controller, then today I performed an update, > since Ubuntu sayd, that new update are available. > > Well, maybe I'll NOT do that anymore, since I have many problem, now... > I solved almost all of them, but this problem unfortunately not... > > I use nss and winbind. The users are present and I can login and use > smbclient, but now getent passwd or getent group returns just local > users and groups... > > Of course I didn't change anything... > > My /etc/nsswitch.conf: > > # /etc/nsswitch.conf > # > # Example configuration of GNU Name Service Switch functionality. > # If you have the `glibc-doc-reference' and `info' packages installed, > try: > # `info libc "Name Service Switch"' for information about this file. > > passwd: compat winbind > group: compat winbind > shadow: compat > > hosts: files dns > networks: files > > protocols: db files > services: db files > ethers: db files > rpc: db files > > netgroup: nis > sudoers: files > > Any idea? > > Thanks > Luca Bertoncello > (lucabert at lucabert.de) > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba
Luca Bertoncello
2016-Apr-19 08:16 UTC
[Samba] After Samba update getent returns just local users and groups
Zitat von "L.P.H. van Belle" <belle at bazuin.nl>:> Yes, this is a bug somewhere, and my guess is its related to the > precompiles debian/ubuntu packages.How beatiful... :(> Try > getent passwd username > id username > wbinfo -g > do these work?They work... Thanks Luca Bertoncello (lucabert at lucabert.de)
RITTER, Philippe
2016-Apr-19 08:24 UTC
[Samba] After Samba update getent returns just local users and groups
Hello I had the same problem with Debian, and resolved by running : kinit login_user at mydomain.com net ads keytab create -k This will recreate your Kerberos keytab files. Regards Philippe RITTER -----Message d'origine----- De : samba [mailto:samba-bounces at lists.samba.org] De la part de Luca Bertoncello Envoyé : mardi 19 avril 2016 09:56 À : samba at lists.samba.org Objet : [Samba] After Samba update getent returns just local users and groups Hi list! I have Samba 4.3.8 installed from Ubuntu-Repositories on a Ubuntu 14.04 server. It worked fine as AD-Controller, then today I performed an update, since Ubuntu sayd, that new update are available. Well, maybe I'll NOT do that anymore, since I have many problem, now... I solved almost all of them, but this problem unfortunately not... I use nss and winbind. The users are present and I can login and use smbclient, but now getent passwd or getent group returns just local users and groups... Of course I didn't change anything... My /etc/nsswitch.conf: # /etc/nsswitch.conf # # Example configuration of GNU Name Service Switch functionality. # If you have the `glibc-doc-reference' and `info' packages installed, try: # `info libc "Name Service Switch"' for information about this file. passwd: compat winbind group: compat winbind shadow: compat hosts: files dns networks: files protocols: db files services: db files ethers: db files rpc: db files netgroup: nis sudoers: files Any idea? Thanks Luca Bertoncello (lucabert at lucabert.de) -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba