summaryrefslogtreecommitdiffstats
path: root/source3/include
Commit message (Collapse)AuthorAgeFilesLines
* 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. (This used to be commit 9d3933a59219388c209d8be4ae6decfa337d229f)
* Add user name to netsessenum RPC to stop 1783 messagesJim McDonough2002-06-031-0/+3
| | | | (This used to be commit 18854bcd2df88ab49c263c86d111a50d83411885)
* put the ifdef for HAVE_VA_COPY in one place rather than in lots ofAndrew Tridgell2002-06-031-0/+8
| | | | | functions (This used to be commit 1cf3228fdc20f0314d1f8e71ad710a5e548b3f72)
* Add rpc for file close, expand file enum to take usernameJim McDonough2002-06-011-0/+16
| | | | (This used to be commit 4b18a94590a25882f06f88c3c7dd1a08bf990044)
* 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. (This used to be commit a234e303558a25c4ea26b7f6788006e4fee651bf)
* Add error index to netshareadd rpc.Jim McDonough2002-05-311-0/+4
| | | | (This used to be commit ea55d470e485a0448428c60a12fbb4a42c6b2019)
* 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. (This used to be commit b3fea72ee9abd2441a49c35442c54819e4ba16ba)
* netfileenum was missing the username filter.Jim McDonough2002-05-311-0/+3
| | | | (This used to be commit 8fc3dba8bd99c55bef9ac137976dd35134a49342)
* Added some comments for NTLMSSP negotiation flags.Tim Potter2002-05-301-4/+4
| | | | (This used to be commit 742413b2846af44ac43830f488c15c5c11c1cb27)
* Cleaned up srvsvc constants a bit.Tim Potter2002-05-291-17/+17
| | | | (This used to be commit ca61f68d5ca8791bea34732bd358cfb63273fc5c)
* 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. (This used to be commit f5c6496c33fa7f5c2826540ffb4a49d8a5790fb3)
* 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 (This used to be commit 17a5f67b3d1935baf6197ae967624eb847b66ac8)
* 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). (This used to be commit 3897cf5e048f50be91ae434f636affc6d539d0d1)
* Don't duplicat this here, use the existing function prototype.Andrew Bartlett2002-05-241-4/+2
| | | | (This used to be commit 18c6db6a0014fd23383361485ec03eb871a85faa)
* Commit the header file for the LDAP/secrets changesAndrew Bartlett2002-05-221-0/+2
| | | | (This used to be commit 5512618d3493a04c84a43beaa752c307bce146fc)
* uhh, forgot to commit the DBGC_WINBIND definition :-)Simo Sorce2002-05-211-11/+11
| | | | (This used to be commit efb119fb88a511e026239773422242fff636ae13)
* 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 (This used to be commit be5c3b3f5781ddc002ffcc98df04ab024dcef4ca)
* 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 (This used to be commit b014d9ae4bc38d83d474888b73d350a62704341f)
* Include the extra #define for the last set of smbpasswd mods.Andrew Bartlett2002-05-181-0/+1
| | | | (This used to be commit bf82ac14c826a765b33d368e4cb62c7fb3cd3c4f)
* 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 (This used to be commit c28668068b5a3b3cf3c4317e5fb32ec9957f3e34)
* indentAndrew Bartlett2002-05-171-2/+2
| | | | (This used to be commit 173aac4a810782dddc85494c328a6917cb3fe0c2)
* 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 used to be commit d57a1b4629d12a0374cc6d74dfc6f5d4793fcef8)
* 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 (This used to be commit b04561d3fd3ee732877790fb4193b20ad72a75f8)
* 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... (This used to be commit 331132678c2e25e5f220de34968f6b16f4fbbc97)
* 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. (This used to be commit bccbf3569801e8f16aed897c9d04c3f7e1430641)
* Fix to include -Ipopt in getpass test.Jeremy Allison2002-05-111-1/+1
| | | | | Jeremy. (This used to be commit 41cec26ee36458c2f6fdf768d25a83031e4d5bbb)
* 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. (This used to be commit a67323d07177ebc8e46dc14476efaf7e95944504)
* Oops. Broke the build be removing MSG_PRINTER_UPDATE. Re-added as nextJeremy Allison2002-05-101-0/+1
| | | | | | free printer msg id. Jeremy. (This used to be commit 64c819b71e6b8831106847153fbbc3123602b397)
* Merged in printing fixes... There were many missing !Jeremy Allison2002-05-092-3/+3
| | | | | Jeremy (This used to be commit 32fa089adead6ff3279172fd36560f4f9e2aeef0)
* Sync'ing SAMBA_2_2 with HEAD.Shirish Kalele2002-05-091-18/+26
| | | | (This used to be commit d926cc989690684ec4799ebb3a3a01e8d4173de6)
* couple of PIDDIR merges I missedGerald Carter2002-05-091-0/+1
| | | | (This used to be commit 6aa31435388fdd1569884479e7e0b80714658fb6)
* Added cli_spoolss_enumjobs() function.Tim Potter2002-05-071-2/+2
| | | | (This used to be commit aaa996355287fcd86873697f51a069ccb5a908b9)
* DOS error 1307 is returned when an invalid owner for a security descriptorTim Potter2002-05-071-0/+1
| | | | | is detected. (This used to be commit 0377448b8c3e2bd8d5bc9f49a585292dc5c5b5a1)
* patch from Alexander Bokovoy needed for dlopen on bsd systemsAndrew Tridgell2002-04-242-3/+9
| | | | (This used to be commit 38fd99e84176106ed700f637e9292d2a4c1385b4)
* Added constant and message for invalid security descriptor dos error.Tim Potter2002-04-241-0/+1
| | | | (This used to be commit 0827bd4184256a87d6cf6c58bc314309503da7be)
* prototypes for some systems that don't have themAndrew Tridgell2002-04-241-0/+8
| | | | (This used to be commit 2dde9f711979c04cd02107447395a55307f7a30a)
* Added Martin's lpq parse fixes from 2.2.Jeremy Allison2002-04-191-0/+3
| | | | | Jeremy. (This used to be commit 3853234c2649c501e9876f940f802be86cb6383d)
* fixed the fallback to a BDC for ADS connectionsAndrew Tridgell2002-04-181-0/+1
| | | | (This used to be commit 3e58a1ee83ea0b4347ce24e566445cc6cb67bb3a)
* fixed a problem with the smb_buf() macro on some compilersAndrew Tridgell2002-04-161-1/+1
| | | | (This used to be commit 66d6d4810ab7b0a1bf2039c387938aad69e01569)
* reran configure after adding a test for strnlen()Andrew Tridgell2002-04-161-0/+3
| | | | (This used to be commit 78ead781261d397ace22640e3820d0f4fe17722c)
* i forgot to commit these parts of the string handling patch earlier. Sorry.Andrew Tridgell2002-04-161-1/+4
| | | | (This used to be commit bac0093a9713416b1679d1bc167b70f02b06ef78)
* Added hex values as comments for the standard access rights.Tim Potter2002-04-151-5/+5
| | | | (This used to be commit 00511ae2b4bc0ef3bfda89cc0ae3e1fba092b6d6)
* Added a status code for lsa_lookup_{sids,names} returning the fact thatTim Potter2002-04-141-0/+1
| | | | | only some of the entries could be resolved. (This used to be commit 0722e71d1ef59a72567f383e3572546ab78e9e6a)
* Partly based on the work by mimir (Rafal SzczesniakAndrew Bartlett2002-04-143-6/+21
| | | | | | | | | | | | | | | <mimir@diament.ists.pwr.wroc.pl>) this patch allows samba to correctly enumerate its trusted domains - by exaimining the keys in the secrets.tdb file. This patch has been tested with both NT4 and rpcclient/wbinfo, and adds some extra functionality to talloc and rpc_parse to allow it to deal with already unicode strings. Finally, this cleans up some const warnings that were in net_rpc.c by pushing another dash of const into the rpc client code. Andrew Bartlett (This used to be commit 0bdd94cb992b40942aaf2e5e0efd2868b4686296)
* This is the 'multiple pdb backends' patch from ctrlsoft, aka Jelmer VernooijAndrew Bartlett2002-04-132-9/+17
| | | | | | | | | | | | | | <jelmer@nl.linux.org>. This patch also includes major rework of pdbedit to use popt, and the addition of -i paramter (allowing the user to specify which PDBs is being operated on) and -e to export a pdb - useful for backup and testing etc. Use of -i and -e gets us pdb2pdb functionality for transition between backends, much like the sam2sam in TNG. Andrew Bartlett (This used to be commit c10def37f506d3f2bab442418ac08fdb62659b02)
* Remove : from the list seperators, as this is used to seperate out componentsAndrew Bartlett2002-04-121-1/+1
| | | | | | | in the passdb module selection (after the : you have the options). Andrew Bartlett (This used to be commit 6949b630f10ebb76e8e59ca7e832f53571f2c20a)
* added strndup() for systems that don't have itAndrew Tridgell2002-04-111-1/+4
| | | | (This used to be commit 7e92fb7453e4dbf1fe0c32c3dcc1e994cb95b5ea)
* This split the mangling code up to allow for the possibility of multipleAndrew Tridgell2002-04-113-0/+19
| | | | | | | mangling implementation, selectable using "mangling method = " in smb.conf It also tidies the interface a little, although it is still nasty. (This used to be commit be23d87a178e7d0691e7d942adf89bb3d2d533c2)
* Removed duplicate _LARGEFILE64_SOURCE added in error.Jeremy Allison2002-04-111-3/+0
| | | | | Jeremy. (This used to be commit 678f4f455e7ed0a6fafa3ad30ddadd1917e741ef)
* Ensure VFS modules will build correctly by adding defines for CPPFLAGSJeremy Allison2002-04-111-0/+31
| | | | | | defines into acconfig.h - only defined if seen. Jeremy. (This used to be commit 9f2753a1496c51fd56c97984b8def46a651dbfc8)