summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2002-09-27Readd the 2.2 --with-ldapsam paramaters so as to allow a smooth upgrade path toAndrew Bartlett1-1/+1
a 3.0 based PDC. Change defaults to use SSL, so that this also matches. Andrew Bartlett (This used to be commit 36c2a3820faa1d90cd331881720be0e61ab93460)
2002-09-26tagging version as post3.0-HEAD to differentiate from the SAMBA_3_0Gerald Carter1-1/+1
branch. (This used to be commit 0962a2f74f89b684a5f333126fed2b6a7fc0b454)
2002-09-26preparing for release of 3.0alpha20Samba Release Account1-1/+1
(This used to be commit ba8b6c8e31ad5f15a0cfa9d28d9b8692c3473a42)
2002-09-26Don't define PASS_MUST_CHANGE_AT_NEXT_LOGON twice..Jelmer Vernooij1-3/+0
(This used to be commit cae3705b9a03e36137439e24667dcf2e5e9643fc)
2002-09-26Patch from "Kai Krueger" <kai@kruegernetz.de> to get some more of our accessAndrew Bartlett1-43/+43
control bits right on the SAMR pipe. Andrew Bartlett (This used to be commit e87948c777b59592b130da081ef5d25600455d29)
2002-09-26forgot include file, sorrySimo Sorce1-14/+14
(This used to be commit 67d600ed8ed1cdd25503fdb2299bdfa93befee1f)
2002-09-26Patch from "Stefan (metze) Metzmacher" <metze@metzemix.de> to do a *much*Andrew Bartlett1-3/+16
better job of working with usrmgr. Previously we were blanking out entires, and all sort of mischif. The new patch (which I've now had a chance to test/modify) also takes care not to expand % values (ie we go \\%L\%U -> \\server\user, we don't want to store \\server\user back) and to correctly notice 'not set' compared to 'null string' etc. Andrew Bartlett (This used to be commit ab878b6cc4132594fc33f78aeebf0d8b7266c150)
2002-09-25This patch from "Stefan (metze) Metzmacher" <metze@metzemix.de> cleans upAndrew Bartlett1-1/+4
pdb_ldap and adds a 'ldap passwd sync' option. The idea with this option is to do allow an ldap backend to do all the fancy password hashing etc - and to tell smbd no to try and double-up. Using 'ldap passwd sync = only' will do this, but is not recommended unless such a backend is in place... Running 'ldap passwd sync = yes' just gets you the same as doing 'pam passwd sync = yes' and having both PAM and pam_ldap correctly configured for 'magic root' behaviour, but only using ldap connection, and one set of credentials. This also gets us closer to allowing ldap to say 'password too short' etc, which might assist in maintaining a consistant password policy. Andrew Bartlett (This used to be commit f13e243f1a13d34ae057b40b01f561e8b95d4570)
2002-09-25Another patch from metze, towards his work on sam_ads.Andrew Bartlett2-9/+10
See mx-ldap.sf.net for his current progress. (This used to be commit 9c62d1312fdf0aa7b1978e8bbb56fc076ba7e9d0)
2002-09-25Header files should not include includes.h - therein lies maddness, particuarlyAndrew Bartlett1-3/+0
if we ever want to get rid of the magic macros. (This used to be commit 13f33e466ed31d35221157d6b3a1a05507157b66)
2002-09-24- Don't put pointer to sam_domain_handle in sam_methods but single domainsid ↵Jelmer Vernooij1-2/+3
and domainname - Allocate sam_methods, set domain_sid, domain_name and backend_name in make_sam_methods_backend_entry instead of in the backend - Remove sam_context and domain_sid pointers from the sam_init_function - we don't need those arguments anymore since they're available in sam_methods as well (This used to be commit 50d2527eed0eb26c16f2f7e28badbf08d771380e)
2002-09-22Change parsing of policy and privs delta to what Ethereal says.Volker Lendecke1-56/+37
Volker (This used to be commit 8c41b5cd1b8b0c2639def9552bd20b8aca39785c)
2002-09-19Merge in first command for 'samtest'Jelmer Vernooij1-0/+3
Fix small bug in sam/interface.c Make sam backend to default to a define (This used to be commit 60ab55fedf03a0b505b0b73527e031124a46304e)
2002-09-18HPUX sendfile is now detected correctly.Jeremy Allison1-1/+2
Jeremy. (This used to be commit 91e41ebe97c143f413e2a5614b20f3db4642490f)
2002-09-18printjob merge from APP_HEAD regarding device modesGerald Carter2-0/+6
(This used to be commit aa52351384abace54a89c9fbfa5e4c31a8464c91)
2002-09-17Actually use sendfile if selected.Jeremy Allison1-2/+5
Jeremy. (This used to be commit 5881f0a22633ed9fb73e6cd788d0751c4db6cd32)
2002-09-17Add clock skew handling to our kerberos code. This allows us to cope withAndrew Tridgell1-1/+8
the DC being out of sync with the local machine. (This used to be commit 0d28d769472ea3b98ae4c8757093dfd4499f6dd1)
2002-09-17Added --with-ads option, defaults to yes. If you run ./configureTim Potter2-3/+4
--with-ads=no or ./configure --without-ads Samba will build without linking to the various kerberos libraries. (This used to be commit edb6172abf0f07fead8ed3aaaebe0411d757aa64)
2002-09-17Added FreeBSD sendfile configure tests. Richard please test...Jeremy Allison1-0/+1
Jeremy. (This used to be commit 6425f169779ce65509b77cf6d5634de24894a965)
2002-09-17Attempt to make broken Linux sendfile work.... Still in progress.Jeremy Allison1-0/+1
Jeremy. (This used to be commit f956a4d29d0d88cd92fac0f0c9f636fc152afe0a)
2002-09-17Added autoconf detection for sendfile for Linux. lib/sendfile.c codeJeremy Allison1-0/+4
still needs more work. Don't add --with-sendfile-support yet... Jeremy. (This used to be commit c6ece53ac2a7a6115ca1160cf02247d7cc0bbb95)
2002-09-16Changed Major/Minor version info reported to Server Manager to 4.9.John Terpstra1-8/+12
Added new SWAT Flags for Advanced and Developer modes. (This used to be commit 0250e2c52c7d7aa25308b6c20b8e2a51184cb598)
2002-09-15Make current_sam_methods a const - Patch by Kai KrügerJelmer Vernooij1-3/+3
(This used to be commit bd7245dc6fcff805fcb69f6bd1f4852dadf5aa84)
2002-09-13Updated some comments in the NET_USER_INFO_3 structure for the other_sidsTim Potter1-3/+3
field. (This used to be commit d153d692a0f8499e1d6dac791a4d119cd9c15e45)
2002-09-12Changed profile version number to 7 - added sendfile statistics.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 2d080d7579c0a59bcb03608600c6b28243bbe353)
2002-09-12First cut at portable sendfile code. Only used in readX at the momentJeremy Allison1-0/+3
and doesn't actually call sendfile. Needs to be vectored through the VFS and tested on all supported platforms (Solaris/HPUX/FreeBSD/Linux). Linux doesn't actually work (2.4.19 kernel) at the moment because it doesn't have a 64-bit clean sendfile. Jeremy. (This used to be commit fd772ca7b16cd86e0d50c7ed8d537c202976a6d2)
2002-09-11Ensure we've failed a lock with a lock denied message before automaticallyJeremy Allison1-6/+9
pushing it onto the blocking queue. Jeremy. (This used to be commit 237e36124cedf0485deaff81f34688fa862c3317)
2002-09-10change notify merge from APP_HEADGerald Carter1-2/+14
(This used to be commit b5227f0a645fdf2358fcb880f22e4662efdfe8e3)
2002-09-09Merged Steve French's fix for OS/2 EA return error being removed.Jeremy Allison1-9/+12
Jeremy. (This used to be commit af2168c0344d49041b1fe78cd5219ac50308deb3)
2002-09-08Patch from Kai Krüger for the new SAM systemJelmer Vernooij1-2/+9
(This used to be commit 771878a2d94009b6eccef5f98d4e782cd85c291e)
2002-09-07Winbind client-side cleanups.Andrew Bartlett2-2/+2
The global winbind file descriptor can cause havoc in some situations - particulary when it becomes 0, 1 or 2. This patch (based on some very nice work by Hannes Schmidt <mail@schmidt-net.via.t-online.de>) starts to recitfy the problem by ensuring that the close-on-exec flag is set, and that we move above 3 in the file descriptor table. I've also decided that the PAM module can close it's pipe handle on every request - this isn't performance-critical code. The next step is to do the same for nss_winbind. (But things like getent() might get in our way there). This also cleans up some function prototypes, puts them in just one place. Andrew Bartlett (This used to be commit 442eb39657b98f67cd229ed3110b63aae8bf4e3c)
2002-09-06As per the 'OK' at CIFS2002, only use the readline headers (and this crasyAndrew Bartlett1-18/+0
#ifdef mess...) in readline.c, we don't need or use them in the rest of Samba. (This OK was of course conditional on 'if you break it, you better fix it...') Andrew Bartlett (This used to be commit 55ee289f587f107fa03c5f889491fdaab101df2d)
2002-09-06Updates to sam_skel from metze, add sam/group.c and add a DEBUG() to theAndrew Bartlett1-2/+5
SAM_ASSERT if we are not going to crash. (This used to be commit f91fcb166107e45ffb3de95a3da65c79992341eb)
2002-09-06This commit includes part of the patch from metze posted to the list, and a fewAndrew Bartlett1-30/+46
of my own changes. In particular: I've added a SAM_ASSERT macro. This expands to either SMB_ASSERT() (which should help us track down bugs) or a return of NT_STATUS_CHECK_FAIL. Metze's changes are mostly to bring the code into line with current discussions on things like adding users/groups, flags etc. I've adjusted a fair bit of the 'const' in the SAM stuff. Const is currently used only for pointers, not for local variables or non-pointer paramters. The benifits and reasons for extending this further need discussion on samba-technical. Also, some of the 'context' paramters should not be const, to allow backend modules to do fancy caching etc in them. Andrew Bartlett (This used to be commit e13bc432628a6131be082caedc75cd8a3d206e5a)
2002-09-06patch from metze: add a 'vfs' debug classAndrew Bartlett1-1/+1
(This used to be commit 601b56e04fddd9ddfb9be5b0a625d6d279df7f4c)
2002-09-06Patch from "Stefan (metze) Metzmacher" <metze@metzemix.de>Andrew Bartlett1-21/+103
to extend the ADS_STATUS system to include NTSTATUS, and to provide a better general infrustructure for his sam_ads work. I've also added some extra failure mode DEBUG()s to parts of the code. NOTE: The ADS_ERR_OK() macro is rather sensitive to braketing issues - without the final set of brakets, the test is essentially inverted - causing some intersting 'error = success' messages... Andrew Bartlett (This used to be commit 5b9a7ab901bc311f3ad08462a8a68d133c34a8b4)
2002-09-06Detect and use syslog.h or sys/syslog.h corretly. Fixes lack of prototype forAndrew Bartlett2-2/+12
syslog() since Paul Green's POSIX patch. (This used to be commit d3b29b0b2d2ffd5c050900ff8cae441b91f95526)
2002-09-05Move the fancy NT_STATUS macros to a new file, so we can include them earlierAndrew Bartlett3-38/+63
in includes.h Andrew Bartlett (This used to be commit ed184ed1905b49956528b6835f48a69ba3c1a045)
2002-09-04Added better error code on out of space. Removed total jobs check - notJeremy Allison1-5/+8
applicable any more. Jeremy. (This used to be commit 8828e2ea3c668aab6cda1b4be9a7e4ce1c23ca81)
2002-09-04Add bcast_msg_flags to connection struct. Allows sender to filter whenJeremy Allison3-4/+9
sending broadcast messages. Also initial cut-down of printing notify messages (not yet finished). Jeremy. (This used to be commit aca333719695b278843c59e1c6eb07d6655fd59c)
2002-09-03Change JOB_INFO_CTR to return a pointer to an array rather than array of ↵Tim Potter1-2/+2
pointers. (This used to be commit e9b71b354d923b2cd0f028dd197e7ca81339ec3a)
2002-09-02small typo, kai is german :-)Volker Lendecke1-1/+1
(This used to be commit f435bf0095694a283db47e33c9eb1b5b6df13d03)
2002-08-30convert the LDAP/SASL code to use GSS-SPNEGO if possibleAndrew Tridgell1-5/+1
we now do this: - look for suported SASL mechanisms on the LDAP server - choose GSS-SPNEGO if possible - within GSS-SPNEGO choose KRB5 if we can do a kinit - otherwise use NTLMSSP This change also means that we no longer rely on having a gssapi library to do ADS. todo: - add TLS/SSL support over LDAP - change to using LDAP/SSL for password change in ADS (This used to be commit b04e91f660d3b26d23044075d4a7e707eb41462d)
2002-08-29Put in patch from metze (Stefan Metzmacher) to:Jelmer Vernooij1-141/+135
- Rename user -> account - Add sam_* functions (api.c) - Several small fixes (This used to be commit eafcc387045f4f265631a952297caf3f6db779d8)
2002-08-28Return correct FILE_SUPERSEDED response - IFSTEST strikes again...Jeremy Allison1-0/+1
Jeremy. (This used to be commit df3e467eb7cce059782870bfec222293577c4f69)
2002-08-28Silly of me to only test this with --with-sam and not without. Doh!Jelmer Vernooij1-2/+0
(This used to be commit 6395c34f2f981d59b761d8615851a8fd54c1c304)
2002-08-28Put in intermediate version of new SAM system. It's not stable yet, codeJelmer Vernooij4-3/+267
might be ugly, etc - please don't blame me for anything but instead try to fix the code :-). Compiling of the new sam system can be enabled with the configure option --with-sam Removing passdb/passgrp.c as it's unused fix typo in utils/testparm.c (This used to be commit 4b7de5ee236c043e6169f137992baf09a95c6f2c)
2002-08-26Header file change from last commit.Andrew Bartlett1-0/+1
(This used to be commit a760bca56a55b119cf399c5ac6f8b0db418be2e0)
2002-08-23Merged initial allocation code for IFSTEST fix.Jeremy Allison3-2/+3
Jeremy. (This used to be commit 095e2bf9469a4c26814fb049f2870983c090ed81)
2002-08-22Added some new delta types discovered by Ronnie from ethereal"Tim Potter1-23/+28
- SAM_DELTA_RENAME{USER,GROUP,ALIAS} - SAM_DELTA_DELETE{USER,GROUP} Renamed some of the unknown delta types and their unmarshalling functions: - SAM_DELTA_TRUST_DOMS - SAM_DELTA_SECRET_INFO (This used to be commit 1f29276c2ff450c4ca3705c27fb0be71ddcda4ad)