summaryrefslogtreecommitdiffstats
path: root/source/utils
Commit message (Collapse)AuthorAgeFilesLines
...
* r4848: fix build; gd please check and make sure this is okGerald Carter2005-01-191-1/+2
|
* r4847: Hand over a acb_mask to pdb_setsampwent in load_sampwd_entries(). Günther Deschner2005-01-191-3/+3
| | | | | | | | | | | | | | | | | This allows the ldap-backend to search much more effeciently. Machines will be searched in the ldap_machine_suffix and users in the ldap_users_suffix. (Note that we already use the ldap_group_suffix in ldapsam_setsamgrent for quite some time). Using the specific ldap-bases becomes notably important in large domains: On my testmachine "net rpc trustdom list" has to search through 40k accounts just to list 3 interdomain-trust-accounts, similiar effects show up the non-user query_dispinfo-calls, etc. Also renamed all_machines to only_machines in load_sampwd_entries() since that reflects better what is really meant. Guenther
* r4827: add 'net rpc rights list accounts' & update help textGerald Carter2005-01-181-15/+60
|
* r4821: finish off 'net rpc rights [list|grant|revoke]'Gerald Carter2005-01-181-4/+222
| | | | | | one small todo item is to add a 'accounts' sub option to 'net rpc list' so enumerate all privileged SIDs and their associated rights.
* r4820: add beginnings of 'net rpc rights' for managing privilege assignmentsGerald Carter2005-01-183-7/+133
|
* r4656: Convert the winreg pipe to use WERROR returns (as it should).Jeremy Allison2005-01-101-2/+2
| | | | | | Also fix return of NT_STATUS_NO_MORE_ENTRIES should be ERROR_NO_MORE_ITEMS reported by "Marcin Porwit" <mporwit@centeris.com>. Jeremy.
* r4570: Replace cli->nt_pipe_fnum with an array of NT file numbers, one for eachVolker Lendecke2005-01-062-5/+5
| | | | | | | | | | | | supported pipe. Netlogon is still special, as we open that twice, one to do the auth2, the other one with schannel. The client interface is completely unchanged for those who only use a single pie. cli->pipe_idx is used as the index for everything except the "real" client rpc calls, which have been explicitly converted in my last commit. Next step is to get winbind to just use a single smb connection for multiple pipes. Volker
* r4539: patch from Rob -- adding real printcap name cache function to speed ↵Gerald Carter2005-01-051-8/+10
| | | | up printcap reloads
* r4538: Fix bugzilla 2198, accounts which have password last set to 0 are gettingJim McDonough2005-01-051-0/+3
| | | | no passwords after vampire. Set password last set field to now.
* r4353: Finally get length of munged_dial correct.Günther Deschner2004-12-241-1/+1
| | | | Guenther
* r4352: Base64-encode munged-dial with correct length in 'net rpc vampire'.Günther Deschner2004-12-241-1/+4
| | | | Guenther
* r4351: Vampire Logon-Hours. Update Logon-Hours only when they have changed.Günther Deschner2004-12-241-1/+20
| | | | Guenther
* r4311: 'Document' the -L switch when adding groups with "net rpc group".Günther Deschner2004-12-211-0/+1
| | | | Guenther
* r4291: More *alloc fixes inspired by Albert Chin (china@thewrittenword.com).Jeremy Allison2004-12-202-2/+7
| | | | Jeremy
* r4287: Vampire SAM_DELTA_DOMAIN_INFO.Günther Deschner2004-12-201-2/+112
| | | | | | | Based on samba4-idl. The decoding of account-lockout-string is somewhat experimental though. Guenther
* r4285: Allow -v or -l for displaying verbose groupmap-listing as well asGünther Deschner2004-12-201-0/+3
| | | | | | "verbose". Guenther
* r4259: Fix cast in SMB_XMALLOC_ARRAY. Bugzilla #2168.Tim Potter2004-12-171-1/+1
|
* r4254: Add an undocumented hack. I had to delete a wrong mapping (a user ↵Volker Lendecke2004-12-171-0/+54
| | | | | | | | | | | | | that had ended up as a gid in winbindd_idmap.tdb) from winbindd_idmap.tdb. Stopping winbind was not an option on that machine.... net idmap delete <idmap-file> <SID> Thanks, Volker
* r4248: Implement smbstatus -n, don't lookup users and groups. On heavily loadedVolker Lendecke2004-12-171-15/+21
| | | | | | | | | | winbind systems, looking up hundreds of users can turn out to be a bit too expensive if you just want to find out which smbd handles a particular IP address. Volker P.S: Who is "OH"? ;-)
* r4234: More malloc fixes to use the macros.Jeremy Allison2004-12-162-56/+56
| | | | Jeremy.
* r4153: port from trunk of pdbedit changesSimo Sorce2004-12-111-7/+82
|
* r4130: add bad_password_count and logon_count to vampire (inspired by a patchGünther Deschner2004-12-101-2/+5
| | | | | | | | | from Lars Mueller <lmuelle@suse.de>), just for completeness. Note that though we have logon_count implemented in all pdb-backends but never (for good reason!) update the counter. Guenther
* r4127: vampire munged_dial.Günther Deschner2004-12-101-0/+8
| | | | Guenther
* r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵Jeremy Allison2004-12-0714-59/+53
| | | | | | | | | allocation functions so we can funnel through some well known functions. Should help greatly with malloc checking. HEAD patch to follow. Jeremy.
* r3931: Fix all "may be used uninitialized" and "shadow" warnings.Jeremy Allison2004-11-241-4/+4
| | | | Jeremy.
* r3918: Allow to set OWNER- and GROUP-entries while setting security descriptorsGünther Deschner2004-11-231-1/+9
| | | | | | with smbcacls and using with the -S or -M switch. Fixes #404 and #2076. Guenther
* r3882: Fix bug 2069 -- thanks to jason@ncac.gwu.eduVolker Lendecke2004-11-191-1/+2
|
* r3880: Tidy up some unused/shadowed variable usage.Jeremy Allison2004-11-191-4/+5
| | | | Jeremy.
* r3846: Typo fix. Bug 2055. Lars, I'm available on irc.... :-)Volker Lendecke2004-11-181-1/+1
| | | | Volker
* r3771: Fix bug #1952: no comment on XP shutdownJim McDonough2004-11-151-11/+70
| | | | | Try INITSHUTDOWN pipe first, used by newer clients. If it fails, fall back to WINREG.
* r3761: Fix bug #1932: crash when non-root invokes net getlocalsidJim McDonough2004-11-151-1/+9
| | | | First check to see if we can open secrets.tdb.
* r3688: fix output of smbstatus to make the man page; fix -L, -p, & -S and ↵Gerald Carter2004-11-111-31/+50
| | | | the -u <username> functionality
* r3683: BUG 2017: fix testparm reporting for the passwd program stringGerald Carter2004-11-111-1/+1
|
* r3566: Completely replace the queryuseraliases call. The previous ↵Volker Lendecke2004-11-051-1/+1
| | | | | | | | | | | | | | implementation does not exactly match what you would expect. XP workstations during login actually do this, so we should better become a bit more correct. The LDAP query issued is not really fully optimal, but it is a lot faster and more correct than what was there before. The change in passdb.h makes it possible that queryuseraliases is done with a single ldap query. Volker
* r3492: Fixes from testing kerberos salted principal fix.Jeremy Allison2004-11-021-0/+14
| | | | Jeremy.
* r3377: Merge in first part of modified patch from Nalin Dahyabhai ↵Jeremy Allison2004-10-291-1/+1
| | | | | | | | | <nalin@redhat.com> for bug #1717.The rest of the code needed to call this patch has not yet been checked in (that's my next task). This has not yet been tested - I'll do this once the rest of the patch is integrated. Jeremy.
* r3273: Ensure we're consistent in the use of strchr_m for '@'.Jeremy Allison2004-10-272-3/+3
| | | | Jeremy.
* r2942: Add client-side support of triggering ads printer publishing over msrpcGünther Deschner2004-10-133-0/+293
| | | | | | | | | | setprinter calls inside the net-tool. This is usefull to mimic the same queries a windows-client does. At least win2k returns WERR_IO_PENDING when printer is published via setprinter, samba returns WERR_OK but this does not hurt. Guenther
* r2935: This is a long-standing one in my patch-queue: A pair of net commandsVolker Lendecke2004-10-123-3/+790
| | | | | | | (usersidlist/allowedusers) to scan a file server's share and list all users who have permission to connect there. Volker
* r2852: Oh. Allow to migrate win2k3/xp-drivers as well. Günther Deschner2004-10-071-0/+1
| | | | | | Thanks to Bjoern Jacke for his moral support :) Guenther
* r2837: Fix printer-migration w.r.t. to new naming-convention forGünther Deschner2004-10-071-40/+37
| | | | | | policy-handles. Also remove some unused vars. Guenther
* r2835: Since we always have -I. and -I$(srcdir) in CFLAGS, we can get rid of Tim Potter2004-10-0718-18/+18
| | | | | '..' from all #include preprocessor commands. This fixes bugzilla #1880 where OpenVMS gets confused about the '.' characters.
* r2832: Readd WKGUID-binding to match the correct default-locations of newGünther Deschner2004-10-062-3/+11
| | | | | | | | | | | | | | | User-, Group- and Machine-Accounts in Active Directory (this got lost during the last trunk-merge). This way we match e.g. default containers moved by redircmp.exe and redirusr.exe in Windows 2003 and don't blindly default to cn=Users or cn=Computers. Further wkguids can be examied via "net ads search wellknownobjects=*". This should still keep a samba3-client joining a samba4 dc. Fixes Bugzilla #1343. Guenther
* r2826: Complain if 'password chat' doesn't contain the %u variable. based on ↵Jelmer Vernooij2004-10-051-1/+8
| | | | a patch by Ronan Waide
* r2821: Adding "Windows x64" as architecture string and driverdir "x64" for theGünther Deschner2004-10-041-1/+2
| | | | | | | | | | 64bit AMD platform. (This used to be "Windows AMD64" and "AMD64" in one of the release candidates of SP2 for Windows XP. AMD64 is obviously still supported but not documented.) Guenther
* r2762: Remove silly conversion to and from UTF8 on the winbind pipe. Fix theAndrew Bartlett2004-10-011-28/+16
| | | | | | | naming of the require_membership_of parameter in pam_winbind and fix the error code for 'you didn't specify a domain' in ntlm_auth. Andrew Bartlett
* r2746: Fix typos in net's usage-output.Günther Deschner2004-09-292-2/+2
| | | | Guenther
* r2706: The code that prints the remote MAC address (from the statistics sectionChristopher R. Hertel2004-09-281-4/+7
| | | | | | | | | | | | of the response packet) was outside of the if() that determined whether the query was successful or not. As a result, the MAC address would print out even if there was no MAC address. At least the garbage it printed was relatively consistent. :) I moved the MAC printing into the if() block and added an 'else' to print "No reply..." if the query fails. Chris -)-----
* r2477: Document "--destination" for "net rpc [printer|share] migrate".Günther Deschner2004-09-211-1/+3
| | | | Guenther
* r2476: now that PRINTER_ATTRIBUTE_PUBLISHED does not get reset anymore, migrateGünther Deschner2004-09-211-4/+13
| | | | | | | | | | the publishing-state for migrated printers as well. Therefor added client-side-support for setprinter level 7. Next will be a "net rpc printer publish"-command (just for completeness). Guenther