summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-01-01Allow usernames in the form of 'NT_STATUS_....' to map to that as the errorAndrew Bartlett1-0/+6
when using the 'name_to_ntstatus' auth module. This could be useful in testing. Andrew Bartlett (This used to be commit 5cdc67d0bda8ef41305cae9c5be70d11593ffdd8)
2002-01-01Now that winbind doesn't rely on this, we may as well remove it...Andrew Bartlett1-108/+0
Andrew Bartlett (This used to be commit 6673fdda3cb6b90189d8f82274fdffa89f68101b)
2002-01-01Further rpc_client removal, this time from winbindd.Andrew Bartlett3-45/+62
Also removed the dependency on auth_util.o, which makes things nicer. Finally, this kills off the NECESSARY_BECAUSE_SAMBA_DEPENDENCIES_ARE_SO_BROKEN_OBJ makefile variable - becouse Samba dependencies are starting to be sane again! Andrew Bartlett (This used to be commit 4609edcac3b70c11025f0c5aa0ddbeed93369c84)
2002-01-01renamed ans1.h to asn_1.h to prevent conflict caused by krb5 headersAndrew Tridgell2-1/+1
on some platforms using "" instead of <> in include statements (This used to be commit d0ba307032340a22d77cb1d8fc78b4234e1a963c)
2002-01-01A farily large commit:Andrew Bartlett12-191/+166
- Move rpc_client/cli_trust.c to smbd/change_trust_pw.c - It hasn't been used by anything else since smbpasswd lost its -j - Add a TALLOC_CTX to the auth subsytem. These are only valid for the length of the calls to the individual modules, if you want a longer context hide it in your private data. Similarly, all returns (like the server_info) should still be malloced. - Move the 'ntdomain' module (security=domain in oldspeak) over to use the new libsmb domain logon code. Also rework much of the code to use some better helper functions for the connection - getting us much better error returns (the new code is NTSTATUS). The only remaining thing to do is to figure out if tpot's 0xdead 0xbeef for the LUID feilds is sufficient, or if we should do random LUIDs as per the old code. Similarly, I'll move winbind over to this when I get a chance. This leaves the SPOOLSS code and some cli_pipe code as the only stuff still in rpc_client, at least as far as smbd is concerned. While I've given this a basic rundown, any testing is as always appriciated. Andrew Bartlett (This used to be commit d870edce76ecca259230fbdbdacd0c86793b4837)
2002-01-01Add a specialised version of tpot's libsmb samlogon code for use withAndrew Bartlett1-0/+86
presupplied challange-response pairs, and only using the 'network' version. This will be used to move the auth subsystem over to a libsmb (rather than rpc_client) base. Andrew Bartlett (This used to be commit fe9d77791583737320f8c7560861168df7388c2f)
2002-01-01Fix up C99 comment.Andrew Bartlett1-1/+1
// -> /* */ (This used to be commit a308abbab717df56b982adf1717da96603d2045f)
2002-01-01Named constants are always much better than magic numbers...Andrew Bartlett1-2/+2
(I defined the constants when I put in 'net rpc shutdown') Andrew Bartlett (This used to be commit 4d90cc1d991f3894b9f39b2a75078148834701bb)
2001-12-31last_enum not used.Jeremy Allison1-4/+0
Jeremy. (This used to be commit efbec935fe727d5d5bd852c7bae9baf92df18686)
2001-12-31Fixed enumeration of a large (<1500) users from a Samba PDC to a W2kJeremy Allison2-7/+1
member server. Firstly, use the same max enumeration size (0x400) as W2K uses, otherwise W2K won't ask for any more. Secondly, if a enumeration request with a non-zero offset comes in on a handle that hasn't started an enumeration, don't bitch about it (return NT_STATUS_UNSUCCESSFUL), just load the db on that handle and return at that offset. Jeremy. (This used to be commit 0b7da4a50ea02e28ab23e71de1e5f8b9194a9af3)
2001-12-31added a simple test to see whether building shared libraries actuallyAndrew Tridgell3-297/+346
works (This used to be commit 3aeefbca4f272f57e83e753177ee6e8157b2dbd5)
2001-12-31ops, froget to set the values.Simo Sorce1-1/+7
jerry, can you look at theis where we use standard_sub_advanced() fns? I think this structure should be backported to 2.2 because we do not know if the SAM_ACCOUNT strings have enough space to contain the "substituted" string. (Yes, just now we know they are pstrings, but we may change them into alloced one, I'm a strong suported of alloced strings as 1024 bytes are not always enough and are often too much) (This used to be commit 29b3b5e9292805aa65e887755567abd50f74e5cb)
2001-12-31const religionSimo Sorce1-3/+3
(This used to be commit c0904d96170a9166b8cd405b75ce4a9bbc32ad1b)
2001-12-31port mods from 2.2Simo Sorce1-3/+36
(This used to be commit f796f18a83cd2fc0988612aa38c794f005efbfaf)
2001-12-31reverted to 1.24 and manually merged in changes from 2.2Gerald Carter1-194/+71
(This used to be commit 466f515240aaeca7b0fe2b7b3474ab23cab687cc)
2001-12-31cope with systems that don't have full gssapi libsAndrew Tridgell6-663/+720
(This used to be commit c4d928e55fe99a3a1c4e53508a44949f92d74219)
2001-12-31more irix -64 portability fixesAndrew Tridgell5-18/+9
(This used to be commit 65e857b36e170e3ecd78bf6695ae73342e9c04cd)
2001-12-31- portablitity fixes for cc -64 on irixAndrew Tridgell6-11/+10
- fixed gid* bug in rpc_server (This used to be commit 48aa90c48c5f0e3054c4acdc49668e222e7c0d36)
2001-12-31Ensure the output cli can't have spurious values if the connection fails...Andrew Bartlett1-1/+7
(This used to be commit 2d1612dd3560bb5ef35fa1eeee00e3d7976bcd62)
2001-12-31Add 'net rpc shutdown' and 'net rpc abortshutdown'.Andrew Bartlett4-7/+181
These two little features are very useful, but the passing of options about needs some serious work. The popt stuff in the shutdown code is #ifdef'ed out until the main popt loop can be convinced not to chew on the options :-( Andrew Bartlett (This used to be commit 51c985be7fbfe5627c5b2590e7610653e7be98e3)
2001-12-31Fix up the comment in the copyright headerAndrew Bartlett1-2/+1
(This used to be commit 45042bef7cdede6f991572677654903bbf7d9144)
2001-12-31Give the main loop talloc context a name (using mbp's new talloc namingAndrew Bartlett1-1/+1
system). Andrew Bartlett (This used to be commit f0c301a12eb142add488a2da55591269dfc15f77)
2001-12-31Make --with-tdbsam compile again, given the new 'am I setting a default' flags.Andrew Bartlett1-4/+4
Andrew Bartlett (This used to be commit 20d7c5d9b9bc0a426897f21b3350933602abdbf1)
2001-12-31Allow this to build without LDAP, as per the example below it.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit f60e4450018fc06c9f8ce18e62c29fd968d55daa)
2001-12-31fix compile errorGerald Carter1-1/+3
(This used to be commit c946c6bbc8192f5f0f3706d1b4a6cca0a994f36b)
2001-12-31removed extern samlogon_userGerald Carter1-6/+0
(This used to be commit a7dc0febe4285b70d3ff5b27505b2681731bfba1)
2001-12-31remove samlogon_userGerald Carter1-10/+1
(This used to be commit a5f4559b2aade54f1c0f717eea21881f482faff2)
2001-12-31some merges from 2.2. Still need to merge in changes from pdb_tdb.cGerald Carter6-217/+439
but it will take more time as I don't want to loose any fixes that are only in HEAD. (This used to be commit efcde5d9d8ce44c0613764504d797be54ba21473)
2001-12-30freeing the wrong pointer, sorry my mistake.Simo Sorce1-5/+5
(This used to be commit ce7e89949ae1755f9faa008784a5b1a9b137945e)
2001-12-30Unicode byte ording fix from Benjamin Kuit <bj@it.uts.edu.au>Tim Potter1-1/+1
(This used to be commit 6b7e9d03cf6093f1108642deddb0f8cc42e59067)
2001-12-30util_sid.c - respect a const variabile (addedd strdup)Simo Sorce4-30/+62
cli_reg.c - indentation pdb_ldap.c - some checks on init fns parameters pdb_tdb.c - some checks on init fns parameters + make sure we close the db on failure (This used to be commit 49f5cb7a3df6d673f86e6769319aa657e30d8380)
2001-12-30Add a pile of doxygen style comments to various parts of Samba. Many of theseAndrew Bartlett7-107/+356
probably will never actually be genearted, but I like the style in any case. Also fix a segfault in 'net rpc' when the login failed and a small memory leak on failure in the auth_info.c code. Andrew Bartlett (This used to be commit 2efae7cc522651c22fb120835bc800645559b63e)
2001-12-30Finally remove these files, which moved (by cvs backend magic) to source/authAndrew Bartlett2-1668/+0
at the start of the month. (This used to be commit 30ef625897cd025e1895c932b55dee027f060413)
2001-12-30Finish idra's cleanup of the RPC remote shutdown code.Andrew Bartlett2-7/+4
(This used to be commit 79031b68ce6bdf882d9c9bd4f3310f597e0c1fda)
2001-12-30remove unneaded memory leaking code.Simo Sorce1-16/+0
(This used to be commit d2c663185e13974f953a60adf1b191b56bfa08f4)
2001-12-30Fix the compile on systems without a full kerberos kit.Andrew Bartlett1-1/+3
Andrew Bartlett (This used to be commit 33ae29028bffccf5a9cdd8d44b08c27b9d8fd982)
2001-12-30Make Samba compile on RH 6.2 again.Andrew Bartlett7-62/+102
We now include the libber.h file if required, but currently we just don't use ldap. (I'll chase this up). In the meantime, I've moved the ads_status code about, its now in its own file, and has a couple of #ifdefs to allow smbd to link - becouse the lack of LDAP caused HAVE_ADS to be undefined. (I hope its not too ugly). Andrew Bartlett (This used to be commit 14407c87e2dcccae1784290e3eb7a2d611516aff)
2001-12-30When running interactive we want to set our own process group forJeremy Allison6-4/+34
signal management. Jeremy. (This used to be commit fffae94dd5699f44c0b1c8081587deafd89b3fc0)
2001-12-30pdb_getsampwnuid() merge from 2.2Gerald Carter5-156/+29
(This used to be commit 54cbfc7ebcdf1bd2094407b689b0050f0abfa46f)
2001-12-29Documented -i modes for nmbd/smbd.Jeremy Allison2-0/+22
Jeremy. (This used to be commit a076e2e4c512cd2ef2f9c38447c44d93e4b6ac57)
2001-12-29Fixup -i interactive modes.Jeremy Allison2-11/+18
Jeremy. (This used to be commit 9343b613d3778b0330bc4d610d3befd363797360)
2001-12-29Removed extra lp_adduser() call.Jeremy Allison2-17/+4
Fixed up error returns in get_correct_cversion(). Jeremy. (This used to be commit 7ce2d1fe37d2be26c407f3dc9427851d00ca216a)
2001-12-29file Samba-LDAP-HOWTO.sgml was initially added on branch SAMBA_2_2.Gerald Carter1-0/+0
(This used to be commit d57c43fd05d8759f09c8c460baeb513a8ed41479)
2001-12-29passing NULL to print_queue_status()'s status parameter could end in a segfaultSimo Sorce1-1/+2
(This used to be commit 79254d2b0490ba400832ef6d460895d45cc4273f)
2001-12-28removed unused filesGerald Carter4-2320/+0
(This used to be commit c6d867b55273167a0adaeb979062752edeb09549)
2001-12-28merge from 2.2Gerald Carter1-0/+1
(This used to be commit 241b5218ea5ad83ecb02a0f838e84abee0672371)
2001-12-27moving SAM_ACCOUNT to include a bit field for initializedGerald Carter9-100/+91
members (such as uid and gid). This way we will be able to keep ourselves from writing out default smb.conf settings when the admin doesn't want to, That part is not done yet. Tested compiles with ldap/tdb/smbpasswd. Tested connection with smbpasswd backend. oh...and smbpasswd doesn'y automatically expire accounts after 21 days from the last password change either now. Just ifdef'd out that code in build_sam_account(). Will merge updates into 2.2 as they are necessary. jerry (This used to be commit f0d43791157d8f04a13a07d029f203ad4384d317)
2001-12-26sync with 2.2Gerald Carter8-0/+790
(This used to be commit aca58b0b72d2eb5024b4d5103fde5b281212d714)
2001-12-22merge Jeremy's gcc3 warning fix from 2.2Herb Lewis1-1/+1
(This used to be commit 52e9d2c383371e64e498bbdb4a3f0e8583ca77a0)
2001-12-22sync up packaging scriptsHerb Lewis2-25/+49
(This used to be commit 3999e13ef89acd51df4cf215959eccd6217c86e3)