svn commit: samba r12493 - in trunk/source: auth lib libsmb passdb rpc_server smbd utils web

vlendec at samba.org vlendec at samba.org
Mon Dec 26 12:56:23 GMT 2005


Author: vlendec
Date: 2005-12-26 12:56:20 +0000 (Mon, 26 Dec 2005)
New Revision: 12493

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12493

Log:
Make getpwnam_alloc take a talloc context.

With S-1-22-2 it can happen that pdb_enum_group_memberships does not return
any group that is explicitly mapped, so all groups are outside of "our"
domain. For samr_query_usergroups need to return at least the user's primary
group, so do that explicitly.

Volker


Modified:
   trunk/source/auth/auth_server.c
   trunk/source/auth/auth_util.c
   trunk/source/lib/genrand.c
   trunk/source/lib/username.c
   trunk/source/lib/util.c
   trunk/source/lib/util_pw.c
   trunk/source/libsmb/clidfs.c
   trunk/source/passdb/pdb_smbpasswd.c
   trunk/source/passdb/util_unixsids.c
   trunk/source/rpc_server/srv_samr_nt.c
   trunk/source/smbd/lanman.c
   trunk/source/smbd/password.c
   trunk/source/smbd/service.c
   trunk/source/smbd/sesssetup.c
   trunk/source/smbd/uid.c
   trunk/source/utils/pdbedit.c
   trunk/source/utils/smbpasswd.c
   trunk/source/web/cgi.c


Changeset:
Sorry, the patch is too large (914 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12493


More information about the samba-cvs mailing list