summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Named constants are always much better than magic numbers...Andrew Bartlett2002-01-011-2/+2
| | | | | | | | | | | | (I defined the constants when I put in 'net rpc shutdown') Andrew Bartlett
* | last_enum not used.Jeremy Allison2001-12-311-4/+0
| | | | | | | | Jeremy.
* | Fixed enumeration of a large (<1500) users from a Samba PDC to a W2kJeremy Allison2001-12-312-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.
* | added a simple test to see whether building shared libraries actuallyAndrew Tridgell2001-12-313-297/+346
| | | | | | | | works
* | ops, froget to set the values.Simo Sorce2001-12-311-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)
* | const religionSimo Sorce2001-12-311-3/+3
| |
* | port mods from 2.2Simo Sorce2001-12-311-3/+36
| |
* | reverted to 1.24 and manually merged in changes from 2.2Gerald Carter2001-12-311-194/+71
| |
* | cope with systems that don't have full gssapi libsAndrew Tridgell2001-12-316-663/+720
| |
* | more irix -64 portability fixesAndrew Tridgell2001-12-315-18/+9
| |
* | - portablitity fixes for cc -64 on irixAndrew Tridgell2001-12-316-11/+10
| | | | | | | | - fixed gid* bug in rpc_server
* | Ensure the output cli can't have spurious values if the connection fails...Andrew Bartlett2001-12-311-1/+7
| |
* | Add 'net rpc shutdown' and 'net rpc abortshutdown'.Andrew Bartlett2001-12-314-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
* | Fix up the comment in the copyright headerAndrew Bartlett2001-12-311-2/+1
| |
* | Give the main loop talloc context a name (using mbp's new talloc namingAndrew Bartlett2001-12-311-1/+1
| | | | | | | | | | | | system). Andrew Bartlett
* | Make --with-tdbsam compile again, given the new 'am I setting a default' flags.Andrew Bartlett2001-12-311-4/+4
| | | | | | | | Andrew Bartlett
* | Allow this to build without LDAP, as per the example below it.Andrew Bartlett2001-12-311-1/+1
| | | | | | | | Andrew Bartlett
* | fix compile errorGerald Carter2001-12-311-1/+3
| |
* | removed extern samlogon_userGerald Carter2001-12-311-6/+0
| |
* | remove samlogon_userGerald Carter2001-12-311-10/+1
| |
* | some merges from 2.2. Still need to merge in changes from pdb_tdb.cGerald Carter2001-12-316-217/+439
| | | | | | | | | | but it will take more time as I don't want to loose any fixes that are only in HEAD.
* | freeing the wrong pointer, sorry my mistake.Simo Sorce2001-12-301-5/+5
| |
* | Unicode byte ording fix from Benjamin Kuit <bj@it.uts.edu.au>Tim Potter2001-12-301-1/+1
| |
* | util_sid.c - respect a const variabile (addedd strdup)Simo Sorce2001-12-304-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
* | Add a pile of doxygen style comments to various parts of Samba. Many of theseAndrew Bartlett2001-12-307-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
* | Finally remove these files, which moved (by cvs backend magic) to source/authAndrew Bartlett2001-12-302-1668/+0
| | | | | | | | at the start of the month.
* | Finish idra's cleanup of the RPC remote shutdown code.Andrew Bartlett2001-12-302-7/+4
| |
* | remove unneaded memory leaking code.Simo Sorce2001-12-301-16/+0
| |
* | Fix the compile on systems without a full kerberos kit.Andrew Bartlett2001-12-301-1/+3
| | | | | | | | Andrew Bartlett
* | Make Samba compile on RH 6.2 again.Andrew Bartlett2001-12-307-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
* | When running interactive we want to set our own process group forJeremy Allison2001-12-306-4/+34
| | | | | | | | | | signal management. Jeremy.
* | pdb_getsampwnuid() merge from 2.2Gerald Carter2001-12-305-156/+29
| |
* | Documented -i modes for nmbd/smbd.Jeremy Allison2001-12-292-0/+22
| | | | | | | | Jeremy.
* | Fixup -i interactive modes.Jeremy Allison2001-12-292-11/+18
| | | | | | | | Jeremy.
* | Removed extra lp_adduser() call.Jeremy Allison2001-12-292-17/+4
| | | | | | | | | | Fixed up error returns in get_correct_cversion(). Jeremy.
* | file Samba-LDAP-HOWTO.sgml was initially added on branch SAMBA_2_2.Gerald Carter2001-12-291-0/+0
| |
* | passing NULL to print_queue_status()'s status parameter could end in a segfaultSimo Sorce2001-12-291-1/+2
| |
* | removed unused filesGerald Carter2001-12-284-2320/+0
| |
* | merge from 2.2Gerald Carter2001-12-281-0/+1
| |
* | moving SAM_ACCOUNT to include a bit field for initializedGerald Carter2001-12-279-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
* | sync with 2.2Gerald Carter2001-12-268-0/+790
| |
* | merge Jeremy's gcc3 warning fix from 2.2Herb Lewis2001-12-221-1/+1
| |
* | sync up packaging scriptsHerb Lewis2001-12-222-25/+49
| |
* | merge IRIX winbind support from Samba 2.2 branchHerb Lewis2001-12-225-757/+1323
| |
* | Removed unused variables.Jeremy Allison2001-12-211-2/+0
| | | | | | | | Jeremy.
* | The jf_get_sampasswd_entries() is not used anymore.Jeremy Allison2001-12-211-335/+0
| | | | | | | | Jeremy.
* | added a copyright notice.Jean-François Micouleau2001-12-214-1/+4
| | | | | | | | J.F.
* | doesn't keep track of the struct's size we enumerate. W2K doesn'tJean-François Micouleau2001-12-213-77/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | calculate them and always reply a size of 32 bytes whereas NT4 did the maths. Anyway, it looks like the clients don't complain. in query_dom_info() at level 2, return the real number of users and groups. That's the fix to the W95/98 userlist bug ! as W95/98 does a query_dom_info(2) followed by a query_disp_info(4) on the SAME context handle (err we call it an lsa policy handle ! plain wrong name), I was tempted to keep the snapshoot in memory, to prevent 2 full user db enumerations in a row and just have one shared. But if some client does the 2 calls on two different handles, we would have 2 copies in memory not free'ed before the samr_close(). We still have too many fixed constant and too many magic values in that code. And btw, I really hates how the sequence number is generated ! J.F.
* | Fixup some DEBUG statements (0 -> 10).Jeremy Allison2001-12-211-3/+3
| | | | | | | | Jeremy.
* | close some handles. not really necessary but doesn't hurt.Jean-François Micouleau2001-12-211-0/+3
| | | | | | | | J.F.