1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-01 21:18:10 +03:00
Commit Graph

11025 Commits

Author SHA1 Message Date
Gerald Carter
6985578f5b make sure we create the PIDDIR and LOCKDIR from installdirs
(This used to be commit 1564ebfc99)
2003-01-03 15:31:15 +00:00
Gerald Carter
38426387c2 oops. Use -r, not -f
(This used to be commit 33686a2a7d)
2003-01-03 15:21:01 +00:00
Gerald Carter
057f67f891 patch from Andrew Bird to correct a few file/directory checks when building
(This used to be commit 4fb4e4bc5e)
2003-01-03 15:20:39 +00:00
Gerald Carter
eafdbcc36d patch from Andrew Bird to correct a few file/directory checks when building
(This used to be commit 8a0fb1a60d)
2003-01-03 15:19:51 +00:00
Andrew Bartlett
634c54310c Merge from HEAD - make Samba compile with -Wwrite-strings without additional
warnings.  (Adds a lot of const).

Andrew Bartlett
(This used to be commit 3a7458f947)
2003-01-03 08:28:12 +00:00
Christopher R. Hertel
47a7f0cfb5 Fixed some simple typos, including one that would cause the wrong value
to be printed in a DEBUG() message.
(This used to be commit 96e9fa5f22)
2003-01-03 04:35:09 +00:00
Christopher R. Hertel
fe0382f186 Fixed some simple typos, including one that would have resulted in a
DEBUG() message printing the wrong value.
(This used to be commit 42a4e5b851)
2003-01-03 04:32:23 +00:00
Andrew Bartlett
43059acb95 Merge from HEAD - add PRINTF_ATTRIBUTE to a few more functions.
(This used to be commit 9e5297131c)
2003-01-03 03:24:23 +00:00
Andrew Bartlett
a63aa62bdd Merge from HEAD - tridge's new timegm() that actually works on solaris.
Andrew Bartlett
(This used to be commit 353c6b2423)
2003-01-03 01:41:44 +00:00
Andrew Bartlett
1e531eb604 Merge from HEAD - remove silly 'NT or LM# as password' stuff from pam_smbpass.
Andrew Bartlett
(This used to be commit c9994ab7bb)
2003-01-03 01:40:13 +00:00
Jeremy Allison
1afa539299 pstring/fstring missmatches found by Andrew Bartlett.
Jeremy.
(This used to be commit 585a73b810)
2003-01-02 20:43:27 +00:00
Jeremy Allison
95ce704fe6 pstring/fstring missmatches found by Andrew Bartlett.
Jeremy.
(This used to be commit 666861b1e2)
2003-01-02 20:43:17 +00:00
Jeremy Allison
f1bebee955 Typo..
Jeremy
(This used to be commit 899d353a56)
2003-01-02 20:25:59 +00:00
Jeremy Allison
da41ac6e6b Merge Andrew Bartletts (size_t)-1 checks.
Jeremy.
(This used to be commit 339f4fe15e)
2003-01-02 19:25:28 +00:00
Gerald Carter
57120dce63 WITH_SENDFILE #ifdef merged from SAMBA_2_2
(This used to be commit 5023aec5ad)
2003-01-02 18:20:42 +00:00
Gerald Carter
37742eb13f WITH_SENDFILE #ifdef merged from SAMBA_2_2
(This used to be commit aef9af7874)
2003-01-02 18:20:01 +00:00
Volker Lendecke
56ebce6b6d We still have 'ldap server' and 'ldap port'. Could somebody please
regen the docs?

Thanks,

Volker
(This used to be commit 0c04c660c5)
2003-01-02 16:12:39 +00:00
Volker Lendecke
0ef57b2aad We still have 'ldap server' and 'ldap port'. Could somebody please
regen the docs?

Thanks,

Volker
(This used to be commit 69dbad2d5d)
2003-01-02 16:12:23 +00:00
Andrew Bartlett
ff18825765 We already have one function to move unistr2 -> multibyte-static, so we
don't need a second just for pdb.

Also, remove magic 'is lp_guest_account' test - the magic RID should be
up to the passdb backend to set.

Andrew Bartlett
(This used to be commit f71c8338d3)
2003-01-02 13:10:25 +00:00
Andrew Bartlett
81c6415aa1 Becouse these functions return a size_t, they can't return negitive numbers.
So a < 0 check is pointless, instead check against -1, which will be cast to
unsigned.

Andrew Bartlett
(This used to be commit c7e5797a95)
2003-01-02 13:01:44 +00:00
Andrew Bartlett
af3124067f debugparse is a seperate utility, no need to include it in the main ubiqx
objects.

Andrew Bartlett
(This used to be commit 23abf75ade)
2003-01-02 12:58:23 +00:00
Andrew Bartlett
a746483fd8 Add PRINTF_ATTRIBUTE() to a few more printf() style functions. Aids in
compiler-based argument checking.
(This used to be commit 16fe928e68)
2003-01-02 12:54:02 +00:00
Andrew Bartlett
e030b91bf8 Call me parinoid, but I don't like the idea that we could ever have dbf point
to a closed file.  Swap the assign and the close around.

Andrew Bartlett
(This used to be commit ceb2a79849)
2003-01-02 12:53:04 +00:00
Andrew Bartlett
b0851cb1c7 Add a dash of static.
(This used to be commit 6d201c9616)
2003-01-02 12:39:36 +00:00
Volker Lendecke
94fec25c5f One more const. Andrew, you seem to have krb5 :-)
Volker
(This used to be commit f5494f5ef6)
2003-01-02 09:40:10 +00:00
cvs2svn Import User
1bb9238345 This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit 73d32b336a) 2003-01-02 09:07:18 +00:00
Andrew Bartlett
6d66fb308a BIG patch...
This patch makes Samba compile cleanly with -Wwrite-strings.
 - That is, all string literals are marked as 'const'.  These strings are
always read only, this just marks them as such for passing to other functions.

What is most supprising is that I didn't need to change more than a few lines of code (all
in 'net', which got a small cleanup of net.h and extern variables).  The rest
is just adding a lot of 'const'.

As far as I can tell, I have not added any new warnings - apart from making all
of tdbutil.c's function const (so they warn for adding that const string to
struct).

Andrew Bartlett
(This used to be commit 92a777d0ea)
2003-01-02 09:07:17 +00:00
Richard Sharpe
c105c12d12 Document the size constraints on a write request.
(This used to be commit 5d6c181033)
2003-01-01 21:54:00 +00:00
Andrew Bartlett
60f9614400 Move our password change code along a little - use NTSTATUS, and implmenet
minimum password age and min password length for all password changes.

Andrew Bartlett
(This used to be commit 028f808c03)
2003-01-01 04:19:34 +00:00
Simo Sorce
0747016dfc from HEAD:
fix for bad check spotted by Ray Simard <ray@sylvan-glade.com>
(This used to be commit bcc633c409)
2002-12-31 10:25:11 +00:00
Simo Sorce
2eb7a80a46 fix for bad check spotted by Ray Simard <ray@sylvan-glade.com>
(This used to be commit 63a669475b)
2002-12-31 10:23:37 +00:00
Jeremy Allison
bb9c3a01e7 Merge tridge's fix :
the 'padding' field in the query domain info reply is not a padding
field at all. It seems to be an optional 12 byte structure of some
kind. mkaplan found a situation where the structure was not present at
all (depending on ptr_0)
Jeremy.
(This used to be commit 3b453a5963)
2002-12-31 02:26:15 +00:00
Simo Sorce
ed961ddf44 ignore tdbsam2_parse_info.h
(This used to be commit 1a1c746c9f)
2002-12-31 00:45:35 +00:00
Jeremy Allison
944fb243eb Catching up with old patches. Add define for VERITAS quota support.
Check return in ldap.
Jeremy.
(This used to be commit e789edbb28)
2002-12-30 23:55:58 +00:00
Jeremy Allison
64501e44ee Catching up with old patches. Add define for VERITAS quota support.
Check return in ldap.
Jeremy.
(This used to be commit 66eff26fc9)
2002-12-30 23:55:53 +00:00
Simo Sorce
a2244a4eca fix also net rpc shutdown
sorry
(This used to be commit 1eff36ff2f)
2002-12-30 23:38:17 +00:00
Jeremy Allison
266c1ece12 Merge Richard's write > 4Gb fix.
Jeremy.
(This used to be commit 5431bae894)
2002-12-30 06:12:13 +00:00
Simo Sorce
60667264b7 the shutdown call does not have a 16 bit flags, but 2 byte representing booleans
this commit change the structure and code to reflect this

some test revelead I'm right.

some other revelead currently the abort shutdown does not work against my test machine even if it returns successfully ... need investigation
(This used to be commit c5892b656d)
2002-12-30 04:41:27 +00:00
Richard Sharpe
b68e6c9910 Port the fix to cli_setup_write to handle offsets greater than 32-bits from
Samba 2.2.x ...
(This used to be commit 4201038588)
2002-12-30 04:25:30 +00:00
Andrew Bartlett
72caa1fc8d Add a new VFS module, that just fiddles the file permissions. Still need to
make it fiddle with NT ACLs (or report no ACL, so Samba fakes it up).

The idea here is that Samba reports an NT ACL to Windows clients, which use
that ACL in downloaded profiles.

If the user doesn't have write permissions on the directories being downloaded,
then it cant put the subfolders in (yes, NT will set perms so that it can't
access the dir as the user the created it) and the profile download fails.

The current solution it to give the user unix write perms to the folders, but
this is rather dangerous - sombody could trojen the profile.  This should
avoid that mess.

I'll test this out properly next week, but it works in vfstest (thanks idra!).

Andrew Bartlett
(This used to be commit 1ad782282a)
2002-12-30 04:19:57 +00:00
Shirish Kalele
ab42271cd6 Add msdfs proxy functionality to HEAD.
(This used to be commit 9df93b1ffc)
2002-12-29 23:29:08 +00:00
Jeremy Allison
af9599e3c4 Revert by Simo's request. HEAD and 3.0 should be in sync for
this except for the modules load.
Jeremy.
(This used to be commit 388cf13648)
2002-12-28 19:48:59 +00:00
Jeremy Allison
561a6634b2 Revert by Simo's request. HEAD and 3.0 should be in sync for
this except for the modules load.
Jeremy.
(This used to be commit c7c3afbd0d)
2002-12-28 19:48:56 +00:00
Simo Sorce
5bee95239b some more work on gums.
- Building a tdbsam2 backend to see what I got right and what not about the proposed API
- Corrections to API based on tdbsam2 work
(This used to be commit 54f11b7de8)
2002-12-28 13:42:54 +00:00
Jeremy Allison
e114e03d3f Patch for coredump with missing arg from "Bradley W. Langhorst" <brad@langhorst.com>
Jeremy.
(This used to be commit 0958a2ae73)
2002-12-28 01:23:38 +00:00
Jeremy Allison
10c50fb580 Patch for coredump with missing arg from "Bradley W. Langhorst" <brad@langhorst.com>
Jeremy.
(This used to be commit 5914c38a54)
2002-12-28 01:23:34 +00:00
Shirish Kalele
df7b562de2 Modify DfsEnum to handle 'msdfs proxy' shares. No NETDFS editing support for
the proxy target.
(This used to be commit 560bb8a115)
2002-12-28 00:18:23 +00:00
Shirish Kalele
7385ba79d4 Add 'msdfs proxy' description to smb.conf docs.
(This used to be commit fae5f3baeb)
2002-12-27 23:36:28 +00:00
Shirish Kalele
6b7f50594b Add check to prevent non-Dfs clients from connecting to an msdfs proxy.
(This used to be commit 2a665ab60a)
2002-12-27 23:03:22 +00:00
Richard Sharpe
b3c3701c07 For some reason, the configure tests for sendfile support in FreeBSD
were broken. This works for 4.3 and 4.6.2.
(This used to be commit 91e2d21bd1)
2002-12-27 22:55:11 +00:00