[SCM] Samba Shared Repository - branch v3-2-test updated -
release-3-2-0pre2-3407-gef76b71
Jeremy Allison
jra at samba.org
Wed Jan 28 23:12:40 GMT 2009
The branch, v3-2-test has been updated
via ef76b71683f3d420fa8062bc5364493c44ab68ce (commit)
from 077e0ed31315242c571ccd9e9579f53aac0dbbc7 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit ef76b71683f3d420fa8062bc5364493c44ab68ce
Author: Andreas Schneider <anschneider at suse.de>
Date: Wed Jan 14 12:11:36 2009 +0100
Use talloc_tos() instead of the talloc NULL context.
Signed-off-by: Andreas Schneider <anschneider at suse.de>
-----------------------------------------------------------------------
Summary of changes:
source/smbd/service.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/smbd/service.c b/source/smbd/service.c
index cb51f35..1c8ffbd 100644
--- a/source/smbd/service.c
+++ b/source/smbd/service.c
@@ -693,7 +693,7 @@ static connection_struct *make_connection_snum(int snum, user_struct *vuser,
char *found_username = NULL;
guest = True;
- pass = getpwnam_alloc(NULL, guestname);
+ pass = getpwnam_alloc(talloc_tos(), guestname);
if (!pass) {
DEBUG(0,("make_connection_snum: Invalid guest "
"account %s??\n",guestname));
--
Samba Shared Repository
More information about the samba-cvs
mailing list