summaryrefslogtreecommitdiffstats
path: root/source/include
Commit message (Collapse)AuthorAgeFilesLines
* beginning to sync up for 2.2.5 release....Gerald Carter2002-06-1710-38/+602
|
* This commit was manufactured by cvs2svn to create branchcvs2svn Import User2002-06-131-0/+14
|\ | | | | 'SAMBA_2_2_RELEASE'.
| * Merge in mangle fixes from 2.2.Jeremy Allison2002-06-131-2/+5
| | | | | | | | Jeremy.
| * Latest patch from metze <metze@metzemix.de> to move most of samba acrossAndrew Bartlett2002-06-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | to using SIDs instead of RIDs. The new funciton sid_peek_check_rid() takes an 'expected domain sid' argument. The idea here is to prevent mistakes where the SID is implict, but isn't the same one that we have in the struct. Andrew Bartlett
| * Removed eff_name field from cli_struct as it wasn't being used anywhere.Tim Potter2002-06-121-1/+0
| |
| * few fixes from Elrond(elrond@samba-tng.org) and Billy ↵Simo Sorce2002-06-111-5/+6
| | | | | | | | O'Connor(billy@oconnoronline.net)
| * Merge of Jerry's fix from 2.2.Jeremy Allison2002-06-101-3/+10
| | | | | | | | Jeremy.
| * Remove "sids.h" as it really wasn't being used anywhere, and was exportingAndrew Bartlett2002-06-102-40/+0
| | | | | | | | | | | | | | | | | | the (now static) global_sam_sid. The only place it was being used was to return global_sid_NULL to some uid->sid functions - and I'm not convinced this is correct in any case. Andrew Bartlett
| * Globally replace 'global_sam_sid' with get_global_sam_sid(), a selfAndrew Bartlett2002-06-071-1/+1
| | | | | | | | | | | | | | | | | | initialising function. This patch thanks to the work of "Stefan (metze) Metzmacher" <metze@metzemix.de> This is partly to enable the transition to SIDs in the the passdb. Andrew Bartlett
| * Add flags2 for security signituresAndrew Bartlett2002-06-071-0/+1
| |
| * Fix compile error - doh!Tim Potter2002-06-061-0/+4
| |
| * Moved some notify related constants into srv_spoolss_nt.c sinceTim Potter2002-06-061-4/+3
| | | | | | | | | | | | they're only used there. Added a PRINTER_NOTIFY_VERSION constant.
| * Add user name to netsessenum RPC to stop 1783 messagesJim McDonough2002-06-031-0/+3
| |
| * put the ifdef for HAVE_VA_COPY in one place rather than in lots ofAndrew Tridgell2002-06-031-0/+8
| | | | | | | | functions
| * Add rpc for file close, expand file enum to take usernameJim McDonough2002-06-011-0/+16
| |
| * Removed some unused variables - tidy up some formating, add struct toJeremy Allison2002-05-312-1/+16
| | | | | | | | | | client state to implement smb signing - this is a test at present. Jeremy.
| * Add error index to netshareadd rpc.Jim McDonough2002-05-311-0/+4
| |
| * Update netfileenum on both client and server sides to do an arbitrary numberJim McDonough2002-05-311-18/+12
| | | | | | | | | | of files. This was done to better enable net rpc file. Perhaps we can start giving back real info this way, too.
| * netfileenum was missing the username filter.Jim McDonough2002-05-311-0/+3
| |
| * Added some comments for NTLMSSP negotiation flags.Tim Potter2002-05-301-4/+4
| |
| * Cleaned up srvsvc constants a bit.Tim Potter2002-05-291-17/+17
| |
| * change: pdb_getsampwrid() ->pdb_getsampwsid()Simo Sorce2002-05-261-2/+2
| | | | | | | | | | | | passdb interface change, now the passdb modules will be asked for SID not for rid, the modules have been updated with a passthrough function that calls the old getsampwrid() functions. srv_samr_nt.c functions that made use of the pdb_getsampwrid funcion has been updated to use the SID one.
| * Add support for NTLMv2 (tested!) with NTLMSSP.Andrew Bartlett2002-05-261-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem was the NTLMv2 uses extra data in order to make reply/lookup more difficult. That extra data includes the hostname, and the domain. This matches Win2k (sort of) by sending this information. Win2k connects with LMCompatibilityLevel=5 without a problem. We can change the negotiation bits if we want, this should allow us to make NTLMv2 the default for other clients as well. Some of the extra #defines were found in the squid source. Andrew Bartlett
| * Move the authenticaion subsystem over to the same 'module:options' syntaxAndrew Bartlett2002-05-241-4/+5
| | | | | | | | | | | | | | | | | | | | that the passdb code now uses. Similarly, move the 'pluggable' stuff over from passdb as well, allowing runtime loading of new authenticaion modules. (NOTE: The interfaces here can *and do* change - module writers are not assured source-level compatibilty, and certainly not binary compatibility).
| * Don't duplicat this here, use the existing function prototype.Andrew Bartlett2002-05-241-4/+2
| |
| * Commit the header file for the LDAP/secrets changesAndrew Bartlett2002-05-221-0/+2
| |
| * uhh, forgot to commit the DBGC_WINBIND definition :-)Simo Sorce2002-05-211-11/+11
| |
| * so here it is the code to introduce seriously debugggging classes.Simo Sorce2002-05-181-11/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this is a first step only passdb stuff has beein "classized". - so what can you do? set debug level to: 1 poasdb:10 that will make all the code run at debug level 1 except the code in passdb/* files that will run at level 10 TODO: fix the man page - also smbcontrol has this nice feature so smbcontrol smbd debug 3 passdb:5 will set every smbd to have a default log level of 3 while passdb stuff will be at level 5 and so no.. minor cosmetic fix to pdbedit is there too
| * Oops, I missed commiting this earlier.Andrew Bartlett2002-05-181-3/+3
| | | | | | | | | | | | | | The idea is that pdb_add_sam_account() should have a non-const SAM_ACCOUNT, and update some of the the properties generated during the add. Andrew Bartlett
| * Include the extra #define for the last set of smbpasswd mods.Andrew Bartlett2002-05-181-0/+1
| |
| * A few things in this commit:Andrew Bartlett2002-05-181-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cleanup some of the code in net_rpc_join re const warnings and fstrings. Passdb: Make the %u and %U substituions in passdb work. This is done by declaring these paramters to be 'const' and doing the substitution manually. I'm told this is us going full circle, but I can't really see a better way. Finally these things actually seem to work properly... Make the lanman code use the pdb's recorded values for homedir etc rather than the values from lp_*() Add code to set the plaintext password in the passdb, where it can decide how to store/set it. For use with a future 'ldap password change' option, or somthing like that... Add pdb_unix, so as to remove the 'not in passdb' special cases from the local_lookup_*() code. Quite small, as it uses the new 'struct passwd -> SAM_ACCOUNT' code that is now in just one place. (also used by pdb_smbpasswd) Other: Fix up the adding of [homes] at session setup time to actually pass the right string, that is the unix homedir, not the UNC path. Fix up [homes] so that for winbind users is picks the correct name. (bad interactions with the default domain code previously) Change the rpc_server/srv_lsa_nt.c code to match NT when for the SATUS_NONE_MAPPED reply: This was only being triggered on no queries, now it is on the 'no mappings' (ie all mappings failed). Checked against Win2k. Policy Question: Should SID -> unix_user.234/unix_group.364 be considered a mapping or not? Currently it isn't. Andrew Bartlett
| * indentAndrew Bartlett2002-05-171-2/+2
| |
| * A few more trusted domains updates from mimir.Andrew Bartlett2002-05-171-1/+1
| | | | | | | | | | | | | | I think we may still need to look at our server enumeration code, but other than that, its much better in the tree than out. Andrew Bartlett
| * This removes --with-ssl from Samba.Andrew Bartlett2002-05-172-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This option was badly maintained, useless and confused our users and distirbutors. (its SSL, therfore it must be good...) No windows client uses this protocol without help from an SSL tunnel. I can't see any reason why setting up a unix-side SSL wrapper would be any more difficult than the > 10 config options this mess added to samba in any case. On the Samba client end, I think the LIBSMB_PROG hack should be sufficient to start stunnel on the unix side. We might extend this to take %i and %p (IP and port) if there is demand. Andrew Bartlett
| * Add configure support for __va_copy, which is required on Linux/390 systemsJim McDonough2002-05-161-0/+1
| | | | | | | | | | | | | | | | when assigning on va_list to another, or when passing a va_list as an argument to a function. Not using it causes segv's and other unpredictable results. We need to check all over the place for this...
| * First part of adding flags returns from name_query ...Richard Sharpe2002-05-141-0/+8
| | | | | | | | Do it bit-by-bit to ensure that no breakage creeps in.
| * Fix to include -Ipopt in getpass test.Jeremy Allison2002-05-111-1/+1
| | | | | | | | Jeremy.
| * Fix for Solaris nscd issue pointed out by Mike GerdtsTim Potter2002-05-101-1/+3
| | | | | | | | | | <Michael.Gerdts@alcatel.com>. The struct passwd in Solaris contains some extra fields which must be initialised otherwise nscd crashes.
| * Oops. Broke the build be removing MSG_PRINTER_UPDATE. Re-added as nextJeremy Allison2002-05-101-0/+1
| | | | | | | | | | free printer msg id. Jeremy.
| * Merged in printing fixes... There were many missing !Jeremy Allison2002-05-092-3/+3
| | | | | | | | Jeremy
| * Sync'ing SAMBA_2_2 with HEAD.Shirish Kalele2002-05-091-18/+26
| |
| * couple of PIDDIR merges I missedGerald Carter2002-05-091-0/+1
| |
| * Added cli_spoolss_enumjobs() function.Tim Potter2002-05-071-2/+2
| |
| * DOS error 1307 is returned when an invalid owner for a security descriptorTim Potter2002-05-071-0/+1
| | | | | | | | is detected.
| * patch from Alexander Bokovoy needed for dlopen on bsd systemsAndrew Tridgell2002-04-242-3/+9
| |
| * Added constant and message for invalid security descriptor dos error.Tim Potter2002-04-241-0/+1
| |
| * prototypes for some systems that don't have themAndrew Tridgell2002-04-241-0/+8
| |
| * Added Martin's lpq parse fixes from 2.2.Jeremy Allison2002-04-191-0/+3
| | | | | | | | Jeremy.
| * fixed the fallback to a BDC for ADS connectionsAndrew Tridgell2002-04-181-0/+1
| |
| * fixed a problem with the smb_buf() macro on some compilersAndrew Tridgell2002-04-161-1/+1
| |