1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-05 21:57:51 +03:00

2640 Commits

Author SHA1 Message Date
Andrew Tridgell
5377f7ab3b on Linux force fcntl/mmap based shared memory and on other systems
force IPC/shmem based shared memory.
(This used to be commit ef5f752a4ae818d9c739a064410a02fa48a477e3)
1998-12-15 03:16:24 +00:00
Luke Leighton
e67a8d9d98 server_cryptkey() now calling cli_connectserverlist(). stupid microsoft
idiotic *SMBSERVER connectionism added to cli_connect_serverlist().
also added check for protocol < LANMAN2.
(This used to be commit c2bcb3a286f22ed4f0f55da2a3eb2bff17906fb1)
1998-12-14 21:22:59 +00:00
Luke Leighton
254470cb56 added sid_name_use array argument to lsa_lookup_names and lsa_lookup_sids.
(This used to be commit 0b2095e092d747f741e78a3349f0b81a72811629)
1998-12-14 20:23:20 +00:00
Luke Leighton
d4385df3e8 trying to track down issues in get_home_dir().
(This used to be commit 2cce78aa00f31b79d51aaf46da72019b926e8226)
1998-12-14 20:21:39 +00:00
Luke Leighton
41daca8ceb %U substitution should be unix user not nt user
(This used to be commit f4b8a283065a7c1ae233a0ae01ac76f32fea6b31)
1998-12-11 19:27:19 +00:00
Luke Leighton
3cc7e2936a adding svcctl parsing code
(This used to be commit c6f2f58c74cd79d84ec4a7802882da07a9af80d4)
1998-12-09 23:16:37 +00:00
Luke Leighton
a971a74717 bugfix in smb_err_msg
(This used to be commit 870bccb174337dec5cc14a5e7740662de56e629c)
1998-12-09 18:59:12 +00:00
Luke Leighton
58a0cbc0c8 oops, util_pwdb.c appears to be included in PASSDB_OBJ not LIB_OBJ.
(This used to be commit ca10eb44909e66a07dc7f88b0a740390f9ec3922)
1998-12-09 16:30:37 +00:00
Luke Leighton
74576a48fd adding some enumerate services code, client and server.
(This used to be commit dacf5b152bf74cc3ee9a816911384a5eb0e77afa)
1998-12-09 16:28:04 +00:00
Luke Leighton
1f989cda94 need to initialise global_myworkgroup
(This used to be commit 501617307f3b9bbad76406d00b1bc82f5cb479a6)
1998-12-09 16:23:57 +00:00
Andrew Tridgell
cfba976fc2 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 :)
(This used to be commit be697c9ef00f1b6366228dcdd3983d68158dd94f)
1998-12-09 06:35:37 +00:00
Luke Leighton
7135fb0a2c adding "Service Control Manager" commands to rpcclient.
(This used to be commit e5ee965f8d8452ab694bc5d88e474c4b91dce5b0)
1998-12-08 23:29:37 +00:00
Jeremy Allison
5f084c225d Adding George's Mac extension code.
Jeremy.
(This used to be commit b993081db1d371b8f0d16db23a46a2d5fedcc9ef)
1998-12-08 02:25:41 +00:00
Jeremy Allison
4ce4838258 Adding George's Mac extension include files.
Jeremy.
(This used to be commit 60c3e2f14d5c31fd1fd7aebf7196ac186e31d8f1)
1998-12-08 02:22:56 +00:00
Luke Leighton
3cca46f27e ldap_getpw() also needs to be (void)
(This used to be commit f36cf3b6a70d0a91bce923ab51780d20d69e3bd6)
1998-12-08 00:33:05 +00:00
Luke Leighton
0125141f86 compilation warnings due to missing (void) in ldap_close_connection.
(This used to be commit f11eb4165836ce8d15a453d37c4e07913562d778)
1998-12-08 00:30:23 +00:00
Luke Leighton
8308c000b2 adding srvsvc pipe.
(This used to be commit d06d6369942828ec89e90f99bd0d0d3f91d61d13)
1998-12-08 00:25:04 +00:00
Luke Leighton
4323fd4072 added ldap files by Matthew Chapman.
(This used to be commit 2bc031e8fafeafdc58c6a8056597b647d00657ae)
1998-12-07 22:52:49 +00:00
Luke Leighton
656a7565e9 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.
(This used to be commit 8b36c7c08ffa408506c35219e6453a595cbc3a4f)
1998-12-07 22:52:13 +00:00
Andrew Tridgell
e50ab2b528 fixed warnings (and potential errors) due to integer overflow when
creating locking masks
(This used to be commit 5e2844d5edb15de29b976d2ff077ffbe012b860c)
1998-12-07 22:43:43 +00:00
Luke Leighton
4447b6c79d added text and html versions of LDAP.yo. smb.conf.5 not generated yet
because there were parts rejected from the ldap patch file.
(This used to be commit 4f85105578fdf74d883f185f983e608112fe823b)
1998-12-07 21:48:58 +00:00
Luke Leighton
8e2598144a updated for Matt Chapman's ldap code
(This used to be commit d11859041d4ec828b2262282cda98a021129d008)
1998-12-07 21:44:37 +00:00
Luke Leighton
801d625898 issues spotted by herb.
(This used to be commit 57e025494692b1e54d4d83192e6c15d4d1454353)
1998-12-07 21:40:53 +00:00
Luke Leighton
699bae847f matthew chapman's ldap code, to date. plus docs!
(This used to be commit 2c438c86cbb38833b3abd4fbead6324687633b25)
1998-12-07 21:37:17 +00:00
Luke Leighton
54529fbd66 bugs in rpcclient. add_aliasmem uses a DOM_SID2 not a DOM_SID.
(This used to be commit 8a85d7abed317fd06e3e0026d4b9e088311eede4)
1998-12-07 21:32:02 +00:00
Luke Leighton
ba0cdbe8f5 first attempt at making unix setuid/setgid code that is independent of
cnums and snums.
(This used to be commit 657f46edfbea852309505f5e3065506127eda6a2)
1998-12-07 20:28:51 +00:00
Herb Lewis
e12592e19f sync with 2.0 tree
(This used to be commit 44d962b73634c3e43973b35c1f02aaff6edc5981)
1998-12-07 20:27:01 +00:00
Luke Leighton
9c848ec329 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.
(This used to be commit bee8f7fa6b0f7f995f71303f4e14a4aaed0c2437)
1998-12-07 20:23:41 +00:00
Luke Leighton
312f4f3960 - 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.
(This used to be commit b8175702ef61b8b37b078f38e81452c00a5e2986)
1998-12-07 17:23:48 +00:00
Andrew Tridgell
149d11ce4a fixed a link to testparm.1.html
(This used to be commit 7e9b687de7fbb34a2736030dab31a9df73a75073)
1998-12-07 10:37:13 +00:00
Andrew Tridgell
637414904d oops - lock test was the wrong way around
(This used to be commit 783d4b3477fa9e363aa1f7524bd060019648ab0d)
1998-12-05 08:19:42 +00:00
Andrew Tridgell
84ba7b422d fixed pidfile handling to check for a lock on the file, so we can be
sure it is a samba process that is running.
(This used to be commit f7ad78e369ebf2f4d31e8259e3e1fdd4c087b037)
1998-12-05 08:09:59 +00:00
Andrew Tridgell
99a84ce2dd replaced the icons in SWAT with real icons
(This used to be commit 26fd660e30d632624c3c804d9e73178d75c7855d)
1998-12-05 06:54:10 +00:00
Jeremy Allison
8554959985 Sync up critical kernel oplock bugfix. I don't want to lose
this....
Jeremy.
(This used to be commit 5287f3d19b7d8e76970f1ce1abfd95b7341434e5)
1998-12-05 01:03:42 +00:00
Luke Leighton
7cbd3bcef5 added delete domain group and local group and delete domain group member.
(This used to be commit bf15343def5b95ce4387ac4357674aff31431194)
1998-12-04 23:06:27 +00:00
Luke Leighton
8891f8c6b9 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!
(This used to be commit aabb4b3bc5119ef317b5697ae6fcf5d36c2d474e)
1998-12-04 22:00:39 +00:00
Luke Leighton
89c56492a8 - 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...
(This used to be commit 165b15a8cacc4bc7cf8cc0b9aaabb6b92cef7fdb)
1998-12-04 21:48:06 +00:00
Luke Leighton
cf0ea874b1 - 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)
(This used to be commit eacc5e581af2b4de24186b9be3238b352c54effe)
1998-12-04 16:30:00 +00:00
John Terpstra
3e219742a2 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>
(This used to be commit a6d3601cc687b59afb346502488a2e74f2f737a9)
1998-12-04 00:13:12 +00:00
John Terpstra
0ea126237c Updated version info and date in document headers.
(This used to be commit f8b811bcda0976c05e0490fb3198a6079e544c55)
1998-12-03 23:14:52 +00:00
Luke Leighton
32167eda0d added createalias command to rpcclient
(This used to be commit 4771d5451b49375cc2fd4246d7d746b0d03cd5ba)
1998-12-03 22:20:30 +00:00
Luke Leighton
b99dc808df create domain group command (creategroup) added to rpcclient.
renamed do_samr_xxxx to samr_xxxx.
(This used to be commit 1e5d81c154740349a2cda4c1892b33a21c0683a8)
1998-12-03 20:50:33 +00:00
Luke Leighton
f3787515d6 moved get_unixgroups it will be needed by the unix instance of the group
DB API
(This used to be commit ef58e48bc9af338ed6c734205d4faf82371284ac)
1998-12-03 17:41:14 +00:00
Luke Leighton
8d08fb7323 jean-f spotted race condition on generation of sam sid, from starting
nmbd and smbd.  nmbd is now client: smbd is solely responsible for
creating sam_name.SID
(This used to be commit 50fa4822df679b4d54b5a868179594ec087e811f)
1998-12-03 17:38:20 +00:00
Luke Leighton
04452b0975 jean-f spotted bug in test for existence of MACHINE.SID and SAM_NAME.SID.
(This used to be commit 81be1e60764d380adf47737552659854d94ca626)
1998-12-03 17:34:05 +00:00
Luke Leighton
404b7b49b2 adding group parsing: add/modify/delete/add members.
(This used to be commit 13a656b0e5c73e157b222765fb57a1bdafc67b80)
1998-12-03 17:29:03 +00:00
Luke Leighton
6429d682f9 jeremy's going to do me in, again.
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.
(This used to be commit 74f826af36a7af4e91f9325d11ef8432d343c3bd)
1998-12-02 22:48:00 +00:00
Luke Leighton
447359979c updating smb.conf from yodl
(This used to be commit da442218c5990aab75525bc519b5ed37ef54cc4a)
1998-12-02 22:37:29 +00:00
Luke Leighton
364025fe37 spotted the mistake in group_info1 parsing.
(This used to be commit e39c0c76ae52bbd4539f8f254e78566a5511efc1)
1998-12-02 22:13:48 +00:00
Luke Leighton
78df0fb8f1 added rid and sid_name_use to DOMAIN_GRP_MEMBER, for use in group member
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).
(This used to be commit 78a86c64960a7823b0db8b7bebfffabb4a5ba864)
1998-12-02 22:05:56 +00:00