summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Changes from APPLIANCE_HEAD:David O'Neill2001-01-1111-68/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fix from John for growing messages.tdb.Jeremy Allison2001-01-111-0/+1
| | | | Jeremy.
* rpc_server/srv_samr.c:Jeremy Allison2001-01-115-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.
* Added init functions, cli_spoolss_open_printer_ex(),Tim Potter2001-01-101-0/+538
| | | | | cli_spoolss_closeprinter(), cli_spoolss_enum_printers(), cli_spoolss_enum_ports() and cli_spoolss_getprinter()
* Added init functions, cli_samr_connect(), cli_samr_close(),Tim Potter2001-01-101-0/+325
| | | | cli_samr_open_{domain,user}() and cli_samr_query_userinfo()
* Fixed authenticated pipe access.Tim Potter2001-01-101-25/+102
| | | | | | Added cli_lsa_enum_trust_dom(). Misc other cosmetic changes.
* Changes from APPLIANCE_HEAD:David O'Neill2001-01-103-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.
* Changes from APPLIANCE_HEAD:David O'Neill2001-01-104-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.
* Fix from "B.V.Dean" <B.V.Dean@ukc.ac.uk> to add "dos filemode" parameterJeremy Allison2001-01-093-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.
* Patch from Richard Bollinger for dead entries being left in connections tdb.Jeremy Allison2001-01-082-1/+6
| | | | Jeremy.
* Changes merged from APPLIANCE_HEAD:David O'Neill2001-01-082-4/+9
| | | | | | source/printing/printing.c source/rpc_server/srv_spoolss_nt.c - convert args for print command to unix codepage.
* Add support for logging to wherever smb.conf specifies.Richard Sharpe2001-01-081-2/+8
|
* Codepages and stuff for Turkish language support. Contributed byTim Potter2001-01-075-1/+576
| | | | Deniz Akkus <akkus@alum.mit.edu>
* Get rid of 10.0.0.6 and replace it with 0.0.0.0 as my_ip address prior toRichard Sharpe2001-01-071-4/+2
| | | | sending datagrams in clidgram.c
* More bug fixen ...Richard Sharpe2001-01-071-2/+2
|
* Update the tree.c GTK+ App so it can walk down directories etc ...Richard Sharpe2001-01-071-76/+122
|
* More fixes and implementation bits and pieces for libsmbclientRichard Sharpe2001-01-072-11/+165
|
* Fix proto.h ...Richard Sharpe2001-01-061-3/+4
|
* Fix some more bugs in libsmbclient.c and add functionality to tree.cRichard Sharpe2001-01-062-5/+63
|
* Fix a minor problem with listing servers in a workgroup and add aRichard Sharpe2001-01-062-3/+471
| | | | gtk+ test application that tests out some of this stuff ...
* Fix a small type in libsmbclient.h ...Richard Sharpe2001-01-051-1/+1
|
* Arrgh, forgot to update proto.h with all the changes I have been making.Richard Sharpe2001-01-051-12/+6
| | | | Here is an updated one.
* Changes from APPLIANCE_HEAD:David O'Neill2001-01-051-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. =^)
* Sync up smb.conf.default with APPLIANCE_HEAD and SAMBA_2_2David O'Neill2001-01-051-0/+2
|
* Add SuSE 7.1 packaging (from SAMBA_2_2).David O'Neill2001-01-053-0/+608
|
* Sync up packaging updates that didn't make it to HEAD.David O'Neill2001-01-059-233/+358
|
* Merge of documentation updates to HEAD. These got missed somewhere alongDavid O'Neill2001-01-059-1716/+1277
| | | | the way.
* The latest changes to libsmbclient ...Richard Sharpe2001-01-053-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.
* Needed a callback arg on cli_list ...Richard Sharpe2001-01-055-15/+15
|
* Added extra argument to calls to smbw_share_add()Tim Potter2001-01-051-8/+8
|
* Changes from APPLIANCE_HEAD:David O'Neill2001-01-0412-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.
* I need a callback arg for cli_NetServerEnum and cli_RNetShareEnum, so I hadRichard Sharpe2001-01-045-25/+65
| | | | | | to modifiy any routine that calls it to pass NULL and so forth. Should have no impact. It compiles OK.
* Add a new file clidgram with routines that are used by the libsmbclient code.Richard Sharpe2001-01-032-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.
* We only want to mark mailslot packets as loopback packets if they are toRichard Sharpe2001-01-031-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!
* Return an empty directory for a stat on a share we aren't allowed toTim Potter2001-01-021-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.
* Return EACCES for bad password.Tim Potter2001-01-021-1/+1
|
* Make the use of generate_name_trn_id conform to the usage elsewhere ...Richard Sharpe2001-01-021-1/+1
|
* Comment out unused generate_name_trn_id ...Richard Sharpe2001-01-021-1/+1
|
* Fixed -d option for rpcclient.Tim Potter2001-01-021-2/+7
|
* The line was:Christopher R. Hertel2000-12-301-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 -)-----
* First pass at the libsmbclient code ...Richard Sharpe2000-12-264-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.
* merge from appliance headGerald Carter2000-12-211-0/+5
|
* Return appropriate exit codes for various situations:Tim Potter2000-12-211-22/+32
| | | | | | 0 for success 1 if operation failed 2 command line parse error
* Documentation updates for smbcacls program.Tim Potter2000-12-213-42/+139
|
* If extra arguments passed make yodl docs for these files rather than *.yoTim Potter2000-12-211-2/+8
|
* merge from appliance headGerald Carter2000-12-211-1/+4
|
* make protoTim Potter2000-12-211-0/+1
|
* Don't call string_to_sid after cli_lsa_lookup_names() fails.Tim Potter2000-12-211-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().
* Some systems seem to only accept a ntcreate&x with a unicode filenameTim Potter2000-12-211-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.
* Added a cli_nt_create_uni() to do a ntcreate&x with a unicode filename,Tim Potter2000-12-211-2/+49
| | | | regardless of the settings negotiated in the flags2 smb field.