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

Notices


Reply
  Search this Thread
Old 08-07-2009, 09:28 AM   #1
adrigo
LQ Newbie
 
Registered: Oct 2007
Posts: 17

Rep: Reputation: 0
Getent passwd dont show AD Groups and Users


Hi Everyone !!!
I am have some problems with Winbind I have a Server 2003 with AD and it crash so we made a new Domain Controler and I had some linux sever tha autentication on AD server so I change the configuration file for the new AD Name and IP etc, I put it into domanin ok and I test with wbinfo -t
checking the trust secret via RPC calls succeeded and with wbinfo -u and winfo -t it work very good show all AD groups and user but when a try
getent group or getent passwd it only show the local user and groups
int the log file /var/log/samba/winbind

tail -f /var/log/samba/winbindd
[2009/08/07 10:55:03, 3] nsswitch/winbindd_rpc.c:msrpc_sid_to_name(303)
sid_to_name [rpc] S-1-5-21-532826320-2876739801-3930984193-513 for domain UNIANCHIETA
[2009/08/07 10:55:03, 3] nsswitch/winbindd_passdb.c:add_expanded_sid(87)
sid_to_name failed for sid S-1-5-21-532826320-2876739801-3930984193-513
[2009/08/07 10:55:03, 2] lib/util.c:Realloc(1014)
Realloc asked for 0 bytes
[2009/08/07 10:55:03, 3] nsswitch/winbindd_group.c:winbindd_getgrent(659)
[ 0]: getgrent
[2009/08/07 10:55:03, 3] nsswitch/winbindd_group.c:winbindd_endgrent(527)
[ 0]: endgrent
I am Using Linux server1 2.6.18-5-686 #1 SMP Mon Dec 24 16:41:07 UTC 2007 i686 GNU/Linux
samba 3.0.24-6etch10
winbind 3.0.24-6etch10
 
Old 08-07-2009, 10:08 AM   #2
vishesh
Member
 
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66
Dear
what is in /etc/nssswitch.confentries it should be
passwd: winbind files
group: winbind files
thanks
 
Old 08-07-2009, 11:18 AM   #3
adrigo
LQ Newbie
 
Registered: Oct 2007
Posts: 17

Original Poster
Rep: Reputation: 0
Yes it is in this way
Sorry my Inglsh
/etc/nssswitch.conf
passwd: compat winbind file
group: compat winbind file
shadow: compat
Thanks

Last edited by adrigo; 08-13-2009 at 12:17 PM.
 
Old 08-07-2009, 11:44 AM   #4
vishesh
Member
 
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66
what is output of

#wbinfo -u

thanks
 
Old 08-07-2009, 03:45 PM   #5
adrigo
LQ Newbie
 
Registered: Oct 2007
Posts: 17

Original Poster
Rep: Reputation: 0
Dear

#wbinfo -u
It show all AD users and with
#wbinfo -g show all groups

Thanks for help
 
Old 08-10-2009, 06:30 AM   #6
adrigo
LQ Newbie
 
Registered: Oct 2007
Posts: 17

Original Poster
Rep: Reputation: 0
Friends
I need do some thing in the AD configuration to permit it work?
Thks...
 
Old 08-13-2009, 12:14 PM   #7
adrigo
LQ Newbie
 
Registered: Oct 2007
Posts: 17

Original Poster
Rep: Reputation: 0
Thks Thks I solve it I just delete the rm -r /etc/lib/samba/* and rm -r /etc/cache/samba/* the cache files of samba and samba creat it when you restart samba

Thks for everyone !!

Last edited by adrigo; 08-13-2009 at 12:16 PM.
 
  


Reply



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-14-2008 12:20 PM
getent passwd only pulls local info - getent group works? epoh Linux - Server 2 03-14-2008 07:56 AM
getent passwd errors - no users added jamiegordon Linux - Software 1 01-03-2008 09:33 AM
SAMBA getent passwd command doesnt list all the users loganking Linux - Software 0 06-14-2006 11:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:14 PM.

Main Menu
Advertisement
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
Twitter: @linuxquestions
Open Source Consulting | Domain Registration