summaryrefslogtreecommitdiffstats
path: root/source/include/includes.h
Commit message (Collapse)AuthorAgeFilesLines
* an initial fix for handling sparse files in smbdAndrew Tridgell2002-07-291-0/+1
| | | | | | | | This gets my test code working, where we previously failed with files above 20G in size. I'm still not completely happy with this. There are just too many fields in trans2.c that we don't fill in.
* virtual registry framework with initial printing hooks.Gerald Carter2002-07-181-0/+1
|
* Kill off codepage related stuff, now we don't use codepages any more.Andrew Bartlett2002-07-031-4/+0
| | | | Andrew Bartlett
* compile warngin fixes merged from 2.2Gerald Carter2002-06-171-2/+6
|
* put the ifdef for HAVE_VA_COPY in one place rather than in lots ofAndrew Tridgell2002-06-031-0/+8
| | | | functions
* patch from Alexander Bokovoy needed for dlopen on bsd systemsAndrew Tridgell2002-04-241-2/+2
|
* prototypes for some systems that don't have themAndrew Tridgell2002-04-241-0/+8
|
* Partly based on the work by mimir (Rafal SzczesniakAndrew Bartlett2002-04-141-0/+1
| | | | | | | | | | | | | | <mimir@diament.ists.pwr.wroc.pl>) this patch allows samba to correctly enumerate its trusted domains - by exaimining the keys in the secrets.tdb file. This patch has been tested with both NT4 and rpcclient/wbinfo, and adds some extra functionality to talloc and rpc_parse to allow it to deal with already unicode strings. Finally, this cleans up some const warnings that were in net_rpc.c by pushing another dash of const into the rpc client code. Andrew Bartlett
* This split the mangling code up to allow for the possibility of multipleAndrew Tridgell2002-04-111-0/+2
| | | | | | mangling implementation, selectable using "mangling method = " in smb.conf It also tidies the interface a little, although it is still nasty.
* Added sys_adminlog() system for info the appliance admins reallyJeremy Allison2002-03-271-0/+33
| | | | | need to know about. Different from the DEBUG system. Jeremy.
* Remove util_list.h, as its matching .c file has already gone, and nobody isAndrew Bartlett2002-03-021-1/+3
| | | | | | | using it anymore. This also removes an early #include of smb.h, making it slightly easier to track whats being included where. Andrew Bartlett
* The beginning of trusted and trusting domain support fromAndrew Bartlett2002-03-011-1/+2
| | | | | | | | Rafal Szczesniak <mimir@diament.ists.pwr.wroc.pl> This adds the 'net' tools to manipulate the trusted domains. Andrew Bartlett
* Removed version number from file header.Tim Potter2002-01-301-1/+1
| | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header.
* This is another *BIG* change...Andrew Bartlett2002-01-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Getting ready to add UNIX extensions in HEAD also.Jeremy Allison2002-01-101-1/+5
| | | | Jeremy
* Add UNUSED(paramname) macro to be used in parameter lists, to quietenMartin Pool2002-01-091-1/+10
| | | | gcc warnings about unused parameters.
* Fix macro name controlling inclusion of DMALLOC.Martin Pool2002-01-091-1/+1
|
* renamed ans1.h to asn_1.h to prevent conflict caused by krb5 headersAndrew Tridgell2002-01-011-1/+1
| | | | on some platforms using "" instead of <> in include statements
* cope with systems that don't have full gssapi libsAndrew Tridgell2001-12-311-1/+1
|
* Make Samba compile on RH 6.2 again.Andrew Bartlett2001-12-301-0/+4
| | | | | | | | | | | 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
* Add --enable-dmalloc to link against the dmalloc malloc debugger.Martin Pool2001-12-201-0/+7
| | | | | It's not as strong as Insure, but it's free, reasonably efficient and works on every platform.
* Doc.Martin Pool2001-12-191-1/+3
|
* check for gssapi_generic.hAndrew Tridgell2001-12-081-0/+5
|
* added internal sasl/gssapi code. This means we are no longer dependent on ↵Andrew Tridgell2001-12-081-4/+4
| | | | cyrus-sasl which makes the code much less fragile. Also added code to auto-determine the server name or realm
* added test for krb5.hAndrew Tridgell2001-11-271-1/+8
| | | | | this was causing the kerberos stuff to fail compilation on several platforms
* sigh.Andrew Tridgell2001-11-271-2/+2
| | | | some systems have libkrb5 but not krb5.h
* Fixed compiler warning.Tim Potter2001-11-251-1/+1
| | | | | | | | Why do people keep adding stuff to includes.h (OK I am guilty of this too)? It's getting really huge and full of random junk. )-: I've noticed TNG have started to split stuff up in to individual header files included as needed.
* added HAVE_LDAP_H checkAndrew Tridgell2001-11-251-2/+2
|
* added "net join" commandAndrew Tridgell2001-11-241-0/+7
| | | | this completes the first stage of the smbd ADS support
* added the beginnings of ADS support in smbdAndrew Tridgell2001-11-201-0/+22
|
* Fix obvious typo.Martin Pool2001-11-191-1/+1
|
* Store some path names in global variables initialized to configureMartin Pool2001-11-191-0/+1
| | | | default, rather than in preprocessor macros.
* Tidyups and things I discovered during the merge...Jeremy Allison2001-11-151-1/+1
| | | | Jeremy.
* Fix for broken-as-shipped RedHat 7.2 system headers. Now we haveJeremy Allison2001-11-041-0/+12
| | | | | to detect this in configure. Jeremy.
* Add popt for parsing commandline optionsJim McDonough2001-10-231-0/+2
|
* Add rap.h for net utility and libsmbJim McDonough2001-10-191-0/+2
|
* the beginnings of kerberos support in smbd. It doesn't work yet, butAndrew Tridgell2001-10-181-0/+4
| | | | | it should give something for others to hack on and possibly find what I'm doing wrong.
* the next step in the intl changeover. This should get us compiling agian,Andrew Tridgell2001-10-141-0/+1
| | | | | | | and also completes the switch to lang_tdb.c. SWAT should now work with a po file in the lib/ directory also removed useless SYSLOG defines in many files
* initial kerberos/ADS/SPNEGO support in libsmb and smbclient. ToAndrew Tridgell2001-10-111-1/+3
| | | | | | | | | | activate you need to: - install krb5 libraries - run configure - build smbclient - run kinit to get a TGT - run smbclient with the -k option to choose kerberos auth
* Use structure copy to fix unaligned accesses on 64bit architectures onJeremy Allison2001-09-181-1/+1
| | | | | Linux. Jeremy.
* declare dbf in one spotAndrew Tridgell2001-09-101-1/+1
|
* replaced stdio in many parts of samba with a XFILE. XFILE is a cut-downAndrew Tridgell2001-09-101-0/+1
| | | | | | | | | replacemnt of stdio that doesn't suffer from the 8-bit filedescriptor limit that we hit with nasty consequences on some systems I would eventually prefer us to have a configure test to see if we need to replace stdio, but for now this code needs to be tested widely so I'm enabling it by default.
* fixed missing const on d_printf declarationAndrew Tridgell2001-09-091-3/+3
|
* convert more code to using d_printfAndrew Tridgell2001-09-081-0/+2
|
* added "display charset" option in smb.conf, along with d_printf()Andrew Tridgell2001-09-071-0/+1
| | | | | | | | | which should now be used instead of DEBUG(0) or printf() for interactive messages I have only converted client.c to use d_printf(), and the code hasn't had much testing yet. Eventually we want all interactive code to use d_printf(), plus SWAT
* fixed a bunch of compilation errors on Solaris, mostly people getting ↵Andrew Tridgell2001-09-051-34/+1
| | | | NSS_STATUS and WINBINDD error codes mixed up
* Fixed detection of CUPS. We need to check for the presence of the cupsTim Potter2001-08-231-1/+1
| | | | header files as well as libcups.
* A few changes:Andrew Bartlett2001-08-221-0/+2
| | | | | | | | | | | | drop paramaters: status utmp hostname change session code to always record each vuid current on the server. The sessionid struct is no longer packed, as I couldn't get that to work ;-) change smbstatus to show this info and less of the connections.tdb info (its not actualy that accurate). I'll get swat doing some of this shortly.
* This is my 'Authentication Rewrite' version 1.01, mostly as submitted toAndrew Bartlett2001-08-031-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | samba-technical a few weeks ago. The idea here is to standardize the checking of user names and passwords, thereby ensuring that all authtentications pass the same standards. The interface currently implemented in as nt_status = check_password(user_info, server_info) where user_info contains (mostly) the authentication data, and server_info contains things like the user-id they got, and their resolved user name. The current ugliness with the way the structures are created will be killed the next revision, when they will be created and malloced by creator functions. This patch also includes the first implementation of NTLMv2 in HEAD, but which needs some more testing. We also add a hack to allow plaintext passwords to be compared with smbpasswd, not the system password database. Finally, this patch probably reintroduces the PAM accounts bug we had in 2.2.0, I'll fix that once this hits the tree. (I've just finished testing it on a wide variety of platforms, so I want to get this patch in).
* a better test for unix domain socketsAndrew Tridgell2001-07-251-1/+1
|