summaryrefslogtreecommitdiffstats
path: root/source/include
Commit message (Collapse)AuthorAgeFilesLines
...
* r4514: Fix for bugzilla 1770. Remove READ_ATTRIBUTES from GENERIC_EXECUTE, ↵Jim McDonough2005-01-041-1/+1
| | | | | | | | otherwise modification of an ACL that contains an ACE with execute only will cause that to be upgraded to read/execute. Side effect is that dirs/files with execute only show up as special permissions, which is still correct.
* r4336: Apply some other samba4 SAMR idl that is just too obvious. Don't hardGünther Deschner2004-12-221-2/+1
| | | | | | | | set the value "forcibly disconnect remote users from server when logon hours expire" to "no", instead take the value from our account-policy storage. Guenther
* r4331: Implement SAMR query_dom_info-call info-level 8 server- and client-side,Günther Deschner2004-12-221-2/+9
| | | | | | | | | | | | | | | based on samba4-idl. This saves us an enormous amount of totally unnecessary ldap-traffic when several hundreds of winbind-daemons query a Samba3 DC just to get the fake SAM-sequence-number (time(NULL)) by enumerating all users, all groups and all aliases when query-dom-info level 2 is used. Note that we apparently never get the sequence number right (we parse a uint32, although it's a uint64, at least in samba4 idl). For the time being, I would propose to stay with that behaviour. Guenther
* r4287: Vampire SAM_DELTA_DOMAIN_INFO.Günther Deschner2004-12-202-5/+51
| | | | | | | Based on samba4-idl. The decoding of account-lockout-string is somewhat experimental though. Guenther
* r4286: Give back 8 byte lm_session_key in Netrsamlogon-reply.Günther Deschner2004-12-201-1/+3
| | | | | | | | | | | | | | | | The old #ifdef JRATEST-block was copying 16 bytes and thus overwriting acct_flags with bizarre values, breaking a lot of things. This patch is successfully running in a production environment for quite some time now and is required to finally allow Exchange 5.5 to access another Exchange Server when both are running on NT4 in a samba-controlled domain. This also allows Exchange Replication to take place, Exchange Administrator to access other Servers in the network, etc. Fixes Bugzilla #1136. Thanks abartlet for helping me with that one. Guenther
* r4268: Merge fix for bugzilla #2150.Tim Potter2004-12-191-9/+0
|
* r4219: Fix samba3 samr "idl"... According to samba4 idl samr_DomInfo2 contains aVolker Lendecke2004-12-151-3/+2
| | | | | | | | | | | | comment string and not an unknown 12 byte structure... Found after abartlet's smbtorture extended this string to "Tortured by Samba4: Fri Nov 26 15:40:18 2004 CET" ;-)) Volker
* r4186: Fix client & server to allow 127k READX calls.Jeremy Allison2004-12-141-1/+1
| | | | Jeremy.
* r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵Jeremy Allison2004-12-072-4/+89
| | | | | | | | | allocation functions so we can funnel through some well known functions. Should help greatly with malloc checking. HEAD patch to follow. Jeremy.
* r3859: Ensure if num_acls is set to 0xFFFF this field is ignored.Jeremy Allison2004-11-181-0/+6
| | | | | Use def_acl everywhere instead of dir_acl. Jeremy.
* r3844: Attempt to get the build farm in line. Some systems seem to have definedVolker Lendecke2004-11-182-3/+3
| | | | | | | rewinddir as a macro and don't like the construct to call a function pointer called rewinddir. Work around by renaming the function pointer... Volker
* r3772: BUG 2006: patch from Michel Gravey <michel.gravey@optogone.com>; fix ↵Gerald Carter2004-11-151-1/+1
| | | | build when using gcc 3.0
* r3713: Implementation of get posix acls in UNIX extensions. Passes valgrind.Jeremy Allison2004-11-121-0/+71
| | | | | | | | Need to add printout functions in client and set posix acl in server. SteveF - take a look at this for the cifsfs client ! Once this is working and tested the next step is to write this up for the UNIX extensions spec. documents. Jeremy.
* r3705: Nobody has commented, so I'll take this as an ack...Volker Lendecke2004-11-121-0/+12
| | | | | | | | | | | | | | | | | abartlet, I'd like to ask you to take a severe look at this! We have solved the problem to find the global groups a user is in twice: Once in auth_util.c and another time for the corresponding samr call. The attached patch unifies these and sends them through the passdb backend (new function pdb_enum_group_memberships). Thus it gives pdb_ldap.c the chance to further optimize the corresponding call if the samba and posix accounts are unified by issuing a specialized ldap query. The parameter to activate this ldapsam behaviour is ldapsam:trusted = yes Volker
* r3697: BUG 2027: fix multiple declaration of MD5_CTX (do we really care ↵Gerald Carter2004-11-121-5/+0
| | | | about DOS compilers?). Will watch build farm though.
* r3644: Fixup examples VFS compile.Jeremy Allison2004-11-091-1/+1
| | | | Jeremy.
* r3642: Extend vfs to add seekdir/telldir/rewinddir. Yes I know I have toJeremy Allison2004-11-094-4/+37
| | | | | | fix the modules too... First step in fixing out large directories problem. Jeremy.
* r3566: Completely replace the queryuseraliases call. The previous ↵Volker Lendecke2004-11-051-3/+5
| | | | | | | | | | | | | | implementation does not exactly match what you would expect. XP workstations during login actually do this, so we should better become a bit more correct. The LDAP query issued is not really fully optimal, but it is a lot faster and more correct than what was there before. The change in passdb.h makes it possible that queryuseraliases is done with a single ldap query. Volker
* r3563: During a typical logon a modern workstation makes a lot of anonymous ↵Volker Lendecke2004-11-051-0/+1
| | | | | | | | | | | session setups on its way to open a pipe. This gets rid of many round-trips to the LDAP server during logon by setting up the server_info_guest once and not asking the LDAP server and nss every time. Make sure that the ldap connection is reopened in the child. (I did not look at the sql backends.) Volker
* r3538: Fix the build with the latest Heimdal code.Jeremy Allison2004-11-051-6/+2
| | | | Jeremy.
* r3495: Fix the build (recent kerberos-changes).Günther Deschner2004-11-031-1/+3
| | | | Guenther
* r3438: fix some kerberos-related prototype warningsGünther Deschner2004-11-011-0/+3
| | | | Guenther
* r3377: Merge in first part of modified patch from Nalin Dahyabhai ↵Jeremy Allison2004-10-291-0/+3
| | | | | | | | | <nalin@redhat.com> for bug #1717.The rest of the code needed to call this patch has not yet been checked in (that's my next task). This has not yet been tested - I'll do this once the rest of the patch is integrated. Jeremy.
* r3067: patch based on volker's initial work in trunk that fixes the queu ↵Gerald Carter2004-10-191-1/+7
| | | | update problem when using the background daemon
* r3050: Steal from Samba4 :-). Make us pass most of the new lock tests ↵Jeremy Allison2004-10-181-2/+1
| | | | | | | (except for the cancel lock which I have to add). Jeremy.
* r2955: fixing a segfault uncovered by the changes for BUG 1519Gerald Carter2004-10-131-0/+1
|
* r2942: Add client-side support of triggering ads printer publishing over msrpcGünther Deschner2004-10-131-0/+1
| | | | | | | | | | setprinter calls inside the net-tool. This is usefull to mimic the same queries a windows-client does. At least win2k returns WERR_IO_PENDING when printer is published via setprinter, samba returns WERR_OK but this does not hurt. Guenther
* r2835: Since we always have -I. and -I$(srcdir) in CFLAGS, we can get rid of Tim Potter2004-10-072-4/+4
| | | | | '..' from all #include preprocessor commands. This fixes bugzilla #1880 where OpenVMS gets confused about the '.' characters.
* r2832: Readd WKGUID-binding to match the correct default-locations of newGünther Deschner2004-10-061-0/+3
| | | | | | | | | | | | | | | User-, Group- and Machine-Accounts in Active Directory (this got lost during the last trunk-merge). This way we match e.g. default containers moved by redircmp.exe and redirusr.exe in Windows 2003 and don't blindly default to cn=Users or cn=Computers. Further wkguids can be examied via "net ads search wellknownobjects=*". This should still keep a samba3-client joining a samba4 dc. Fixes Bugzilla #1343. Guenther
* r2768: BUG 1519: save the hostname used in the open_printer_ex() for later ↵Gerald Carter2004-10-011-4/+2
| | | | reuse when filling in the spolss replies (also gets rid of get_called_name()
* r2575: Return correct error codes on old SEARCH call (from Samba4 torture ↵Jeremy Allison2004-09-241-1/+2
| | | | | | tester). Jeremy.
* r2444: Based on jmcd's patch, implement special lists for the ldap user ↵Volker Lendecke2004-09-201-0/+2
| | | | | | | | | | | | | attributes to delete. Richard, IMHO this is the better solution to the problem you currently have. Please review. Thanks, Volker
* r2388: fix client quota supportStefan Metzmacher2004-09-171-2/+2
| | | | | | for the client we need the windows path and for server we need unix path metze
* r2364: Include yp_prot.h before ypclnt.h as AIX 5.2 spits the dummy otherwise.Tim Potter2004-09-161-3/+3
| | | | Bugzilla #1778.
* r2248: Merge of tridge's PRINTF_ATTRIBUTE fixes from samba4.Tim Potter2004-09-081-2/+3
|
* r2246: Some good fixes for HPUX from JBravo on #samba-technical:Tim Potter2004-09-071-0/+39
| | | | | | | | | | | - Fix linker options so that stuff actually builds (oops - part of this commit was accidentally made in -r2245) - Add some preprocessor magic to avoid warnings being printed for every single C file being compiled. This was due to a bug in the HPUX system header files. This should make the HPUX build farm machine build again.
* r2133: Several fixes:Gerald Carter2004-08-312-3/+4
| | | | | | | | | | | | | | | | | | | * BUG 1627: fix for NIS compiles on HPUX 11.00, AIX 4.3 and 5.1 patch from Olaf Flebbe <o.flebbe@science-computing.de>. Will need to watch this one in the build farm. * Fix bug found by rwf@loonybin.net where the PRINT_ATTRIBUTE_PUBLISHED was getting reset by attempts to sanitize the defined attributes (PRINTER_ATTRIBUTE_SAMBA) * Resolve name conflict on DEC OSF-5.1 (inspired by patch from Adharsh Praveen <rprav@india.hp.com>) * Work around parsing error in the print change notify code (not that the alignment bug is still there but reording the entries in the array works around it). * remove duplicate declaration of getprintprocdir from rpcclient.
* r2114: Shameless theft of iconv commit from Samba4 to keep the two libs more ↵Jeremy Allison2004-08-302-8/+7
| | | | | | | | in sync :-). try to cope with a wider range of UTF-16 characters when we are using an external libiconv library. Jeremy.
* r2076: Removed old dir caching code - not being used now we have theJeremy Allison2004-08-251-1/+0
| | | | | | statcache anyway. New dir caching will be done on nanosecond timestamps. Jeremy.
* r2073: Adding getprinter level 7 to rpcclient.Günther Deschner2004-08-251-0/+1
| | | | | | Is there any other rpc-call to get the guid of a published printer? Guenther
* r2026: Simplify statcache to use an in-memory tdb. Modify tdb to useJeremy Allison2004-08-242-75/+0
| | | | | | a customer hash function for this tdb (yes it does make a difference on benchmarks). Remove the no longer used hash.c code. Jeremy.
* r2007: Fix typo in Jeremy's copyright. From the output of cvs annotate a yearTim Potter2004-08-241-1/+1
| | | | in the late 1990's may be more appropriate though.
* r1885: tighten the cache consistency with the ntprinters.tdb entry an the in ↵Gerald Carter2004-08-181-5/+8
| | | | memory cache associated with open printer handles; also make sure that register_messages_flags() doesn't overwrite the originally registers flags
* r1810: Patch from Richard Renard <rrenard@idealx.com> to storeJeremy Allison2004-08-131-0/+1
| | | | | logon hours attributes in an LDAP database. Jeremy.
* r1721: Get rid of compiler-warning.Günther Deschner2004-08-111-0/+1
| | | | Guenther
* r1661: Changed the password history format so that each history entryJeremy Allison2004-08-051-0/+5
| | | | | | | consists of a 16 byte salt, followed by the 16 byte MD5 hash of the concatination of the salt plus the NThash of the historical password. Allows these to be exposed in LDAP without security issues. Jeremy.
* r1588: This is one of the more pathetic patches I ever checked in. Many hours ofVolker Lendecke2004-07-261-1/+1
| | | | | | | | | | | | | coding have passed, but I could not find a way to get the OpenLDAP libraries to reliably time out on any of the queries we make, *and* get correct error returns. No, async calls and ldap_result does NOT work, or I was simply too stupid to correctly interpret the OpenLDAP manpage and source. We can not allow to hang indefinitely in an ldap query, especially not for winbindd. "ldap timeout" now specifies the overall timeout for the complete operation, that's why I increased that to 15 seconds. Volker
* r1570: merging changes from 3.0.5Gerald Carter2004-07-221-1/+1
|
* r1500: BUG 1516: manually declare ldap_open_with_timeout() to workaround ↵Gerald Carter2004-07-141-0/+9
| | | | compiler errors on IRIX
* r1412: Fix password history list in tdbsam. Fix some memory leaks. AddJeremy Allison2004-07-081-60/+50
| | | | | my (C) to a header file that was at least 50% mine :-). Jeremy.