1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
Commit Graph

10870 Commits

Author SHA1 Message Date
Andrew Bartlett
c8a809a2a8 Merge from HEAD - baseless parinoia about never having a closed dbf (the debug
file pointer).

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
f79324f730 Merge from HEAD - mimir's new gencache based namecache code.
Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
d9417b08d1 Merge from HEAD - move user password changes into the NTSTATUS era, and add
suppport for the 'min password age' and 'min passwd len' concepts.
0001-01-01 00:00:00 +00:00
Andrew Bartlett
b596283352 Missed from previous commit - merge from HEAD the changes to the remote
shutdown struct - it's 2 byte-boolean flags, not 16 bits.
0001-01-01 00:00:00 +00:00
Andrew Bartlett
a4f7777ca0 Merge from HEAD - idra's fix for the fact that the shutdown command takes two 1
byte boolean flags, not a 16 bit bitmask.

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
42e1af2008 Fix another pstring/fstring typo 0001-01-01 00:00:00 +00:00
Jeremy Allison
62038a0abf Fix problem with "hide unreadable". stat file opens are baaack :-).
Jeremy.
0001-01-01 00:00:00 +00:00
Gerald Carter
a8db1b611d patch to include support for daemontools from Michael Handler 0001-01-01 00:00:00 +00:00
Gerald Carter
1564ebfc99 make sure we create the PIDDIR and LOCKDIR from installdirs 0001-01-01 00:00:00 +00:00
Gerald Carter
4fb4e4bc5e patch from Andrew Bird to correct a few file/directory checks when building 0001-01-01 00:00:00 +00:00
Andrew Bartlett
3a7458f947 Merge from HEAD - make Samba compile with -Wwrite-strings without additional
warnings.  (Adds a lot of const).

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Christopher R. Hertel
96e9fa5f22 Fixed some simple typos, including one that would cause the wrong value
to be printed in a DEBUG() message.
0001-01-01 00:00:00 +00:00
Andrew Bartlett
9e5297131c Merge from HEAD - add PRINTF_ATTRIBUTE to a few more functions. 0001-01-01 00:00:00 +00:00
Andrew Bartlett
353c6b2423 Merge from HEAD - tridge's new timegm() that actually works on solaris.
Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
c9994ab7bb Merge from HEAD - remove silly 'NT or LM# as password' stuff from pam_smbpass.
Andrew Bartlett
0001-01-01 00:00:00 +00:00
Jeremy Allison
666861b1e2 pstring/fstring missmatches found by Andrew Bartlett.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
899d353a56 Typo..
Jeremy
0001-01-01 00:00:00 +00:00
Jeremy Allison
339f4fe15e Merge Andrew Bartletts (size_t)-1 checks.
Jeremy.
0001-01-01 00:00:00 +00:00
Gerald Carter
aef9af7874 WITH_SENDFILE #ifdef merged from SAMBA_2_2 0001-01-01 00:00:00 +00:00
Volker Lendecke
69dbad2d5d We still have 'ldap server' and 'ldap port'. Could somebody please
regen the docs?

Thanks,

Volker
0001-01-01 00:00:00 +00:00
cvs2svn Import User
73d32b336a This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'. 0001-01-01 00:00:00 +00:00
Andrew Bartlett
92a777d0ea 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
0001-01-01 00:00:00 +00:00
Richard Sharpe
5d6c181033 Document the size constraints on a write request. 0001-01-01 00:00:00 +00:00
Andrew Bartlett
028f808c03 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
0001-01-01 00:00:00 +00:00
Simo Sorce
bcc633c409 from HEAD:
fix for bad check spotted by Ray Simard <ray@sylvan-glade.com>
0001-01-01 00:00:00 +00:00
Simo Sorce
63a669475b fix for bad check spotted by Ray Simard <ray@sylvan-glade.com> 0001-01-01 00:00:00 +00:00
Jeremy Allison
3b453a5963 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.
0001-01-01 00:00:00 +00:00
Simo Sorce
1a1c746c9f ignore tdbsam2_parse_info.h 0001-01-01 00:00:00 +00:00
Jeremy Allison
e789edbb28 Catching up with old patches. Add define for VERITAS quota support.
Check return in ldap.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
66eff26fc9 Catching up with old patches. Add define for VERITAS quota support.
Check return in ldap.
Jeremy.
0001-01-01 00:00:00 +00:00
Simo Sorce
1eff36ff2f fix also net rpc shutdown
sorry
0001-01-01 00:00:00 +00:00
Jeremy Allison
5431bae894 Merge Richard's write > 4Gb fix.
Jeremy.
0001-01-01 00:00:00 +00:00
Simo Sorce
c5892b656d 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
0001-01-01 00:00:00 +00:00
Richard Sharpe
4201038588 Port the fix to cli_setup_write to handle offsets greater than 32-bits from
Samba 2.2.x ...
0001-01-01 00:00:00 +00:00
Andrew Bartlett
1ad782282a 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
0001-01-01 00:00:00 +00:00
Shirish Kalele
9df93b1ffc Add msdfs proxy functionality to HEAD. 0001-01-01 00:00:00 +00:00
Jeremy Allison
388cf13648 Revert by Simo's request. HEAD and 3.0 should be in sync for
this except for the modules load.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
c7c3afbd0d Revert by Simo's request. HEAD and 3.0 should be in sync for
this except for the modules load.
Jeremy.
0001-01-01 00:00:00 +00:00
Simo Sorce
54f11b7de8 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
0001-01-01 00:00:00 +00:00
Jeremy Allison
0958a2ae73 Patch for coredump with missing arg from "Bradley W. Langhorst" <brad@langhorst.com>
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
5914c38a54 Patch for coredump with missing arg from "Bradley W. Langhorst" <brad@langhorst.com>
Jeremy.
0001-01-01 00:00:00 +00:00
Shirish Kalele
560bb8a115 Modify DfsEnum to handle 'msdfs proxy' shares. No NETDFS editing support for
the proxy target.
0001-01-01 00:00:00 +00:00
Shirish Kalele
fae5f3baeb Add 'msdfs proxy' description to smb.conf docs. 0001-01-01 00:00:00 +00:00
Shirish Kalele
2a665ab60a Add check to prevent non-Dfs clients from connecting to an msdfs proxy. 0001-01-01 00:00:00 +00:00
Richard Sharpe
91e2d21bd1 For some reason, the configure tests for sendfile support in FreeBSD
were broken. This works for 4.3 and 4.6.2.
0001-01-01 00:00:00 +00:00
Shirish Kalele
514f548b18 Add msdfs proxy functionality; a CIFS share can directly be a stand-in for
another share, and when clients connect to the first share, they will be
redirected to the proxied share.
0001-01-01 00:00:00 +00:00
Jelmer Vernooij
03d8d0285e Update link 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
36722b02b0 Put in actual status 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
28d0601630 sync 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
a2de27a684 Add note about storing mysql passwords in smb.conf 0001-01-01 00:00:00 +00:00