CVS update: samba/source/lib
Luke Leighton
lkcl at samba.org
Tue May 30 10:09:03 EST 2000
Date: Tuesday May 30, 2000 @ 10:09
Author: lkcl
Update of /data/cvs/samba/source/lib
In directory samba:/tmp/cvs-serv1918/lib
Modified Files:
Tag: SAMBA_TNG
domain_namemap.c
Log Message:
patch from elrond, his ssh access is being refused.
>From Elrond at Wunder-Nett.org Tue May 30 10:06:43 2000
Date: Mon, 29 May 2000 18:33:27 +0200
From: Elrond <Elrond at Wunder-Nett.org>
To: Luke Kenneth Casson Leighton <lkcl at samba.org>
Subject: patch: aliases and other things
Hi Luke,
Okay... I just have to get home, and since ssh (and cvs)
still does not work, I'm sending the patch directly to you.
I hope, it still applies and compiles (didn't try...). You
have to run "make proto".
Thanks in advance.
Here's something for the commit-msg:
- removed srv_lookup.o from swat and smbpasswd
- some mini fixes in groupdb/* (memcpy -> assignment)
- domain_namemap now again understands domain alias map and
creates aliases properly. It also again knows about the
well known groups (Domain Admins)
It now uses split_domain_name() instead of local code and
so properly handles "unqualified" ntnames in the maps
(important for the well-known groups above)
- made even more stuff static (yes, I like static and
const)
- rewrote make_dom_gids() to create the dom_gids from the
DOMAIN_GRP* directly by using the included rid, instead
of re-asking lsarpcd for the name.
This function is mainly used in samrpassd and
netlogonpassd to create the groups of a user. And it's
quite non-sense for samrd to ask lsarpcd for names of
_groups_, a locally-managed user is in:
a) converting numbers -> names -> same number (or even a
wrong number in name-clash-cases..
b) it's quite slow.
c) samr is authoritative for this stuff.
Now samuser -g is somewhat faster.
Elrond
<a href=" mailto:lkcl at samba.org" > Luke Kenneth Casson Leighton </a>
<a href=" http://cb1.com/~lkcl" > Samba and Network Development </a>
<a href=" http://samba.org" > Samba Web site </a>
ISBN1578701503 DCE/RPC over SMB: Samba and Windows NT Domain Internals
More information about the samba-cvs
mailing list