summaryrefslogtreecommitdiff
path: root/source3/Makefile.in
AgeCommit message (Collapse)AuthorFilesLines
2002-03-30Added build option for "everything". Changed build options for libsmbclient.John Terpstra1-1/+3
(This used to be commit 32f292cc587d3db002490a609be29b9e20c00fd4)
2002-03-29merge winbindd WINS changes from 2.2Herb Lewis1-0/+1
(This used to be commit 205399dc17e464360b0152538329b9e111b0e7f4)
2002-03-25Roll back proto.h changes -- to hard to do them portably. LeaveMartin Pool1-55/+16
Herb's installdat change in. (This used to be commit 39a6b12fdc6a45cd51d3c11785bffeedd9fc78cd)
2002-03-22cut and paste inserted spaces instead of tab. Some versions of make don'tHerb Lewis1-1/+1
like this (This used to be commit c86d266d6eb665a6182f10d8acf80aadb3b6e39e)
2002-03-21make install should also install the default dat files from codepagesHerb Lewis1-1/+4
directory so we don't keep getting these stupid error messages about incorrect size for valid.dat upcase.dat and lowcase.dat (This used to be commit 4af0c7a93f626dde33fd737618c2b786f83046c7)
2002-03-19Take out autobuild dependency on proto.h; breaks some proprietary Makes.Martin Pool1-8/+4
(This used to be commit aa279932456eff8c6fce00cf01e3f62536573f14)
2002-03-19Refactor for systems like Solaris that cannot handle wildcards on theMartin Pool1-4/+8
right side of a dependency line. (This used to be commit 87f2e3c30d11bcf0cecb7c32dc5f01755d181ad6)
2002-03-19Change the Makefile to rebuild proto.h as necessary -- note that thisMartin Pool1-16/+55
does not imply that all source will be rebuilt when prototypes change, merely that the prototypes will be updated. make proto, clean, delheaders, headers, etc all behave equivalently to before. Intended new behaviour for proto.h, whenever source is being compiled: If proto.h does not exist, it is built. If any source files have changed since proto.h was last checked (.proto.check), then proto.h is checked. If there are no actual changes since last time, its mtime is not changed, but we do remember the time at which it was checked. Whenever we try to build a .o, we need to check the headers are up to date. However, rebuilding the prototypes does not imply rebuilding all object files. Also to allow people to build on machines without Awk, we never try to use it unless a source file has changed. I guess if we wanted, we could have lack of Awk only cause a warning, not failure. The point of all of this is to be easier on people who don't understand or forget to type "make proto", and to reduce the chance of build breakage by having prototypes out of sync. I also rolled back JF's changes to put proto.h into builddir rather than srcdir. There are good arguments in both directions, but since we keep proto.h in CVS, it seems important that the up-to-date copy by in srcdir where it can be checked back in. If people are fussed about having srcdir be readonly you could change this -- but since proto.h is only rebuilt when there are changes, it's not a big deal. I also fixed an apparent race condition in "make headers" that would make it unsafe if you did 'make -j2', and made 'make clean' not kill proto.h, since people may not be able to rebuild it. I reckon there's nothing gnumake-specific here but we shall see. I also have this great idea about rewriting libtool in C++... (This used to be commit 8a61a810e5a29050b0cf242d317c7cc00329517b)
2002-03-17Added dos_errstr() function. Not all errors in list yet.Tim Potter1-2/+2
(This used to be commit ddb5753e36b8c5efb48ce5c82c16d970fb8e76b6)
2002-03-13Move the directory creation process outside the 'installbin.sh' script, andAndrew Bartlett1-3/+2
into its own. The 'installdirs' makefile entry didn't do anything on my laptop, so it has been replaced with the section from installbin.sh. This also fixes the bug that we ignored the setting of $(PRIVATEDIR) when making the directories. Finally, link pam_winbind with .po objects only, not a mix of .o and .po (as per Don Mccall's request). Andrew Bartlett (This used to be commit c7a883df28da9dd6fb88198df22c4d78bf8acd8b)
2002-03-12Aack. Don't change too much. vfs.c still won't build, but this should fix ↵Jim McDonough1-9/+9
some other build stuff I screwed up. (This used to be commit 4490ad340cff1ea2a5b519150ad5c49bcea23766)
2002-03-12Fix up location of libsmbclient.so so it always goes to /usr/lib.John Terpstra1-1/+1
(This used to be commit e508b07fe766c679d6fc2a940bec72b9b2a61b01)
2002-03-12Added wins entry.John Terpstra1-0/+2
(This used to be commit a4be3b7b93ac95d16c01519a57fd9c57b20ffcae)
2002-03-11Another program converted to popt...smbstatus this time.Jim McDonough1-7/+7
(This used to be commit 00d3a064f16101fecebaeaaabaf841f0a5c91523)
2002-03-10yipee! Finally put in the patch from Alexey KotovichAndrew Tridgell1-1/+1
<a.kotovich@sam-solutions.net> that adds the security decsriptor code for ADS workstation accounts thanks for your patience Cat, and thanks to Andrew Bartlett for extensive reviews and suggestions about this code. (This used to be commit 6891393b5db868246fe52ff62b3dc6aa5ca6f726)
2002-03-09build tdbbackup by defaultAndrew Tridgell1-1/+1
(This used to be commit 8836015467158de6947689300ead74f1e9044805)
2002-03-07Update Makefile.in for rpcclient build on machines without libpopt or ↵Jim McDonough1-2/+2
requested build of included popt. (This used to be commit 4b4430f1c56a5c9a0d53dd8b624022644d8061e1)
2002-03-07added a tdb backup utilityAndrew Tridgell1-1/+8
when complete, this will be used to backup critical tdbs at samba startup and possibly periodically while Samba is running so that if tdb corruption is caused by a power failure Samba can restore from the backup. (This used to be commit f619330082712cab72ec2d2ab76d67b8e9f3194c)
2002-03-01Missed the Makefile.in update...Andrew Bartlett1-2/+2
(This used to be commit 4f887f01e52b04d4cf4517aaefeae7042170a511)
2002-03-01Attempt to fix Solaris winbind nss build.Jeremy Allison1-3/+2
Jeremy. (This used to be commit 10e3e6855be93b8c4d97d67a063d92ccee391fec)
2002-02-27This apparently makes winbind work on Solaris againAndrew Bartlett1-1/+1
(This used to be commit b179a5d85f2e364b26191adf0cb61fcf17ae7687)
2002-02-22Add the pdb_plugin module from Jelmer Vernooij <jelmer@nl.linux.org>.Andrew Bartlett1-12/+13
This allow the user to select 'passdb backend = plugin : /path/to/plugin.so : pluging args' And load any arbitary plugin. Apparently Jelmer has a mysql plugin in the works - hence this patch. We probably need to rework the interface a bit before 3.0 (add versioning of some kind) but this is a good start. Andrew Bartlett (This used to be commit d6d18b70f0c377344b0b3d9df5a11d209793bfe0)
2002-02-17Remove dynconfig.{o,po} in clean target.Tim Potter1-1/+5
(This used to be commit 9c1c25db792d58f451df3736f1b875c493e7d67c)
2002-02-07smbsh need CC not SHLDHerb Lewis1-1/+1
(This used to be commit 690c1fae9ce0ad6a8adef42ed5a7d8cfedab261d)
2002-02-05Drastic impromvents to pam_winbind.Andrew Bartlett1-1/+2
This adds code to do generic PAM -> NTSTATUS and NTSTATUS -> PAM error conversions, and uses them to make the error handling in pam_winbind sane. In particular, pam_winbind now uses PAM error codes, not silly '-1, -2 ...' stuff, and logs the NTSTATUS error that winbind now sends over the pipe. Added code to wbinfo to display these - makes a big difference in debugging winbindd. The main change here is the code to allow pam_winbind password changing to correctly stack - This code ripped from pam_unix, and the copyright attached. (Same as for all pam modules, including pam_winbind) Andrew Bartlett (This used to be commit dc1a72f896b83bc1ad3c7bf6c12c36ace3967280)
2002-02-01Add ldap_printer.c build for ADS printer objects.Jim McDonough1-1/+2
(This used to be commit 085f5ab03e0e4994315b9a0eeb5cb2a625b784f8)
2002-01-30An attempt at producing the correct Makefile magic for wrepld_proto.h to beAndrew Bartlett1-8/+9
automatically generated on first 'make'. This wasn't being picked up by the build farm becouse of the explicit 'make proto'. The 'make proto' bit isn't somthing our alpha testers know about (its certainly not clearly documented) and its meant to be automatic. I hope this works... Andrew Bartlett (This used to be commit 3a413ef1eabbb28b589e5238d9c837a8275b54d0)
2002-01-25that's the wins replication daemon !Jean-François Micouleau1-2/+17
there are still some work to do on it but it's already functionnal. J.F. (This used to be commit 2506c98d19263bd5f367a488c2238dcdfec46ee9)
2002-01-20This is another *BIG* change...Andrew Bartlett1-1/+1
Samba now features a pluggable passdb interface, along the same lines as the one in use in the auth subsystem. In this case, only one backend may be active at a time by the 'normal' interface, and only one backend per passdb_context is permitted outside that. This pluggable interface is designed to allow any number of passdb backends to be compiled in, with the selection at runtime. The 'passdb backend' paramater has been created (and documented!) to support this. As such, configure has been modfied to allow (for example) --with-ldap and the old smbpasswd to be selected at the same time. This patch also introduces two new backends: smbpasswd_nua and tdbsam_nua. These two backends accept 'non unix accounts', where the user does *not* exist in /etc/passwd. These accounts' don't have UIDs in the unix sense, but to avoid conflicts in the algroitmic mapping of RIDs, they use the values specified in the 'non unix account range' paramter - in the same way as the winbind ranges are specifed. While I was at it, I cleaned up some of the code in pdb_tdb (code copied directly from smbpasswd and not really considered properly). Most of this was to do with % macro expansion on stored data. It isn't easy to get the macros into the tdb, and the first password change will 'expand' them. tdbsam needs to use a similar system to pdb_ldap in this regard. This patch only makes minor adjustments to pdb_nisplus and pdb_ldap, becouse I don't have the test facilities for these. I plan to incoroprate at least pdb_ldap into this scheme after consultation with Jerry. Each (converted) passdb module now no longer has any 'static' variables, and only exports 1 init function outside its .c file. The non-unix-account support in this patch has been proven! It is now possible to join a win2k machine to a Samba PDC without an account in /etc/passwd! Other changes: Minor interface adjustments: pdb_delete_sam_account() now takes a SAM_ACCOUNT, not a char*. pdb_update_sam_account() no longer takes the 'override' argument that was being ignored so often (every other passdb backend). Extra checks have been added in some places. Minor code changes: smbpasswd no longer attempts to initialise the passdb at startup, this is now done on first use. pdbedit has lost some of its 'machine account' logic, as this behaviour is now controlled by the passdb subsystem directly. The samr subsystem no longer calls 'local password change', but does the pdb interactions directly. This allow the ACB_ flags specifed to be transferred direct to the backend, without interference. Doco: I've updated the doco to reflect some of the changes, and removed some paramters no longer applicable to HEAD. (This used to be commit ff354c99c585068af6dc1ff35a1f109a806b326b)
2002-01-17A nice *big* change to the fundemental way we do things.Andrew Bartlett1-2/+4
Samba (ab)uses the returns from getpwnam() a lot - in particular it keeps them around for a long time - often past the next call... This adds a getpwnam_alloc and a getpwuid_alloc to the collection. These function as expected, returning a malloced structure that can be free()ed with passwd_free(&passwd). This patch also cuts down on the number of calls to getpwnam - mostly by taking advantage of the fact that the passdb interface is already case-insensiteve. With this patch most of the recursive cases have been removed (that I know of) and the problems are reduced further by not using the sys_ interface in the new code. This means that pointers to the cache won't be affected. (This is a tempoary HACK, I intend to kill the password cache entirly). The only change I'm a little worried about is the change to rpc_server/srv_samr_nt.c for private groups. In this case we are getting groups from the new group mapping DB. Do we still need to check for private groups? I've toned down the check to a case sensitve match with the new code, but we might be able to kill it entirly. I've also added a make_modifyable_passwd() function, that copies a passwd struct into the form that the old sys_getpw* code provided. As far as I can tell this is only actually used in the pass_check.c crazies, where I moved the final 'special case' for shadow passwords (out of _Get_Pwnam()). The matching case for getpwent() is dealt with already, in lib/util_getent.c Also included in here is a small change to register the [homes] share at vuid creation rather than just in one varient of the session setup. (This picks up the SPNEGO cases). The home directory is now stored on the vuid, and I am hoping this might provide a saner way to do %H substitions. TODO: Kill off remaining Get_Pwnam_Modify calls (they are not needed), change the remaining sys_getpwnam() callers to use getpwnam_alloc() and move Get_Pwnam to return an allocated struct. Andrew Bartlett (This used to be commit 1d86c7f94230bc53daebd4d2cd829da6292e05da)
2002-01-12Many thanks to Alexander Bokovoy <a.bokovoy@sam-solutions.net>.Andrew Bartlett1-2/+4
This work was sponsored by Optifacio Software Services, Inc. Andrew Bartlett (various e-mails announcements merged into some form of commit message below:) This patch which adds basics of universal groups support into Samba 3. Currently, only Winbind with RPC calls supports this, ADS support requires additional (possibly huge) work on KRB5 PAC. However, basic infrastructure is here. This patch adds: 1. Storing of universal groups for particular user logged into Samba software (smbd/ two winbind-pam methods) into netlogon_unigrp.tdb as array of uint32 supplemental group rids keyed as DOMAIN_SID/USER_RID in tdb. 2. Fetching of unversal groups for given user rid and domain sid from netlogon_unigrp.tdb. Since this is used in both smbd and winbindd, main code is in source/lib/netlogon_uingrp.c. Dependencies are added to AUTH_OBJ as UNIGRP_OBJ and WINBINDD_OBJ as UNIGRP_OBJ. This patch has had a few versions, the final version in particular: Many thanks to Andrew Bartlett for critics and comments, and partly rewritten code. New: - updated fetching code to changed byte order macros - moved functions to proper namespace - optimized memory usage by reusing caller's memory context - enhanced code to more follow Samba coding rules Todo: - proper universal group expiration after timeout (This used to be commit 80c2aefbe7c1aa363dd286a47d50c5d8b4595f43)
2002-01-12Thanks to vance for spotting the missing Makefile.in commit.Andrew Bartlett1-1/+1
This should make things a little happier... Andrew Bartlett (This used to be commit 6ce467a65fdaabbcfac258a1b899c833602b6d92)
2002-01-09Add two more memory-debug smbcontrol messages: these ones shouldMartin Pool1-1/+1
prompt dmalloc to log information about what happening, so you can see in flight why smbd is getting bloated. (This used to be commit bcb443c5c4bf97fe6b5b0993e42496c2e64f0124)
2002-01-08- fixed my breakage of CPPFLAGSAndrew Tridgell1-1/+2
- allow winbindd and wbinfo to build without shared libraries (This used to be commit d5db2518be8458f24f66eaa17434504b994ebb9a)
2002-01-07- use CFLAGS when linking shared libs (for things like -64 on irix)Andrew Tridgell1-3/+2
- don't attempt to build winbindd if we can't do shared libs (This used to be commit c98158f3f818118fb13cc7ae6f45634204343b46)
2002-01-05I've decided to move the auth code around a bit more...Andrew Bartlett1-1/+1
The auth_authsupplied_info typedef is now just a plain struct - auth_context, but it has been modified to contain the function pointers to the rest of the auth subsystem's components. (Who needs non-static functions anyway?) In working all this mess out, I fixed a number of memory leaks and moved the entire auth subsystem over to talloc(). Note that the TALLOC_CTX attached to the auth_context can be rather long-lived, it is provided for things that are intended to live as long. (The global_negprot_auth_context lasts the whole life of the smbd). I've also adjusted a few things in auth_domain.c, mainly passing the domain as a paramater to a few functions instead of looking up lp_workgroup(). I'm hopign to make this entire thing a bit more trusted domains (as PDC) freindly in the near future. Other than that, I moved a bit of the code around, hence the rather messy diff. Andrew Bartlett (This used to be commit 12f5515f556cf39fea98134fe3e2ac4540501048)
2002-01-03smbd should register to receive MSG_REQ_POOL_USAGE. Response shouldMartin Pool1-0/+1
be information about memory usage, but this is not done yet. (This used to be commit 830a126a442bdde28fc42e23e7260c344b6534b9)
2002-01-02We should be SHLD not LINK when creating shared libraries.Jeremy Allison1-7/+7
Tidyup in passdb.c Jeremy. (This used to be commit 676eea502a1bb2114a6e8055ecaf97ecab2e3a91)
2002-01-02Removed reference to rpc_client/cli_netlogon.o from dependencies forTim Potter1-1/+1
samsync. The libsmb version should do fine. (This used to be commit 001fe3481f26e27964b3d60c067524b45f085304)
2002-01-01Further rpc_client removal, this time from winbindd.Andrew Bartlett1-6/+1
Also removed the dependency on auth_util.o, which makes things nicer. Finally, this kills off the NECESSARY_BECAUSE_SAMBA_DEPENDENCIES_ARE_SO_BROKEN_OBJ makefile variable - becouse Samba dependencies are starting to be sane again! Andrew Bartlett (This used to be commit 4609edcac3b70c11025f0c5aa0ddbeed93369c84)
2002-01-01A farily large commit:Andrew Bartlett1-3/+1
- Move rpc_client/cli_trust.c to smbd/change_trust_pw.c - It hasn't been used by anything else since smbpasswd lost its -j - Add a TALLOC_CTX to the auth subsytem. These are only valid for the length of the calls to the individual modules, if you want a longer context hide it in your private data. Similarly, all returns (like the server_info) should still be malloced. - Move the 'ntdomain' module (security=domain in oldspeak) over to use the new libsmb domain logon code. Also rework much of the code to use some better helper functions for the connection - getting us much better error returns (the new code is NTSTATUS). The only remaining thing to do is to figure out if tpot's 0xdead 0xbeef for the LUID feilds is sufficient, or if we should do random LUIDs as per the old code. Similarly, I'll move winbind over to this when I get a chance. This leaves the SPOOLSS code and some cli_pipe code as the only stuff still in rpc_client, at least as far as smbd is concerned. While I've given this a basic rundown, any testing is as always appriciated. Andrew Bartlett (This used to be commit d870edce76ecca259230fbdbdacd0c86793b4837)
2001-12-30Make Samba compile on RH 6.2 again.Andrew Bartlett1-1/+2
We now include the libber.h file if required, but currently we just don't use ldap. (I'll chase this up). In the meantime, I've moved the ads_status code about, its now in its own file, and has a couple of #ifdefs to allow smbd to link - becouse the lack of LDAP caused HAVE_ADS to be undefined. (I hope its not too ugly). Andrew Bartlett (This used to be commit 14407c87e2dcccae1784290e3eb7a2d611516aff)
2001-12-21merge from 2.2Gerald Carter1-8/+0
(This used to be commit 6697e46183719c894ec115c0fd8a18ad4191b347)
2001-12-21remove duplicate linesHerb Lewis1-3/+0
(This used to be commit b60d6f11972892a17bf6df5e7ee3dd2e498bc4c0)
2001-12-20added net lookup commandAndrew Tridgell1-1/+1
(This used to be commit 51268c512dbae94aba308668df9facaf15a2ce9e)
2001-12-20net ads password and net ads chostpass commands from Remus KoosAndrew Tridgell1-1/+1
(This used to be commit 412e79c448bf02e3097b5c14a36fe0172d8d2895)
2001-12-19Added AC_CHECK_FUNCS(syslog vsyslog).Jeremy Allison1-3/+3
nsswitch code uses vsyslog without checking for it. Provide replacement for vsyslog in lib/snprintf if not found by configure. Jeremy. (This used to be commit ab2e55cdb376d6699c9a09fac243fba7d3840447)
2001-12-19Add a very trivial talloc torture program, bin/talloctort. Not builtMartin Pool1-0/+7
by default. (This used to be commit e3390669958f01672f5638ebf975e8bd4fd67665)
2001-12-15Allow HPUX to link with new ACL code.Jeremy Allison1-2/+2
Jeremy. (This used to be commit ad9a5a26e088f3fedce9562f688c518d610dbef2)
2001-12-14Added the group enum code from 2.2Jeremy Allison1-4/+3
Jeremy. (This used to be commit 59e01a22c5cb1046758c8cd6b09333c19d6cd26e)