summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2002-12-03Fixed nasty bug where file writes with start offsets in the rangeJeremy Allison1-0/+2
0x80000000 -> 0xFFFFFFFF would fail as they were being cast from IVAL (uint32) to SMB_OFF_T (off_t or off64_t, both *signed* types). The sign extension would cause the offset to be treated as negative. Thanks to Herb for helping me track this one down (IRIX is good for large file tests :-). Jeremy. PS. That horrid EXEXIST thing has broken configure..... (This used to be commit 2d14c442bc601a277458b69f05a763aa2a1ab3b7)
2002-11-29Merge a bunch of trivial changes from HEAD. The difference remainingTim Potter2-2/+1
should actual functional differences between HEAD and 3.0. - Mostly reformatting - Removal of unecessary #include "smb.h" - Merge of dyn_DRIVERFILE removal - Silly bug fix for python code (This used to be commit d3998307adc50ba50defe610cb656c73799ae3b9)
2002-11-27dumping up version numberGerald Carter1-1/+1
(This used to be commit d19e86d3831072761a15d2811129cbe7ae225f52)
2002-11-27preparing for release of 3.0alpha21Samba Release Account1-1/+1
(This used to be commit 49166d8879ab80a92217e63bec671e8ad4def74b)
2002-11-26[print notify fixes from APP_HEAD]Gerald Carter1-0/+16
* fixing change notify on print server handle * adding change notify support into smbcontrol for sending comment changes, etc... All part of CR 1159/1160 (This used to be commit f1062e79de8a3046c6e3f22b3d1a4819afe6809b)
2002-11-18Revert changes to ADS_ERR_OK() as in head. Broke some compilers.Jim McDonough1-1/+1
(This used to be commit a3ca6d5a191ee9d3c7022ec2dfcaf41533ee1244)
2002-11-18Next step of printer publishing.Jim McDonough1-56/+1
net ads printer publish <printername> [servername] Will retreive the DsSpooler and DsDriver info by rpc for a remote server then publish it. Next comes doing it within smbd (This used to be commit 8f047a4492f7bd66ac2afd2a2f6194d5dad4a434)
2002-11-16Merge from HEAD: Remove assumption that all solaris has -lsendfileAndrew Bartlett1-0/+3
(This used to be commit 6520592453582c908e4bb5b7c9f9012153df60d2)
2002-11-15Merge from HEAD:Andrew Bartlett1-3/+3
- heimdal updates to configure - make DEBUG() const - add testsuite for: - preexec - preexec close - valid users - fix testsuite for 'invalid users' Andrew Bartlett (This used to be commit aa41fb8703db4a4ecd3b353874c99a994e8ed630)
2002-11-13small patch to makesure we fallback to <xfs/xqm.h> if <linux/xqm.h> doesn't ↵Jelmer Vernooij1-0/+3
exist (e.g. in SuSE 8.1) (by Metze) (This used to be commit da8794afe8ca8f454937f06d1c43cc5d844b6037)
2002-11-09Back out some of my sync changesJelmer Vernooij1-3/+0
(This used to be commit b1ad91101d10d1fa635cfbb1684f8b598280cee0)
2002-11-09Last sync with HEADJelmer Vernooij1-0/+6
(This used to be commit 1175b62337f5c29954cd5e8dfdc2327c9c80748c)
2002-11-09Sync with HEADJelmer Vernooij2-0/+11
(This used to be commit 1a25dc776ddc36de9a214e023becff1ceb10290c)
2002-11-09deldriver fixGerald Carter1-0/+1
(This used to be commit 78ff2cc34aedaf82d965a71e0c9dfdeb86a90fdd)
2002-11-07This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This ↵cvs2svn Import User1-0/+67
used to be commit aafa32d6809e1bc60a8186140f2f3cf2bf6bff16)
2002-11-07Define smbtrans subcommands so we can stop hardcoding themJim McDonough1-0/+5
(This used to be commit 645c2d5c30a79d4aa28f477dbf0fc44d319fd35d)
2002-11-07Add smbtrans subcommands so we can stop hardcoding themJim McDonough1-0/+5
(This used to be commit 759bcd881dd259d5ad43715f6979c5282b094d52)
2002-11-05Missed extern.Jeremy Allison1-0/+1
Jeremy. (This used to be commit 13995fc0499798e546b019eb44a98614df0ded97)
2002-11-05Missed extern declaration.Jeremy Allison1-0/+1
Jeremy. (This used to be commit e39e2b4c3488fbd9e9a08dd5629a672d1459e64e)
2002-11-05Remove DRIVERFILE constant. It was removed with the old win95Tim Potter1-1/+0
printer driver stuff. (This used to be commit cf6d2d9d9e2adbbb7a547784cb11d05ed624e410)
2002-11-04The fixes from Tom plus a minor update from me.Richard Sharpe2-97/+227
(This used to be commit 6db6a48711f51ee6add32953506cd5db33939a1b)
2002-11-02Add more options to popt_common and use them. Current ones are:Jelmer Vernooij1-0/+3
-V Version information -n Set netbios name -l Set directory to store log files in -d Set debuglevel -s Load specified configuration file -O Set socket options (This used to be commit 1602d5894947b59fd36c161053a66c0afe2c959c)
2002-11-02port sec_desc headers reordering from HEAD.Simo Sorce3-177/+249
Thanks to Andrew Brtlet for the diff :-) (This used to be commit cf67981e73cf52803eae589a6b86e1274bf72d2c)
2002-11-02Merge passdb from HEAD -> 3.0Andrew Bartlett3-19/+101
The work here includes: - metze' set/changed patch, which avoids making changes to ldap on unmodified attributes. - volker's group mapping in passdb patch - volker's samsync stuff - volkers SAMR changes. - mezte's connection caching patch - my recent changes (fix magic root check, ldap ssl) Andrew Bartlett (This used to be commit 2044d60bbe0043cdbb9aba931115672bde975d2f)
2002-11-02Add popt_common_socket_optionsJelmer Vernooij1-0/+1
(This used to be commit a15434314fd8cd88eab40e7cbc8f06a7d0d0169e)
2002-10-30Rerun autoconfJelmer Vernooij1-0/+3
(This used to be commit ff10786c9d4662af355c12cc7363092dc5187e99)
2002-10-30- Remove RTLD_GLOBALJelmer Vernooij1-1/+1
- make smb_load_module() return the return value of init_module() (This used to be commit a8d2dd8d009797486105188f8fdb898a65bb25b0)
2002-10-30added a timegm() function for systems that don't have itAndrew Tridgell1-0/+4
(This used to be commit 732bc4519f1119100607cc84400e8f84e0c0ba9d)
2002-10-30Add init_module_function typedef for new module systemJelmer Vernooij1-0/+3
(This used to be commit 4d1206be5275a8af7dfb612f1747fba484a7d017)
2002-10-29Back out SAM - it belongs in HEADJelmer Vernooij1-3/+0
(This used to be commit da0d48eedce29ba236a517c99e35babb39d6a794)
2002-10-29Remove SAM - it belongs in HEADJelmer Vernooij2-284/+0
(This used to be commit 808dbcf345d0e00dc5bc0af2ef54f31a554824f0)
2002-10-29Sync with HEADJelmer Vernooij1-5/+0
(This used to be commit a64affffb2acf68956dc25be45c0559e6139a571)
2002-10-29Merge rest of Jelmer's popt_common updates from HEAD to fix build.Jim McDonough1-0/+1
(This used to be commit 5dfc073305003fabf6d54bf99b1281f266db292d)
2002-10-28Sync with HEADJelmer Vernooij1-809/+1111
(This used to be commit 906f25d1fb7ed4c85f89d8594f15383b450bd56f)
2002-10-22Fix for systems that allow more than 65536 open files per process.Jeremy Allison1-0/+3
Jeremy. (This used to be commit 947a56ce00e552e8b8d2ed64435eabde6225f044)
2002-10-22Fix for systems that allow more than 65536 open files per process.Jeremy Allison1-0/+3
Jeremy. (This used to be commit ff537f10a0c0b6b1d9055eb776d1e8a9864e8363)
2002-10-22Some was asking to look at this code, so better it stay there until we ↵Simo Sorce1-0/+224
decide what to do with it. Last updates are support for the right way to support privileges. Simo. (This used to be commit cae9074405dec5baf6bd34d48f36e2c81b24d2ea)
2002-10-21This moves the group mapping API into the passdb backend.Volker Lendecke2-1/+48
Currently this calls back to mapping.c, but we have the framework to get the information into LDAP and the passdb.tdb (should we? I think so..). This has received moderate testing with net rpc vampire and usrmgr. I found the add_groupmem segfault in add_aliasmem as well, but that will be another checkin. Volker (This used to be commit f30095852fea19421ac8e25dfe9c5cd4b2206f84)
2002-10-21Remove obsolete acconfig.h - we now use comments in AC_DEFINE()Jelmer Vernooij1-239/+507
(This used to be commit dc4fcb71edc22f36cd1f6d78a211d09c418f3309)
2002-10-21Recognize FreeBSD5 correctly (not as being sysv...)Jelmer Vernooij2-615/+644
(This used to be commit 66ef6b942e00dc0d7742226f24861445d3bc0eb3)
2002-10-17Added new error codes. Fix up connection code to retry in the same wayJeremy Allison1-7/+40
that app-head does. Jeremy. (This used to be commit b521abd86b10573ca8f9116907c81e6deb55f049)
2002-10-17Added new error codes. Fix up connection code to retry in the same wayJeremy Allison1-7/+40
that app-head does. Jeremy. (This used to be commit ec7953f20145799f6286a295472df4826bfdfb8f)
2002-10-14Merge of file/directory access bits changes.Tim Potter1-14/+19
(This used to be commit 2adaceea55d098dcd633b5ffb8f446a9ca6b4e94)
2002-10-14Tidyup of file specific access mask bits.Tim Potter1-14/+19
Added directory specific access mask bits. (This used to be commit edbd942a8d0edcb5e7cc3086c3d98c6ff1d6cd80)
2002-10-12Nice *big* patch from metze.Andrew Bartlett2-19/+54
The actual design change is relitivly small however: It all goes back to jerry's 'BOOL store', added to many of the elements in a SAM_ACCOUNT. This ensured that smb.conf defaults did not get 'fixed' into ldap. This was a great win for admins, and this patch follows in the same way. This patch extends the concept - we don't store values back into LDAP unless they have been changed. So if we read a value, but don't update it, or we read a value, find it's not there and use a default, we will not update ldap with that value. This reduced clutter in our LDAP DB, and makes it easier to change defaults later on. Metze's particular problem was that when we 'write back' an unchanged value, we would clear any muliple values in that feild. Now he can still have his mulitivalued 'uid' feild, without Samba changing it for *every* other operation. This also applies to many other attributes, and helps to eliminate a nasty race condition. (Time between get and set) This patch is big, and needs more testing, but metze has tested usrmgr, and I've fixed some pdbedit bugs, and tested domain joins, so it isn't compleatly flawed ;-). The same system will be introduced into the SAM code shortly, but this fixes bugs that people were coming across in production uses of Samba 3.0/HEAD, hence it's inclusion here. Andrew Bartlett (This used to be commit 7f237bde212eb188df84a5d8adb598a93fba8155)
2002-10-07forgot some bits from previous rpc_secdesc.h rework patchSimo Sorce1-2/+0
(This used to be commit 738b9237eda8fdb8adb534ab1a84070923f352f1)
2002-10-06try to put every security descriptors related definitions in the same file.Simo Sorce3-175/+249
also try to uniform names to a clean scheme. first part. (This used to be commit a123e05877caf90c28980be2d84b1d0b46e4fd21)
2002-10-05Add more common options to popt_common - and start usingJelmer Vernooij1-0/+1
the ones for debuglevel and configuration file in pdbedit (This used to be commit cb0d03a393d9009c3e16b9d05d88c171de9a9414)
2002-10-04Add a timeout to tdb_lock_bystring(). Ensure we never have more thanJeremy Allison2-1/+4
MAX_PRINT_JOBS in a queue. Jeremy. (This used to be commit bb58a08af459b4abae9d53ab98c15f40638ce52b)
2002-10-04Add a timeout to tdb_lock_bystring(). Ensure we never have more thanJeremy Allison2-1/+4
MAX_PRINT_JOBS in a queue. Jeremy. (This used to be commit 9fe3c0b90d4bff2217e3cb5a34b4683ca314c06e)