Also when I use "net ads search '(objectCategory=group)' sAMAccountName", I can see all the groups. But wbinfo -g gives nothing. wired! ----- Original Message ----- From: "Dennis Xu" <dxu at uoguelph.ca> To: "Andreas Schamanek" <schamane at fam.tuwien.ac.at> Cc: "samba" <samba at lists.samba.org> Sent: Friday, April 29, 2016 4:01:36 PM Subject: Re: [Samba] wbinfo -u and -g gives no output Thanks Andreas for the reply. Did "net cache flush" and no help. Dennis ----- Original Message ----- From: "Andreas Schamanek" <schamane at fam.tuwien.ac.at> To: "Dennis Xu" <dxu at uoguelph.ca> Sent: Friday, April 29, 2016 3:56:08 PM Subject: Re: [Samba] wbinfo -u and -g gives no output Hi Dennis, On Fri, 29 Apr 2016, at 10:54, Dennis Xu wrote:> Pretty much all other wbinfo commands work but just not wbinfo -u > and -g. My Samba servers are member servers in AD. I have four Samba > servers all with identical configuration, and just this one has this > annoying issue.Because I have been bitten by this recently: Did you flush the cache? `net cache flush` Cf. https://lists.samba.org/archive/samba/2016-April/199461.html Please report back to the list if this helps. -- -- Andreas :-) -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Hi, I am checking again if there are any other suggestions. The Samba server is joined to AD successfully. I can authenticate a user using "wbinfo -a" but "wbinfo -u" and "wbinfo -g" commands give no output. Any ideas? Thanks. ----- Original Message ----- ----- Original Message ----- From: "Dennis Xu" <dxu at uoguelph.ca> To: "Andreas Schamanek" <schamane at fam.tuwien.ac.at> Cc: "samba" <samba at lists.samba.org> Sent: Friday, April 29, 2016 4:01:36 PM Subject: Re: [Samba] wbinfo -u and -g gives no output Thanks Andreas for the reply. Did "net cache flush" and no help. Dennis ----- Original Message ----- From: "Andreas Schamanek" <schamane at fam.tuwien.ac.at> To: "Dennis Xu" <dxu at uoguelph.ca> Sent: Friday, April 29, 2016 3:56:08 PM Subject: Re: [Samba] wbinfo -u and -g gives no output Hi Dennis, On Fri, 29 Apr 2016, at 10:54, Dennis Xu wrote:> Pretty much all other wbinfo commands work but just not wbinfo -u > and -g. My Samba servers are member servers in AD. I have four Samba > servers all with identical configuration, and just this one has this > annoying issue.Because I have been bitten by this recently: Did you flush the cache? `net cache flush` Cf. https://lists.samba.org/archive/samba/2016-April/199461.html Please report back to the list if this helps. -- -- Andreas :-) -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
What version are you using? I also had this problem with a security update of debian. I reported this to then and they fixed it. So if you are using debian, update to the latest version and see if this works Op 8 jun. 2016 10:13 p.m. schreef Dennis Xu <dxu at uoguelph.ca>: Hi, I am checking again if there are any other suggestions. The Samba server is joined to AD successfully. I can authenticate a user using "wbinfo -a" but "wbinfo -u" and "wbinfo -g" commands give no output. Any ideas? Thanks. ----- Original Message ----- ----- Original Message ----- From: "Dennis Xu" <dxu at uoguelph.ca> To: "Andreas Schamanek" <schamane at fam.tuwien.ac.at> Cc: "samba" <samba at lists.samba.org> Sent: Friday, April 29, 2016 4:01:36 PM Subject: Re: [Samba] wbinfo -u and -g gives no output Thanks Andreas for the reply. Did "net cache flush" and no help. Dennis ----- Original Message ----- From: "Andreas Schamanek" <schamane at fam.tuwien.ac.at> To: "Dennis Xu" <dxu at uoguelph.ca> Sent: Friday, April 29, 2016 3:56:08 PM Subject: Re: [Samba] wbinfo -u and -g gives no output Hi Dennis, On Fri, 29 Apr 2016, at 10:54, Dennis Xu wrote:> Pretty much all other wbinfo commands work but just not wbinfo -u > and -g. My Samba servers are member servers in AD. I have four Samba > servers all with identical configuration, and just this one has this > annoying issue.Because I have been bitten by this recently: Did you flush the cache? `net cache flush` Cf. https://lists.samba.org/archive/samba/2016-April/199461.html Please report back to the list if this helps. -- -- Andreas :-) -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
On Wed, Jun 08, 2016 at 04:00:59PM -0400, Dennis Xu wrote:> Hi, I am checking again if there are any other suggestions. > > The Samba server is joined to AD successfully. I can authenticate a user using "wbinfo -a" but "wbinfo -u" and "wbinfo -g" commands give no output. > > Any ideas?man smb.conf winbind enum groups (G) winbind enum users (G) Apologies if you've already checked this...
On 2016-06-08 at 16:00 -0400, Dennis Xu wrote:> Hi, I am checking again if there are any other suggestions. > > The Samba server is joined to AD successfully. I can > authenticate a user using "wbinfo -a" but "wbinfo -u" and > "wbinfo -g" commands give no output. > > Any ideas?So you say the machine is cloned from another one. Did you just copy the config or really clone it all? Did you join this separately? If you cloned, did you change the local sid? ... So I hope you just copied the config. :-) But for our purposes, also the caches that you might have copied, make a difference. Please check whether /var/cache/samba/winbindd_cache.tdb exists (or /var/lib/samba/winbindd_cache.tdb), and if it does, stop winbind and remove this file and start winbind again. At least this could affect you if you are using 'winbind offline logons = yes'. If you had not mentioned the other identical servers without problems, I would have suspected that you have a very large domain (several 100,000 objects) which may cause wbinfo -u /-g to time out. But that does not seem to be the issue then... If clearing the caches above does not help, we'd need to see your smb.conf and the logs of winbind at level 10 right from starting winbind to completion of wbinfo -u right as the first command. Cheers - Michael -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: not available URL: <http://lists.samba.org/pipermail/samba/attachments/20160608/20fc33f2/signature.sig>