summaryrefslogtreecommitdiff
path: root/source3/rpcclient/samsync.c
AgeCommit message (Collapse)AuthorFilesLines
2002-08-30added cli_net_auth_3 client code.Jean-François Micouleau1-1/+2
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. (This used to be commit 4d38caca40f98d0584fefb9d66424a3db5b5789e)
2002-08-22Added some new delta types discovered by Ronnie from ethereal"Tim Potter1-2/+2
- SAM_DELTA_RENAME{USER,GROUP,ALIAS} - SAM_DELTA_DELETE{USER,GROUP} Renamed some of the unknown delta types and their unmarshalling functions: - SAM_DELTA_TRUST_DOMS - SAM_DELTA_SECRET_INFO (This used to be commit 1f29276c2ff450c4ca3705c27fb0be71ddcda4ad)
2002-08-22added a 'net rpc samdump' command for dumping the whole sam viaAndrew Tridgell1-2/+2
samsync operations (as a BDC) (This used to be commit e4cb106d2e3e6a41529369545a7a6ce5fe6d8986)
2002-08-22A few fixes towards libsmbclient and rpcclient - get pointer types right andAndrew Bartlett1-7/+7
try to keep to functions inside libsmbclient. Andrew Bartlett (This used to be commit 340bc31fdb031d79fa87de27c2c46215dd8113a3)
2002-08-22Move commentAndrew Bartlett1-2/+3
(This used to be commit 009b331182b1338e07968388004f5d44b835e7f5)
2002-07-29Our include popt is starting to get a bit old - fixed some compileTim Potter1-3/+3
problems here. Also fixed some non-constant initialisers in samsync. (This used to be commit 33bd7214736dafd5927d63af5f8510646b81e7df)
2002-07-29We don't need this silly unix username stuff. NT username is basicly unused,Andrew Bartlett1-13/+3
and must == unix username for sane implementation in passdb. Andrew Bartlett (This used to be commit 412c791980de7f88a926b2f9ed361f0f882594c8)
2002-07-29Started to get samsync to insert account information in the passdb. It'sTim Potter1-110/+309
pretty half-arsed at the moment and doesn't work very well but Mr Bartlett was interested in it. Also started playing around with the more interesting bits of popt. The auto-generated usage information is pretty neat. (This used to be commit b3e51bfe6c13f1d20e599f675332f0489d8462e7)
2002-07-21Tpot missed one...Andrew Bartlett1-1/+1
(This used to be commit 28373e5bc2acc09a9e4c9dab3f76c21d04850dde)
2002-06-25Update cli_full_connection() to take a 'flags' paramater, and try to get aAndrew Bartlett1-1/+1
few more places to use it. Andrew Bartlett (This used to be commit 23689b0746d5ab030d8693abf71dd2e80ec1d7c7)
2002-05-24Remove the password length paramater from cli_full_connection - it reallyAndrew Bartlett1-1/+1
didn't make any sense, and its was always just strlen(password) anyway. This fixes it to be strlen(password)+1 Andrew Bartlett (This used to be commit c205b18bd6b9b69200ff3db55f2c641631d4ab40)
2002-05-23Given Jeremy's positive response, and a lack of one from tpot, I'll commitAndrew Bartlett1-48/+11
this: More code cleanup - this lot a bit more dodgy than the last: The aim is to trim pwd_cache down to size. Its overly complex, and a pain to deal with. With a header comment like this: 'obfusticaion is planned' I think it deserved to die (at least partly). This was being done to allow 'cli_establish_connection' to die - its functionality has been replaced by cli_full_connection(), which does not duplicate code everywhere for creating names etc. This also removes the little 'init' fucntions for the various pipes, becouse they were only used in one place, and even then it was dodgy. (I've reworked smbcacls not to use anonymous connections any more, as this will (should) fail with a 'restrict anonymous' PDC). This allowed me to remove cli_pipe_util.c, which was calling cli_establish_connection. tpot: I'm not sure what direction you were going with the client stuff, and you may well have been wanting the init functions. If thats the case, give me a yell and I'll reimplement them against cli_full_connection. Andrew Bartlett (This used to be commit fa67e4626bed623333c571e76e06ccd52cba5cc5)
2002-03-17Renamed get_nt_error_msg() to nt_errstr().Tim Potter1-1/+1
(This used to be commit 1f007d3ed41c1b71a89fa6be7d173e67e927c302)
2002-03-02Allow Samba to trust NT4 Domains.Andrew Bartlett1-1/+1
This commit builds on the auth subsystem to give Samba support for trusting NT4 domains. It is off by default, but is enabled by adding 'trustdomain' to the 'auth methods' smb.conf paramater. Tested against NT4 only - there are still some issues with the join code for Win2k servers (spnego stuff). The main work TODO involves enumerating the trusted domains (including the RPC calls to match), and getting winbind to run on the PDC correctly. Similarly, work remains on getting NT4 to trust Samba domains. Andrew Bartlett (This used to be commit ac8c24a9a888a3f916e8b40238b936e6ad743ef7)
2002-01-30Removed version number from file header.Tim Potter1-2/+1
Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
2001-12-20Removed global debugf. Replaced with lp_set_logfile(name).Jeremy Allison1-2/+3
Fixed winbindd to finally stop leaving log. file droppings :-). Jeremy. (This used to be commit 0bea6cf79a44f79fa3a4f2c8381e898e79c66509)
2001-12-13update the ldap support code. it compiles.Jean-François Micouleau1-4/+7
Ignacio you can update your howto ;-) samsync: a small patch to try chaning challenges. J.F. (This used to be commit c99bc305599698f2291efbfe20024355cb2bcde0)
2001-12-12added a -V[erbose] option to samsync. Decode a lot of informationJean-François Micouleau1-17/+274
I'm looking at chaining the credentials J.F. (This used to be commit d49c8e4d3d64b48e243d0f517b9e7f037103af13)
2001-12-11Compile fix.Tim Potter1-2/+2
(This used to be commit 83caa883d79c2d954749d21fced808bda970ec56)
2001-11-26dyn_CONFIGFILE fixups.Tim Potter1-4/+3
(This used to be commit 7d10fa208248e201946876168743025866e011fc)
2001-11-23Removed TimeInit() call from every client program (except for one placeTim Potter1-2/+0
in smbd/process.c where the timezone is reinitialised. Was replaced with check for a static is_initialised boolean. (This used to be commit 8fc772c9e5770cd3a8857670214dcff033ebae32)
2001-11-19Store some path names in global variables initialized to configureMartin Pool1-2/+2
default, rather than in preprocessor macros. (This used to be commit 79ec88f0da40faebe1e587f1b3e87b5f2b184f58)
2001-11-05Fixed some compiler warnings.Tim Potter1-8/+8
(This used to be commit 7c3090fb2017eb08b8785f0b6e4eb98ab9246bbc)
2001-10-02Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter1-2/+0
(This used to be commit 2d0922b0eabfdc0aaf1d0797482fef47ed7fde8e)
2001-09-14Produce correct lanman and nt hashes in samsync smbpasswd output. TheTim Potter1-5/+24
output from samsync -p produces the same output as running PWDUMP.EXE on the domain controller except it happens via the sam synchronisation protocol. (This used to be commit 5da98620021cda92d4752e7388f0e0cdfcd0e8cd)
2001-09-06Converted to NTSTATUS return codes.Tim Potter1-17/+92
Started on producing smbpasswd output from user account information. Doesn't work yet. Added -U option so samsync can be run interactively. (This used to be commit 842fcd94fa847f71d828a46b092f5837743ffcde)
2001-08-28Start of samsync program invoked by smbd to perform sam synchronisation andTim Potter1-0/+270
sam replication. It doesn't work yet. (-: (This used to be commit c96aae613dfe97808dedffc836c5d4cc9ae52185)