1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source3/rpc_parse
Andrew Bartlett 93a8358910 This patch makes the 'winbind use default domain' code interact better with
smbd, and also makes it much cleaner inside winbindd.

It is mostly my code, with a few changes and testing performed by Alexander
Bokovoy <a.bokovoy@sam-solutions.net>.  ab has tested it in security=domain and
security=ads, but more testing is always appricatiated.

The idea is that we no longer cart around a 'domain\user' string, we keep them
seperate until the last moment - when we push that string into a pwent on onto
the socket.

This removes the need to be constantly parsing that string - the domain prefix
is almost always already provided, (only a couple of functions actually changed
arguments in all this).

Some consequential changes to the RPC client code, to stop it concatonating the
two strings (it now passes them both back as params).

I havn't changed the cache code, however the usernames will no longer have a
double domain prefix in the key string.  The actual structures are unchanged
 - but the meaning of 'username' in the 'rid' will have changed.  (The cache is
invalidated at startup, so on-disk formats are not an issue here).

Andrew Bartlett
(This used to be commit e870f0e727)
2002-01-20 01:24:59 +00:00
..
.cvsignore add .po32 files to ignore list 2001-11-28 19:49:43 +00:00
parse_dfs.c Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header. 2001-10-02 04:29:50 +00:00
parse_lsa.c This patch makes the 'winbind use default domain' code interact better with 2002-01-20 01:24:59 +00:00
parse_misc.c Give the main loop talloc context a name (using mbp's new talloc naming 2001-12-31 12:41:24 +00:00
parse_net.c more irix -64 portability fixes 2001-12-31 14:05:22 +00:00
parse_prs.c Added prs_mem_clear(). Clear memory on buffer reallocation. That way 2002-01-18 00:36:16 +00:00
parse_reg.c Tidyups and things I discovered during the merge... 2001-11-15 21:06:41 +00:00
parse_rpc.c Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header. 2001-10-02 04:29:50 +00:00
parse_samr.c added a copyright notice. 2001-12-21 22:54:53 +00:00
parse_sec.c Renamed sid field in SEC_ACE to trustee to be more in line with MS's 2001-11-30 01:04:15 +00:00
parse_spoolss.c Added prs_mem_clear(). Clear memory on buffer reallocation. That way 2002-01-18 00:36:16 +00:00
parse_srv.c Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header. 2001-10-02 04:29:50 +00:00
parse_wks.c Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header. 2001-10-02 04:29:50 +00:00