search for: talloc_destroy

Displaying 8 results from an estimated 8 matches for "talloc_destroy".

2003 Sep 27
0
Samba 3(PDC) + winbind, anyone has it working ?
...memory\n")); return WINBINDD_ERROR; } status = domain->methods->query_user(domain, mem_ctx, &user_sid, &user_info); if (!NT_STATUS_IS_OK(status)) { DEBUG(1, ("error getting user info for user '[%s]\\[%s]'\n", name_domain, name_user)); talloc_destroy(mem_ctx); return WINBINDD_ERROR; } /* Now take all this information and fill in a passwd structure */ if (!winbindd_fill_pwent(name_domain, name_user, user_info.user_sid, user_info.group_sid, user_info.full_name, &state->response.data.pw)) { talloc_destroy(mem_ctx);...
2006 Jul 13
2
Kerberos Keytab Code Update in 3.0.23
First thing - I'd like to say a big "THANK YOU" to the developers. I just upgraded to samba-3.0.23 and I've noticed an alarming issue with respect to my configuration. I've been using the built-in keytab management and it looks like the updated code no longer creates the userPrincipal in Active Directory. Whether this is an issue for others or not, it would be nice to have
2004 Feb 02
2
PANIC: internal error..
...anic(1400) PANIC: internal error [2004/01/30 11:10:34, 0] lib/util.c:smb_panic(1408) BACKTRACE: 17 stack frames: #0 smbd(smb_panic+0x181) [0x818a994] #1 smbd [0x817b5ce] #2 smbd [0x817b617] #3 /lib/libc.so.6 [0x401734f8] #4 /lib/libc.so.6(__libc_free+0x7c) [0x401bdfbc] #5 smbd(talloc_destroy_pool+0x26) [0x818eebd] #6 smbd(talloc_destroy+0x17) [0x818ef0c] #7 smbd(conn_free+0x1a2) [0x808646f] #8 smbd(close_cnum+0x22c) [0x80c04fc] #9 smbd(reply_tdis+0xa4) [0x809cbdb] #10 smbd [0x80bce0c] #11 smbd [0x80bce96] #12 smbd(process_smb+0x1b9) [0x80bd191] #13 smbd(smbd_pro...
2000 Apr 29
0
fix to lib/talloc.c
I added little changes to lib/talloc.c. With this patch, 1) calling malloc() within talloc.c will become 1/2( well, at least, nearly half ). 2) If you are using glibc2's malloc, then entire talloced space will be returned to system at talloc_destroy() time. # Original code has chance of keeping space for # 'struct talloc_chunk'. --- ./source/lib/talloc.c 2000/04/28 12:04:08 1.1 +++ ./source/lib/talloc.c 2000/04/29 14:23:16 @@ -55,25 +55,22 @@ void *talloc(TALLOC_CTX *t, size_t size) { void *p; - size = (size + TALLOC_ALI...
2007 Jul 28
1
Error while contacting ADS from Samba server
...message, I am pasting the portion of code here, File name: libads/ldap.c Function name: ads_server_info Code snippet within this function: value = ads_pull_string(ads, ctx, res, "ldapServiceName"); if (!value) { ads_msgfree(ads, res); talloc_destroy(ctx); return ADS_ERROR(LDAP_NO_RESULTS_RETURNED); } timestr = ads_pull_string(ads, ctx, res, "currentTime"); if (!timestr) { ads_msgfree(ads, res); talloc_destroy(ctx); return ADS_ERROR(LDAP_NO...
2003 Dec 01
0
No subject
...p();=0A= + break;=0A= + }=0A= + }=0A= + } else=0A= + DEBUG(1,("failed to lookup_usergroups for = %d\n",(*info)[i].user_rid));=0A= + } else /* force primary group */=0A= + (*info)[i].group_rid =3D lp_winbind_primary_group();=0A= + }=0A= }=0A= =0A= talloc_destroy(ctx2);=0A= @@ -263,10 +287,12 @@=0A= WINBIND_USERINFO *user_info)=0A= {=0A= CLI_POLICY_HND *hnd;=0A= - NTSTATUS result;=0A= + NTSTATUS result, status;=0A= POLICY_HND dom_pol, user_pol;=0A= BOOL got_dom_pol =3D False, got_user_pol =3D False;=0A= SAM_USERINFO_CTR *ctr;=0A= + uint32 nu...
2004 Oct 21
0
compile errors samba 3.0.7 vfs
...loc_asprintf' modules/vfs_netatalk.po: In function `atalk_rmdir': modules/vfs_netatalk.po(.text+0x505): undefined reference to `talloc_init' modules/vfs_netatalk.po(.text+0x53d): undefined reference to `talloc_asprintf' modules/vfs_netatalk.po(.text+0x55a): undefined reference to `talloc_destroy' modules/vfs_netatalk.po: In function `atalk_rename': modules/vfs_netatalk.po(.text+0x5fb): undefined reference to `talloc_init' modules/vfs_netatalk.po(.text+0x662): undefined reference to `DEBUGLEVEL_CLASS' modules/vfs_netatalk.po(.text+0x670): undefined reference to `DEBUGLEVEL...
2002 May 16
2
WinBind does not work well with Rational ClearCase ( bug fix attached :)
Gerald, No worries. This patch is required if your using Rational ClearCase and you don't want everyone to have access to it. It's to fix a brokenness (IMO) within ClearCase, and maybe other programs. Our windows primary group has 10k+ users... I will shoot it off to Rational, so they can provide it to there customers. I was hoping it could be applied to the main tree so I could just