summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-01-11rpc_server/srv_samr.c:Jeremy Allison5-421/+463
smbd/reply.c: Added fix needed for appliances. When using winbindd - a new user may exist (from winbind) but have no home directory. Extend add user script so it is called with a %H substitution when a user exists but their home directory does not. Thanks to Alex Win at VA Linux for finding this one and testing the fix. libsmb/clidgram.c: Fixed missing return statements. smbd/uid.c: Fixed typo in debug. Jeremy. (This used to be commit 7ba0a2192b89954604dd793c537b4a17c2d1ac07)
2001-01-10Added init functions, cli_spoolss_open_printer_ex(),Tim Potter1-0/+538
cli_spoolss_closeprinter(), cli_spoolss_enum_printers(), cli_spoolss_enum_ports() and cli_spoolss_getprinter() (This used to be commit 84247ba7d7048cc828edad282313bfd21bbc6b5d)
2001-01-10Added init functions, cli_samr_connect(), cli_samr_close(),Tim Potter1-0/+325
cli_samr_open_{domain,user}() and cli_samr_query_userinfo() (This used to be commit 385860107346de26b4bcbd33d5f131a0670f6f93)
2001-01-10Fixed authenticated pipe access.Tim Potter1-25/+102
Added cli_lsa_enum_trust_dom(). Misc other cosmetic changes. (This used to be commit 751483a155723581f987d46605b59cdeba34ad72)
2001-01-10Changes from APPLIANCE_HEAD:David O'Neill3-2317/+2341
source/docs/yodldocs/smb.conf.5.yo source/docs/manpages/smb.conf.5 source/docs/htmldocs/smb.conf.5.html - add documentation for "hide local users" config option. (This used to be commit a578bdb6691fab2b8246be4a3bb80d3932b5bf19)
2001-01-10Changes from APPLIANCE_HEAD:David O'Neill4-11/+47
source/include/proto.h source/param/loadparm.c source/passdb/passdb.c source/rpc_server/srv_samr.c - add support for "hide local users" option to HEAD. (This used to be commit 44dc339fe757b2b5578b30e74aad8c1b12c23f5f)
2001-01-09Fix from "B.V.Dean" <B.V.Dean@ukc.ac.uk> to add "dos filemode" parameterJeremy Allison3-36/+75
to allow a chmod to be done if the user has write access to a file, just like Windows allows. Off by default (compare with "dos filetimes" parameter). Jeremy. (This used to be commit 8abdf0e29fdb02a7929aa4395947b5023a7194a0)
2001-01-08Patch from Richard Bollinger for dead entries being left in connections tdb.Jeremy Allison2-1/+6
Jeremy. (This used to be commit 48a3afcd4716a456c3072bf41450b361e4379be8)
2001-01-08Changes merged from APPLIANCE_HEAD:David O'Neill2-4/+9
source/printing/printing.c source/rpc_server/srv_spoolss_nt.c - convert args for print command to unix codepage. (This used to be commit 1c0ae957f8f1abee7d22a18b6df092eb2a884ae1)
2001-01-08Add support for logging to wherever smb.conf specifies.Richard Sharpe1-2/+8
(This used to be commit cc5a2db8a0c195b328b93fff566bc1120aeef54a)
2001-01-07Codepages and stuff for Turkish language support. Contributed byTim Potter5-1/+576
Deniz Akkus <akkus@alum.mit.edu> (This used to be commit 5650c143a706a0a65dfd55dea2248c6636a57912)
2001-01-07Get rid of 10.0.0.6 and replace it with 0.0.0.0 as my_ip address prior toRichard Sharpe1-4/+2
sending datagrams in clidgram.c (This used to be commit 4c540393b33a5c49adafcc9320f591490b97192a)
2001-01-07More bug fixen ...Richard Sharpe1-2/+2
(This used to be commit a13b5ef7bba86d42df98b4f493aa2ea9e1caa6c3)
2001-01-07Update the tree.c GTK+ App so it can walk down directories etc ...Richard Sharpe1-76/+122
(This used to be commit 0490a0ed10cf6ded5b9483958eddd930ef32fb66)
2001-01-07More fixes and implementation bits and pieces for libsmbclientRichard Sharpe2-11/+165
(This used to be commit 991f6907ac200d53b95a206d65844a0c0830caae)
2001-01-06Fix proto.h ...Richard Sharpe1-3/+4
(This used to be commit 0219767c934eb2bf52b784ca84f01ae4b22ca2be)
2001-01-06Fix some more bugs in libsmbclient.c and add functionality to tree.cRichard Sharpe2-5/+63
(This used to be commit d6cef8877a7ed80329b3ba67231a94601fcfd060)
2001-01-06Fix a minor problem with listing servers in a workgroup and add aRichard Sharpe2-3/+471
gtk+ test application that tests out some of this stuff ... (This used to be commit 606c4aeceac0bd1823ec6376df3ca5016007ab38)
2001-01-05Fix a small type in libsmbclient.h ...Richard Sharpe1-1/+1
(This used to be commit 807e2e1faa23a36cd1abc07ac8a26d157099aba1)
2001-01-05Arrgh, forgot to update proto.h with all the changes I have been making.Richard Sharpe1-12/+6
Here is an updated one. (This used to be commit 12639e2b36d8fab053436a2186e80a84a504bf25)
2001-01-05Changes from APPLIANCE_HEAD:David O'Neill1-10/+47
source/rpc_server/srv_spoolss_nt.c - fixed printer policy handle leak in the allow MS printer wizard stuff. - mimic behaviour of NT on open_printer_ex() calls by not allowing call to succeed if connecting user doesn't have at least print permissions to the printer. Unfortunately, this seems to trigger a anonymous connection re-using bug so subsequent connects to the printer by a different user from the same machine always fail. Blame Tim. =^) (This used to be commit 33fc7f4527c34b39b1a0f3fee2f0697ea74f79c4)
2001-01-05Sync up smb.conf.default with APPLIANCE_HEAD and SAMBA_2_2David O'Neill1-0/+2
(This used to be commit 74dd0f58211129770f6e85d28a658e5fdff1ecae)
2001-01-05Add SuSE 7.1 packaging (from SAMBA_2_2).David O'Neill3-0/+608
(This used to be commit 69f28a868a7e78b8b93bbf7dcf21bf6fd813c12d)
2001-01-05Sync up packaging updates that didn't make it to HEAD.David O'Neill9-233/+358
(This used to be commit c6f7358535eb96112e055d60d39c1595601d3056)
2001-01-05Merge of documentation updates to HEAD. These got missed somewhere alongDavid O'Neill9-1716/+1277
the way. (This used to be commit afad150bacfd02ec83c57ea9ba9152ff59fb7eee)
2001-01-05The latest changes to libsmbclient ...Richard Sharpe3-24/+596
It can now do a directory listing for workgroups, servers, and shares, and, with a bit more effort, it will be able to list directories and files. I also does not request a username and password for the IPC$ share, but it should if the first attempt to connect fails. (This used to be commit 38ff91c5059a32c7ad2fd6074697c7c7f68a878c)
2001-01-05Needed a callback arg on cli_list ...Richard Sharpe5-15/+15
(This used to be commit d45e667a74fc2fcbf69c4819d480269c03dbfae4)
2001-01-05Added extra argument to calls to smbw_share_add()Tim Potter1-8/+8
(This used to be commit d006e6adca0548dad334d871c5d440b1d32ac879)
2001-01-04Changes from APPLIANCE_HEAD:David O'Neill12-497/+573
source/Makefile.in - changes to ctags and etags rules that somehow got lost along the way. source/include/proto.h - make proto source/smbd/sec_ctx.c source/smbd/password.c - merge debugs for debugging user groups and NT token stuff. source/lib/util_str.c - capitalise domain name returned from parse_domain_user() source/nsswitch/wb_client.c - fix broken conditional in debug statement. source/include/rpc_secdes.h source/include/rpc_spoolss.h source/printing/nt_printing.c source/lib/util_seaccess.c - fix printer permission bugs related to ACE masks for printers. This adds mapping of generic access rights to object specific rights for NT printers. Still need to work out whether or not to ignore ACEs with certain flags set, though. See comments in util_seaccess.c:check_ace() for details. source/printing/nt_printing.c source/printing/printing.c - use PRINTER_ACCESS_ADMINISTER instead of JOB_ACCESS_ADMINISTER until we sort out printer/printjob permission stuff. (This used to be commit 1dba9c5cd1e6389734c648f6903abcb7c8d5b2f0)
2001-01-04I need a callback arg for cli_NetServerEnum and cli_RNetShareEnum, so I hadRichard Sharpe5-25/+65
to modifiy any routine that calls it to pass NULL and so forth. Should have no impact. It compiles OK. (This used to be commit 7f862e387f935a2125481338eee850afcb8d82ba)
2001-01-03Add a new file clidgram with routines that are used by the libsmbclient code.Richard Sharpe2-1/+240
These routines handle the sending of dgrams in ways that don't bind us to the nmbd code, but we may merge the two routines at some stage. Also fix Makefile.in so the new code is compiled ... Let's see whether or not it compiles on other architectures ... Seems OK under Linux. (This used to be commit f7466ba67cb6f863ee495e6de884e9b7a2e49430)
2001-01-03We only want to mark mailslot packets as loopback packets if they are toRichard Sharpe1-1/+1
the DGRAM_PORT, since we want to actually send those to other ports. They might be for the client library running on the Samba server! (This used to be commit 05e2dd5e85d4aca1ccb9f6991e1415f85cbbdc1a)
2001-01-02Return an empty directory for a stat on a share we aren't allowed toTim Potter1-7/+17
connect to. This gives a permission denied when a cd is attempted, but not a permission denied in the directory listing one level up. (This used to be commit 9255e526244578e092abc306491d5862469da775)
2001-01-02Return EACCES for bad password.Tim Potter1-1/+1
(This used to be commit 143006d32f0a0d339b870741b811ec49795b7099)
2001-01-02Make the use of generate_name_trn_id conform to the usage elsewhere ...Richard Sharpe1-1/+1
(This used to be commit 46a3a56ecf411eb885aee2892e12d3846ce32ad6)
2001-01-02Comment out unused generate_name_trn_id ...Richard Sharpe1-1/+1
(This used to be commit fb5798e1d9eb518f85e30680883c0460141b245d)
2001-01-02Fixed -d option for rpcclient.Tim Potter1-2/+7
(This used to be commit 44c5eb4def9a264f660b2398d28b72f54e6547e6)
2000-12-30The line was:Christopher R. Hertel1-1/+6
struct tdb_traverse_lock tl = { tdb->travlocks.next, 0, 0 }; The IRIX compiler complained that the first initialization value was not a constant and errored out. Here's what it looks like now: struct tdb_traverse_lock tl = { NULL, 0, 0 }; int ret, count = 0; /* This was in the initializaton, above, but the IRIX compiler * did not like it. crh */ tl.next = tdb->travlocks.next; That worked. Chris -)----- (This used to be commit e651d1d642cd1bfac11bec81a30915b95d4424c8)
2000-12-26First pass at the libsmbclient code ...Richard Sharpe4-0/+1524
This code handles the basic stuff and compiles and links under Linux, but I do not know about any other operating systems. Now onto directory listing routines, including those that list workgroups, servers, etc. Nothing is built automatically yet, you have to make client/testsmbc to build the library and test program. Also, no make install targets are defined for libsmbclient.so as yet, either. Would be good if people test on operating systems other than Linux. (This used to be commit 51c0436a50e9f9274cee9de043bbefc93aff8011)
2000-12-21merge from appliance headGerald Carter1-0/+5
(This used to be commit 393c5f14e0858dcb3d6cb26eb5643b520c2c9686)
2000-12-21Return appropriate exit codes for various situations:Tim Potter1-22/+32
0 for success 1 if operation failed 2 command line parse error (This used to be commit b4773618acb60b62b20b01ff7ba749984c1379fb)
2000-12-21Documentation updates for smbcacls program.Tim Potter3-42/+139
(This used to be commit f9450cd7b7352a206dc05d8ad2a7b86a2586b892)
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-21merge from appliance headGerald Carter1-1/+4
(This used to be commit 4671a313775f052ae949ba441db7e0060bed0b75)
2000-12-21make protoTim Potter1-0/+1
(This used to be commit a1ea59c9afb930b2084f175e72ac99ef314314a2)
2000-12-21Don't call string_to_sid after cli_lsa_lookup_names() fails.Tim Potter1-2/+55
Can't use space as a ACL separator as it breaks NT user/group names that contain spaces (i.e most of the default ones). The MSDN is contradictory over the exact ordering of ACE entries in an ACL. However NT4 gives a "The information may have been modified by a computer running Windows NT 5.0" if denied ACEs do not appear before allowed ACEs. Sort ACE list before calling cli_set_secdesc(). (This used to be commit 01a89978ff4b9fcc813c4f251ddfe23c0485a696)
2000-12-21Some systems seem to only accept a ntcreate&x with a unicode filenameTim Potter1-5/+45
despite samba negotiating ascii filenames. Retry with unicode pathnames if the ascii version fails. Convert all forward slashes to backslashes in the filename argument. (This used to be commit 935b77573ec82bece6211a9f61c800ef1c8c9aa4)
2000-12-21Added a cli_nt_create_uni() to do a ntcreate&x with a unicode filename,Tim Potter1-2/+49
regardless of the settings negotiated in the flags2 smb field. (This used to be commit c4476c6315a6e99dd4a1d0e3185a0d17c073205d)
2000-12-21Replace magic number with constant.Tim Potter1-1/+1
(This used to be commit 1a228868cf14418894b798f19955df3276bd1089)
2000-12-21Cleaned up SidToString() and StringToSid() exit paths.Tim Potter1-17/+27
Can now use user%password format in $USER environment variable. -U option is now optional. (This used to be commit e21f2ef4fbfae1451d77b53291a78646dee9cfce)