summaryrefslogtreecommitdiffstats
path: root/source/script/mkproto.awk
Commit message (Collapse)AuthorAgeFilesLines
* Add files for new LGPL libwbclient DSO implementing the Winbind client APIGerald (Jerry) Carter2007-12-211-1/+1
| | | | | | | (based on the winbind_struct_protocol.h). The API in incomplete, but sufficient to merge. See wbclienbt.h for the i interface functions.
* add '_PUBLIC_' prototypes into proto.hStefan Metzmacher2007-11-081-2/+2
| | | | | | this makes merging samba4 code easier... metze
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-4/+4
| | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy.
* r25125: create prototypes for 'bool ' functionsStefan Metzmacher2007-10-101-1/+1
| | | | metze
* r19668: Convert the locking params to use struct share_param instead of snumVolker Lendecke2007-10-101-0/+5
|
* r18787: Fix the strlen_m and strlen_m_term code by mergingJeremy Allison2007-10-101-1/+1
| | | | | | in (and using elsewhere) next_codepoint from Samba4. Jerry please test. Jeremy.
* r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison2007-10-101-1/+11
| | | | | | | to do the upper layer directories but this is what everyone is waiting for.... Jeremy.
* r11761: * fix clearing of event logs by truncating the tdb.Gerald Carter2007-10-101-1/+1
| | | | | | | | | | | | | This feature got broken in some of the other updates. Now each open handle stores an pointer to an open tdb data structure (not the tdb pointer itself). Clearing can be done with a simple elog_close_tdb( elog, True ) to force a close and then calling elog_open_tdb( logname, True ) to force an tdb truncate. Permissions on existing tdbs are maintained which is important. * We don't currently handle backup. Haven't looked at the format of a backuped up eventlog to know what the deal is.
* r10656: BIG merge from trunk. Features not copied overGerald Carter2007-10-101-1/+1
| | | | | | | * \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck)
* r9483: Changed DIR to SMB_STRUCT_DIR because of the amazing stupidity of a ↵Jeremy Allison2007-10-101-1/+1
| | | | | | | UNIX vendor not understanding abstract data types :-(. Jeremy.
* r7882: Looks like a large patch - but what it actually does is make SambaJeremy Allison2007-10-101-0/+4
| | | | | | safe for using our headers and linking with C++ modules. Stops us from using C++ reserved keywords in our code. Jeremy
* r7243: Don't look at gencache.tdb for the trusted domains if winbind is around.Volker Lendecke2007-10-101-1/+1
| | | | Volker
* r4805: Last planned change to the privileges infrastructure:Gerald Carter2007-10-101-1/+1
| | | | | | | | | | | * rewrote the tdb layout of privilege records in account_pol.tdb (allow for 128 bits instead of 32 bit flags) * migrated to using SE_PRIV structure instead of the PRIVILEGE_SET structure. The latter is now used for parsing routines mainly. Still need to incorporate some client support into 'net' so for setting privileges. And make use of the SeAddUserPrivilege right.
* r2112: Simplify the mangle hash code to use an in-memory tdb.Jeremy Allison2007-10-101-1/+1
| | | | | Should be ready for the new directory code now... Jeremy.
* r1407: revert change that broke the build on systems w/o krb5 filesGerald Carter2007-10-101-1/+1
|
* r1399: applying heimdal krb5 fixes from Guenther and fixing compile warnings ↵Gerald Carter2007-10-101-1/+1
| | | | in libadskerberos_keyatb.c
* r1317: Patch from Joe Meadows "Joe Meadows" <jameadows@webopolis.com> toJeremy Allison2007-10-101-1/+1
| | | | | | add a timeout to the ldap open calls. New parameter, ldap timeout added. Jeremy.
* r1236: Heimdal fixes from Guenther Deschner <gd@sernet.de>, more to come beforeJeremy Allison2007-10-101-1/+1
| | | | | it compiles with Heimdal. Jeremy.
* r1085: Now it's had some proper user testing, merge in the deferred open ↵Jeremy Allison2007-10-101-1/+1
| | | | | | | | fix. I'm still doing more testing, but it fixes a behaviour that we've been wrong on ever since the start of Samba. Jeremy.
* Fix gcc warnings. Fix mkproto with new type.Jeremy Allison2004-03-191-1/+1
| | | | Jeremy.
* split some security related functions in their own files.Simo Sorce2003-10-061-1/+1
| | | | | | | | (no need to include all of smbd files to use some basic sec functions) also minor compile fixes couldn't compile to test these due to some kerberos problems wirh 3.0, but on HEAD they're working well, so I suppose it's ok to commit
* Removed {OLD,NEW}_NTDOMAIN cruft from mkproto.awkTim Potter2003-09-041-14/+0
|
* fix cache coherency bug in print handle print_info_2 cache.Gerald Carter2003-07-141-1/+1
| | | | | | | | Needs to be rewritten to use a reference counter, but this will work for now. also the memory allocation in the printing code needs to be cleaned up to use talloc exclusively.
* Large set of changes to add UNIX account/group managementGerald Carter2003-07-091-0/+4
| | | | to winbindd. See README.idmap-and-winbind-changes for details.
* Add smb_event_id to list of return types (patch from metze)Jelmer Vernooij2003-07-041-1/+1
|
* merge of the netsamlogon caching code from APPLIANCE_HEADGerald Carter2003-06-211-1/+1
| | | | | | | | | | | | | | | This replaces the universal group caching code (was originally based on that code). Only applies to the the RPC code. One comment: domain local groups don't show up in 'getent group' that's easy to fix. Code has been tested against 2k domain but doesn't change anything with respect to NT4 domains. netsamlogon caching works pretty much like the universal group caching code did but has had much more testing and puts winbind mostly back in sync between branches.
* Merge: add PAC_DATA as valid return type.Tim Potter2003-04-141-1/+1
|
* Removed global_myworkgroup, global_myname, global_myscope. Added liberalJeremy Allison2002-11-121-2/+2
| | | | | | dashes of const. This is a rather large check-in, some things may break. It does compile though :-). Jeremy.
* sync 3.0 branch with HEADJelmer Vernooij2002-08-171-1/+1
|
* updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell2002-07-151-0/+10
|
* Added another return type.Tim Potter2002-03-281-1/+2
|
* Use headername when closing off include file guards.Tim Potter2002-03-281-1/+2
|
* Add ADS_MODLIST to allowed typesJim McDonough2002-02-121-1/+1
|
* support double functionsAndrew Tridgell2002-02-051-1/+1
|
* This is the current patch from Luke Leighton <lckl@samba-tng.org> to add aAndrew Bartlett2002-01-201-1/+1
| | | | | | | | | | | | | | | | | | degree of seperation betwen reading/writing the raw NamedPipe SMB packets and the matching operations inside smbd's RPC components. This patch is designed for no change in behaviour, and my tests hold that to be true. This patch does however allow for the future loadable modules interface to specify function pointers in replacement of the fixed state. The pipes_struct has been split into two peices, with smb_np_struct taking the information that should be generic to where the data ends up. Some other minor changes are made: we get another small helper function in util_sock.c and some of the original code has better failure debugs and variable use. (As per on-list comments). Andrew Bartlett
* much better ADS error handling systemAndrew Tridgell2001-12-191-1/+1
|
* - added initial support for trusted domains in winbindd_adsAndrew Tridgell2001-12-191-1/+1
| | | | | | - gss error code patch from a.bokovoy@sam-solutions.net - better sid dumping in ads_dump - fixed help in wbinfo
* added "net join" commandAndrew Tridgell2001-11-241-1/+1
| | | | this completes the first stage of the smbd ADS support
* initial kerberos/ADS/SPNEGO support in libsmb and smbclient. ToAndrew Tridgell2001-10-111-1/+1
| | | | | | | | | | 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
* Add CLI_POLICY_HND as a valid return type.Tim Potter2001-10-051-1/+1
|
* replaced stdio in many parts of samba with a XFILE. XFILE is a cut-downAndrew Tridgell2001-09-101-1/+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.
* the next step in our error code handling changeAndrew Tridgell2001-09-031-1/+1
| | | | | | | | - added WERROR for win32 error codes - added a configure test for immediate structures still lots to do, so its not enabled by default, but the main structure is there
* converted smbd to use NTSTATUS by defaultAndrew Tridgell2001-08-271-1/+1
| | | | | | | | | | | | | | | | major changes include: - added NSTATUS type - added automatic mapping between dos and nt error codes - changed all ERROR() calls to ERROR_DOS() and many to ERROR_NT() these calls auto-translate to the client error code system - got rid of the cached error code and the writebmpx code We eventually will need to also: - get rid of BOOL, so we don't lose error info - replace all ERROR_DOS() calls with ERROR_NT() calls but that is too much for one night
* The big character set handling changeover!Andrew Tridgell2001-07-041-1/+1
| | | | | | | This commit gets rid of all our old codepage handling and replaces it with iconv. All internal strings in Samba are now in "unix" charset, which may be multi-byte. See internals.doc and my posting to samba-technical for a more complete explanation.
* initial support for paramter type P_LISTSimo Sorce2001-06-201-0/+10
| | | | | | it will avoid problems with lists being longer than 1024 bytes just now only ip list parameters have been converted to the new type (hosts allow, hosts deny, ssl hosts, ssl hosts resign)
* Cosmetic changes in make proto output.Tim Potter2001-05-141-1/+1
|
* - added test for vasprintfAndrew Tridgell2001-04-281-2/+2
| | | | | | | | - cleaned up GNUC printf attribute macros - added enum handling in mkproto - removed non-vararg code - made slprintf and vslprintf just macros for snprintf and vsnprintf - don't need slprintf code any more
* Cause smbd to use the new posix_acls code, not the old unix_acls code.Jeremy Allison2000-12-061-1/+1
| | | | | | | | | | | Currently does exactly the same thing (returns ACLs the same way). This code is written to try and get a POSIX ACL via the abstract sys_XX interface, then fall back to providing a UNIX based ACL if the calls fail. Seems to work. Next step is to add a --with-posix-acls to configure.in and then check on a POSIX ACL system that a complex ACL is returned correctly as an NT ACL. Note that the ACL set (a more complex problem) is not addressed yet. Jeremy.
* Large commit which restructures the local password storage API.Gerald Carter2000-11-131-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently the only backend which works is smbpasswd (tdb, LDAP, and NIS+) are broken, but they were somewhat broken before. :) The following functions implement the storage manipulation interface /*The following definitions come from passdb/pdb_smbpasswd.c */ BOOL pdb_setsampwent (BOOL update); void pdb_endsampwent (void); SAM_ACCOUNT* pdb_getsampwent (void); SAM_ACCOUNT* pdb_getsampwnam (char *username); SAM_ACCOUNT* pdb_getsampwuid (uid_t uid); SAM_ACCOUNT* pdb_getsampwrid (uint32 rid); BOOL pdb_add_sam_account (SAM_ACCOUNT *sampass); BOOL pdb_update_sam_account (SAM_ACCOUNT *sampass, BOOL override); BOOL pdb_delete_sam_account (char* username); There is also a host of pdb_set..() and pdb_get..() functions for manipulating SAM_ACCOUNT struct members. Note that the struct passdb_ops {} has gone away. Also notice that struct smb_passwd (formally in smb.h) has been moved to passdb/pdb_smbpasswd.c and is not accessed outisde of static internal functions in this file. All local password searches should make use of the the SAM_ACCOUNT struct and the previously mentioned functions. I'll write some documentation for this later. The next step is to fix the TDB passdb backend, then work on spliting the backends out into share libraries, and finally get the LDAP backend going. What works and may not: o domain logons from Win9x works o domain logons from WinNT 4 works o user and group enumeration as implemented by Tim works o file and print access works o changing password from Win9x & NT ummm...i'll fix this tonight :) If I broke anything else, just yell and I'll fix it. I think it should be fairly quite. -- jerry
* Fixed up the user/group contexts when using authenticated pipes.Jeremy Allison2000-08-041-1/+1
| | | | | | | | Added a become_root()/unbecome_root() (push/pop security context) around the initgroups() call to ensure it would succeed. Hmmm - I wonder if this call being done as non-root might explain any "group access" bugs we've had in the past.... Jeremy.