summaryrefslogtreecommitdiffstats
path: root/source/utils
Commit message (Collapse)AuthorAgeFilesLines
...
* r2388: fix client quota supportStefan Metzmacher2004-09-171-2/+3
| | | | | | for the client we need the windows path and for server we need unix path metze
* r2348: fix segmention faultsStefan Metzmacher2004-09-152-8/+11
| | | | | | in smbcquotas and smbcacls caused by setup_logging() (-r 1425) metze
* r2147: Fix utility name in error message (pre-emptivly merged to trunk ;-)Andrew Bartlett2004-08-311-1/+1
| | | | Andrew Bartlett
* r2080: Remove last traces of static migration to localhost. Needed to allow aGünther Deschner2004-08-264-24/+31
| | | | | | | | | local netbios-alias bound to non-loopback interface as a migration target. It's now possible to migrate printers|shares|files from Server A to Server B while running the net-command on client C. Guenther
* r2079: Clear the publish-bit from the attributes-mask when migratingGünther Deschner2004-08-261-0/+6
| | | | | | printer-settings. publishing-info is not handled yet. Guenther
* r2022: Add net_copy_fileattr as a separate function to copy just ACLs, attrsGünther Deschner2004-08-241-101/+198
| | | | | | and timestamps. This makes net_copy_file less complex. Guenther
* r1966: further work on and cleanup of the net-migration-tool.Günther Deschner2004-08-205-60/+164
| | | | | | | It's now possible to migrate files preserving dos-attributes and correct timestamps. Also added some small docu- and syntax-fixes. Guenther
* r1812: Fix from Richard Renard <rrenard@idealx.com> to be able to resetJeremy Allison2004-08-131-3/+30
| | | | | a users logon hours restrictions. Jeremy.
* r1750: This patch allows net ads lookup to rely on command line arguments if ↵Jim McDonough2004-08-122-2/+6
| | | | | | | contacting an ADS server fails. This allows net ads lookup to work with clapd (very useful for testing). from aliguori@us.ibm.com
* r1720: Show correct help for net groupmap commands.Günther Deschner2004-08-111-3/+3
| | | | Guenther
* r1716: Get rid of a compiler warning. "pipe" is a symbol that is defined as ↵Volker Lendecke2004-08-111-2/+2
| | | | | | | | a system call, and gcc -Wall complains about a shadowed definition. Volker
* r1698: fix build.Günther Deschner2004-08-101-2/+3
| | | | guenther
* r1692: first commit :)Günther Deschner2004-08-105-9/+2961
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add IA64 to the architecture table of printer-drivers * add new "net"-subcommands: net rpc printer migrate {drivers|printers|forms|security|settings|all} [printer] net rpc share migrate {shares|files|all} [share] this is the first part of the migration suite. this will will (once feature-complete) allow to do 1:1 server-cloning in the best possible way by making heavy use of samba's rpc_client-functions. all migration-steps are implemented as rpc/smb-client-calls; net communicates via rpc/smb with two servers at the same time (a remote, source server and a destination server that currently defaults to the local smbd). this allows e. g. printer-driver migration including driverfiles, recursive mirroring of file-shares including file-acls, etc. almost any migration step can be called with a migrate-subcommand to provide more flexibility during a migration process (at the cost of quite some redundancy :) ). "net rpc printer migrate settings" is still in a bad condition (many open questions that hopefully can be adressed soon). "net rpc share migrate security" as an isolated call to just migrate share-ACLs will be added later. Before playing with it, make sure to use a test-server. Migration is a serious business and this tool-set can perfectly overwrite your existing file/print-shares. * along with the migration functions had to make I the following changes: - implement setprinter level 3 client-side - implement net_add_share level 502 client-side - allow security descriptor to be set in setprinterdata level 2 serverside guenther
* r1582: On failure, print the length of the right variable.Andrew Bartlett2004-07-251-1/+1
| | | | Andrew Bartlett
* r1537: Fix to stop printing accounts from resetting the bas passwordJeremy Allison2004-07-171-15/+10
| | | | | | and account lockout flags. This is set when an account is updated only from smbd or pdbedit. Bug found by "Dunn, Drew A." <Drew.Dunn@jhuapl.edu>. Jeremy.
* r1504: Remove insane use of "user password" on the COMMAND LINE !Jeremy Allison2004-07-151-25/+6
| | | | | in smbpasswd. Use -s if you want to script this. Jeremy.
* r1492: Rework our random number generation system.Andrew Bartlett2004-07-141-1/+1
| | | | | | | | | | On systems with /dev/urandom, this avoids a change to secrets.tdb for every fork(). For other systems, we now only re-seed after a fork, and on startup. No need to do it per-operation. This removes the 'need_reseed' parameter from generate_random_buffer(). Andrew Bartlett
* r1478: Useful patch from Tom Alsberg <alsbergt@cs.huji.ac.il>, to export a ↵Simo Sorce2004-07-131-8/+24
| | | | single user from a backend.
* r1412: Fix password history list in tdbsam. Fix some memory leaks. AddJeremy Allison2004-07-081-0/+5
| | | | | my (C) to a header file that was at least 50% mine :-). Jeremy.
* r1399: applying heimdal krb5 fixes from Guenther and fixing compile warnings ↵Gerald Carter2004-07-081-5/+5
| | | | in libadskerberos_keyatb.c
* r1240: Ensure we don't shadow Heimdal globals.Jeremy Allison2004-06-241-1/+1
| | | | Jeremy.
* r1222: Valgrind memory leak fixes. Still tracking down a strange one...Jeremy Allison2004-06-231-41/+123
| | | | | Can't fix the krb5 memory leaks inside that library :-(. Jeremy.
* r1221: Added the last of the system keytab patch from "Dan Perry" ↵Jeremy Allison2004-06-221-93/+194
| | | | | | | <dperry@pppl.gov>, fixed valgrind detected mem corruption in libads/kerberos_keytab.c. Jeremy.
* r1128: The end-of-file is not the end of the world, so don't make a load ↵Andrew Bartlett2004-06-141-3/+7
| | | | | | DEBUG() about it. Andrew Bartlett
* r1126: Allow more flexible GSS-SPENGO client and server operation. TheAndrew Bartlett2004-06-141-16/+18
| | | | | | | client now falls back to NTLMSSP, and the server allows the client to start, without first asking for a mech list. Andrew Bartlett
* r1124: ntlm_auth memory leak fixes by James Wilkinson - ↵Andrew Bartlett2004-06-141-0/+4
| | | | | | jwilk@alumni.cse.ucsc.edu Andrew Bartlett
* r1103: need to leave empty dacl so we can remove last ACEHerb Lewis2004-06-101-5/+0
|
* r977: Implement 'net rpc group rename' -- rename domain groups.Volker Lendecke2004-06-021-0/+78
| | | | Volker
* r964: The max_size field in cli_samr_enum_als_groups is more like an ↵Volker Lendecke2004-06-011-1/+7
| | | | | | | | | | account_control field with indiviual bits what to retrieve. Set this to 0xffff as NT4 usrmgr.exe does to get everything. I'm too lazy (sorry) to get this through to rpc_parse/ etc. Volker
* r780: Fix segfault in ntlm_auth --diagnosticsAndrew Bartlett2004-05-191-1/+2
| | | | Andrew Bartlett
* r517: Remove wrong commit I did by mistakeAlexander Bokovoy2004-05-061-6/+0
|
* r516: On GNU/Linux distributions which allow to use both 2.4 and 2.6 kernelsAlexander Bokovoy2004-05-061-0/+6
| | | | | | | | | there is SYS_utimes syscall defined at compile time in glibc-kernheaders but it is available on 2.6 kernels only. Therefore, we can't rely on syscall at compile time but have to check that behaviour during program execution. An easy workaround is to have replacement for utimes() implemented within our wrapper and do not rely on syscall at all. Thus, if REPLACE_UTIME is defined already (by packager), skip these syscall shortcuts.
* r416: add a newline to the debuglevel message returned string Herb Lewis2004-04-291-1/+9
| | | | and have smbcontrol print the PID with it
* r269: Patch from Krischan Jodies <kj@sernet.de>: Implement 'net rpc group ↵Volker Lendecke2004-04-183-4/+199
| | | | | | delete'. Volker
* r248: Add support for printing out the MAC address on nmblookup.Richard Sharpe2004-04-161-1/+5
|
* r240: I'm pretty happy with the 'ntlm-server-1' helper protocol now, and asAndrew Bartlett2004-04-151-2/+0
| | | | | | | | there is now a public patch that uses it, make it always available. (It was #ifdef DEVELOPER) Andrew Bartlett
* r201: Fix bugs in the --helper-protocol=ntlm-server-1 implementation.Andrew Bartlett2004-04-131-8/+9
| | | | | | (allow the use of base64 encoded strings, LM or NT passwords) Andrew Bartlett
* r195: adding files to ignore listGerald Carter2004-04-131-5/+5
|
* r191: Only send the ntlm_auth 'ntlm-server-1' helper client a '.' after theAndrew Bartlett2004-04-131-2/+1
| | | | | | server had said something (such as an error). Andrew Bartlett
* r188: Add a new 'helper protocol' to ntlm_auth. Andrew Bartlett2004-04-121-2/+202
| | | | | | | | | | | | | | | | | | | | | | | | | | | This protocol looks rather like SMTP headers/LDAP: NT-Domain: TESTWG Username: abartlet ... Password: foo Challenge-response passwords are in hexideciaml, while any 'plain' string can be base64 encoded when like this: Password:: Zm9vCg== (the :: indicates it, just like LDAP - I hope) The protocol is not final, so it is #ifdef DEVELOPER for now (so nobody starts to rely on it until I'm happy), but we may as well get this into subversion. My intention is to use this to power the next version of my PPP/ntlm_auth plugin, and hopefully entice a FreeRadius plugin out of the woods. Andrew Bartlett
* r177: Split ntlm_auth --diagnostics into a seperate file, so as not to clutter Andrew Bartlett2004-04-123-599/+657
| | | | | | | | | the main ntlm_auth program. It quite possibly should belong in smbtorture, but relies on the winbind client for now. Andrew Bartlett
* r171: Continue the 'rename nt_session_key' work. This attempts to renameAndrew Bartlett2004-04-121-88/+76
| | | | | | | this variable to 'user_session_key', where possible. The command line parameter is currently unchanged). Andrew Bartlett
* r116: volker's patch for local group and group nestingGerald Carter2004-04-071-0/+108
|
* r104: Fix ntlm_auth by adding the new strhex_to_data_blob() call.Andrew Bartlett2004-04-071-6/+0
| | | | Andrew Bartlett
* r87: Fix the build that Andrew Bartlett broke. Andrew - don't check ↵Jeremy Allison2004-04-061-0/+6
| | | | | | | *ANYTHING* in unless you have done a make clean; make. Jeremy.
* r84: Implement --required-membership-of=, an ntlm_auth option that restrictsAndrew Bartlett2004-04-061-38/+113
| | | | | | | | | all authentication to members of this particular group. Also implement an option to allow ntlm_auth to get 'squashed' error codes, which are safer to communicate to remote network clients. Andrew Bartlett
* r69: Global rename of 'nt_session_key' -> 'user_session_key'. The session ↵Andrew Bartlett2004-04-061-22/+22
| | | | | | | key could be anything, and may not be based on anything 'NT'. This is also what microsoft calls it.
* r39: * importing .cvsignore filesGerald Carter2004-04-051-1/+0
| | | | * updateing WHATSNEW with vl's change
* r21: Ensure 'net' follows the behaviour of all other samba client tools,Andrew Bartlett2004-04-051-5/+3
| | | | and honours the 'netbios name' in the smb.conf.
* r4: merge in the SAMBA_3_0 branch from cvsCVS Import User2004-04-046-798/+10
| | | | | | | | to checkout try this: svn co svn+ssh://svn.samba.org/home/svn/samba/branches/SAMBA_3_0 samba-3_0-work metze