summaryrefslogtreecommitdiffstats
path: root/source/utils
Commit message (Collapse)AuthorAgeFilesLines
...
* I was somewhat annoyed by 'pdbedit -a vl' spitting an error messageVolker Lendecke2002-10-211-1/+7
| | | | | | at me :-) Volker
* Fix usage messageJelmer Vernooij2002-10-211-1/+1
|
* sync with SAMBA_3_0Gerald Carter2002-10-211-585/+0
|
* Added new error codes. Fix up connection code to retry in the same wayJeremy Allison2002-10-173-4/+4
| | | | | that app-head does. Jeremy.
* In my test, sync_context simply has to be incremented. CanVolker Lendecke2002-10-141-10/+9
| | | | | | | | somebody with a large domain do a net rpc samdump to verify this? Without this change, I don't get everything from a NT4 SP1 and SP6 PDC. Volker
* Nice *big* patch from metze.Andrew Bartlett2002-10-122-34/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The actual design change is relitivly small however: It all goes back to jerry's 'BOOL store', added to many of the elements in a SAM_ACCOUNT. This ensured that smb.conf defaults did not get 'fixed' into ldap. This was a great win for admins, and this patch follows in the same way. This patch extends the concept - we don't store values back into LDAP unless they have been changed. So if we read a value, but don't update it, or we read a value, find it's not there and use a default, we will not update ldap with that value. This reduced clutter in our LDAP DB, and makes it easier to change defaults later on. Metze's particular problem was that when we 'write back' an unchanged value, we would clear any muliple values in that feild. Now he can still have his mulitivalued 'uid' feild, without Samba changing it for *every* other operation. This also applies to many other attributes, and helps to eliminate a nasty race condition. (Time between get and set) This patch is big, and needs more testing, but metze has tested usrmgr, and I've fixed some pdbedit bugs, and tested domain joins, so it isn't compleatly flawed ;-). The same system will be introduced into the SAM code shortly, but this fixes bugs that people were coming across in production uses of Samba 3.0/HEAD, hence it's inclusion here. Andrew Bartlett
* merge from APP_HEADGerald Carter2002-10-081-0/+5
| | | | | | | | | * s/driverlocation/comment * detect native mode domain and enumerate local groups Also * Added sendfile stats from SAMBA_2_2
* try to put every security descriptors related definitions in the same file.Simo Sorce2002-10-061-2/+2
| | | | | | also try to uniform names to a clean scheme. first part.
* Use popt_common and use popt for showing help infoJelmer Vernooij2002-10-051-30/+15
|
* Add more common options to popt_common - and start usingJelmer Vernooij2002-10-051-19/+7
| | | | the ones for debuglevel and configuration file in pdbedit
* merge of new client side support the Win2k LSARPC UUID in rpcbindGerald Carter2002-10-044-33/+33
| | | | from APP_HEAD
* fix logic error in testparm with wins serversGerald Carter2002-09-301-2/+2
|
* Some more work on vampire.Volker Lendecke2002-09-291-26/+18
| | | | Volker
* Minor updates:Andrew Bartlett2002-09-272-6/+20
| | | | | | | | | | Add const to some more functions, and reintroduce 'net rpc join oldstyle' as *only* trying an old-style join. This means that we can rely on it not prompting for a password on the build farm. Andrew Bartlett
* Fix typoAndrew Bartlett2002-09-271-1/+1
|
* add -r to usage outputGerald Carter2002-09-261-0/+1
|
* Add -r parameter to smbgroupedit. With -r you can manually chooseVolker Lendecke2002-09-261-21/+26
| | | | | | a rid. Volker
* move all the passdb internal interface to NTSTATUSSimo Sorce2002-09-261-13/+13
| | | | | | | | | only the interface has been fully moved to NTSTATUS not all the plugins make full use of it, but have been all converted. My testings passed completely, however a bit of more testing is welcome Simo.
* This is a first working version of net rpc vampire. First do a net rpcVolker Lendecke2002-09-241-12/+264
| | | | | | | | getsid, then join as a BDC, and then watch net rpc vampire suck out the good stuff out of a PDC :-). It's not perfect, but it does quite a bit for me. Watch out for more. Volker
* Update some help. People keep forgetting that!Richard Sharpe2002-09-231-1/+3
|
* Add net getlocalsid [name]Richard Sharpe2002-09-231-0/+26
|
* Ok, getting a bit more ambitious. Stop me, if this is wrong. ;-)Volker Lendecke2002-09-231-2/+3
| | | | | | | | | When creating a group you have to take care of the fact that the underlying unix might not like the group name. This change gets around that problem by giving the add group script the chance to invent a group name. It then must only return the newly created numerical gid. Volker
* Cosmetic fix for debug message.Volker Lendecke2002-09-231-2/+1
|
* Add the ability to view/set the current local domain SIDs.Volker Lendecke2002-09-231-0/+45
| | | | Volker
* Change parsing of policy and privs delta to what Ethereal says.Volker Lendecke2002-09-221-3/+1
| | | | Volker
* First code for 'net rpc vampire'. We should probably find a moreVolker Lendecke2002-09-182-1/+279
| | | | | | positive name for this. It creates users and global groups. More to come. Volker
* Add a synonym for samdump ...Richard Sharpe2002-09-181-0/+1
|
* Add clock skew handling to our kerberos code. This allows us to cope withAndrew Tridgell2002-09-171-14/+12
| | | | the DC being out of sync with the local machine.
* added gencache implementation from mimir - thanks!Andrew Tridgell2002-09-113-0/+330
|
* removing compiler warnings about shadowed globalsGerald Carter2002-09-101-18/+18
|
* This is the 'easy' parts of the trusted domains patch n+3 patch fromAndrew Bartlett2002-09-061-0/+8
| | | | | | | | | | | | Rafal Szczesniak <mimir@diament.ists.pwr.wroc.pl> It includes a conversion of make_user_info*() to NTSTATUS and some minor changes to other files. It also picks up on a nasty segfault that can occour in some security=domain cases. Andrew Bartlett
* Patch from "Stefan (metze) Metzmacher" <metze@metzemix.de>Andrew Bartlett2002-09-061-1/+1
| | | | | | | | | | | | | to extend the ADS_STATUS system to include NTSTATUS, and to provide a better general infrustructure for his sam_ads work. I've also added some extra failure mode DEBUG()s to parts of the code. NOTE: The ADS_ERR_OK() macro is rather sensitive to braketing issues - without the final set of brakets, the test is essentially inverted - causing some intersting 'error = success' messages... Andrew Bartlett
* Fix segfault in net commandVolker Lendecke2002-09-011-1/+1
|
* added cli_net_auth_3 client code.Jean-François Micouleau2002-08-302-2/+5
| | | | | | | | | | changed cli_nt_setup_creds() to call cli_net_auth_2 or cli_net_auth_3 based on a switch. pass also the negociation flags all the way. all the places calling cli_nt_setup_creds() are still using cli_net_aut2(), it's just for future use and for rpcclient. in the future we will be able to call auth_2 or auth_3 as we want. J.F.
* convert the LDAP/SASL code to use GSS-SPNEGO if possibleAndrew Tridgell2002-08-301-0/+4
| | | | | | | | | | | | | | | | we now do this: - look for suported SASL mechanisms on the LDAP server - choose GSS-SPNEGO if possible - within GSS-SPNEGO choose KRB5 if we can do a kinit - otherwise use NTLMSSP This change also means that we no longer rely on having a gssapi library to do ADS. todo: - add TLS/SSL support over LDAP - change to using LDAP/SSL for password change in ADS
* There's more work to be done on samsync. Intermediate commit, nowVolker Lendecke2002-08-291-5/+21
| | | | | | I get all the groups at least. Volker
* show builtin groups in samdumpAndrew Tridgell2002-08-291-33/+40
|
* 'No news is good news' might sometimes be confusing, at least to me :-)Volker Lendecke2002-08-281-1/+7
| | | | Volker
* Put in intermediate version of new SAM system. It's not stable yet, codeJelmer Vernooij2002-08-281-1/+1
| | | | | | | | | might be ugly, etc - please don't blame me for anything but instead try to fix the code :-). Compiling of the new sam system can be enabled with the configure option --with-sam Removing passdb/passgrp.c as it's unused fix typo in utils/testparm.c
* add hook for MSG_PRINTER_DRVUPGRADE that numps the change_id on all printers ↵Gerald Carter2002-08-271-0/+5
| | | | bound to a given driver
* a few minor cleanups in the cldap requestAndrew Tridgell2002-08-221-2/+26
|
* added a 'net rpc samdump' command for dumping the whole sam viaAndrew Tridgell2002-08-222-0/+163
| | | | samsync operations (as a BDC)
* This is like jht's (abortive) patch for showing only non-default testparmAndrew Bartlett2002-08-211-4/+6
| | | | | | options. Andrew Bartlett
* Patch from Paul Green <Paul.Green@stratus.com> to be more POSIX-compatibleJelmer Vernooij2002-08-211-0/+6
|
* pdbedit needs global_myname to be set in order to display theVolker Lendecke2002-08-211-1/+12
| | | | | | user SIDs correctly. Volker
* global_myname is a pstring, not an fstringVolker Lendecke2002-08-211-1/+1
|
* Add 'net rpc getsid' to fetch the PDC's SID into the local secrets.tdbVolker Lendecke2002-08-211-1/+55
| | | | | | Print domain SID on 'net rpc info' Volker
* just comment typosVolker Lendecke2002-08-211-15/+15
|
* Fix debug level initialization for net.cVolker Lendecke2002-08-211-1/+1
| | | | Volker
* print out the GUID in the CLDAP replyAndrew Tridgell2002-08-191-12/+11
|