CVS update: samba/source/samrd
Luke Leighton
lkcl at samba.anu.edu.au
Tue Feb 29 06:41:10 EST 2000
Date: Tuesday February 29, 2000 @ 6:41
Author: lkcl
Update of /data/cvs/samba/source/samrd
In directory samba:/tmp/cvs-serv26166/samrd
Modified Files:
Tag: SAMBA_TNG
srv_samr_dom_tdb.c srv_samr_passdb.c srv_samr_sam_tdb.c
srv_samr_tdb.c
Added Files:
Tag: SAMBA_TNG
samr_util.c
Log Message:
>From Elrond at Wunder-Nett.org Tue Feb 29 05:53:10 2000
Date: Mon, 28 Feb 2000 17:29:48 +0100
From: Elrond <Elrond at Wunder-Nett.org>
To: Luke Kenneth Casson Leighton <lkcl at samba.org>
Subject: _samr_query_sec_obj
Hi Luke,
- moved the SD-generation code out of
samrd/srv_samr_sam_tdb.c:_samr_query_sec_obj into its own
samrd/samr_util.c
- updated the SD to have the same order and include
Builtin\Account Operators, as seen on an nt4sp4 ws.
- used this function in samrpassd (which was broken here
and usrmgr didn't work) and samrtdbd (for consistency)
(I can't compile-check samrnt5ldap, so I will send Luke
Howard a patch to inspect.)
- clean-up: Mainly policy-handles... but also other stuff
- debugging and type-checking of data associated with
POLICY_HND in samrtdbd
(I suspect, there's a problem in sam_query_sec_obj, see
the new WARNING, that appears.)
- rpcclient/samedit: enumaliases has new option:
[-d Domain], so I could do "enumaliases -d Builtin"
After this patch my usrmgr worked better, but now it looks
like it is thinking, it talks to a WS instead of a server.
I can't see the domain-groups, only aliases, and in the
user-properties, there are only 3 buttons for "Groups",
"Profiles" and "RAS", the others are missing... I tried a
long time to find out about it... I failed, so could you
have a look at this?
[lkcl: this because winregd is returning "i am a wksta"]
Okay, and another thing:
You seemed to look for the bit on the user-objects, that
allows password-changing: I think, it must be 0x0004,
cause:
Everyone has: 0x2035b
Normal user : 0x20044
0x20040 is included in the bits, everyone has, 0x0004 is
left over....
Just some thoughts...
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>
<a href=" http://www.iss.net" > Internet Security Systems, Inc. </a>
<a href=" http://mcp.com" > Macmillan Technical Publishing </a>
ISBN1578701503 DCE/RPC over SMB: Samba and Windows NT Domain Internals
More information about the samba-cvs
mailing list