summaryrefslogtreecommitdiffstats
path: root/source3/groupdb
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-11-25 21:17:20 +0000
committerJeremy Allison <jra@samba.org>1998-11-25 21:17:20 +0000
commitbfc38ff872446e0ad365c22327c779e72a81bef9 (patch)
treeb7178459d9b4ce5acc7dc636d81ac4cba745b723 /source3/groupdb
parent59d4087160ba41aac724722dc29c4b6e4e3b69b0 (diff)
downloadsamba-bfc38ff872446e0ad365c22327c779e72a81bef9.tar.gz
samba-bfc38ff872446e0ad365c22327c779e72a81bef9.tar.xz
samba-bfc38ff872446e0ad365c22327c779e72a81bef9.zip
Makefile.in: Added maintainer mode fixes.
aclocal.m4: Added AC_LIBTESTFUNC. configure.in: Fixed -lsecurity -lsec problems. client.c: dos_ fixes. groupdb/aliasunix.c: Dead code removal. include/includes.h: Added default PRINTCAP_NAME. lib/genrand.c: dos_ fixes. lib/replace.c: Added strtoul. lib/system.c: dos_ fixes. lib/util.c: dos_ fixes. lib/util_sid.c: Signed/unsigned fixes. lib/util_str.c: removed bad const. locking/locking_slow.c: dos_ fixes. printing/printing.c: dos_ fixes. rpc_server/srv_samr.c: Dead code removal. rpc_server/srv_sid.c: global_myworkgroup defined with wrong size AGAIN ! smbd/dir.c: dos_ fixes. smbd/open.c: dos_ fixes. smbd/oplock.c: dos_ fixes. smbd/reply.c smbd/server.c smbd/service.c smbd/uid.c: dos_ fixes. Jeremy. (This used to be commit 6acb4b68f68d516e2ac3c47e500f5600d653435e)
Diffstat (limited to 'source3/groupdb')
-rw-r--r--source3/groupdb/aliasunix.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/source3/groupdb/aliasunix.c b/source3/groupdb/aliasunix.c
index 7d6cafd386..5c9a305780 100644
--- a/source3/groupdb/aliasunix.c
+++ b/source3/groupdb/aliasunix.c
@@ -114,18 +114,8 @@ BOOL get_unixalias_members(struct group *als,
{
DOM_SID sid;
BOOL found = False;
- struct group unix_als;
- if (isdigit(unix_name[0]))
- {
- unix_als.gr_gid = get_number(unix_name);
- unix_als.gr_name = unix_name;
- }
- else
- {
- unix_als.gr_name = unix_name;
- found = map_unix_alias_name(unix_name, &sid, nt_name, NULL);
- }
+ found = map_unix_alias_name(unix_name, &sid, nt_name, NULL);
found = found ? sid_equal(&sid, &global_sam_sid) : False;