1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-19 10:03:58 +03:00

534 Commits

Author SHA1 Message Date
Andrew Tridgell
cdca2ad1c4 added gencache implementation from mimir - thanks!
(This used to be commit 05a202c287f5daeb1ccbaf9479aa93e7928e93db)
2002-09-11 14:07:21 +00:00
Martin Pool
2517c20b9e Add python_install target. Not called by default. Delegates most
of the work to setup.py
(This used to be commit 29d7ee7e0d6eea53a596973d157d377fbaaab3d1)
2002-09-09 08:51:55 +00:00
Martin Pool
b2536ccfdd Python's setup.py does not need to be munged by configure.in -- it is
sufficient to just pass the relevant variables to Python from the
Makefile.  Therefore, remove setup.py.in.
(This used to be commit 8bebe9ee2b6bd56c297acc6b01cb0856aad1c4f3)
2002-09-09 07:49:25 +00:00
Martin Pool
01e7afadd6 Add --with-python=PYTHONNAME configure option, so that the libraries
get linked for the appropriate version.
(This used to be commit 2ea647bbfaba5a4ee7cb232ae1a21acbd2a9b5c6)
2002-09-09 06:05:39 +00:00
Martin Pool
4a0c063cac Merge tpot's patch to add targets to build Python stuff. It's not
built by default.
(This used to be commit 452769f595c87ba14bde96cebf06e442e79402f3)
2002-09-09 05:46:59 +00:00
Jelmer Vernooij
8a5abe4dbe Patch from Stefan (metze) Metzmacher with more updates for the SAM subsystem
(This used to be commit 56cb03bfc68727384df46bde6df03950f7cdfcf9)
2002-09-08 14:58:23 +00:00
Andrew Bartlett
789d51b42c This is the 'easy' parts of the trusted domains patch n+3 patch from
Rafal Szczesniak <mimir@diament.ists.pwr.wroc.pl>

It includes a conversion of make_user_info*() to NTSTATUS and some minor
changes to other files.

It also picks up on a nasty segfault that can occour in some security=domain
cases.

Andrew Bartlett
(This used to be commit d1e1fc3e4bf72717b3593685f0ea5750d676952a)
2002-09-06 13:37:11 +00:00
Andrew Bartlett
eec38ee3bb Patch from "Stefan (metze) Metzmacher" <metze@metzemix.de>
to extend the ADS_STATUS system to include NTSTATUS, and to provide a better
general infrustructure for his sam_ads work.

I've also added some extra failure mode DEBUG()s to parts of the code.

NOTE:  The ADS_ERR_OK() macro is rather sensitive to braketing issues - without
the final set of brakets, the test is essentially inverted - causing some
intersting 'error = success' messages...

Andrew Bartlett
(This used to be commit 5b9a7ab901bc311f3ad08462a8a68d133c34a8b4)
2002-09-06 11:46:59 +00:00
Gerald Carter
3cf5819133 fix proto
(This used to be commit 4f00844da05b37cf9755def40a63c11e7f82153e)
2002-08-30 12:46:54 +00:00
Gerald Carter
189c4b8fd3 fix broken dependencies....
(This used to be commit 8eab2e79412c771ef57d39e7d61816b705350e0f)
2002-08-30 11:38:39 +00:00
Gerald Carter
4e216f3e94 break out REGISTRY_VALUE & REGVAL_CR objects into separate file for
cleaning linking....
(This used to be commit fd140aadd7c76facb4efa80655e633600f9760b6)
2002-08-30 11:03:44 +00:00
Jelmer Vernooij
337693457a Several compiler warning fixes + fix dependencies samtest
(This used to be commit b813761126249c3c0c0e38d2a3306d1d0c33c4eb)
2002-08-29 09:42:36 +00:00
Andrew Bartlett
66c389fe92 I think this should fix the compile on some of the CUPS based machines.
Andrew Bartlett
(This used to be commit abdad251f679cccfd6af6c40d5ae8c47439f587a)
2002-08-29 08:09:19 +00:00
Jelmer Vernooij
d1052ec979 Add plugin support for the sam system from metze (based on passdb code)
(This used to be commit 61626340e506d32a6560a162005b43f10445fbb9)
2002-08-29 07:35:18 +00:00
Jelmer Vernooij
7a8b82f2ce Add new files to Makefile + typo fix
(This used to be commit b742d068b889e861599333281e825e45cc8d13a2)
2002-08-29 07:22:52 +00:00
Jelmer Vernooij
fe518a828b Put in patch from metze (Stefan Metzmacher) to:
- Rename user -> account
- Add sam_* functions (api.c)
- Several small fixes
(This used to be commit eafcc387045f4f265631a952297caf3f6db779d8)
2002-08-29 07:19:05 +00:00
Jelmer Vernooij
2b2b0f7119 Put in intermediate version of new SAM system. It's not stable yet, code
might be ugly, etc - please don't blame me for anything but instead try to fix
the code :-). Compiling of the new sam system can be enabled with the
configure option --with-sam

Removing passdb/passgrp.c as it's unused
fix typo in utils/testparm.c
(This used to be commit 4b7de5ee236c043e6169f137992baf09a95c6f2c)
2002-08-28 04:54:43 +00:00
Andrew Bartlett
066c5ae97f Steve Langasek <vorlon@netexpress.net> has again attempted to simplify Samba's
external lib dependencies - let's hope this patch stays around for longer than
the previous attempt.

Andrew Bartlett
(This used to be commit d0c0e9f427400c24f5cc38c67b7a927f9d937375)
2002-08-25 22:43:20 +00:00
Herb Lewis
d58445d6cc remove samsync and spamsync
(This used to be commit 34a7efd1f8fc5d5fda7cafe50cb6fd7c4aac32ab)
2002-08-23 12:43:46 +00:00
Andrew Tridgell
2a505d023f added a 'net rpc samdump' command for dumping the whole sam via
samsync operations (as a BDC)
(This used to be commit e4cb106d2e3e6a41529369545a7a6ce5fe6d8986)
2002-08-22 22:48:54 +00:00
Andrew Bartlett
a1e32fee39 Make samsync use popt
(This used to be commit 6aa7aa00f32c2d6512029eb603f9087ce6c98bf9)
2002-08-22 01:25:10 +00:00
Herb Lewis
d19e6edc01 fix generating protos for smbwrapper
(This used to be commit 92408c822033c9d0e604d9696cf629d4665aa9ee)
2002-08-20 17:38:54 +00:00
Andrew Tridgell
4b1baa5a70 added a 'net ads lookup' command that does a CLDAP NetLogon query to a
win2000 server. It does seem to work, and win200 sends us a valid
reply, but we don't parse it yet. Maybe tomorrow :)
(This used to be commit 6352508c54cee333ed7c0e3ebc372be7cd60ed62)
2002-08-19 03:17:03 +00:00
Simo Sorce
f04f9d10f6 should make all platforms happy with popt
(This used to be commit 778985527ccf0f29f74b53d65c909de0d08a96f6)
2002-08-19 01:02:41 +00:00
Simo Sorce
789e6e6b4e A new utility to test VFS system and modules
Just now it is acommandline tool like smbclient and rpcclient that is able to
perform operations on the file system passing through the vfs layer

It is not complete yet, some functions have simply faked up data, but module
loading works yet and basic operations too.

Thanks to Eric Lorimer for helping out with the initial setup.

Simo.
(This used to be commit 42ae5eb82657d4905bdaf247286f95599380afbb)
2002-08-18 18:04:00 +00:00
Andrew Bartlett
8690b271a6 Move tridge's getgrouplist() replacement function from replace.c to a new
'system_smbd.c' file, where it can link with become_root() and unbecome_root(),
and therefore avoiding some nasty 'it workes on linux' bugs.

(The replacement function is implemented in terms of initgroups(), which is
naturally only avaliable to root).

Andrew Bartlett
(This used to be commit a91018dd026be3db473bb1cf1f4981295f9758e4)
2002-08-17 07:09:22 +00:00
Tim Potter
88d321becd Merge of netbios namecache code from APPLIANCE_HEAD.
Tridge suggested a generic caching mechanism for Samba to avoid the
proliferation of little cache files hanging around limpet like in the
locks directory.  Someone should probably implement this at some
stage.
(This used to be commit dad31483b3bd1790356ef1e40ac62624a403bce8)
2002-08-16 00:25:48 +00:00
Gerald Carter
093428852d unresolved symbols fix for pam_smbpass from Steve L.
(This used to be commit 27618a5ca271aef4d5f2f9180729c7d09a46d587)
2002-08-14 10:20:51 +00:00
Jim McDonough
a9aa9bd7fe Add lib/util_uuid.c to build.
(This used to be commit ab0e863fcc4d8fc18291f04bedfd0dd52730d833)
2002-08-12 13:54:18 +00:00
Andrew Bartlett
4267fcccda Samba dependency hell claim's another victim...
Back out last night's patch to to reduce -l dependencies until we can ensure
that *all* configurations/platforms work...

Andrew Bartlett
(This used to be commit 35eefe7a19b2b684d3ca05a665e9c13e9d17acc3)
2002-08-08 06:44:03 +00:00
Jim McDonough
16c172c3a4 Hmm, had too many objects added last time in the nmbd changes. Don't
need all of them.  Hopefully this will fix a few builds.
(This used to be commit 521eed1277956b0ebc47c3312edf57d386e026e6)
2002-08-07 12:17:35 +00:00
Andrew Bartlett
ab0ca0f0b2 Patch from Steve Langasek <vorlon@netexpress.net> to split up our -l
dependencies.  This benifits packagers (like debian) becouse then our client
code won't have references to 'server only' libraries.

(In particular, it removes the client dependency on CUPS, which was raised in
a debian bug report).

Andrew Bartlett
(This used to be commit d5f2e33b34fe0e67153894b6bf582b7eaca40e7f)
2002-08-07 09:51:59 +00:00
Jim McDonough
6f1245822e Ooops...forgot to put this in with the new nmbd samlogon response code.
THis should fix the build.
(This used to be commit ef984b99614c07ef5934849a9ad85190b636d421)
2002-08-06 19:52:43 +00:00
Tim Potter
e9360f1a45 Moved rpc client routines from libsmb back to rpc_client where they belong.
(This used to be commit cb946b5dadf3cfd21bf584437c6a8e9425f6d5a7)
2002-08-02 07:20:56 +00:00
Tim Potter
8f0b2c5f5a Add lib/popt_common.o
(This used to be commit a29a86f5b55669c615cdc659d1b8a231b16b3273)
2002-07-29 09:26:38 +00:00
Andrew Tridgell
a5216d2340 partial apply of samba-patches 960
(This used to be commit a302e31519e0935f820dfe3555ec6d3473d89694)
2002-07-28 06:04:32 +00:00
Andrew Tridgell
e95e731fee fixed logfile location to honor configure
samba-patches 966
(This used to be commit 06d8549196ff1482be94c08c7a742896ae35fd88)
2002-07-28 05:50:57 +00:00
Gerald Carter
06ae9ac5d9 virtual registry framework with initial printing hooks.
(This used to be commit a43d9788fa8823d678ee72470421b980165ec2b0)
2002-07-18 23:00:24 +00:00
Gerald Carter
78750803d0 splitting off storage/retrieval routines for abstracting the
registry view front end.  Now to plug in the various hooks.
(This used to be commit 9772acd9ad44af2800dfb9d8610c2d5c23eaceb4)
2002-07-15 22:27:07 +00:00
Andrew Bartlett
04538bfb6c Make smbmnt a standalone program from a linker point of view. Hopefully this
will make it easier to prove this package correct from an audit point of view.

smbumount to follow, but it uses pstrcpy() so I'll need to decide what to do
with that.

Andrew Bartlett
(This used to be commit 62c56f97248109ca80cc155974584bea9704cd50)
2002-07-13 09:14:40 +00:00
Richard Sharpe
669358c05f Commit Tom Jansen's changes to head.
(This used to be commit d3fdce07ab5955abd1f923127ae9eb5006aea505)
2002-07-11 23:33:00 +00:00
Andrew Bartlett
8e52737efc Break up the passdb objects (to allow RPC clients to link without brining in
*.o) and implment new enum_dom_users code in the SAMR RPC subsystem.

Incresingly, we are using the pdb_get_{user,group}_sid() functions, in the
eventual hope that we might one day support muliple domains off a single
passdb.  To extract the RID, we use sid_peek_check_rid(), and supply an
'expected' domain SID.

The id21 -> SAM_ACCOUNT and id23 -> SAM_ACCOUNT code has been moved to
srv_samr_util.c, to ease linking in passdb users.

Compatiblity code that uses 'get_global_sam_sid()' for the 'expected' sid is in
pdb_compat.c

Andrew Bartlett
(This used to be commit 5a2a6f1ba316489d118a8bdd9551b155226de94f)
2002-07-03 07:37:54 +00:00
Andrew Tridgell
3c6a7c73fb fixed a makefile syntax error that was breaking the build on some
systems
(This used to be commit 4eda1801493a79a27ad49e141e6adf8c8d4db85b)
2002-06-30 03:47:46 +00:00
Jeremy Allison
452eb38df0 Proper merge of all the working printing stuff from APPLIANCE_HEAD.
Now let's keep this in sync !
Jeremy.
(This used to be commit 3603cd4947df2c10df604447dc542932cb9e5d5a)
2002-06-28 00:17:15 +00:00
Gerald Carter
dd1bd197a3 more merges from SAMBA_2_2
(This used to be commit fea895c5c41d51e6b06f0bcf8e0c95b29df89e76)
2002-06-26 23:26:10 +00:00
Andrew Bartlett
a96bff6e4e And fix another missing ubiqx...
(Didn't have smbmnt compiled in originally, so it missed my tests)
(This used to be commit 184be390a842221470cdc20f05eb3dc14de5b534)
2002-06-25 13:18:09 +00:00
Andrew Bartlett
de40355080 Fix the smbmnt compile.
(This used to be commit 987633021f13d2c3571fbe2c1f9ff86a14c046e6)
2002-06-25 11:38:26 +00:00
Andrew Bartlett
0327428f27 Break up samba's object dependencies, and its prototype includes.
Now smbclient, net, and swat use their own proto files - now the global
proto.h

The change to libads/kerberos.c was to break up the dependency on secrets.c -
we want to be able to write an ADS client that doesn't need local secrets.

I have other breakups in the works - I will remove the dependency of
rpc_parse on passdb (and therefore secrets.c) shortly.

(NOTE:  This patch does *not* break up includes.h, or other such forbidden
actions).

Andrew Bartlett
(This used to be commit edb41dad2df0ae3db364dbc3896cc75956262edf)
2002-06-25 02:29:09 +00:00
Gerald Carter
5116568601 merge of SONAMEFLAG stuff from SAMBA_2_2. If I stepped on something
here because HEAD does it differently, someone let me know.  This looks ok
and compiles fine from what I can tell.
(This used to be commit 68841ae76289369c0b2e9e964bad1746e6e2cc8b)
2002-06-25 00:10:06 +00:00
Andrew Bartlett
ba73192c3c When adding popt to an application, you need to ensure it builds on non-popt
platforms :-)
(This used to be commit bda8f12ff551f24a6f2a8e8f7a120b2e0e45a269)
2002-06-15 23:55:52 +00:00