I have upgraded to version 3.0.27a on ubuntu 7.10 server and now the getent command wont display the active directory users, but wbinfo will. It worked fine with 3.0.26a and I have not changed my configuration. I do however have this in my winbind log: [2007/12/04 13:39:01, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:39:01, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:44:09, 1] nsswitch/winbindd_ads.c:query_user_list(209) Not a user account? atype=0x30000000 [2007/12/04 13:44:09, 1] nsswitch/winbindd_ads.c:query_user_list(209) Not a user account? atype=0x30000000 [2007/12/04 13:44:09, 1] nsswitch/winbindd_ads.c:query_user_list(209) Not a user account? atype=0x30000000 [2007/12/04 13:44:09, 1] nsswitch/winbindd_ads.c:query_user_list(209) Not a user account? atype=0x30000000 [2007/12/04 13:44:09, 1] nsswitch/winbindd_ads.c:query_user_list(209) Not a user account? atype=0x30000000 [2007/12/04 13:44:18, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:44:18, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:45:34, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:45:34, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:45:54, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:46:19, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:46:19, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:46:19, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:49:35, 1] nsswitch/winbindd_ads.c:query_user_list(209) Not a user account? atype=0x30000000 [2007/12/04 13:49:35, 1] nsswitch/winbindd_ads.c:query_user_list(209) Not a user account? atype=0x30000000 [2007/12/04 13:49:35, 1] nsswitch/winbindd_ads.c:query_user_list(209) Not a user account? atype=0x30000000 [2007/12/04 13:49:35, 1] nsswitch/winbindd_ads.c:query_user_list(209) Not a user account? atype=0x30000000 [2007/12/04 13:49:35, 1] nsswitch/winbindd_ads.c:query_user_list(209) Not a user account? atype=0x30000000 [2007/12/04 13:49:42, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:49:42, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:50:17, 1] nsswitch/winbindd.c:main(990) winbindd version 3.0.27a started. Copyright Andrew Tridgell and the Samba Team 1992-2007 [2007/12/04 13:50:17, 0] nsswitch/winbindd_cache.c:initialize_winbindd_cache(2222) initialize_winbindd_cache: clearing cache and re-creating with version number 1 any ideas? Guillermo Gutierrez Network Administrator Market Scan Information Systems, Inc. _______________________________________ (818) 575-2017 (818) 324-0871 ggutierrez@marketscan.com
I don't mean to sound whiny, but I really would like to get some help figuring this thing out. I am including my smb.conf as well: #======================= Global Settings ====================== [global] ## Browsing/Identification ### netbios name = Maximus workgroup = MARKETSCAN realm = MARKETSCAN.COM server string = %h server (Samba %v, Ubuntu) dns proxy = no name resolve order = lmhosts host wins bcast #### Networking #### interfaces = 127.0.0.0/8 eth0 bind interfaces only = true #### Debugging/Accounting #### log file = /var/log/samba/log.%m max log size = 1000 syslog = 0 panic action = /usr/share/samba/panic-action %d ####### Authentication ####### security = ADS encrypt passwords = true password server = * passdb backend = tdbsam obey pam restrictions = yes invalid users = root passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *passwd:*password\supdated\ssuccessfully* . ############ Misc ############ socket options = TCP_NODELAY domain master = no idmap uid = 10000-20000 idmap gid = 10000-20000 idmap backend = idmap_rid:MARKETSCAN=10000-20000 template shell = /bin/bash template home dir = /home/MARKETSCAN/%U winbind enum groups = yes winbind enum users = yes winbind use default domain = yes #======================= Share Definitions ====================== [homes] comment = Home Directories browseable = no vfs object = readahead inherit permissions = yes nt acl support = yes valid users = %D/%U writable = yes create mask = 0700 directory mask = 0700 [printers] comment = All Printers browseable = no path = /var/spool/samba printable = yes public = no writable = no create mode = 0700 [print$] comment = Printer Drivers path = /var/lib/samba/printers browseable = yes read only = yes guest ok = no [public] comment = Public Share on %h path = /home/samba/public writeable = yes inherit permissions = yes nt acl support = yes create mask = 0775 directory mask = 0775 vfs object = readahead Guillermo Gutierrez _________________________ (818) 575-2017 (818) 324-0871 ggutierrez@marketscan.com -----Original Message----- From: samba-bounces+ggutierrez=marketscan.com@lists.samba.org [mailto:samba-bounces+ggutierrez=marketscan.com@lists.samba.org] On Behalf Of Guillermo Gutierrez Sent: Tuesday, December 04, 2007 5:09 PM To: samba@lists.samba.org Subject: [Samba] 3.0.27a, ubuntu server7.10 auth issues I have upgraded to version 3.0.27a on ubuntu 7.10 server and now the getent command wont display the active directory users, but wbinfo will. It worked fine with 3.0.26a and I have not changed my configuration. I do however have this in my winbind log: [2007/12/04 13:39:01, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:39:01, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:44:09, 1] nsswitch/winbindd_ads.c:query_user_list(209) Not a user account? atype=0x30000000 [2007/12/04 13:44:09, 1] nsswitch/winbindd_ads.c:query_user_list(209) Not a user account? atype=0x30000000 [2007/12/04 13:44:09, 1] nsswitch/winbindd_ads.c:query_user_list(209) Not a user account? atype=0x30000000 [2007/12/04 13:44:09, 1] nsswitch/winbindd_ads.c:query_user_list(209) Not a user account? atype=0x30000000 [2007/12/04 13:44:09, 1] nsswitch/winbindd_ads.c:query_user_list(209) Not a user account? atype=0x30000000 [2007/12/04 13:44:18, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:44:18, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:45:34, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:45:34, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:45:54, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:46:19, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:46:19, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:46:19, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:49:35, 1] nsswitch/winbindd_ads.c:query_user_list(209) Not a user account? atype=0x30000000 [2007/12/04 13:49:35, 1] nsswitch/winbindd_ads.c:query_user_list(209) Not a user account? atype=0x30000000 [2007/12/04 13:49:35, 1] nsswitch/winbindd_ads.c:query_user_list(209) Not a user account? atype=0x30000000 [2007/12/04 13:49:35, 1] nsswitch/winbindd_ads.c:query_user_list(209) Not a user account? atype=0x30000000 [2007/12/04 13:49:35, 1] nsswitch/winbindd_ads.c:query_user_list(209) Not a user account? atype=0x30000000 [2007/12/04 13:49:42, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:49:42, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:50:17, 1] nsswitch/winbindd.c:main(990) winbindd version 3.0.27a started. Copyright Andrew Tridgell and the Samba Team 1992-2007 [2007/12/04 13:50:17, 0] nsswitch/winbindd_cache.c:initialize_winbindd_cache(2222) initialize_winbindd_cache: clearing cache and re-creating with version number 1 any ideas? Guillermo Gutierrez Network Administrator Market Scan Information Systems, Inc. _______________________________________ (818) 575-2017 (818) 324-0871 ggutierrez@marketscan.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
I don't have nscd installed Guillermo Gutierrez _________________________ (818) 575-2017 (818) 324-0871 ggutierrez@marketscan.com -----Original Message----- From: Aaron J. Zirbes [mailto:ajz@cccs.umn.edu] Sent: Wednesday, December 05, 2007 3:37 PM To: Guillermo Gutierrez Subject: Re: [Samba] 3.0.27a, ubuntu server7.10 auth issues Did you restart nscd? Guillermo Gutierrez wrote:> I have upgraded to version 3.0.27a on ubuntu 7.10 server and now the > getent command wont display the active directory users, but wbinfowill.> > It worked fine with 3.0.26a and I have not changed my configuration. > > > > I do however have this in my winbind log: > > > > [2007/12/04 13:39:01, 0] nsswitch/winbindd.c:request_len_recv(544) > > request_len_recv: Invalid request size received: 2084 (expected2088)> > [2007/12/04 13:39:01, 0] nsswitch/winbindd.c:request_len_recv(544) > > request_len_recv: Invalid request size received: 2084 (expected2088)> > [2007/12/04 13:44:09, 1] nsswitch/winbindd_ads.c:query_user_list(209) > > Not a user account? atype=0x30000000 > > [2007/12/04 13:44:09, 1] nsswitch/winbindd_ads.c:query_user_list(209) > > Not a user account? atype=0x30000000 > > [2007/12/04 13:44:09, 1] nsswitch/winbindd_ads.c:query_user_list(209) > > Not a user account? atype=0x30000000 > > [2007/12/04 13:44:09, 1] nsswitch/winbindd_ads.c:query_user_list(209) > > Not a user account? atype=0x30000000 > > [2007/12/04 13:44:09, 1] nsswitch/winbindd_ads.c:query_user_list(209) > > Not a user account? atype=0x30000000 > > [2007/12/04 13:44:18, 0] nsswitch/winbindd.c:request_len_recv(544) > > request_len_recv: Invalid request size received: 2084 (expected2088)> > [2007/12/04 13:44:18, 0] nsswitch/winbindd.c:request_len_recv(544) > > request_len_recv: Invalid request size received: 2084 (expected2088)> > [2007/12/04 13:45:34, 0] nsswitch/winbindd.c:request_len_recv(544) > > request_len_recv: Invalid request size received: 2084 (expected2088)> > [2007/12/04 13:45:34, 0] nsswitch/winbindd.c:request_len_recv(544) > > request_len_recv: Invalid request size received: 2084 (expected2088)> > [2007/12/04 13:45:54, 0] nsswitch/winbindd.c:request_len_recv(544) > > request_len_recv: Invalid request size received: 2084 (expected2088)> > [2007/12/04 13:46:19, 0] nsswitch/winbindd.c:request_len_recv(544) > > request_len_recv: Invalid request size received: 2084 (expected2088)> > [2007/12/04 13:46:19, 0] nsswitch/winbindd.c:request_len_recv(544) > > request_len_recv: Invalid request size received: 2084 (expected2088)> > [2007/12/04 13:46:19, 0] nsswitch/winbindd.c:request_len_recv(544) > > request_len_recv: Invalid request size received: 2084 (expected2088)> > [2007/12/04 13:49:35, 1] nsswitch/winbindd_ads.c:query_user_list(209) > > Not a user account? atype=0x30000000 > > [2007/12/04 13:49:35, 1] nsswitch/winbindd_ads.c:query_user_list(209) > > Not a user account? atype=0x30000000 > > [2007/12/04 13:49:35, 1] nsswitch/winbindd_ads.c:query_user_list(209) > > Not a user account? atype=0x30000000 > > [2007/12/04 13:49:35, 1] nsswitch/winbindd_ads.c:query_user_list(209) > > Not a user account? atype=0x30000000 > > [2007/12/04 13:49:35, 1] nsswitch/winbindd_ads.c:query_user_list(209) > > Not a user account? atype=0x30000000 > > [2007/12/04 13:49:42, 0] nsswitch/winbindd.c:request_len_recv(544) > > request_len_recv: Invalid request size received: 2084 (expected2088)> > [2007/12/04 13:49:42, 0] nsswitch/winbindd.c:request_len_recv(544) > > request_len_recv: Invalid request size received: 2084 (expected2088)> > [2007/12/04 13:50:17, 1] nsswitch/winbindd.c:main(990) > > winbindd version 3.0.27a started. > > Copyright Andrew Tridgell and the Samba Team 1992-2007 > > [2007/12/04 13:50:17, 0] > nsswitch/winbindd_cache.c:initialize_winbindd_cache(2222) > > initialize_winbindd_cache: clearing cache and re-creating withversion> number 1 > > > > any ideas? > > > > Guillermo Gutierrez > > Network Administrator > > Market Scan Information Systems, Inc. > > _______________________________________ > > (818) 575-2017 > > (818) 324-0871 > > ggutierrez@marketscan.com > > >
I have restarted all three daemons without luck, but I will try clearing out the tdb cache as you mentioned. Guillermo Gutierrez _________________________ (818) 575-2017 (818) 324-0871 ggutierrez@marketscan.com -----Original Message----- From: Aaron J. Zirbes [mailto:ajz@umn.edu] Sent: Wednesday, December 05, 2007 3:51 PM To: Guillermo Gutierrez Subject: Re: [Samba] 3.0.27a, ubuntu server7.10 auth issues Have winbindd, smbd, nmbd all been restarted? ... just a guess since winbindd is saying it's getting requests of a different size than expected, and I've seen that when I've restarted one daemon, but not the other. You could also try clearing out your tdb cache files I know I run the following command on FreeBSD. I'm not exactly sure what it would be on ubuntu though /usr/local/samba/bin/tdbbackup -v /usr/local/samba/var/locks/*.tdb perhapse? tdbbackup -v var/samba/locks/*.tdb -- Aaron Guillermo Gutierrez wrote:> I don't have nscd installed > > Guillermo Gutierrez > _________________________ > (818) 575-2017 > (818) 324-0871 > ggutierrez@marketscan.com > > > -----Original Message----- > From: Aaron J. Zirbes [mailto:ajz@cccs.umn.edu] > Sent: Wednesday, December 05, 2007 3:37 PM > To: Guillermo Gutierrez > Subject: Re: [Samba] 3.0.27a, ubuntu server7.10 auth issues > > Did you restart nscd? > > Guillermo Gutierrez wrote: >> I have upgraded to version 3.0.27a on ubuntu 7.10 server and now the >> getent command wont display the active directory users, but wbinfo > will. >> It worked fine with 3.0.26a and I have not changed my configuration. >> >> >> >> I do however have this in my winbind log: >> >> >> >> [2007/12/04 13:39:01, 0] nsswitch/winbindd.c:request_len_recv(544) >> >> request_len_recv: Invalid request size received: 2084 (expected > 2088) >> [2007/12/04 13:39:01, 0] nsswitch/winbindd.c:request_len_recv(544) >> >> request_len_recv: Invalid request size received: 2084 (expected > 2088) >> [2007/12/04 13:44:09, 1] nsswitch/winbindd_ads.c:query_user_list(209) >> >> Not a user account? atype=0x30000000 >> >> [2007/12/04 13:44:09, 1] nsswitch/winbindd_ads.c:query_user_list(209) >> >> Not a user account? atype=0x30000000 >> >> [2007/12/04 13:44:09, 1] nsswitch/winbindd_ads.c:query_user_list(209) >> >> Not a user account? atype=0x30000000 >> >> [2007/12/04 13:44:09, 1] nsswitch/winbindd_ads.c:query_user_list(209) >> >> Not a user account? atype=0x30000000 >> >> [2007/12/04 13:44:09, 1] nsswitch/winbindd_ads.c:query_user_list(209) >> >> Not a user account? atype=0x30000000 >> >> [2007/12/04 13:44:18, 0] nsswitch/winbindd.c:request_len_recv(544) >> >> request_len_recv: Invalid request size received: 2084 (expected > 2088) >> [2007/12/04 13:44:18, 0] nsswitch/winbindd.c:request_len_recv(544) >> >> request_len_recv: Invalid request size received: 2084 (expected > 2088) >> [2007/12/04 13:45:34, 0] nsswitch/winbindd.c:request_len_recv(544) >> >> request_len_recv: Invalid request size received: 2084 (expected > 2088) >> [2007/12/04 13:45:34, 0] nsswitch/winbindd.c:request_len_recv(544) >> >> request_len_recv: Invalid request size received: 2084 (expected > 2088) >> [2007/12/04 13:45:54, 0] nsswitch/winbindd.c:request_len_recv(544) >> >> request_len_recv: Invalid request size received: 2084 (expected > 2088) >> [2007/12/04 13:46:19, 0] nsswitch/winbindd.c:request_len_recv(544) >> >> request_len_recv: Invalid request size received: 2084 (expected > 2088) >> [2007/12/04 13:46:19, 0] nsswitch/winbindd.c:request_len_recv(544) >> >> request_len_recv: Invalid request size received: 2084 (expected > 2088) >> [2007/12/04 13:46:19, 0] nsswitch/winbindd.c:request_len_recv(544) >> >> request_len_recv: Invalid request size received: 2084 (expected > 2088) >> [2007/12/04 13:49:35, 1] nsswitch/winbindd_ads.c:query_user_list(209) >> >> Not a user account? atype=0x30000000 >> >> [2007/12/04 13:49:35, 1] nsswitch/winbindd_ads.c:query_user_list(209) >> >> Not a user account? atype=0x30000000 >> >> [2007/12/04 13:49:35, 1] nsswitch/winbindd_ads.c:query_user_list(209) >> >> Not a user account? atype=0x30000000 >> >> [2007/12/04 13:49:35, 1] nsswitch/winbindd_ads.c:query_user_list(209) >> >> Not a user account? atype=0x30000000 >> >> [2007/12/04 13:49:35, 1] nsswitch/winbindd_ads.c:query_user_list(209) >> >> Not a user account? atype=0x30000000 >> >> [2007/12/04 13:49:42, 0] nsswitch/winbindd.c:request_len_recv(544) >> >> request_len_recv: Invalid request size received: 2084 (expected > 2088) >> [2007/12/04 13:49:42, 0] nsswitch/winbindd.c:request_len_recv(544) >> >> request_len_recv: Invalid request size received: 2084 (expected > 2088) >> [2007/12/04 13:50:17, 1] nsswitch/winbindd.c:main(990) >> >> winbindd version 3.0.27a started. >> >> Copyright Andrew Tridgell and the Samba Team 1992-2007 >> >> [2007/12/04 13:50:17, 0] >> nsswitch/winbindd_cache.c:initialize_winbindd_cache(2222) >> >> initialize_winbindd_cache: clearing cache and re-creating with > version >> number 1 >> >> >> >> any ideas? >> >> >> >> Guillermo Gutierrez >> >> Network Administrator >> >> Market Scan Information Systems, Inc. >> >> _______________________________________ >> >> (818) 575-2017 >> >> (818) 324-0871 >> >> ggutierrez@marketscan.com >> >> >> >
Well, I tried it but no luck. Getent still won't display the AD users. Guillermo Gutierrez _________________________ (818) 575-2017 (818) 324-0871 ggutierrez@marketscan.com -----Original Message----- From: Aaron J. Zirbes [mailto:ajz@umn.edu] Sent: Wednesday, December 05, 2007 3:51 PM To: Guillermo Gutierrez Subject: Re: [Samba] 3.0.27a, ubuntu server7.10 auth issues Have winbindd, smbd, nmbd all been restarted? ... just a guess since winbindd is saying it's getting requests of a different size than expected, and I've seen that when I've restarted one daemon, but not the other. You could also try clearing out your tdb cache files I know I run the following command on FreeBSD. I'm not exactly sure what it would be on ubuntu though /usr/local/samba/bin/tdbbackup -v /usr/local/samba/var/locks/*.tdb perhapse? tdbbackup -v var/samba/locks/*.tdb -- Aaron Guillermo Gutierrez wrote:> I don't have nscd installed > > Guillermo Gutierrez > _________________________ > (818) 575-2017 > (818) 324-0871 > ggutierrez@marketscan.com > > > -----Original Message----- > From: Aaron J. Zirbes [mailto:ajz@cccs.umn.edu] > Sent: Wednesday, December 05, 2007 3:37 PM > To: Guillermo Gutierrez > Subject: Re: [Samba] 3.0.27a, ubuntu server7.10 auth issues > > Did you restart nscd? > > Guillermo Gutierrez wrote: >> I have upgraded to version 3.0.27a on ubuntu 7.10 server and now the >> getent command wont display the active directory users, but wbinfo > will. >> It worked fine with 3.0.26a and I have not changed my configuration. >> >> >> >> I do however have this in my winbind log: >> >> >> >> [2007/12/04 13:39:01, 0] nsswitch/winbindd.c:request_len_recv(544) >> >> request_len_recv: Invalid request size received: 2084 (expected > 2088) >> [2007/12/04 13:39:01, 0] nsswitch/winbindd.c:request_len_recv(544) >> >> request_len_recv: Invalid request size received: 2084 (expected > 2088) >> [2007/12/04 13:44:09, 1] nsswitch/winbindd_ads.c:query_user_list(209) >> >> Not a user account? atype=0x30000000 >> >> [2007/12/04 13:44:09, 1] nsswitch/winbindd_ads.c:query_user_list(209) >> >> Not a user account? atype=0x30000000 >> >> [2007/12/04 13:44:09, 1] nsswitch/winbindd_ads.c:query_user_list(209) >> >> Not a user account? atype=0x30000000 >> >> [2007/12/04 13:44:09, 1] nsswitch/winbindd_ads.c:query_user_list(209) >> >> Not a user account? atype=0x30000000 >> >> [2007/12/04 13:44:09, 1] nsswitch/winbindd_ads.c:query_user_list(209) >> >> Not a user account? atype=0x30000000 >> >> [2007/12/04 13:44:18, 0] nsswitch/winbindd.c:request_len_recv(544) >> >> request_len_recv: Invalid request size received: 2084 (expected > 2088) >> [2007/12/04 13:44:18, 0] nsswitch/winbindd.c:request_len_recv(544) >> >> request_len_recv: Invalid request size received: 2084 (expected > 2088) >> [2007/12/04 13:45:34, 0] nsswitch/winbindd.c:request_len_recv(544) >> >> request_len_recv: Invalid request size received: 2084 (expected > 2088) >> [2007/12/04 13:45:34, 0] nsswitch/winbindd.c:request_len_recv(544) >> >> request_len_recv: Invalid request size received: 2084 (expected > 2088) >> [2007/12/04 13:45:54, 0] nsswitch/winbindd.c:request_len_recv(544) >> >> request_len_recv: Invalid request size received: 2084 (expected > 2088) >> [2007/12/04 13:46:19, 0] nsswitch/winbindd.c:request_len_recv(544) >> >> request_len_recv: Invalid request size received: 2084 (expected > 2088) >> [2007/12/04 13:46:19, 0] nsswitch/winbindd.c:request_len_recv(544) >> >> request_len_recv: Invalid request size received: 2084 (expected > 2088) >> [2007/12/04 13:46:19, 0] nsswitch/winbindd.c:request_len_recv(544) >> >> request_len_recv: Invalid request size received: 2084 (expected > 2088) >> [2007/12/04 13:49:35, 1] nsswitch/winbindd_ads.c:query_user_list(209) >> >> Not a user account? atype=0x30000000 >> >> [2007/12/04 13:49:35, 1] nsswitch/winbindd_ads.c:query_user_list(209) >> >> Not a user account? atype=0x30000000 >> >> [2007/12/04 13:49:35, 1] nsswitch/winbindd_ads.c:query_user_list(209) >> >> Not a user account? atype=0x30000000 >> >> [2007/12/04 13:49:35, 1] nsswitch/winbindd_ads.c:query_user_list(209) >> >> Not a user account? atype=0x30000000 >> >> [2007/12/04 13:49:35, 1] nsswitch/winbindd_ads.c:query_user_list(209) >> >> Not a user account? atype=0x30000000 >> >> [2007/12/04 13:49:42, 0] nsswitch/winbindd.c:request_len_recv(544) >> >> request_len_recv: Invalid request size received: 2084 (expected > 2088) >> [2007/12/04 13:49:42, 0] nsswitch/winbindd.c:request_len_recv(544) >> >> request_len_recv: Invalid request size received: 2084 (expected > 2088) >> [2007/12/04 13:50:17, 1] nsswitch/winbindd.c:main(990) >> >> winbindd version 3.0.27a started. >> >> Copyright Andrew Tridgell and the Samba Team 1992-2007 >> >> [2007/12/04 13:50:17, 0] >> nsswitch/winbindd_cache.c:initialize_winbindd_cache(2222) >> >> initialize_winbindd_cache: clearing cache and re-creating with > version >> number 1 >> >> >> >> any ideas? >> >> >> >> Guillermo Gutierrez >> >> Network Administrator >> >> Market Scan Information Systems, Inc. >> >> _______________________________________ >> >> (818) 575-2017 >> >> (818) 324-0871 >> >> ggutierrez@marketscan.com >> >> >> >
I tried this, but only the smbd and nmbd processes were still running, not winbind. I killed the smbd and nmbd then restarted but getent will still not show active directory domain users. Guillermo Gutierrez _________________________ (818) 575-2017 (818) 324-0871 ggutierrez@marketscan.com -----Original Message----- From: samba-bounces+ggutierrez=marketscan.com@lists.samba.org [mailto:samba-bounces+ggutierrez=marketscan.com@lists.samba.org] On Behalf Of Chris Smith Sent: Thursday, December 06, 2007 8:14 AM To: samba@lists.samba.org Subject: Re: [Samba] 3.0.27a, ubuntu server7.10 auth issues On Thursday 06 December 2007, Dale Schroeder wrote:> The links below all say the same thing concerning this error message: > the version of libnss_winbind.so running does not match the version > of winbind that is running.In case it helps anyone: Whenever I upgrade Samba on the boxes that run winbindd I can not rely on the simple "/etc/init.d/samba restart", as it leaves copies of the old winbindd running. I need to stop samba then manually kill all of the winbindd processes, then restart samba. -- Chris -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Thank you so much, you copy of libnss_winbind.so.2 worked for me. For the future, how do I go about generating or building the file? Guillermo Gutierrez _________________________ (818) 575-2017 (818) 324-0871 ggutierrez@marketscan.com From: Dale Schroeder [mailto:dale@BriannasSaladDressing.com] Sent: Thursday, December 06, 2007 11:12 AM To: Guillermo Gutierrez Subject: Re: [Samba] 3.0.27a, ubuntu server7.10 auth issues If you used an Ubuntu or Debian package, it should have done so automatically. If you compiled from source, the links indicate you'll have to create it; and I don't know how to do that. Looking in my /lib directory, I see libnss_winbind.so.2, dated 2007-11-24. I'll attach it to see if a simple copy will work for you. Good luck, Dale Guillermo Gutierrez wrote: Hmmm?.how do I go about upgrading libnss_winbind.so? Guillermo Gutierrez _________________________ (818) 575-2017 (818) 324-0871 ggutierrez@marketscan.com From: Dale Schroeder [mailto:dale@BriannasSaladDressing.com] Sent: Thursday, December 06, 2007 6:32 AM To: Guillermo Gutierrez; samba@lists.samba.org Subject: Re: [Samba] 3.0.27a, ubuntu server7.10 auth issues The links below all say the same thing concerning this error message: the version of libnss_winbind.so running does not match the version of winbind that is running. http://lists.samba.org/archive/samba/2005-December/114975.html http://lists.samba.org/archive/samba/2006-February/117780.html http://threebit.net/mail-archive/samba/msg00562.html Dale Guillermo Gutierrez wrote: -----Original Message----- From: samba-bounces+ggutierrez=marketscan.com@lists.samba.org [mailto:samba-bounces+ggutierrez=marketscan.com@lists.samba.org] On Behalf Of Shaun Marolf Sent: Wednesday, December 05, 2007 4:23 PM To: samba@lists.samba.org Subject: Re: [Samba] 3.0.27a, ubuntu server7.10 auth issues On Wednesday 05 December 2007 05:55:25 pm Guillermo Gutierrez wrote: Well, I tried it but no luck. Getent still won't display the AD users. Guillermo Gutierrez _________________________ (818) 575-2017 (818) 324-0871 ggutierrez@marketscan.com -----Original Message----- From: Aaron J. Zirbes [mailto:ajz@umn.edu] Sent: Wednesday, December 05, 2007 3:51 PM To: Guillermo Gutierrez Subject: Re: [Samba] 3.0.27a, ubuntu server7.10 auth issues Have winbindd, smbd, nmbd all been restarted? ... just a guess since winbindd is saying it's getting requests of a different size than expected, and I've seen that when I've restarted one daemon, but not the other. You could also try clearing out your tdb cache files I know I run the following command on FreeBSD. I'm not exactly sure what it would be on ubuntu though /usr/local/samba/bin/tdbbackup -v /usr/local/samba/var/locks/*.tdb perhapse? tdbbackup -v var/samba/locks/*.tdb -- Aaron Guillermo Gutierrez wrote: I don't have nscd installed Guillermo Gutierrez _________________________ (818) 575-2017 (818) 324-0871 ggutierrez@marketscan.com -----Original Message----- From: Aaron J. Zirbes [mailto:ajz@cccs.umn.edu] Sent: Wednesday, December 05, 2007 3:37 PM To: Guillermo Gutierrez Subject: Re: [Samba] 3.0.27a, ubuntu server7.10 auth issues Did you restart nscd? Guillermo Gutierrez wrote: I have upgraded to version 3.0.27a on ubuntu 7.10 server and now the getent command wont display the active directory users, but wbinfo will. It worked fine with 3.0.26a and I have not changed my configuration. I do however have this in my winbind log: [2007/12/04 13:39:01, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:39:01, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:44:09, 1] nsswitch/winbindd_ads.c:query_user_list(209) Not a user account? atype=0x30000000 [2007/12/04 13:44:09, 1] nsswitch/winbindd_ads.c:query_user_list(209) Not a user account? atype=0x30000000 [2007/12/04 13:44:09, 1] nsswitch/winbindd_ads.c:query_user_list(209) Not a user account? atype=0x30000000 [2007/12/04 13:44:09, 1] nsswitch/winbindd_ads.c:query_user_list(209) Not a user account? atype=0x30000000 [2007/12/04 13:44:09, 1] nsswitch/winbindd_ads.c:query_user_list(209) Not a user account? atype=0x30000000 [2007/12/04 13:44:18, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:44:18, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:45:34, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:45:34, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:45:54, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:46:19, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:46:19, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:46:19, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:49:35, 1] nsswitch/winbindd_ads.c:query_user_list(209) Not a user account? atype=0x30000000 [2007/12/04 13:49:35, 1] nsswitch/winbindd_ads.c:query_user_list(209) Not a user account? atype=0x30000000 [2007/12/04 13:49:35, 1] nsswitch/winbindd_ads.c:query_user_list(209) Not a user account? atype=0x30000000 [2007/12/04 13:49:35, 1] nsswitch/winbindd_ads.c:query_user_list(209) Not a user account? atype=0x30000000 [2007/12/04 13:49:35, 1] nsswitch/winbindd_ads.c:query_user_list(209) Not a user account? atype=0x30000000 [2007/12/04 13:49:42, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:49:42, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:50:17, 1] nsswitch/winbindd.c:main(990) winbindd version 3.0.27a started. Copyright Andrew Tridgell and the Samba Team 1992-2007 [2007/12/04 13:50:17, 0] nsswitch/winbindd_cache.c:initialize_winbindd_cache(2222) initialize_winbindd_cache: clearing cache and re-creating with version number 1 any ideas? Guillermo Gutierrez Network Administrator Market Scan Information Systems, Inc. _______________________________________ (818) 575-2017 (818) 324-0871 ggutierrez@marketscan.com Check to make sure Ubuntu doesn't have the services blocked off. --Shaun -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba Which services should I check? This all worked before I upgraded to 3.0.27a and my config has not changed. I removed the "idmap backed" setting that I had added. - Guillermo ________________________________ No virus found in this incoming message. Checked by AVG. Version: 7.5.503 / Virus Database: 269.16.14/1172 - Release Date: 12/5/2007 8:41 AM ________________________________ No virus found in this incoming message. Checked by AVG. Version: 7.5.503 / Virus Database: 269.16.15/1174 - Release Date: 12/6/2007 10:11 AM
Ah, ok. Thank you very much Guillermo Gutierrez _________________________ (818) 575-2017 (818) 324-0871 ggutierrez@marketscan.com From: Dale Schroeder [mailto:dale@BriannasSaladDressing.com] Sent: Friday, December 07, 2007 6:23 AM To: Guillermo Gutierrez Subject: Re: [Samba] 3.0.27a, ubuntu server7.10 auth issues Because of the problem you had, I'm guessing you're compiling from source and not using a prebuilt package. From what I've read, this library should be in the source code. You should be able to copy it, or there might even be a build option to place it in the binary. Another option is to add the Debian testing repository to /etc/apt/sources.list. The latest version is usually available within 2 weeks of release, and everything needed is done for you. Just be aware that when changing between different sources of packages that sometimes dependency errors can occur, and it will be up to you to sort them out if they do occur. I had that happen when moving from samba.org sarge packages to debian.org etch/lenny packages. Good luck, Dale Guillermo Gutierrez wrote: Thank you so much, you copy of libnss_winbind.so.2 worked for me. For the future, how do I go about generating or building the file? Guillermo Gutierrez _________________________ (818) 575-2017 (818) 324-0871 ggutierrez@marketscan.com From: Dale Schroeder [mailto:dale@BriannasSaladDressing.com] Sent: Thursday, December 06, 2007 11:12 AM To: Guillermo Gutierrez Subject: Re: [Samba] 3.0.27a, ubuntu server7.10 auth issues If you used an Ubuntu or Debian package, it should have done so automatically. If you compiled from source, the links indicate you'll have to create it; and I don't know how to do that. Looking in my /lib directory, I see libnss_winbind.so.2, dated 2007-11-24. I'll attach it to see if a simple copy will work for you. Good luck, Dale Guillermo Gutierrez wrote: Hmmm?.how do I go about upgrading libnss_winbind.so? Guillermo Gutierrez _________________________ (818) 575-2017 (818) 324-0871 ggutierrez@marketscan.com From: Dale Schroeder [mailto:dale@BriannasSaladDressing.com] Sent: Thursday, December 06, 2007 6:32 AM To: Guillermo Gutierrez; samba@lists.samba.org Subject: Re: [Samba] 3.0.27a, ubuntu server7.10 auth issues The links below all say the same thing concerning this error message: the version of libnss_winbind.so running does not match the version of winbind that is running. http://lists.samba.org/archive/samba/2005-December/114975.html http://lists.samba.org/archive/samba/2006-February/117780.html http://threebit.net/mail-archive/samba/msg00562.html Dale Guillermo Gutierrez wrote: -----Original Message----- From: samba-bounces+ggutierrez=marketscan.com@lists.samba.org [mailto:samba-bounces+ggutierrez=marketscan.com@lists.samba.org] On Behalf Of Shaun Marolf Sent: Wednesday, December 05, 2007 4:23 PM To: samba@lists.samba.org Subject: Re: [Samba] 3.0.27a, ubuntu server7.10 auth issues On Wednesday 05 December 2007 05:55:25 pm Guillermo Gutierrez wrote: Well, I tried it but no luck. Getent still won't display the AD users. Guillermo Gutierrez _________________________ (818) 575-2017 (818) 324-0871 ggutierrez@marketscan.com -----Original Message----- From: Aaron J. Zirbes [mailto:ajz@umn.edu] Sent: Wednesday, December 05, 2007 3:51 PM To: Guillermo Gutierrez Subject: Re: [Samba] 3.0.27a, ubuntu server7.10 auth issues Have winbindd, smbd, nmbd all been restarted? ... just a guess since winbindd is saying it's getting requests of a different size than expected, and I've seen that when I've restarted one daemon, but not the other. You could also try clearing out your tdb cache files I know I run the following command on FreeBSD. I'm not exactly sure what it would be on ubuntu though /usr/local/samba/bin/tdbbackup -v /usr/local/samba/var/locks/*.tdb perhapse? tdbbackup -v var/samba/locks/*.tdb -- Aaron Guillermo Gutierrez wrote: I don't have nscd installed Guillermo Gutierrez _________________________ (818) 575-2017 (818) 324-0871 ggutierrez@marketscan.com -----Original Message----- From: Aaron J. Zirbes [mailto:ajz@cccs.umn.edu] Sent: Wednesday, December 05, 2007 3:37 PM To: Guillermo Gutierrez Subject: Re: [Samba] 3.0.27a, ubuntu server7.10 auth issues Did you restart nscd? Guillermo Gutierrez wrote: I have upgraded to version 3.0.27a on ubuntu 7.10 server and now the getent command wont display the active directory users, but wbinfo will. It worked fine with 3.0.26a and I have not changed my configuration. I do however have this in my winbind log: [2007/12/04 13:39:01, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:39:01, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:44:09, 1] nsswitch/winbindd_ads.c:query_user_list(209) Not a user account? atype=0x30000000 [2007/12/04 13:44:09, 1] nsswitch/winbindd_ads.c:query_user_list(209) Not a user account? atype=0x30000000 [2007/12/04 13:44:09, 1] nsswitch/winbindd_ads.c:query_user_list(209) Not a user account? atype=0x30000000 [2007/12/04 13:44:09, 1] nsswitch/winbindd_ads.c:query_user_list(209) Not a user account? atype=0x30000000 [2007/12/04 13:44:09, 1] nsswitch/winbindd_ads.c:query_user_list(209) Not a user account? atype=0x30000000 [2007/12/04 13:44:18, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:44:18, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:45:34, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:45:34, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:45:54, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:46:19, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:46:19, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:46:19, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:49:35, 1] nsswitch/winbindd_ads.c:query_user_list(209) Not a user account? atype=0x30000000 [2007/12/04 13:49:35, 1] nsswitch/winbindd_ads.c:query_user_list(209) Not a user account? atype=0x30000000 [2007/12/04 13:49:35, 1] nsswitch/winbindd_ads.c:query_user_list(209) Not a user account? atype=0x30000000 [2007/12/04 13:49:35, 1] nsswitch/winbindd_ads.c:query_user_list(209) Not a user account? atype=0x30000000 [2007/12/04 13:49:35, 1] nsswitch/winbindd_ads.c:query_user_list(209) Not a user account? atype=0x30000000 [2007/12/04 13:49:42, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:49:42, 0] nsswitch/winbindd.c:request_len_recv(544) request_len_recv: Invalid request size received: 2084 (expected 2088) [2007/12/04 13:50:17, 1] nsswitch/winbindd.c:main(990) winbindd version 3.0.27a started. Copyright Andrew Tridgell and the Samba Team 1992-2007 [2007/12/04 13:50:17, 0] nsswitch/winbindd_cache.c:initialize_winbindd_cache(2222) initialize_winbindd_cache: clearing cache and re-creating with version number 1 any ideas? Guillermo Gutierrez Network Administrator Market Scan Information Systems, Inc. _______________________________________ (818) 575-2017 (818) 324-0871 ggutierrez@marketscan.com Check to make sure Ubuntu doesn't have the services blocked off. --Shaun -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba Which services should I check? This all worked before I upgraded to 3.0.27a and my config has not changed. I removed the "idmap backed" setting that I had added. - Guillermo ________________________________ No virus found in this incoming message. Checked by AVG. Version: 7.5.503 / Virus Database: 269.16.14/1172 - Release Date: 12/5/2007 8:41 AM ________________________________ No virus found in this incoming message. Checked by AVG. Version: 7.5.503 / Virus Database: 269.16.15/1174 - Release Date: 12/6/2007 10:11 AM ________________________________ No virus found in this incoming message. Checked by AVG. Version: 7.5.503 / Virus Database: 269.16.15/1174 - Release Date: 12/6/2007 10:11 AM
Yes, I have "template shell = /bin/bash" in my smb.conf Guillermo Gutierrez _________________________ (818) 575-2017 (818) 324-0871 ggutierrez@marketscan.com -----Original Message----- From: Aaron J. Zirbes [mailto:ajz@umn.edu] Sent: Friday, December 07, 2007 11:43 AM To: Guillermo Gutierrez Subject: Re: [Samba] 3.0.27a, ubuntu server7.10 auth issues What's your "template shell" set to? Try "/bin/bash" or the like. -- Aaron Guillermo Gutierrez wrote:> One bit of help, I can access samba shares just fine from windowsdomain workstations using domain logins, and I can 'su' to the AD logins...> > But I cannot login as the users. It keeps telling me that the login isincorrect, ssh also tells me that access is denied.> > What setting did I mis out on? > > Guillermo Gutierrez > _________________________ > (818) 575-2017 > (818) 324-0871 > ggutierrez@marketscan.com > >