1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-29 21:47:30 +03:00

2597 Commits

Author SHA1 Message Date
John Terpstra
bd3770235d Updated makefile-path info contributed on the samba-technical mailing list. -
Richard Sharpe
47e36bed8f Fixed problems in debug code because I did not compile
first :-(
-
Richard Sharpe
b75af70990 Added some debugging to clitar ... -
Jeremy Allison
7be5c8e8f7 Fixed tar recurse bug.
Jeremy.
-
Jeremy Allison
d5f05b4fae Fix bug with nmbd running wild due to recursion in retransmit_or_expire_response_records().
Jeremy.
-
Andrew Tridgell
ccf6443887 and in head branch:
make sure we include sys/mman.h if available
-
Christopher R. Hertel
782474f41e A while back, Andrew and I talked about making the debug parsing code a
better "fit" with other Samba code.  This is a small first step toward
doing what (I think) we agreed to do.

I've moved the key function from ubiqx/debugparse.c into lib/debug.c.  I
have also moved the enum from ubiqx/debugparse.h into the debug section in
smb.h.

The next thing to do is to get debug2html added into the Makefile.in so
that it is always produced when compiling the suite.

Chris -)-----
-
Andrew Tridgell
ef5f752a4a on Linux force fcntl/mmap based shared memory and on other systems
force IPC/shmem based shared memory.
-
Luke Leighton
c2bcb3a286 server_cryptkey() now calling cli_connectserverlist(). stupid microsoft
idiotic *SMBSERVER connectionism added to cli_connect_serverlist().
also added check for protocol < LANMAN2.
-
Luke Leighton
0b2095e092 added sid_name_use array argument to lsa_lookup_names and lsa_lookup_sids. -
Luke Leighton
2cce78aa00 trying to track down issues in get_home_dir(). -
Luke Leighton
f4b8a28306 %U substitution should be unix user not nt user -
Luke Leighton
c6f2f58c74 adding svcctl parsing code -
Luke Leighton
870bccb174 bugfix in smb_err_msg -
Luke Leighton
ca10eb4490 oops, util_pwdb.c appears to be included in PASSDB_OBJ not LIB_OBJ. -
Luke Leighton
dacf5b152b adding some enumerate services code, client and server. -
Luke Leighton
501617307f need to initialise global_myworkgroup -
Andrew Tridgell
be697c9ef0 removed the SID stuff from the head branch as well.
This allows the removal of PASSDB_OBJ, RPC_CLIENT_OBJ and
RPC_PARSE_OBJ from nmbd in the head branch.

so nmbd just went on a diet :)
-
Luke Leighton
e5ee965f8d adding "Service Control Manager" commands to rpcclient. -
Jeremy Allison
b993081db1 Adding George's Mac extension code.
Jeremy.
-
Jeremy Allison
60c3e2f14d Adding George's Mac extension include files.
Jeremy.
-
Luke Leighton
f36cf3b6a7 ldap_getpw() also needs to be (void) -
Luke Leighton
f11eb41658 compilation warnings due to missing (void) in ldap_close_connection. -
Luke Leighton
d06d636994 adding srvsvc pipe. -
Luke Leighton
2bc031e8fa added ldap files by Matthew Chapman. -
Luke Leighton
8b36c7c08f Matthew Chapman spotted that smbpasschange was assuming the existence
of a private/smbpasswd file, this will not be the case for other
database APIs.  removed startsmbdb and endsmbpwdb calls because
add_smbpwd_entry() and mod_smbpwd_entry() don't need them.
-
Andrew Tridgell
5e2844d5ed fixed warnings (and potential errors) due to integer overflow when
creating locking masks
-
Luke Leighton
4f85105578 added text and html versions of LDAP.yo. smb.conf.5 not generated yet
because there were parts rejected from the ldap patch file.
-
Luke Leighton
d11859041d updated for Matt Chapman's ldap code -
Luke Leighton
57e0254946 issues spotted by herb. -
Luke Leighton
2c438c86cb matthew chapman's ldap code, to date. plus docs! -
Luke Leighton
8a85d7abed bugs in rpcclient. add_aliasmem uses a DOM_SID2 not a DOM_SID. -
Luke Leighton
657f46edfb first attempt at making unix setuid/setgid code that is independent of
cnums and snums.
-
Herb Lewis
44d962b736 sync with 2.0 tree -
Luke Leighton
bee8f7fa6b removed nt_pipe_fnum from struct cli_state. need to be able to call
LsaLookupSids etc from within SamrQueryAliasMembers, for example.
fnum is now a parameter to client functions.  thanks to mike black
for starting the ball rolling.
-
Luke Leighton
b8175702ef - lib/unix_sec_ctxt.c
attempt at taking lib/uid.c and getting a unix security context
	change module that is independent of "cnums" and "snums".
	a security context is needed for pipes, not just IPC$ or other
	services.

- group database API

	added add_group/alias_member, del_group/alias_member,
	del_group/alias_entry functions.  del_builtin_entry() is
	deliberately set to NULL to cause an exception, you cannot
	delete builtin aliases.

- parse_lsa.c srv_lsa.c

	fixed lookup_names code, it was a load of trash and didn't do
	anything.

- cmd_samr.c rpcclient.c srv_samr.c

	added "deletegroup", "deletealias", "delaliasmem", "delgroupmem",
	"addgroupmem", "addaliasmem", "createalias", "creategroup", to
	both client and server code.

	server code calls into unix stubs right now, which don't actually
	do anything.  the only instance where they are expected to do
	anything is in appliance mode NOT even in the ldap code or anything.

	client code modified to call samr_lookup_names() for group code
	(because we can) and lsa_lookup_names() for alias code (because
	we have to).

- srv_lookup.c

	oops, lookup on unsplit name, we got lookup on DOMAIN, DOMAIN\name
	instead of DOMAIN, name.
-
Andrew Tridgell
7e9b687de7 fixed a link to testparm.1.html -
Andrew Tridgell
783d4b3477 oops - lock test was the wrong way around -
Andrew Tridgell
f7ad78e369 fixed pidfile handling to check for a lock on the file, so we can be
sure it is a samba process that is running.
-
Andrew Tridgell
26fd660e30 replaced the icons in SWAT with real icons -
Jeremy Allison
5287f3d19b Sync up critical kernel oplock bugfix. I don't want to lose
this....
Jeremy.
-
Luke Leighton
bf15343def added delete domain group and local group and delete domain group member. -
Luke Leighton
aabb4b3bc5 fixing "addgroupmem" and "enumgroups -m" commands, samr_open_group()
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!
-
Luke Leighton
165b15a8ca - oops, i got "add alias member" and "delete alias member" swapped.
- 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...
-
Luke Leighton
eacc5e581a - renamed do_samr_xxx to samr_xxx
- 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)
-
John Terpstra
a6d3601cc6 Updated packaging files from 2.0.0 branch - NOTE: Not yet operative.
I will update these when 2.0.0beta3 has shipped. <John H Terpstra>
-
John Terpstra
f8b811bcda Updated version info and date in document headers. -
Luke Leighton
4771d5451b added createalias command to rpcclient -
Luke Leighton
1e5d81c154 create domain group command (creategroup) added to rpcclient.
renamed do_samr_xxxx to samr_xxxx.
-
Luke Leighton
ef58e48bc9 moved get_unixgroups it will be needed by the unix instance of the group
DB API
-