summaryrefslogtreecommitdiffstats
path: root/source/lib/sids.c
Commit message (Collapse)AuthorAgeFilesLines
* use of dos_mkdir() in generate_sam_sid() should be unix mkdirLuke Leighton1999-07-071-1/+1
|
* removed nt_pipe_fnum from struct cli_state. need to be able to callLuke Leighton1998-12-071-6/+7
| | | | | | LsaLookupSids etc from within SamrQueryAliasMembers, for example. fnum is now a parameter to client functions. thanks to mike black for starting the ball rolling.
* - renamed do_samr_xxx to samr_xxxLuke Leighton1998-12-041-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | - renamed do_lsa_xxx to lsa_xxx - added "enumgroups [-m]" command, enumerates groups, shows members. - added cmd_sam_add_groupmem(), need to call these in rpcclient.c - added cmd_sam_add_aliasmem(), need to call these in rpcclient.c - modified "enumaliases [-m]" command - improved "enumgroups" and "enumaliases" to display names not just RIDS/SIDs. - renamed "samr_unknown_12" to "samr_lookup_rids". - added the following client-side functions: get_samr_query_groupmem() get_samr_query_aliasmem() get_samr_query_groupinfo() samr_enum_dom_groups() samr_enum_dom_aliases() samr_add_aliasmem() samr_add_groupmem() - improved display output (display.c)
* jean-f spotted bug in test for existence of MACHINE.SID and SAM_NAME.SID.Luke Leighton1998-12-031-1/+1
|
* removed check on name of domain having to be right, etc etc.Luke Leighton1998-12-021-8/+0
|
* fixing smbpasswd to link to smbd to obtain domain sidLuke Leighton1998-12-011-3/+3
|
* rpc_samr.h parse_samr.c srv_samr.c :Luke Leighton1998-12-011-30/+50
| | | | | | | | | | samr_query_aliasmembers (cool!) util_pwdb.c sids.c nmbd.c server.c smbpasswd.c swat.c : pwdb_initialise(BOOL is_server) now creates / reads DOMAIN_NAME.SID if is_server is True, and does LsaQueryInfoPolicy(levels 3 and 5) to obtain member and pdc sids.
* fix to domain_namemap (domain, ntname wrong way round oops)Luke Leighton1998-12-011-5/+5
| | | | stupid compile errors with file_rename() call just created.
* adding some samr parsing calls (group / alias adding / deleting)Luke Leighton1998-12-011-0/+20
| | | | added code that moves MACHINE.SID to DOMAIN_NAME.SID if it exists.
* attempting to fix "domain user map" up, but it's a bit complicated.Luke Leighton1998-11-301-2/+9
| | | | | | | | | | | | | | | | | i may simply go for a response in the NetSamLogon returning the unix username, forcing the NT user to appear to be a unix user, however even that is fraught with implications. might just have to go the whole hog and do this tuple thing, "unix_name + nt_name" always associated together... issue with api_net_sam_logon, getsam21pwent() being called twice, the second time overwriting static buffer data (argh) so had to make a copy. noticed a nested "become_root()"/"unbecome_root()" which will have to be tracked down...
* - adding builtin[alias]db.Luke Leighton1998-11-301-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | - lib/sids.c: generate_sam_sid() modified to take a domain name: it now generates "DOMAIN_NAME.SID". reasons: 1) if you run multiple samba servers on the same machine under different netbios names as members of a domain, they won't all use the same SID, which is a _big_ mistake but it would happen _by default_. 2) we have (had) a problem with sid_to_string() and string_to_sid() which cause SIDs to be incorrectly read. one of the major reasons for *NOT* making this change was so as not to disrupt existing users. but as they will be anyway by this bug, we might as well go ahead. - passdb/smbpass.c: wanted to change the meaning of the name in the smbpasswd file to an "nt" name not a "unix" name. this is probably not a good idea: reverted this. - output formatting / bug-fixing in rpcclient query_useraliases code.
* "retired" two modules to preserve their cvs history.Luke Leighton1998-11-291-0/+554
added their replacements, added sam password database API modules