LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Tags used in this thread
Popular LQ Tags , , ,

Reply
 
Thread Tools
Old 09-04-2008, 10:12 AM   #1
Interflex
Member
 
Registered: Aug 2008
Posts: 52
Thanked: 0
Wbinfo not showing all users


[Log in to get rid of this advertisement]
Recently many users have been getting failed login when accessing the samba shares. I then looked at wbinfo and it is not returning the full list of users only half of them.

What could cause this?
Interflex is offline  
Tag This Post , , ,
Reply With Quote
Old 09-05-2008, 11:00 AM   #2
Interflex
Member
 
Registered: Aug 2008
Posts: 52
Thanked: 0

Original Poster
Can somebody please help with this as it is an intermittent problem that could loose important data.
Interflex is offline     Reply With Quote
Old 11-18-2008, 12:48 AM   #3
mar10
LQ Newbie
 
Registered: Nov 2008
Posts: 2
Thanked: 2
There could be two reasons:
1. Your winbind cache could be containing corrupt data. You can find this in /var/lib/samba.
a.) stop samba and winbind
b.) Make a backup copy of /var/lib/samba
c.) Delete contents of /var/lib/samba
d.) Rejoin your server to your domain: net rpc join -S <netbios name of domain server> -U [root%<*samba* root password> | <domain admin>%<domain admin password> ]
e.) restart samba and winbind
f.) Time sync is crucial. Always have an ntp client in your member server synching with the time in your domain controller.

or....

2. Your pdc could be running heavy. Check youe domain controller's systems load. A heavily loaded PDC can not respond to your member server's query resulting in having not all the users authenticated. If I am not mistaken, time-out period is 10 seconds.

TIP: Increase the winbind cache time. This way winbind will not query authentication to your pdc often. If your don't add/delete users/groups often try changing it to the equivalent of 1 - 2 days (in seconds of course)
mar10 is offline     Reply With Quote
Thanked by:
Old 08-26-2009, 04:01 PM   #4
slinx
Member
 
Registered: Apr 2008
Location: Cleveland, Ohio
Posts: 40
Thanked: 0
Did it work?

Interflex, did this work?

This worked for me! Thank you very much!

Last edited by slinx; 08-26-2009 at 04:23 PM.. Reason: update
windows_xp_2003 slinx is offline     Reply With Quote
Old 09-25-2009, 05:54 AM   #5
daniel-kun
LQ Newbie
 
Registered: Feb 2008
Posts: 9
Thanked: 0
This worked for me after the third try, too. It's crucial to do it in EXACTLY this order! Stop daemons, delete files, add to domain, start daemons. Thanks mar10
windows_98_nt_2000 daniel-kun is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
getent passwd not showing some users dmusil Linux - Software 0 05-15-2008 09:44 PM
'Who' showing not logged in users eluzi Linux - Networking 6 03-15-2006 10:58 AM
wbinfo -u Error looking up domain users euro2004 Linux - Networking 4 01-27-2006 07:57 AM
wbinfo - output all users from one group paul_mat Linux - Networking 0 09-15-2005 08:16 PM
Showing Users from passwd kemplej Programming 1 12-30-2004 11:10 AM


All times are GMT -5. The time now is 04:56 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration