| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
sure it is a samba process that is running.
|
| |
|
|
|
|
|
| |
this....
Jeremy.
|
| |
|
|
|
|
|
|
| |
needed a flags fields as you get 0x0000 0010 and 0x0000 001f unknown
values for different purposes, no-one's going to tell us what they
are and i don't CARE!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- samr_enum_dom_users, the first 4 bytes is some sort of garbage,
nt5-beta2 clears them out to zeros whereas nt4 does not.
fixed bug where we were assuming that the first 4 bytes of a
response _had_ to be non-zero.
- cli_lsarpc.c: forgot to append the rid on the lsa_lookup_names()
client call.
- added in "addaliasmem" and "addgroupmem" commands. the addaliasmem
command actually turned out to be a "delaliasmem" :-) :-)
- parse_lsa.c: moved assert array check to after the size of useable
array space is set...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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)
|
|
|
|
| |
I will update these when 2.0.0beta3 has shipped. <John H Terpstra>
|
| |
|
| |
|
|
|
|
| |
renamed do_samr_xxxx to samr_xxxx.
|
|
|
|
| |
DB API
|
|
|
|
|
| |
nmbd and smbd. nmbd is now client: smbd is solely responsible for
creating sam_name.SID
|
| |
|
| |
|
|
|
|
|
|
|
| |
jean-francois' going to get annoyed, again.
andrew's going to threaten to take cvs access away, again.
missed compilation of this file when updating sam_unknown_12 call.
|
| |
|
| |
|
|
|
|
|
|
|
| |
query.
domain groups now work, hurrah! only thing is that the description is
one character long, don't know why (which is wierd in itself).
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
being able to use next_token() outside of string_to_sid calls.
use strchr instead
|
|
|
|
|
| |
complaint about confusion because both the HEAD and SAMBA_2_0 reported
the same version info.
|
|
|
|
| |
rid is needed not the name (see DOMAIN_GRP_MEMBER) decided to go home.
|
|
|
|
|
|
|
|
|
|
|
| |
need to check, when looking up group members, that a group member is
a unix user [being mapped to an nt user] FIRST then if that fails
check that a group member is a unix group [being mapped to an nt group].
why? because you can have group names in a unix /etc/group file with
the same name as users.
this _might_ be a problem...
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
modified map_nt_and_unix_names() to never refuse a mapping (returns void
now not BOOL).
|
|
|
|
|
|
| |
restriction and "domain user map" seems to work.
amazing.
|
|
|
|
| |
stupid compile errors with file_rename() call just created.
|
|
|
|
| |
added code that moves MACHINE.SID to DOMAIN_NAME.SID if it exists.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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...
|
|
|
|
|
| |
a call _outside_ of this was _also_ calling getpwnam. the calls to
getsmbpwnam() were therefore overwriting the static buffer.
|
| |
|
| |
|
|
|
|
|
| |
My bad... Earlier one was the patch from the CIFS conference that
didn't work, this fixes...
|
| |
|
| |
|
| |
|
|
|
|
| |
a connection succeeds...).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
| |
|
| |
|
| |
|