summaryrefslogtreecommitdiffstats
path: root/source/include
Commit message (Collapse)AuthorAgeFilesLines
...
* LMHOSTSFILE is now dynamically configured too.Martin Pool2001-11-191-1/+1
|
* Store some path names in global variables initialized to configureMartin Pool2001-11-192-0/+32
| | | | default, rather than in preprocessor macros.
* I *love* removing code :-). Removed 4 files that weren't being used.Jeremy Allison2001-11-161-0/+1
| | | | | | All this stuff was being pulled in due to *one* unneeded call to fetch a domain SID which smbpasswd already puts in the database... Jeremy.
* Tidyups and things I discovered during the merge...Jeremy Allison2001-11-151-1/+1
| | | | Jeremy.
* more Win2k RPC opnums (EnumPrinterKey() and DeletePrinterDriverEx())Gerald Carter2001-11-151-0/+2
|
* SETPRINTERDATAEX is 0x4d (not 0x50). My mistake.Gerald Carter2001-11-151-1/+1
|
* Fix compile on RedHat 7.2 systems with broken system headers.Jeremy Allison2001-11-141-3/+1
| | | | Jeremy.
* verified two new win2k rpc's EnumPrinterDataEx() and DeletePrinterdataEx()Gerald Carter2001-11-131-6/+3
|
* Fix typo.Martin Pool2001-11-131-2/+0
|
* new Win2k spoolss rpc opnum (unknown right now).Gerald Carter2001-11-131-0/+6
|
* Fixed allocation bug in database prog. Some format fixes.Jeremy Allison2001-11-122-0/+4
| | | | Jeremy.
* Fixed a few typos and added the opnum for ADDPRINTERDRIVEREX to theGerald Carter2001-11-091-1/+8
| | | | rpc_spoolss.h header file.
* Fixup __LPID -> _LPID.Jeremy Allison2001-11-091-1/+1
| | | | Jeremy.
* Added more define bits. Fixed error in vol attributes.Jeremy Allison2001-11-081-3/+6
| | | | Jeremy.
* Wrote some stubs for new win2k only spoolss rpc commands:Tim Potter2001-11-051-1/+40
| | | | | GetPrinterDataEx() and SetPrinterDataEx(). Not sure what the command number is for the latter is - I haven't seen it on the wire yet.
* Fix for broken-as-shipped RedHat 7.2 system headers. Now we haveJeremy Allison2001-11-041-0/+12
| | | | | to detect this in configure. Jeremy.
* a big one:Simo Sorce2001-11-042-0/+11
| | | | | | | | | | | | | | | | | - old mangle code has gone, the new one based on tdb seem resonably ok probably the valid.dat table need to be updated to treat wild chars as invalid ones (work ok without it) - a LOT of new string manipulation function for unicode, they are somewhat tested but a review would not be bad - some new function I will need for the new unix_convert function I'm writing, this will be renamed filename_convert and use only unicode strings. - charconv, I attached a comment, if someone wnat to look if I'm right or just was hacking to late in the night to make a sane one :) of course any bug is my responsibility an will be pleased to see patches if you find any. :-) Simo.
* Added NT_USER_TOKEN into server_info to fix extra groups problem.Jeremy Allison2001-11-032-3/+5
| | | | | Got "medieval on our ass" about const warnings (as many as I could :-). Jeremy.
* Added many more defines in service category, user category and othersSteve French2001-11-031-0/+26
|
* This is a farily large patch (3300 lines) and reworks most of the AuthRewriteAndrew Bartlett2001-10-312-33/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | code. In particular this assists tpot in some of his work, becouse it provides the connection between the authenticaion and the vuid generation. Major Changes: - Fully malloc'ed structures. - Massive rework of the code so that all structures are made and destroyed using malloc and free, rather than hanging around on the stack. - SAM_ACCOUNT unix uids and gids are now pointers to the same, to allow them to be declared 'invalid' without the chance that people might get ROOT by default. - kill off some of the "DOMAIN\user" lookups. These can be readded at a more appropriate place (probably domain_client_validate.c) in the future. They don't belong in session setups. - Massive introduction of DATA_BLOB structures, particularly for passwords. - Use NTLMSSP flags to tell the backend what its getting, rather than magic lenghths. - Fix winbind back up again, but tpot is redoing this soon anyway. - Abstract much of the work in srv_netlog_nt back into auth helper functions. This is a LARGE change, and any assistance is testing it is appriciated. Domain logons are still broken (as far as I can tell) but other functionality seems intact. Needs testing with a wide variety of MS clients. Andrew Bartlett
* Added some extra fields to the auth_serversupplied_info structure.Tim Potter2001-10-311-0/+5
| | | | | | | | | To obtain the full group membership of a user (i.e nested groups on a win2k native mode server) it is necessary to merge this list of groups with the groups returned by winbindd when creating an nt access token. This breaks winbindd linking while AB and I sync up our changes to the authentication subsystem.
* Fix up smbpasswd -e/-d so that it doesn't change the password under you anyAndrew Bartlett2001-10-301-0/+1
| | | | | | | | | | | | | more. (Previously it set them to 'XXXX' or similar when only the flags were being changed - a bug I must have introduced when I reworked the passdb end of things a few weeks back.) Adds a new local flag: LOCAL_SET_PASSWORD to specify that the password is actually to be changed. Andrew Bartlett
* This commit is number 2 of 4.Andrew Bartlett2001-10-291-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In particular this commit focuses on: The guts of the moving about inside passdb. While these changes have been mildly tested, and are pretty small, any assistance in this is appreciated. ---- These changes allow for the introduction of a large dose of 'const' to the Samba tree. There are a number of good reasons to do this: - I want to allow the SAM_ACCOUNT structure to move from wasteful pstrings and fstrings to allocated strings. We can't do that if people are modifying these outputs, as they may well make assumptions about getting pstrings and fstrings - I want --with-pam_smbpass to compile with a slightly sane volume of warnings, currently its pretty bad, even in 2.2 where is compiles at all. - Tridge assures me that he no longer opposes 'const religion' based on the ability to #define const the problem away. - Changed Get_Pwnam(x,y) into two variants (so that the const parameter can work correctly): - Get_Pwnam(const x) and Get_Pwnam_Modify(x). - Reworked smbd/chgpasswd.c to work with these mods, passing around a 'struct passwd' rather than the modified username passdb/ - Kill off disp_info stuff, it isn't used any more - Kill off support for writing to the old smbpasswd format, it isn't relevent to Samba 3.0 - Move around and modify the pdb_...() helper functions, adding one that sets the last changed time to 'now' and that sets the must change time appropriately. - Remove the ugly forced update of the LCT- value in pdb_smbpasswd. - Remove the implicit modification of the ACB flags when both NT and LM passwords are set. - Removed substation in pdb_getsampwnam output, as a single password change will render them inoperable in any case (they will be substituted and stored) - Added a default RID to the init_sam_from_pw() function, based on our rid algorithm. - Added checks that an smbpasswd stored user has a uid-based RID. - Fail to store tdb based users without a RID lib/ - Change the substituion code to use global_myname if there is no connection (and therefore no called name) at the present time.
* Add popt for parsing commandline optionsJim McDonough2001-10-232-1/+6
|
* a quick fix to get rpcclient working again. This just disablesAndrew Tridgell2001-10-221-0/+1
| | | | | | | NTLMSSP in cli_establish_connection() What we really need to do is kill off the pwd_cache code. It is horrible, and assumes the challenge comes in the negprot reply.
* - fixed link order of krb5 libsAndrew Tridgell2001-10-221-6/+0
| | | | - accept a wide range of principal names in session setup
* Converted a bunch of 0x85 constants to SMBkeepalive.Tim Potter2001-10-201-0/+1
|
* Move from timestamp to gen count file id's for finding oplocked filesJeremy Allison2001-10-201-20/+23
| | | | | in a tdb. Jeremy.
* Ensure we mask off deny modes correctly on being set (this shouldn't haveJeremy Allison2001-10-191-1/+1
| | | | | | caused problems but is tidier). Fix debug statement in locking.c Jeremy.
* Added include guards around file.Jeremy Allison2001-10-191-0/+4
| | | | Jeremy
* Add rap.h for net utility and libsmbJim McDonough2001-10-191-0/+2
|
* Add header for common RAP definitionsJim McDonough2001-10-191-0/+478
|
* Restored old Bmpx code - actually used by OS/2.Jeremy Allison2001-10-192-0/+13
| | | | Jeremy.
* the beginnings of kerberos support in smbd. It doesn't work yet, butAndrew Tridgell2001-10-181-0/+4
| | | | | it should give something for others to hack on and possibly find what I'm doing wrong.
* added basic NTLMSSP support in smbd. This is still quite rough, andAndrew Tridgell2001-10-171-0/+6
| | | | | | loses things like username mapping. I wanted to get this in then discuss it a bit to see how we want to split up the existing session setup code
* very simple asynchronous "lpq" thread patchJean-François Micouleau2001-10-161-0/+1
| | | | | | | | | | | | To speed up operations with the lpq command, it's now run in a separate asynchronous process. Opening the Printers folder on NT is now fast ;-) I think even faster than with a ** server Jeremy, you should look at that patch to include it in 2.2.3 J.F.
* forgot to add intl.hAndrew Tridgell2001-10-141-0/+25
|
* the next step in the intl changeover. This should get us compiling agian,Andrew Tridgell2001-10-142-52/+1
| | | | | | | and also completes the switch to lang_tdb.c. SWAT should now work with a po file in the lib/ directory also removed useless SYSLOG defines in many files
* Moved to rpcclient subdirectory.Tim Potter2001-10-121-33/+0
|
* Some old stuff hanging around since the CIFS conference. Big cleanup ofTim Potter2001-10-121-1/+0
| | | | | | rpcclient code. Refactored cmd_* functions to move common mem_ctx and pipe opening stuff up one level. Moved rpcclient.h into rpcclient directory and out of includes/smb.h
* moved some OIDs to the ASN.1 headerAndrew Tridgell2001-10-121-0/+6
|
* added NTLMSSP authentication to libsmb. It seems to work well so I have ↵Andrew Tridgell2001-10-122-1/+2
| | | | enabled it by default if the server supports it. Let me know if this breaks anything. Choose kerberos with the -k flag to smbclient, otherwise it will use SPNEGO/NTLMSSP/NTLM
* added a ASN.1 parser, so now I can properly parse the negTokenInitAndrew Tridgell2001-10-111-0/+4
| | | | | | | | | packet which means I can extract the service and realm, so we should now work with realms other than the local realm. it also means we now check the list of OIDs given by the server just in case it says that it doesn't support kerberos. In that case we should fall back to NTLMSSP but that isn't written yet.
* first step in converting the head branch to use lang_tdb.c insteadAndrew Tridgell2001-10-111-64/+0
| | | | of gettext for internationalisation support. There is more to do
* profile.h is now known as smbprofile.h due to a conflict with badlyAndrew Tridgell2001-10-111-461/+0
| | | | written MIT kerberos5 header files :(
* initial kerberos/ADS/SPNEGO support in libsmb and smbclient. ToAndrew Tridgell2001-10-116-3/+518
| | | | | | | | | | activate you need to: - install krb5 libraries - run configure - build smbclient - run kinit to get a TGT - run smbclient with the -k option to choose kerberos auth
* Move CLI_POLICY_HND to be internal to winbindd.Tim Potter2001-10-051-9/+0
|
* removed old unused filesAndrew Tridgell2001-10-032-10730/+0
|
* Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter2001-10-021-1/+0
|
* Added copyright (not sure who owns it though) and #include guards.Tim Potter2001-10-021-0/+25
|