Bug 9095 - Wbinfo -r don't show all users group
Wbinfo -r don't show all users group
Status: NEW
Product: Samba 3.6
Classification: Unclassified
Component: Winbind
3.6.5
x86 FreeBSD
: P5 major
: ---
Assigned To: Michael Adam
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-08-14 07:37 UTC by Dmitry
Modified: 2012-08-28 05:02 UTC (History)
0 users

See Also:


Attachments
SMB.conf (987 bytes, text/plain)
2012-08-14 07:37 UTC, Dmitry
no flags Details
krb.conf (633 bytes, text/plain)
2012-08-14 07:38 UTC, Dmitry
no flags Details
SMBD log (1.61 KB, text/plain)
2012-08-14 07:38 UTC, Dmitry
no flags Details
NMBD log (175.30 KB, text/plain)
2012-08-14 07:39 UTC, Dmitry
no flags Details
Winbind log (1.51 KB, text/plain)
2012-08-14 07:39 UTC, Dmitry
no flags Details
log.winbindd-dc-connect (38.03 KB, text/plain)
2012-08-14 07:40 UTC, Dmitry
no flags Details
log.winbindd-idmap (85.61 KB, text/plain)
2012-08-14 07:40 UTC, Dmitry
no flags Details
log.wb-UA (951.47 KB, text/plain)
2012-08-27 10:58 UTC, Dmitry
no flags Details
log.nmbd (95.07 KB, text/plain)
2012-08-27 11:36 UTC, Dmitry
no flags Details
log.smbd (1.61 KB, text/plain)
2012-08-27 11:37 UTC, Dmitry
no flags Details
log.wb-BUILTIN (68.30 KB, text/plain)
2012-08-27 11:37 UTC, Dmitry
no flags Details
log.wb-DMZP-PROXY (73.91 KB, text/plain)
2012-08-27 11:37 UTC, Dmitry
no flags Details
log.wb-UA (209.91 KB, text/plain)
2012-08-27 11:38 UTC, Dmitry
no flags Details
log.winbindd (1.51 KB, text/plain)
2012-08-27 11:38 UTC, Dmitry
no flags Details
log.winbindd (1.51 KB, text/plain)
2012-08-27 11:39 UTC, Dmitry
no flags Details
log.winbindd-dc-connect (38.11 KB, text/plain)
2012-08-27 11:39 UTC, Dmitry
no flags Details
log.winbindd-idmap (94.14 KB, text/plain)
2012-08-27 11:39 UTC, Dmitry
no flags Details
smbd..log (333.28 KB, text/plain)
2012-08-27 11:39 UTC, Dmitry
no flags Details
winbindd..log (112.07 KB, text/plain)
2012-08-27 11:40 UTC, Dmitry
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry 2012-08-14 07:37:50 UTC
Created attachment 7766 [details]
SMB.conf

I have installed on my FreeBSD (FreeBSD dmzp-proxy.ua.evraz.com 9.0-RELEASE FreeBSD 9.0-RELEASE #2: Tue Aug  7 06:10:35 EEST 2012     admin@dmzp-proxy.ua.evraz.com:/usr/obj/usr/src/sys/GENERIC  i386) SAMBA 3.6.5 from ports (net/samba36).
And after start SAMBA i got no all user group:

admin@dmzp-proxy[/root]# wbinfo -r ADM_Zabolotny_DA
10006
10000

(that user member of 6 groups)

Is this bug? Please help.

p.s. at /var/log/samba i had the empty cores directories. Is it normal?
Comment 1 Dmitry 2012-08-14 07:38:20 UTC
Created attachment 7767 [details]
krb.conf
Comment 2 Dmitry 2012-08-14 07:38:48 UTC
Created attachment 7768 [details]
SMBD log
Comment 3 Dmitry 2012-08-14 07:39:09 UTC
Created attachment 7769 [details]
NMBD log
Comment 4 Dmitry 2012-08-14 07:39:36 UTC
Created attachment 7770 [details]
Winbind log
Comment 5 Dmitry 2012-08-14 07:40:04 UTC
Created attachment 7771 [details]
log.winbindd-dc-connect
Comment 6 Dmitry 2012-08-14 07:40:24 UTC
Created attachment 7772 [details]
log.winbindd-idmap
Comment 7 Dmitry 2012-08-21 08:11:29 UTC
Domain WS 2008 R2 (functional level 2008r2)
Comment 8 Volker Lendecke 2012-08-27 09:15:21 UTC
According to "log file = ", winbind logs somewhere else. We also need log.wb-UA.

Do things change if you do a wbinfo -a ADM_Zabolotny_DA first?
Comment 9 Dmitry 2012-08-27 10:58:42 UTC
Created attachment 7822 [details]
log.wb-UA
Comment 10 Dmitry 2012-08-27 11:01:13 UTC
Any changes ...
# wbinfo -a ADM_Zabolotny_DA
Enter ADM_Zabolotny_DA's password:
plaintext password authentication succeeded
Enter ADM_Zabolotny_DA's password:
challenge/response password authentication succeeded
# wbinfo -r ADM_Zabolotny_DA
10006
10000
#
Comment 11 Volker Lendecke 2012-08-27 11:18:35 UTC
Are you still planning to upload the main winbind logfile? With your setting "log file = /var/log/samba/%m.%U.log" winbind logs into another file. Please also upload that logfile. I can not really tell which exact file that is, you might be able to find that out by

ls -l /proc/<pid>/fd

where <pid> is replaced by the parent winbind's process ID.

It would be best if you could re-do all log files, so that we can get a complete picture of all logs together from one single failure.
Comment 12 Dmitry 2012-08-27 11:36:37 UTC
Ok. I'm stop samba and delte all logs in /var/log/samba. After start 
# wbinfo -r ADM_Zabolotny_DA
10006
10000

New logs:
Comment 13 Dmitry 2012-08-27 11:36:52 UTC
Created attachment 7824 [details]
log.nmbd
Comment 14 Dmitry 2012-08-27 11:37:17 UTC
Created attachment 7825 [details]
log.smbd
Comment 15 Dmitry 2012-08-27 11:37:33 UTC
Created attachment 7826 [details]
log.wb-BUILTIN
Comment 16 Dmitry 2012-08-27 11:37:47 UTC
Created attachment 7827 [details]
log.wb-DMZP-PROXY
Comment 17 Dmitry 2012-08-27 11:38:35 UTC
Created attachment 7828 [details]
log.wb-UA
Comment 18 Dmitry 2012-08-27 11:38:50 UTC
Created attachment 7829 [details]
log.winbindd
Comment 19 Dmitry 2012-08-27 11:39:02 UTC
Created attachment 7830 [details]
log.winbindd
Comment 20 Dmitry 2012-08-27 11:39:15 UTC
Created attachment 7831 [details]
log.winbindd-dc-connect
Comment 21 Dmitry 2012-08-27 11:39:29 UTC
Created attachment 7832 [details]
log.winbindd-idmap
Comment 22 Dmitry 2012-08-27 11:39:44 UTC
Created attachment 7833 [details]
smbd..log
Comment 23 Dmitry 2012-08-27 11:40:00 UTC
Created attachment 7834 [details]
winbindd..log
Comment 24 Dmitry 2012-08-27 11:40:41 UTC
(In reply to comment #11)
> Are you still planning to upload the main winbind logfile? With your setting
> "log file = /var/log/samba/%m.%U.log" winbind logs into another file. Please
> also upload that logfile. I can not really tell which exact file that is, you
> might be able to find that out by
> ls -l /proc/<pid>/fd
> where <pid> is replaced by the parent winbind's process ID.
> It would be best if you could re-do all log files, so that we can get a
> complete picture of all logs together from one single failure.

Maybe its winbindd..log
Comment 25 Dmitry 2012-08-27 11:49:21 UTC
(In reply to comment #11)
> Are you still planning to upload the main winbind logfile? With your setting
> "log file = /var/log/samba/%m.%U.log" winbind logs into another file. Please
> also upload that logfile. I can not really tell which exact file that is, you
> might be able to find that out by
> ls -l /proc/<pid>/fd
> where <pid> is replaced by the parent winbind's process ID.
> It would be best if you could re-do all log files, so that we can get a
> complete picture of all logs together from one single failure.

Maybe its winbindd..log
Comment 26 Volker Lendecke 2012-08-27 12:16:54 UTC
Looking at the logs, this smells similar to bug 9052, which was fixed with Samba 3.6.7. Can you give that a try?
Comment 27 Dmitry 2012-08-27 12:55:09 UTC
I tried to install 3.6.7 from source, but had no results. Problem not solves.
Comment 28 Volker Lendecke 2012-08-27 13:25:15 UTC
Ok. 3.6.7 has changed in that area. You don't happen to have log files from that attempt?
Comment 29 Dmitry 2012-08-28 05:01:43 UTC
I make diffs from attachment 7715 [details] (https://bugzilla.samba.org/attachment.cgi?id=7715) and samba works fine. I'll test this patch few days and then write the results.
Comment 30 Dmitry 2012-08-28 05:02:20 UTC
(In reply to comment #28)
> Ok. 3.6.7 has changed in that area. You don't happen to have log files from
> that attempt?

I have not logs