summaryrefslogtreecommitdiff
path: root/source3/utils
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r19039: Do not segfault in "net ads printer info" when a requested printserverGünther Deschner1-1/+2
does not exist. Guenther (This used to be commit 359315021df3a4dbfe5142e529e3efdbc49e405c)
2007-10-10r19003: Finally activate "net ads gpo".Günther Deschner2-24/+20
For those who are interested, try net ads gpo refresh mybox$ to get your machine related GPOs downloaded to /var/lib/samba/gpo_cache. Detailed information about GPOs is currently only printed when setting a higher debuglevel then 0. Guenther (This used to be commit d086babf9d2592f041cc35db3d60b4452ea953f5)
2007-10-10r18988: Check and refresh expired GPOs.Günther Deschner1-0/+5
Guenther (This used to be commit e0e44bfadbf9bce8a5d3fe969c0f6da59a0cc29e)
2007-10-10r18987: Add some usage prints for "net ads gpo".Günther Deschner1-13/+33
Guenther (This used to be commit 581152f81919f46c547fe7193b65384d49bea00e)
2007-10-10r18984: Removing ads_gpo_get_sysvol_gpt_version() which was just doing stupidGünther Deschner1-2/+2
things. Guenther (This used to be commit a597ef83c44368f81956bcd722e69b53bf205a8a)
2007-10-10r18981: * cleanup some vestiges of old cli_reg.c code and mark some TODOGerald Carter2-20/+101
items in cac_winreg.c * Get 'net rpc registry enumerate' to list values again * Fix winreg.idl QueryInfoKey(). The max_subkeysize is the max_classlen (we previously had this correct in Samba3") * fix valgrind error about uninitialized memory and use-before-set on size value inmemset() call * Fix key enumeration in 'net rpc registry enumerate' * regenerate gen_dir files based on local pidl patches Please note that the generated ndr files are from my local copy of pidl. If you need to regenerate, please apply the patch that I posted to the samba-technical list earlier today. (This used to be commit 5d843612a1b9d92022f76626f1c7473faebec4ba)
2007-10-10r18964: fix 'net rpc registry save' to use the new wnireg client codeGerald Carter1-10/+5
(This used to be commit f2747daafc2f1cd515570c676b2660ab6fcba740)
2007-10-10r18949: use sys_usleep()Stefan Metzmacher2-7/+2
metze (This used to be commit f9944941415b88559b67f6c7e780e364d5030240)
2007-10-10r18919: * Get the new rpccli_winreg_XXXX() functions into the treeGerald Carter2-62/+63
There some broken functionality here that I'm still working on. * remove unneeded parsing routines (This used to be commit cbfe1a4b498593a48fc34f584754ed4a9ef72cc5)
2007-10-10r18879: Fix crash for "net ads gpo list".Günther Deschner1-1/+11
Guenther (This used to be commit 7df5808d8b1d9458dbd47b92750c0b128325335c)
2007-10-10r18877: More WERROR/NTSTATUS bugsVolker Lendecke1-4/+5
(This used to be commit 88a928a2332b96124935c547cf5ee16163865d84)
2007-10-10r18865: fixed some of the most obvious NTSTATUS/WERROR mixups in Samba3. ItAndrew Tridgell1-33/+33
still doesn't compile with immediate structures and the NTSTATUS/WERROR separation, as there are still several places where the two error types are mixed up. I haven't fixed those as they require decisions about the rpcclient code that I really don't want to get into (the error handling there is a mess) So samba3 compiles now, but only becaise HAVE_IMMEDIATE_STRUCTURES is not used (look for HAVE_IMMEDIATE_STRUCTURES_XX_DISABLED) (This used to be commit 8438a6a7d4506d395c8b4bd0e99f9c100e5e3c4e)
2007-10-10r18853: Fix remaining warnings. Volker, should be fine now.Günther Deschner1-1/+1
Guenther (This used to be commit 40a6169aceb51dc7f73ae72ebac2e55c6b1edc3f)
2007-10-10r18852: Fix compiler warning (thanks Volker).Günther Deschner1-2/+2
Guenther (This used to be commit 01a8562fe164453af4c5946710f9e58f917df2ce)
2007-10-10r18819: Fix build without LDAP.Günther Deschner1-1/+1
Guenther (This used to be commit a0aedee1c90af163210dd459603dd5dffb73e132)
2007-10-10r18817: Enable the build of the gpo tool but do not make it available yet.Günther Deschner1-1/+2
Guenther (This used to be commit 927cda5d31e9cb02105df3cfc06f5cb273233747)
2007-10-10r18802: Use the pidl-generated code for the srvsvc interface, both client ↵Jelmer Vernooij2-272/+132
and server code. This has had some basic testing. I'll do more during the next couple of days and hopefully also make RPC-SRVSVC from Samba4 pass against it. (This used to be commit ef10672399c4b82700dc431b4d93431ffdd42d98)
2007-10-10r18758: Update net sam to use calculated times and force change password ↵Jim McDonough1-43/+13
properly. (This used to be commit fb269ca0afe57651a6fa0d8f8ba5c014e902c3d3)
2007-10-10r18748: Eliminate set of computed time valuesJim McDonough1-76/+3
(This used to be commit c53d4a8151f3105efa4c0bc340f35ee5c9c97aaf)
2007-10-10r18747: replace rpccli_lsa_close() with rpccli_lsa_Close()Gerald Carter5-14/+14
(This used to be commit 50d74ce0488a9bd0980cdc6d523a210f6238ef74)
2007-10-10r18745: Use the Samba4 data structures for security descriptors and security ↵Jelmer Vernooij4-42/+42
descriptor buffers. Make security access masks simply a uint32 rather than a structure with a uint32 in it. (This used to be commit b41c52b9db5fc4a553b20a7a5a051a4afced9366)
2007-10-10r18727: set the winreg_AbortSystemShutdown() server * to NULL rather than a ↵Gerald Carter1-2/+1
dummy placeholder (This used to be commit 92903ab926f0822fb76df58cc65fcd5d44a94f2b)
2007-10-10r18714: fix the build after replaceing rpccli_reg_abort_shutdown()Gerald Carter1-1/+2
(This used to be commit 403b0cf1ecd682efc034053e4e2a40aeee08d5ba)
2007-10-10r18703: Fix the annoying effect that happens when nscd is running:Günther Deschner1-0/+3
We usually do not get the results from user/group script modifications immediately. A lot of users do add nscd restart/refresh commands into their scripts to workaround that while we could flush the nscd caches directly using libnscd. Guenther (This used to be commit 7db6ce295afbedfada7b207ad56566d2195a0d21)
2007-10-10r18643: Fix a 64-bit warningVolker Lendecke1-1/+1
(This used to be commit bd175177960f39ef70d73d09e304299e03372bd6)
2007-10-10r18560: * Add in the winreg and initshutdown IDL filesGerald Carter1-2/+2
* rename PI_SHUTDOWN from include/smb.h to PI_INITSHUTDOWN for compatibility with pidl libndr output (This used to be commit 23a882861311d9d6ca45af1bfcc90d05846ba3a9)
2007-10-10r18556: Implement "net sam policy", thanks to Karolin Seeger <ks@sernet.de>.Volker Lendecke1-0/+76
Volker (This used to be commit da22aa7021d42a940d8f2151770fedbd2abdb63a)
2007-10-10r18467: Some sites allow an account to be deleted, but notJeremy Allison1-12/+15
disabled. Cope with both - print appropriate messages. Jeremy. (This used to be commit 2c003a4463ff59c477fa2558f869444cfa75e3a8)
2007-10-10r18446: Add the ldap 'leave domain' code - call this asJeremy Allison1-3/+14
a non-fatal error path if the 'disable machine account' code succeeded. Jeremy. (This used to be commit f47bffa21ec1caf5ec3a6ec77af801df0b63d83a)
2007-10-10r18313: Nobody said "no" (yet.... gd?), so commit it:Volker Lendecke1-12/+0
Remove the account_policy_migrated() thingy, and make cache_account_policy_set use gencache. Account policies are now handled like groups and users are with respect to "passdb backend". Volker (This used to be commit fa8b2e2a585ab0c00a5fbde7aa790043261caf2e)
2007-10-10r18310: Add a little test for some gencache routinesVolker Lendecke1-43/+0
Remove unused gencache_set_only Use CONST_DISCARD instead of SMB_STRDUP Volker (This used to be commit 651e7e44e2e56eab81c5fe708f33e6d3918a39f9)
2007-10-10r18271: Big change:Gerald Carter9-32/+32
* autogenerate lsa ndr code * rename 'enum SID_NAME_USE' to 'enum lsa_SidType' * merge a log more security descriptor functions from gen_ndr/ndr_security.c in SAMBA_4_0 The most embarassing thing is the "#define strlen_m strlen" We need a real implementation in SAMBA_3_0 which I'll work on after this code is in. (This used to be commit 3da9f80c28b1e75ef6d46d38fbb81ade6b9fa951)
2007-10-10r18188: merge 3.0-libndr branchJelmer Vernooij2-50/+11
(This used to be commit 1115745caed3093c25d6be01ffee21819fb0a675)
2007-10-10r18177: Some build- and memleak-fixes for the (not build by default) ADS GPOGünther Deschner1-12/+25
routines. Guenther (This used to be commit 0ef504a0a6dc8f5db1dbc7f2410aa981e11fd56c)
2007-10-10r18170: Make sure to actually get the printing data before trying to publish itGünther Deschner1-2/+5
in AD. Guenther (This used to be commit 1bb29acb3bf40afdb5bc196ab7dbc642e2fdd680)
2007-10-10r18116: Make max usershares an advisory limit, pointed outJeremy Allison1-0/+68
by Cybionet <cybionet@videotron.ca>. Jeremy. (This used to be commit fb755e83ee98fb830fb2340f175e8ca8d89c84d5)
2007-10-10r18047: More C++ stuffVolker Lendecke1-3/+3
(This used to be commit 86f4ca84f2df2aa8977eb24828e3aa840dda7201)
2007-10-10r18029: More C++ stuffVolker Lendecke2-2/+2
(This used to be commit 089b51e28cc5e3674e4edf5464c7a15673c5ec0f)
2007-10-10r18019: Fix a C++ warnings: Don't use void * in libads/ for LDAPMessage anymore.Volker Lendecke2-17/+17
Compiled it on systems with and without LDAP, I hope it does not break the build farm too badly. If it does, I'll fix it tomorrow. Volker (This used to be commit b2ff9680ebe0979fbeef7f2dabc2e3f27c959d11)
2007-10-10r17984: Ensure we never indirect a null opt_username if it wasn'tJeremy Allison1-0/+10
specified. Jeremy. (This used to be commit 5d9bb91ab7bb080b56b25849e646143ab3ad8252)
2007-10-10r17981: Hmmm. Don't break helper functions that don't needJeremy Allison1-5/+7
the username by forcing it to be specified. Still split out domain \ user for the ones that do use it. Jeremy. (This used to be commit c097e107391cd97dd829c19b672b6a7adece504f)
2007-10-10r17979: Make ntlm_auth more intelligent about figuring out it'sJeremy Allison1-14/+31
domain and user args. if only given a parameter of the form --username DOMAIN\user. When called by firefox or other user apps they may not know what the domain is (and they don't care). They just want to pass the contents of $USERNAME without having to parse it or guess a domain. Jeremy. (This used to be commit 5f51417916ed8bfc0dd08f44e669cb044fc83d01)
2007-10-10r17941: Fix print out of client site name.Jeremy Allison1-1/+1
Jeremy. (This used to be commit b8cedcac933fef9370bd42d1ff7c35c5c27103d1)
2007-10-10r17928: Implement the basic store for CLDAP sitenameJeremy Allison1-2/+2
support when looking up DC's. On every CLDAP call store the returned client sitename (if present, delete store if not) in gencache with infinate timeout. On AD DNS DC lookup, try looking for sitename DC's first, only try generic if sitename DNS lookup failed. I still haven't figured out yet how to ensure we fetch the sitename with a CLDAP query before doing the generic DC list lookup. This code is difficult to understand. I'll do some experiments and backtraces tomorrow to try and work out where to force a CLDAP site query first. Jeremy. (This used to be commit ab3f0c5b1e9c5fd192c5514cbe9451b938f9cd5d)
2007-10-10r17924: Get rid of warnings now that talloc is merged.Volker Lendecke1-1/+1
Destructors now take a pointer to the "real" destroyed object as an argument. Volker (This used to be commit 70edd716ef0ccb218fe18d1233bd30abe46b62bf)
2007-10-10r17921: Comment is obsolte. This is now implemented in winbindd.Jeremy Allison1-3/+1
Jeremy. (This used to be commit 37c636eb480e3736b143653231d73620152eb470)
2007-10-10r17903: Fix null deref caught by Stanford checker. Don'tJeremy Allison1-1/+0
call ntlmssp_end on a null pointer ! (Doh !). Jeremy. (This used to be commit 7b53932b5190c78b2b483f36af95174fe38ed45e)
2007-10-10r17881: Another microstep towards better error reporting: Make ↵Volker Lendecke1-1/+1
get_sorted_dc_list return NTSTATUS. If we want to differentiate different name resolution problems we might want to introduce yet another error class for Samba-internal errors. Things like no route to host to the WINS server, a DNS server explicitly said host not found etc might be worth passing up. Because we can not stash everything into the existing NT_STATUS codes, what about a Samba-specific error class like NT_STATUS_DOS and NT_STATUS_LDAP? Volker (This used to be commit 60a166f0347170dff38554bed46193ce1226c8c1)
2007-10-10r17847: Dummy commitVolker Lendecke1-1/+1
(This used to be commit cdcea36095a50a92ec1311979b8b2c572b971eaf)
2007-10-10r17798: Beginnings of a standalone libaddns library released underGerald Carter2-3/+275
the LGPL. Original code by Krishna Ganugapati <krishnag@centeris.com>. Additional work by me. It's still got some warts, but non-secure updates do currently work. There are at least four things left to really clean up. 1. Change the memory management to use talloc() rather than malloc() and cleanup the leaks. 2. Fix the error code reporting (see initial changes to dnserr.h) 3. Fix the secure updates 4. Define a public interface in addns.h 5. Move the code in libads/dns.c into the libaddns/ directory (and under the LGPL). A few notes: * Enable the new code by compiling with --with-dnsupdate * Also adds the command 'net ads dns register' * Requires -luuid (included in the e2fsprogs-devel package). * Has only been tested on Linux platforms so there may be portability issues. (This used to be commit 36f04674aeefd93c5a0408b8967dcd48b86fdbc1)