1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-28 17:47:29 +03:00

10093 Commits

Author SHA1 Message Date
Jeremy Allison
4d9b205362 Debug level 12 is a typo.
Jeremy.
-
Jeremy Allison
a81d700ae9 First cut of new ACL mapping code from Andreas Gruenbacher <agruen@suse.de>.
This is not 100% the same as what SuSE shipped in their Samba, there is
a crash bug fix, a race condition fix, and a few logic changes I'd like to
discuss with Andreas. Added Andreas to (C) notices for posix_acls.c
Jeremy.
-
Andrew Tridgell
6c7748b001 if trusted domains are disabled then we should not try to connect to
them in winbindd
-
Andrew Tridgell
d5d0d0de50 fixed a possible segv when dealing with a blank password -
Jeremy Allison
ff537f10a0 Fix for systems that allow more than 65536 open files per process.
Jeremy.
-
Simo Sorce
cae9074405 Some was asking to look at this code, so better it stay there until we decide what to do with it.
Last updates are support for the right way to support privileges.

Simo.
-
Tim Potter
06caeed588 Fixed bug in session setup kwlist.
Added some basic error handling.  Just throw a RuntimeError exception
on error.
-
Volker Lendecke
1f702dcd2c Same segfault as in add_groupmem.
Volker
-
Volker Lendecke
872c7d4045 pdb_unix.c did not really expect group RIDs dictated by a PDC and looking
like user RIDs.

Volker
-
Gerald Carter
e7dd8cf903 merge from samba_3_0
removed the following parameters

  * postscript
  * printer driver
  * printer driver location
  * printer driver file

also removed the get_a_printer_driver_9x_compatible() function
-
Volker Lendecke
f30095852f This moves the group mapping API into the passdb backend.
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
-
Volker Lendecke
c4452ef22c I was somewhat annoyed by 'pdbedit -a vl' spitting an error message
at me :-)

Volker
-
Jelmer Vernooij
2e328928aa Fix usage message -
Jelmer Vernooij
dc4fcb71ed Remove obsolete acconfig.h - we now use comments in AC_DEFINE() -
Jelmer Vernooij
b55fe96c1f Add faq chapter about the samba features -
Jelmer Vernooij
2bbc4187e7 Don't say we need WINS Replication documentation -
Jelmer Vernooij
66ef6b942e Recognize FreeBSD5 correctly (not as being sysv...) -
Gerald Carter
07ac86323f sync with SAMBA_3_0 -
Jelmer Vernooij
2a598d435d Sync with metze's CVS tree -
Jelmer Vernooij
4206ebb160 Small patch from metze to add 3 parameters to vfs_init, as it requires -
Jelmer Vernooij
328c5a92a1 Add text doc about what work is left on the docs for 3.0 -
Martin Pool
44dd7746ed Test both new samba.tdbpack and oldtdbutil pack/unpack routines.
This makes the test suite fail because at the moment they are in fact
not behaving the same way.
-
Martin Pool
2dc4373727 Import old pure Python version of tdbpack/unpack, so that we can do
compatibility testing against the shiny new C version.

This version is slightly modified to not call codepage conversion
routines, and renamed tdbutil->oldtdbutil.
-
Tim Potter
e27d3d20e3 The libsmb module uses py_ntsec.o -
Tim Potter
3fd568ef5c Fixed up tconx function. Implemented nt_create_andx, query_secdesc
and set_secdesc functions.
-
Tim Potter
b740c7e505 Whoops - this should be in py_smb.c -
Martin Pool
6139ab3cbc Give better error messages for TypeError, which will arise if e.g. you
try to pack an Int using a string tdbpack format.
-
Tim Potter
a4790ba42c More cleanups of validation functions. -
Tim Potter
7f45bad319 Zero some more return values. -
Andrew Tridgell
3ca3cc838e add a 'mangle prefix' option to allow people to tune the number of
characters used in the prefix for 8.3 names in the hash2
algorithm. The longer the prefix the more readable the 8.3 names will
be, but the weaker the hash.

this was added because of someone complaining that the new hashing
algorithm was unreadable but the old one was broken :)
-
Tim Potter
121db5b682 level should be a uint32 in enum_ports function. -
Tim Potter
672c07e243 Stricter validation in python->C conversion functions. -
Tim Potter
35413be0ac Fixed DRIVER_INFO_3 conversion function to check for dependent_files
key.
-
Tim Potter
4663d79d3e Fix a silly memset typo.
Change a int* to a uint32* in the cli_spoolss_enum_ports() function.
-
Andrew Tridgell
e0065f4db4 reverted an incorrect fix. What I was trying to do was fix a problem
with filenames with spaces in mangle_hash.c but the real problem is
that mangle_hash.c assumes that the set of valid characters for 8.3
names is the same as the set of valid characters for long names. Thats
an invalid assumption, with space being the obvious example.
-
Andrew Tridgell
0db79d4a37 a space is a standard valid character in a filename -
Tim Potter
bf2d9dd5ba Zero tallocated memory in decode_printer_info, decode_driver_info,
decode_port_info and decode_printerdriver functions.
-
Tim Potter
4808a95f5f Bugfix for pidfile_create() from Kelledin. -
Tim Potter
b7ef2e8b41 Added stubs for query/set security descriptors on files. Not even close to
working yet.
-
Volker Lendecke
382c444225 Fix full_name for info23 as well. Thanks, Andrew.
Volker
-
Volker Lendecke
32d6bcf3ac This fixes some bugs for NT4 usrmgr.exe
Volker
-
Herb Lewis
4125c582aa must add one to the extra_data size to transfer the 0 string terminator.
This was causing "wbinfo --sequence" to access past the end of malloced
memory.
-
Jelmer Vernooij
59ecac901a Don't encourage people to use -P - it's obsolete -
Andrew Bartlett
0abeb8725e It seems that I'm meant to be using the helper function here, not the struct
directly...

Andrew Bartlett
-
Jelmer Vernooij
1fb6353c39 Document parameters that have been added in 3.0 -
Jelmer Vernooij
9f388e15b0 Update for 3.0 (document -B, -s, -n options). Is now current -
Jelmer Vernooij
28fb5f00c0 smb.conf.5 is completely up-to-date for 3.0 now. Say so in the VERSION section -
Jelmer Vernooij
1bf8ca3c89 Try to put some questions from the mailinglist in -
Jelmer Vernooij
e8d7f8eb43 Add FAQ 'I have set 'force user' and samba still makes 'root' the owner of all the files I touch!' -
Jelmer Vernooij
7fe52d378d Document %D. Make a difference between sub_basic and sub_advanced substitutions -