summaryrefslogtreecommitdiff
path: root/source3/script
AgeCommit message (Collapse)AuthorFilesLines
2001-07-04The big character set handling changeover!Andrew Tridgell1-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. (This used to be commit debb471267960e56005a741817ebd227ecfc512a)
2001-06-20initial support for paramter type P_LISTSimo Sorce1-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) (This used to be commit e1572f85d6247b760db10825b2fa688d7ed50bd3)
2001-05-14Cosmetic changes in make proto output.Tim Potter1-1/+1
(This used to be commit 858290d63b8e4300f2a1a334675566beb6881993)
2001-05-07merge some fixes from 2.2Andrew Tridgell1-1/+1
(This used to be commit 7e57adf2a039cb5b6458496f9190c9c642645600)
2001-04-28- added test for vasprintfAndrew Tridgell1-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 (This used to be commit c7aeb2254dfc3cd0aa0b6c0bdd426f9323be0ddf)
2001-04-27Patch from Frédéric Blanc <el_blaf@yahoo.fr> to correctly uninstallJeremy Allison1-6/+6
codepages. Jeremy. (This used to be commit 231f1f44c314d5d614c9f2745a108839a26cfc0d)
2001-04-23row of asteriks that indicates new entry must start at beginning of line.Herb Lewis1-1/+1
(This used to be commit df4a31580c537b2008db76a2009d21f7f9ac7285)
2001-03-25merge from 2.2Gerald Carter1-0/+96
(This used to be commit b6227751f117ad507838db0cf0032093f6251646)
2001-01-12merge from 2.0 branch for installing Using Samba book filesHerb Lewis1-8/+68
(This used to be commit b04bd9ea2409ef02737fd570ce80daf167e41067)
2001-01-11Changes from APPLIANCE_HEAD:David O'Neill1-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 (This used to be commit 376601d17d53ef7bfaafa576bd770e554516e808)
2000-12-21If extra arguments passed make yodl docs for these files rather than *.yoTim Potter1-2/+8
(This used to be commit b57fbcca06c7a69863f69628745f8fcbc13419bd)
2000-12-06Cause smbd to use the new posix_acls code, not the old unix_acls code.Jeremy Allison1-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. (This used to be commit 4339e20202a876dbadc07980b731f711463b7299)
2000-11-13Large commit which restructures the local password storage API.Gerald Carter1-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 (This used to be commit 0b92d0838ebdbe24f34f17e313ecbf61a0301389)
2000-08-25vfs write data fix. Fix for name matching in addtosmbpassJeremy Allison1-1/+1
Jeremy. (This used to be commit 85738b7ee1ea6d88999d6aedc51a2daf545cb8b8)
2000-08-04Fixed up the user/group contexts when using authenticated pipes.Jeremy Allison1-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. (This used to be commit 06a65972e872f37d88b84f22ea714feebd38f6c0)
2000-07-18grab functions that return RPC_HND_NODE (declaredGerald Carter1-1/+1
in include/util_list.h) -- jerry (This used to be commit ccebd70df2c096de1b183ae072c2c720e2277c6f)
2000-07-06Make prototypes for functions returning an enum nss_status.Tim Potter1-1/+1
(This used to be commit dac9c934ac3932fb9870417e8f712a880dd25e45)
2000-07-03first pass at merging rpcclient from TNG to HEAD. You can get aGerald Carter2-2/+47
semi-connection and a rpcclient prompt, but no functionality there yet. Will be a few more days on that. --jerry (This used to be commit 269051aa0c52728278a1d290148564f11cf7f189)
2000-06-08added a NET_USER_INFO_3 struct to user_struct.Luke Leighton1-2/+2
register_vuid fills it with constructed info. (This used to be commit b1889e4334012b1b2caa604b859da4271509fc87)
2000-06-01More stuff I cvan't afford to lose. I'm realizing how dependent I amJeremy Allison1-1/+1
on this bloody CVS link.... Jeremy. (This used to be commit 864e7bde0e804edbb2425b9c4c7ff271553f8169)
2000-05-09the beginnings of a new scheme I've working on to allow an easierAndrew Tridgell1-4/+14
head/tng merge. It goes something like this: - headers from tng get copied over one at a time - the old headers get renamed to *_old.h - server side code that used the old headers gets a #define OLD_NTDOMAIN 1 #undef OLD_NTDOMAIN at the start and end of the code - mkproto.awk recognises these special defines and does magic stuff so that each .c file sees the right headers - we start moving the rpc client libraries from tng to head. if this goes OK then, in theory, we should be able to move the client side rpc code from tng to head without disturbing the existing head server side code. Then when that works we can consider merging the server side. it remains to be seen if this scheme will work. So far I've moved rpc_samr.h and don't seem to have broken anything. Note this this is still a very delicate operation, as at every step of the way I want to keep head fully functional. Please don't take part unless you discuss it with me first. (This used to be commit f76c037255a6a79d11bec65e863e009a41a4f0fd)
2000-01-26Added hash-based stat cache code from Ying Chen.Jeremy Allison1-1/+1
Jeremy. (This used to be commit b62a1bd6328f5894ae1a2fef3ef6fc66304ade52)
2000-01-05implemented talloc() as described on samba-technical. This fixes theAndrew Tridgell1-1/+1
lp_string() bug properly. we still need to add lp_talloc_free() calls in all the main event loops, I've only put it in smbd and nmbd thus far. (This used to be commit aa7f81552540f5dca2c146f5edd805611d5b390f)
1999-12-23Samba now includes a full ucs2 upper to lower case (and vica versa) map table.Jeremy Allison1-1/+1
Jeremy. (This used to be commit d7b72d4cbfb6bd1925abc7f95c1180d3d65856a5)
1999-12-23Awk script to create #include C code from unicode upper -> lower case map.Jeremy Allison1-0/+59
Jeremy. (This used to be commit e59fe73f19cdb207db55ea4ba0073f48af2e440e)
1999-12-22First cut at unicode sys_xx functions. Now to start moving upwards.....Jeremy Allison1-1/+1
Jeremy. (This used to be commit b5eb009cc3cfd1adc044e91911d59acdb54c30cb)
1999-12-21first cut at using the tdb code for the connections structure, theAndrew Tridgell1-0/+4
SWAT status page and smbstatus. It made the code _much_ simpler, I wish we'd done a database module a long time ago! (This used to be commit 4951755413c11d4c5b9af4699a6e622056d52433)
1999-12-132nd phase of head branch sync with SAMBA_2_0 - this delets all the files ↵Andrew Tridgell1-433/+0
that were in the head branch but weren't in SAMBA_2_0 (This used to be commit d7b208786590b5a28618590172b8d523627dda09)
1999-12-13first pass at updating head branch to be to be the same as the SAMBA_2_0 branchAndrew Tridgell7-28/+27
(This used to be commit 453a822a76780063dff23526c35408866d0c0154)
1999-11-08preparation for doing a spoolss enum jobs command. had to rewriteLuke Leighton1-0/+4
spoolss_enumjobs parsing code to do read / writes not just writes. (This used to be commit bc659a09f9103eee9616279e27fafacf89dcd9b9)
1999-11-06added rpcclient spoolenum command. enumerates printers.Luke Leighton1-0/+4
spoolss_r_io_enumprinters doesn't decode strings correctly as printer_info_1/2 code has only been written to write structures, not read them. (This used to be commit 135eaa977385cdd5f572a51f654f14d893347d7b)
1999-11-03three types of array-creation / array-deletion functions:Luke Leighton1-1/+1
char* UNISTR2* SID* decided to create a higher-order function set, add_item_to_array() free_item_array(). higher-order support routines needed to add a new type: type* item_dup(const type*) void item_free(type*) of course, strdup() and free() are perfect, pre-existing examples of such functions, used in the implementation of add_chars_to_array() and free_char_array(). sid_dup() and free() work for the add_sids_to_array() and free_sid_array() implementations. use unistr2_dup() and created unistr2_free() because the functionality behind these may change into something horrible, like [horror] dynamic memory allocation of the UNISTR2 character array. argh!!!! jean-francois, this function set implements what we talked about over... a year ago, now :-) (This used to be commit a80ea2eb47d298095eb6e5b0455309daa3a631cb)
1999-06-13Modified to cope with functions that return a const something.Tim Potter1-1/+1
(This used to be commit 56738ec5263edba23d8337dde27e7da45ec06490)
1999-06-10Use ${1+"$@"} instead of $*Alexandre Oliva1-1/+1
Reported by SATOH Fumiyasu <fumiya@cij.co.jp> (This used to be commit 6cd8d68965734ac24effde927c689f7d5202cde1)
1999-03-03Benjamin Kuit's latest mysql mods. issue with "make proto" needs to beLuke Leighton1-4/+73
resolved. (This used to be commit d59a2e669aed7ee33fdca8b8ec126b1c0a984981)
1999-03-01Benjamin Kuit's MYSQL SAM Database implementation.Luke Leighton1-0/+364
Copyright (C) Benjamin Kuit <bj@mcs.uts.edu.au> 1999. (This used to be commit fdf61e1dabc2c977ee5cf1e9d60e3380f19840da)
1999-02-23added jeremy's new c++-like code for parsing of security descriptors.Luke Leighton1-1/+1
(This used to be commit ec1b7000fd88c5a08e438c7033f60e49b9ec44a8)
1998-12-16A while back, Andrew and I talked about making the debug parsing code aChristopher R. Hertel1-1/+1
better "fit" with other Samba code. This is a small first step toward doing what (I think) we agreed to do. I've moved the key function from ubiqx/debugparse.c into lib/debug.c. I have also moved the enum from ubiqx/debugparse.h into the debug section in smb.h. The next thing to do is to get debug2html added into the Makefile.in so that it is always produced when compiling the suite. Chris -)----- (This used to be commit 782474f41e0c2bc0b1f098758a3e5cb44e87d8b1)
1998-11-27Now uninstalls man pages from correct source location.Tim Potter1-1/+1
Fix by Andrej Borsenkow <borsenkow.msk@sni.de> (This used to be commit 5c0e31982e8eb1c93bc77925e59be65798f2dbad)
1998-11-27install all html docs in yodl help directoryAndrew Tridgell1-0/+7
(This used to be commit ed4d1062b2655d59f6904344e708aa53af235ad5)
1998-11-23unix instance of group database APILuke Leighton1-1/+1
(This used to be commit e76f593b3572ac881f1aa1fb3326d8b7169b0078)
1998-11-21Added changes to smbtar submitted by Sandy WhiteselRichard Sharpe1-1/+7
Added some extra documentation for smbclient Grr, Jeremy beat me to a bug fix in client.c Will have to get Jeremy to tell me how to check out SAMBA_2_0 :-) (This used to be commit 8594c4bcae503972679c55a2fcab8eb69faf3ae3)
1998-11-17Added the same open()/fopen()/creat()/mmap() -> sys_XXX calls.Jeremy Allison1-1/+1
Tidied up some of the mess (no other word for it). Still doesn't compile cleanly. There are calls with incorrect parameters that don't seem to be doing the right thing. This code still needs surgery :-(. Jeremy. (This used to be commit 18ff93a9abbf68ee8c59c0af3e57c63e4a015dac)
1998-11-16Makefile.in: Re-added quotes round ROFF call for DGUX.Jeremy Allison1-1/+1
script/installman.sh: Make installman ignore ROFF argument if it is "". smbd/oplock.c: Move location of oplock test file to lockdir. Jeremy. (This used to be commit 6c25a3314243997508b0b2da4bfa10bb979e9c10)
1998-11-13Makefile.in configure configure.in include/config.h.in: Changes for DGUX and ↵Jeremy Allison1-3/+21
UNIXWARE. groupdb/aliasdb.c groupdb/aliasfile.c groupdb/groupfile.c: Don't use snprinf, use slprintf. include/includes.h: Fix YP problem. include/smb.h: Fix ZERO_STRUCTP. lib/util_sock.c: Added strerror() in debugs. passdb/ldap.c: Don't use snprinf, use slprintf. rpc_client/cli_lsarpc.c rpc_client/cli_pipe.c rpc_parse/parse_sec.c rpc_server/srv_pipe.c: Don't use snprinf, use slprintf. script/installman.sh: DGUX changes. smbd/open.c smbd/oplock.c: Fixed gcc warnings. web/swat.c: Changes USER to SWAT_USER. (This used to be commit 4c2b5a00983501e5d4aad1456ba8b5ab0dfd9b4c)
1998-11-13LOCAL_GRP and DOMAIN_GRP are return typesLuke Leighton1-0/+4
(This used to be commit 887063e421d476fe2c2f6809750af3bfb020a85c)
1998-11-12we don't have any jpeg images any moreAndrew Tridgell1-7/+0
(This used to be commit ae5f174ef163734c61c0d30b32f5564cfba02666)
1998-11-11rpc_server/srv_netlog.c: Fixed crash bug with ACB_PWNOTREQ.Jeremy Allison1-1/+9
script/makeyodldocs.sh: Added code to make text docs for non-man page YODL docs. web/cgi.c web/swat.c: SGI compiler warnings fixed. Jeremy. (This used to be commit 80e0f7e1071f032c5004aecb01a91d1397e6a161)
1998-11-11makeyodldocs.sh now works with the bash shellJean-François Micouleau1-3/+3
(This used to be commit a41defc36756eef0054f66dcbd46890453ad5ae3)
1998-11-11Added code to copy smb.conf.5.html to the swat help directory.Jeremy Allison1-0/+8
Jeremy. (This used to be commit 3b2a32293b9da7bc6acd4dea3e54d98270495853)