Jelmer Vernooij
bea0b200c8
Fix memory leak (patch by Steve Langasek)
...
(This used to be commit 06362586cb
)
2002-10-25 02:37:11 +00:00
Jelmer Vernooij
5b90fdc6bb
Only run free_private_data when it's specified (reported by Steve Langasek aka vorlon)
...
(This used to be commit 9efa98b4a6
)
2002-10-25 00:36:28 +00:00
Jelmer Vernooij
af09297cbc
Document -P and -V (patch from Guenther Deschner <gd@suse.de>)
...
(This used to be commit 5845f17c92
)
2002-10-24 13:30:45 +00:00
Jeremy Allison
158ae87aa9
Reverted a fix from Volker (sorry). We need to move this fix to the correct
...
place.
Jeremy.
(This used to be commit e46e38beab
)
2002-10-23 22:23:39 +00:00
Jelmer Vernooij
d63afcf97a
Move OID documents to web module
...
(This used to be commit 3de1a82962
)
2002-10-23 15:29:35 +00:00
Andrew Tridgell
e53b7d6496
much simpler code to choose a DC to contact in winbindd. We now always
...
choose the server that has the most bits in common in its IP with one
of our interfaces.
(This used to be commit 31774dce67
)
2002-10-23 03:37:51 +00:00
Jeremy Allison
b064077145
Debug level 12 is a typo.
...
Jeremy.
(This used to be commit 4d9b205362
)
2002-10-23 01:55:40 +00:00
Jeremy Allison
7689a9c969
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.
(This used to be commit a81d700ae9
)
2002-10-23 01:22:45 +00:00
Andrew Tridgell
ef372e36f0
if trusted domains are disabled then we should not try to connect to
...
them in winbindd
(This used to be commit 6c7748b001
)
2002-10-23 00:23:30 +00:00
Andrew Tridgell
306e4cbead
fixed a possible segv when dealing with a blank password
...
(This used to be commit d5d0d0de50
)
2002-10-23 00:02:26 +00:00
Jeremy Allison
9b323a3c0d
Fix for systems that allow more than 65536 open files per process.
...
Jeremy.
(This used to be commit ff537f10a0
)
2002-10-22 22:17:06 +00:00
Simo Sorce
c166b812a9
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.
(This used to be commit cae9074405
)
2002-10-22 16:10:45 +00:00
Tim Potter
5324adb825
Fixed bug in session setup kwlist.
...
Added some basic error handling. Just throw a RuntimeError exception
on error.
(This used to be commit 06caeed588
)
2002-10-21 21:21:33 +00:00
Volker Lendecke
c7731c988e
Same segfault as in add_groupmem.
...
Volker
(This used to be commit 1f702dcd2c
)
2002-10-21 20:33:00 +00:00
Volker Lendecke
2d19a6550b
pdb_unix.c did not really expect group RIDs dictated by a PDC and looking
...
like user RIDs.
Volker
(This used to be commit 872c7d4045
)
2002-10-21 20:31:59 +00:00
Gerald Carter
534220da60
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
(This used to be commit e7dd8cf903
)
2002-10-21 20:28:11 +00:00
Volker Lendecke
5dbf435408
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
(This used to be commit f30095852f
)
2002-10-21 19:28:56 +00:00
Volker Lendecke
0f8e108686
I was somewhat annoyed by 'pdbedit -a vl' spitting an error message
...
at me :-)
Volker
(This used to be commit c4452ef22c
)
2002-10-21 19:25:04 +00:00
Jelmer Vernooij
c6e4a84cfa
Fix usage message
...
(This used to be commit 2e328928aa
)
2002-10-21 19:22:46 +00:00
Jelmer Vernooij
0013983d48
Remove obsolete acconfig.h - we now use comments in AC_DEFINE()
...
(This used to be commit dc4fcb71ed
)
2002-10-21 19:21:41 +00:00
Jelmer Vernooij
6c82e994d9
Add faq chapter about the samba features
...
(This used to be commit b55fe96c1f
)
2002-10-21 18:01:02 +00:00
Jelmer Vernooij
d24b7bb102
Don't say we need WINS Replication documentation
...
(This used to be commit 2bbc4187e7
)
2002-10-21 17:59:51 +00:00
Jelmer Vernooij
307d89b60b
Recognize FreeBSD5 correctly (not as being sysv...)
...
(This used to be commit 66ef6b942e
)
2002-10-21 16:28:27 +00:00
Gerald Carter
4a5a88f8c9
sync with SAMBA_3_0
...
(This used to be commit 07ac86323f
)
2002-10-21 15:49:26 +00:00
Jelmer Vernooij
a3c4b4cef6
Sync with metze's CVS tree
...
(This used to be commit 2a598d435d
)
2002-10-21 15:36:51 +00:00
Jelmer Vernooij
e9fd0a2671
Small patch from metze to add 3 parameters to vfs_init, as it requires
...
(This used to be commit 4206ebb160
)
2002-10-21 13:41:34 +00:00
Jelmer Vernooij
ed161698d4
Add text doc about what work is left on the docs for 3.0
...
(This used to be commit 328c5a92a1
)
2002-10-21 13:31:32 +00:00
Martin Pool
23e6084358
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.
(This used to be commit 44dd7746ed
)
2002-10-21 11:44:26 +00:00
Martin Pool
d70d4ef34b
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.
(This used to be commit 2dc4373727
)
2002-10-21 11:13:53 +00:00
Tim Potter
e0d317dd16
The libsmb module uses py_ntsec.o
...
(This used to be commit e27d3d20e3
)
2002-10-21 09:54:41 +00:00
Tim Potter
91895706b7
Fixed up tconx function. Implemented nt_create_andx, query_secdesc
...
and set_secdesc functions.
(This used to be commit 3fd568ef5c
)
2002-10-21 09:53:31 +00:00
Tim Potter
4eb2eab364
Whoops - this should be in py_smb.c
...
(This used to be commit b740c7e505
)
2002-10-21 08:23:20 +00:00
Martin Pool
3b8d11fe50
Give better error messages for TypeError, which will arise if e.g. you
...
try to pack an Int using a string tdbpack format.
(This used to be commit 6139ab3cbc
)
2002-10-21 07:41:08 +00:00
Tim Potter
771fc528eb
More cleanups of validation functions.
...
(This used to be commit a4790ba42c
)
2002-10-21 04:47:29 +00:00
Tim Potter
d897c63fb5
Zero some more return values.
...
(This used to be commit 7f45bad319
)
2002-10-21 04:44:44 +00:00
Andrew Tridgell
48a56c12e2
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 :)
(This used to be commit 3ca3cc838e
)
2002-10-21 04:30:51 +00:00
Tim Potter
354878f76f
level should be a uint32 in enum_ports function.
...
(This used to be commit 121db5b682
)
2002-10-21 04:17:43 +00:00
Tim Potter
69e2a9d7fa
Stricter validation in python->C conversion functions.
...
(This used to be commit 672c07e243
)
2002-10-21 04:16:12 +00:00
Tim Potter
7f62309268
Fixed DRIVER_INFO_3 conversion function to check for dependent_files
...
key.
(This used to be commit 35413be0ac
)
2002-10-21 04:12:47 +00:00
Tim Potter
aed3a9f343
Fix a silly memset typo.
...
Change a int* to a uint32* in the cli_spoolss_enum_ports() function.
(This used to be commit 4663d79d3e
)
2002-10-21 04:03:49 +00:00
Andrew Tridgell
66ad44b588
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.
(This used to be commit e0065f4db4
)
2002-10-21 03:47:51 +00:00
Andrew Tridgell
d51c1e333b
a space is a standard valid character in a filename
...
(This used to be commit 0db79d4a37
)
2002-10-21 03:40:18 +00:00
Tim Potter
47cf2825f8
Zero tallocated memory in decode_printer_info, decode_driver_info,
...
decode_port_info and decode_printerdriver functions.
(This used to be commit bf2d9dd5ba
)
2002-10-21 02:48:55 +00:00
Tim Potter
a07df8249d
Bugfix for pidfile_create() from Kelledin.
...
(This used to be commit 4808a95f5f
)
2002-10-21 00:05:01 +00:00
Tim Potter
7c6400a78f
Added stubs for query/set security descriptors on files. Not even close to
...
working yet.
(This used to be commit b7ef2e8b41
)
2002-10-20 20:43:26 +00:00
Volker Lendecke
605ab78401
Fix full_name for info23 as well. Thanks, Andrew.
...
Volker
(This used to be commit 382c444225
)
2002-10-19 08:09:28 +00:00
Volker Lendecke
0c35d78632
This fixes some bugs for NT4 usrmgr.exe
...
Volker
(This used to be commit 32d6bcf3ac
)
2002-10-19 07:50:48 +00:00
Herb Lewis
955003ebce
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.
(This used to be commit 4125c582aa
)
2002-10-18 23:52:05 +00:00
Jelmer Vernooij
9cfa18208b
Don't encourage people to use -P - it's obsolete
...
(This used to be commit 59ecac901a
)
2002-10-18 23:27:49 +00:00
Andrew Bartlett
d00d56faea
It seems that I'm meant to be using the helper function here, not the struct
...
directly...
Andrew Bartlett
(This used to be commit 0abeb8725e
)
2002-10-18 22:27:55 +00:00