summaryrefslogtreecommitdiffstats
path: root/source/script
Commit message (Collapse)AuthorAgeFilesLines
* beginning to sync up for 2.2.5 release....Gerald Carter2002-06-172-55/+64
|
* This commit was manufactured by cvs2svn to create branchcvs2svn Import User2002-06-131-0/+145
|\ | | | | 'SAMBA_2_2_RELEASE'.
| * a useful script for finding global variables or functions that couldAndrew Tridgell2002-06-131-0/+59
| | | | | | | | | | | | | | be static very very slow ... I leave it as an exercise for the reader to make this O(n) instead of O(n^2)
| * A few things in this commit:Andrew Bartlett2002-05-181-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cleanup some of the code in net_rpc_join re const warnings and fstrings. Passdb: Make the %u and %U substituions in passdb work. This is done by declaring these paramters to be 'const' and doing the substitution manually. I'm told this is us going full circle, but I can't really see a better way. Finally these things actually seem to work properly... Make the lanman code use the pdb's recorded values for homedir etc rather than the values from lp_*() Add code to set the plaintext password in the passdb, where it can decide how to store/set it. For use with a future 'ldap password change' option, or somthing like that... Add pdb_unix, so as to remove the 'not in passdb' special cases from the local_lookup_*() code. Quite small, as it uses the new 'struct passwd -> SAM_ACCOUNT' code that is now in just one place. (also used by pdb_smbpasswd) Other: Fix up the adding of [homes] at session setup time to actually pass the right string, that is the unix homedir, not the UNC path. Fix up [homes] so that for winbind users is picks the correct name. (bad interactions with the default domain code previously) Change the rpc_server/srv_lsa_nt.c code to match NT when for the SATUS_NONE_MAPPED reply: This was only being triggered on no queries, now it is on the 'no mappings' (ie all mappings failed). Checked against Win2k. Policy Question: Should SID -> unix_user.234/unix_group.364 be considered a mapping or not? Currently it isn't. Andrew Bartlett
| * Added findsmb to .cvsignore list.Tim Potter2002-05-101-0/+1
| |
| * merge from SAMBA_2_2Gerald Carter2002-05-091-1/+1
| |
| * merge from SAMBA_2_2Gerald Carter2002-05-091-0/+145
| |
| * Added another return type.Tim Potter2002-03-281-1/+2
| |
| * Use headername when closing off include file guards.Tim Potter2002-03-281-1/+2
| |
| * make install should also install the default dat files from codepagesHerb Lewis2002-03-211-0/+23
| | | | | | | | | | directory so we don't keep getting these stupid error messages about incorrect size for valid.dat upcase.dat and lowcase.dat
| * Move the directory creation process outside the 'installbin.sh' script, andAndrew Bartlett2002-03-132-11/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * we definately don't want RCS $id tags in Samba. They make merging muchAndrew Tridgell2002-02-181-2/+0
| | | | | | | | harder.
| * 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
| * always install swat language filesAndrew Tridgell2001-10-151-13/+5
| |
| * 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
| |
| * now --with-i18n-swat works to install some international filesMotonobu Takahashi2001-09-251-8/+26
| | | | | | | | | | | | | | | | | | used by SWAT into $swatdir/$ln/{help,images,include} we have still points which needs to discuss, that is how to archive and install lots of HTML help files and Using Samba files. -- monyo
| * Try to fix up manpage installationAndrew Bartlett2001-09-251-1/+1
| |
| * fixed a typo in installman.shMotonobu Takahashi2001-09-241-1/+1
| | | | | | | | fixed a problem that source/install-sh is not executable
| * Added SWAT i18n feature:Motonobu Takahashi2001-09-243-44/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TO enable configure with --with-i18n-swat to support this gettext is integrated and a new directories name "po" and "intl" are created. now these languages are supported: en - English (default) ja - Japanese po - Polish tr - Turkish To add your language, to create ${your_language}.po by translating source/po/en.po into your language is needed. some of html and image files of various language version are not included yet, though message catalogue files are installed. you need to copy files manually under ${swatdir}/lang/$ln/{help,images,included,using_samba} And also added a option to intall manual pages: of various lang version To enable configure with --with-manlangs but manual pages themself are not included yet.
| * Try to fix up the shell syntaxAndrew Bartlett2001-09-191-2/+2
| |
| * typoAndrew Bartlett2001-09-191-1/+1
| |
| * Adding the appropirate files might help...Andrew Bartlett2001-09-191-0/+35
| | | | | | | | | | | | (These are part of the build_options patch). Andrew Bartlett
| * 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
| * new logs use abbreviated month names. Add this to date conversionHerb Lewis2001-08-271-1/+17
| |
| * 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
| |
| * merge some fixes from 2.2Andrew Tridgell2001-05-071-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
| * Patch from Frédéric Blanc <el_blaf@yahoo.fr> to correctly uninstallJeremy Allison2001-04-271-6/+6
| | | | | | | | | | codepages. Jeremy.
| * row of asteriks that indicates new entry must start at beginning of line.Herb Lewis2001-04-231-1/+1
| |
| * merge from 2.2Gerald Carter2001-03-251-0/+96
| |
| * merge from 2.0 branch for installing Using Samba book filesHerb Lewis2001-01-121-8/+68
| |
| * Changes from APPLIANCE_HEAD:David O'Neill2001-01-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | testsuite/printing/psec.c - Use lock directory from smb.conf parameter when peeking at the ntdrivers.tdb file. source/rpc_parse/parse_sec.c - fix typo in debug message source/script/installbin.sh - create private directory as part of 'make install'. source/nsswitch/winbindd_cache.c source/nsswitch/winbindd_idmap.c source/passdb/secrets.c source/smbd/connection.c - always convert tdb key to unix code-page when generating. source/printing/nt_printing.c - always convert tdb key to unix code-page when generating. - don't prepend path to a filename that is NULL in add_a_printer_driver_3(). source/rpc_server/srv_spoolss_nt.c - always convert tdb key to unix code-page when generating. - don't prepend server name to a path/filename that is NULL in the fill_printer_driver_info functions. source/printing/printing.c - always convert tdb key to unix code-page when generating. - move access check for print_queue_purge() outside of job delete loop. source/smbd/unix_acls.c - fix for setting ACLs (this got missed earlier) source/lib/messages.c - trivial sync with appliance_head
| * If extra arguments passed make yodl docs for these files rather than *.yoTim Potter2000-12-211-2/+8
| |
| * 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
* | Start of merge to 2_2_RELEASE branch for release.Jeremy Allison2002-04-301-2/+2
| | | | | | | | Jeremy.
* | Sync for release.Jeremy Allison2002-02-011-0/+76
| | | | | | | | Jeremy.
* | Move over to RELEASE branch.Jeremy Allison2002-02-011-1/+1
| | | | | | | | Jeremy.
* | Source directory now in sync.Jeremy Allison2001-10-111-1/+17
| | | | | | | | Jeremy.
* | Syncup getting ready for release.Jeremy Allison2001-07-063-9/+9
| | | | | | | | Jeremy.