summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2002-10-22Some was asking to look at this code, so better it stay there until we ↵Simo Sorce5-0/+1846
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-21Fixed bug in session setup kwlist.Tim Potter1-2/+25
Added some basic error handling. Just throw a RuntimeError exception on error. (This used to be commit 06caeed588f702814be76a2b2aa7ed43504adef5)
2002-10-21Same segfault as in add_groupmem.Volker Lendecke1-5/+10
Volker (This used to be commit 1f702dcd2ced6f64a619e3ddbb570f41f7f0986b)
2002-10-21pdb_unix.c did not really expect group RIDs dictated by a PDC and lookingVolker Lendecke1-2/+4
like user RIDs. Volker (This used to be commit 872c7d40454545108ec9e7eee12894af77b4adc3)
2002-10-21merge from samba_3_0Gerald Carter5-317/+94
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 e7dd8cf903144393b1362719d75430a2ee7e5f27)
2002-10-21This moves the group mapping API into the passdb backend.Volker Lendecke16-52/+546
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-21I was somewhat annoyed by 'pdbedit -a vl' spitting an error messageVolker Lendecke1-1/+7
at me :-) Volker (This used to be commit c4452ef22cf63c73bfb3574a55a4810af511ff20)
2002-10-21Fix usage messageJelmer Vernooij1-1/+1
(This used to be commit 2e328928aa9bfafbfa00596f261dbc68bcd51e6b)
2002-10-21Remove obsolete acconfig.h - we now use comments in AC_DEFINE()Jelmer Vernooij5-905/+1144
(This used to be commit dc4fcb71edc22f36cd1f6d78a211d09c418f3309)
2002-10-21Recognize FreeBSD5 correctly (not as being sysv...)Jelmer Vernooij5-9223/+17772
(This used to be commit 66ef6b942e00dc0d7742226f24861445d3bc0eb3)
2002-10-21sync with SAMBA_3_0Gerald Carter2-593/+1
(This used to be commit 07ac86323f71d6228a222a1680d1c7def0eb7109)
2002-10-21Sync with metze's CVS treeJelmer Vernooij1-79/+253
(This used to be commit 2a598d435d3eb46ca28b3591a4f7f9d856ce3c1f)
2002-10-21Test both new samba.tdbpack and oldtdbutil pack/unpack routines.Martin Pool1-29/+37
This makes the test suite fail because at the moment they are in fact not behaving the same way. (This used to be commit 44dd7746ede7f7f9efcf7dabcd351b1d800e535c)
2002-10-21Import old pure Python version of tdbpack/unpack, so that we can doMartin Pool1-0/+144
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 2dc4373727f73a46cd6135413e50917fb7fa538b)
2002-10-21The libsmb module uses py_ntsec.oTim Potter1-1/+2
(This used to be commit e27d3d20e3c51fc04f37d92c24f38f91b2d1e1e4)
2002-10-21Fixed up tconx function. Implemented nt_create_andx, query_secdescTim Potter1-12/+121
and set_secdesc functions. (This used to be commit 3fd568ef5c984f089e7799d9ff55395330716641)
2002-10-21Whoops - this should be in py_smb.cTim Potter1-52/+0
(This used to be commit b740c7e5050b18bc06865451bed3daf3ae09c609)
2002-10-21Give better error messages for TypeError, which will arise if e.g. youMartin Pool1-10/+24
try to pack an Int using a string tdbpack format. (This used to be commit 6139ab3cbca3fc2969d1e578b38394b1f6aeb9c3)
2002-10-21More cleanups of validation functions.Tim Potter2-19/+66
(This used to be commit a4790ba42cc6ee4086dafbc64b1dba790a6c3583)
2002-10-21Zero some more return values.Tim Potter1-1/+2
(This used to be commit 7f45bad319ace07a5bfc21465a0db919131dd608)
2002-10-21add a 'mangle prefix' option to allow people to tune the number ofAndrew Tridgell2-17/+46
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 3ca3cc838e5b957c7244b21947daddc4ee4c3099)
2002-10-21level should be a uint32 in enum_ports function.Tim Potter1-1/+1
(This used to be commit 121db5b6821df9c6ec05adb2d35c2dde930736f2)
2002-10-21Stricter validation in python->C conversion functions.Tim Potter1-9/+16
(This used to be commit 672c07e2432299e3b1015af524dc5c124f61f904)
2002-10-21Fixed DRIVER_INFO_3 conversion function to check for dependent_filesTim Potter1-3/+29
key. (This used to be commit 35413be0ac39ce52f009f7750f23b41728d8a35c)
2002-10-21Fix a silly memset typo.Tim Potter1-2/+2
Change a int* to a uint32* in the cli_spoolss_enum_ports() function. (This used to be commit 4663d79d3e9dcfef49f7cef1f6205efe58edbdc1)
2002-10-21reverted an incorrect fix. What I was trying to do was fix a problemAndrew Tridgell1-1/+1
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 e0065f4db4a1cfae03a3bb86e5cfea9c45dfa1c3)
2002-10-21a space is a standard valid character in a filenameAndrew Tridgell1-1/+1
(This used to be commit 0db79d4a379a502362c230a9019d5d71f5af8e0e)
2002-10-21Zero tallocated memory in decode_printer_info, decode_driver_info,Tim Potter1-0/+10
decode_port_info and decode_printerdriver functions. (This used to be commit bf2d9dd5ba2ecc7e0e1bd17049adee6dd80d807c)
2002-10-21Bugfix for pidfile_create() from Kelledin.Tim Potter1-1/+1
(This used to be commit 4808a95f5f4536774d41bebca76660f010069117)
2002-10-20Added stubs for query/set security descriptors on files. Not even close toTim Potter1-0/+52
working yet. (This used to be commit b7ef2e8b41bd6a7225b9f21c65c42b8ef0f82a32)
2002-10-19Fix full_name for info23 as well. Thanks, Andrew.Volker Lendecke1-1/+1
Volker (This used to be commit 382c444225fae54ae577baae8948a64a843a2afc)
2002-10-19This fixes some bugs for NT4 usrmgr.exeVolker Lendecke3-9/+33
Volker (This used to be commit 32d6bcf3acefc77873a7241cc0c7e26241a65301)
2002-10-18must add one to the extra_data size to transfer the 0 string terminator.Herb Lewis1-1/+2
This was causing "wbinfo --sequence" to access past the end of malloced memory. (This used to be commit 4125c582aaf86ee5d92b0c800266543a390aefce)
2002-10-18Don't encourage people to use -P - it's obsoleteJelmer Vernooij1-1/+0
(This used to be commit 59ecac901a231383bd4cacb326724f786e3d7244)
2002-10-18It seems that I'm meant to be using the helper function here, not the structAndrew Bartlett1-1/+1
directly... Andrew Bartlett (This used to be commit 0abeb8725e8ea53a468d6004457bb7fa89a0f8b2)
2002-10-18Format objectGUIDs on ads dumps.Jim McDonough2-5/+53
(This used to be commit 7eaf7e7115c75e682b1b9368c6f28c60429885e5)
2002-10-18Start to merge the new ACL mapping code from Andreas Gruenbacher ↵Jeremy Allison2-48/+106
<agruen@suse.de>. Jeremy. (This used to be commit f6103f866a5e698ab55fdab1444a14e3d8da16bb)
2002-10-18NULL enum_local_groups for ads winbindd (temporary workaround).Gerald Carter2-1/+2
(This used to be commit 06eea39abdb49d9d547707dcb170c988d7276c1d)
2002-10-18Add extra parm to cli_full_connection call. Tim, you should probably look ↵Jim McDonough1-1/+1
at this. (This used to be commit a9f632ed5d3d033849c25efac419b21e830c5069)
2002-10-18Fix build. Extra parm was added to cli_full_connection, but not in locktest2.c.Jim McDonough1-1/+2
(This used to be commit 51e0f5c2dd469c59a41822dbda293e59794a7dc4)
2002-10-17Added new error codes. Fix up connection code to retry in the same wayJeremy Allison10-29/+99
that app-head does. Jeremy. (This used to be commit b521abd86b10573ca8f9116907c81e6deb55f049)
2002-10-17Revert changesVolker Lendecke2-25/+17
(This used to be commit 975fd17f8af0f03f43995deb3fdd9bd5995a1c92)
2002-10-17Revert changesVolker Lendecke1-24/+22
(This used to be commit 84b62f6d96a77ccbc1b4475ab0780a4e4c9d4875)
2002-10-17When unmarshalling a relstr, don't unmarshall the string data if theTim Potter1-0/+3
offset is zero. Previously we were jumping to the start of the parse buffer (i.e offset zero) and reading string data until we hit a terminating NULL. Test case: in a PRINTER_INFO_0 structure, the servername field may be NULL when doing an enumprinters with flags = PRINTER_ENUM_LOCAL. (This used to be commit e62c6bf066c2242aae605ba707c9775b37bcaca3)
2002-10-17Ignore python build directory.Tim Potter1-0/+1
(This used to be commit 36681c1c2784ebfe63173a442a193ef22e25c3e3)
2002-10-17Do a SMB_ASSERT() in cli_nt_session_open() when the pipe index is outTim Potter1-2/+3
of range instead of silently failing. (This used to be commit b5111f47b5cf1820550e17663f983674b67bcaff)
2002-10-17make protoTim Potter1-1/+1
(This used to be commit 86c884c3a129d12dc77332c38484bef78c66440e)
2002-10-17open_pipe_creds() now takes a pipe index instead of a pipe name.Tim Potter5-10/+9
(This used to be commit 3a0a30beda4b8be0038c98ccc6f8f01c6dae386a)
2002-10-17Fix for new arguments of cli_nt_session_open()Tim Potter1-4/+3
(This used to be commit cfb0c12eb6412c2cc84785c17ab2f6c89916aa56)
2002-10-16Never do a ZERO_STRUCT on a structure in a linked list, it's dumb :-).Jeremy Allison1-1/+3
Jeremy. (This used to be commit 0d989a911d742ed5eeb874f5b8350b0931f3d9db)