When using the sudo command with pam_winbind.so / winbind hooked up I get the following notice: My samba build is as follows: libpam-winbind_4.0.7+dfsg-1 (4.0.7+dfsg-1) from Debian experimental git repositories. $ sudo bash [sudo] password for spstarr: no talloc stackframe at ../source3/lib/util.c:1493, leaking memory From IRC: [14:41] <spstarr_work> no talloc stackframe at ../source3/lib/util.c:1493, leaking memory [14:41] <spstarr_work> leaky leaky (samba 4.0.7) [14:42] <wanon> What tool is this called from ? [14:43] <spstarr_work> sudo [14:43] <spstarr_work> when using sudo (via pam_winbind.so) [14:44] <wanon> Ah. the myhostname_upper() call there shouldn't be calling talloc_tos().
Created attachment 9105 [details] git-am fix for master. I think this should fix it. Can you test and confirm please ? Thanks, Jeremy.
(In reply to comment #1) > Created attachment 9105 [details] > git-am fix for master. > > I think this should fix it. Can you test and confirm please ? > > Thanks, > > Jeremy. I have the same problem with 4.0.7-2 taken from FC19. I trying to compile RPM packages including Your patch: [1400/2615] Compiling source3/lib/sock_exec.c Waf: Leaving directory `/root/rpmbuild/BUILD/samba-4.0.7/bin' Build failed: -> task failed (err #1): {task: cc util.c -> util_58.o} make: *** [all] Error 1
Fix already in master - reviewed by Simo and Jeremy. Re-assigning to Karolin for inclusion in 4.0.next and 4.1.0. Cherry-pick for 4.0.next and 4.1.0 using: git cherry-pick -x 9423d5afb71e272298f4858d82f436e19ee2b07f Jeremy.
(In reply to comment #3) > Fix already in master - reviewed by Simo and Jeremy. Re-assigning to Karolin > for inclusion in 4.0.next and 4.1.0. > > Cherry-pick for 4.0.next and 4.1.0 using: > > git cherry-pick -x 9423d5afb71e272298f4858d82f436e19ee2b07f > > Jeremy. Pushed to autobuild-v4-1-test and autobuild-v4-0-test.
(In reply to comment #4) > (In reply to comment #3) > > Fix already in master - reviewed by Simo and Jeremy. Re-assigning to Karolin > > for inclusion in 4.0.next and 4.1.0. > > > > Cherry-pick for 4.0.next and 4.1.0 using: > > > > git cherry-pick -x 9423d5afb71e272298f4858d82f436e19ee2b07f > > > > Jeremy. > > Pushed to autobuild-v4-1-test and autobuild-v4-0-test. Pushed to v4-1-test and v4-0-test. Closing out bug report. Thanks!