summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* source4/lib/registry/patchfile.c(reg_diff_load): fixed possible resource leak.Slava Semushin2009-07-191-0/+1
| | | | | | | | File descriptor leaks when write(2) fails and we are returning from function. Found by cppcheck: [./source4/lib/registry/patchfile.c:319]: (error) Resource leak: fd
* lib/util/util_file.c(file_save): fixed file descriptor leak when read(2) fails.Slava Semushin2009-07-191-0/+1
| | | | | Found by cppcheck: [./lib/util/util_file.c:383]: (error) Resource leak: fd
* Fix broken password quality checkMatthieu Patou2009-07-192-1/+4
| | | | | This fixes broken password tests when the passwords contain non ASCII characters (e.g. accentuated chars like ('e, `e, ...)
* Fix typoMatthias Dieter Wallnöfer2009-07-191-1/+1
|
* [SAMBA 4] Some cosmetic changes for the LDB modulesMatthias Dieter Wallnöfer2009-07-192-12/+12
| | | | Some corrections which make the code a bit more readable (no functional changes here)
* include unix.h if it's availableMatt Kraai2009-07-192-0/+5
|
* Cosmetic correctionMatthias Dieter Wallnöfer2009-07-191-1/+1
| | | | | Changes the order of two commands. First set up the "priv" structure, then assign it to the "ntvfs" structure.
* Merge more ndr interfaces into libndr-standard.Jelmer Vernooij2009-07-192-59/+23
|
* librpc: Integrate some subsystems now part of libndr-standard and integrate ↵Jelmer Vernooij2009-07-191-30/+14
| | | | ndr_dfs in libndr-standard.
* Add missing includes.Jelmer Vernooij2009-07-192-0/+2
|
* Create libndr-standard, which includes the NDR marshalling code forJelmer Vernooij2009-07-194-19/+41
| | | | the "standard" set of DCE/RPC interfaces found on Windows.
* Remove unnecessary include, update README.Jelmer Vernooij2009-07-192-4/+0
|
* Remove outdated status file about samba3 -> samba4 upgrade project.Jelmer Vernooij2009-07-191-68/+0
|
* Fix a few type errors in VFS modulesVolker Lendecke2009-07-196-10/+18
|
* VFS examples: Update copy of config.{guess,sub}.Jelmer Vernooij2009-07-182-75/+282
|
* python: Set right ldb modules directory when using system ldb.Jelmer Vernooij2009-07-181-0/+2
|
* Actually fill in ldb modules directory.Jelmer Vernooij2009-07-181-1/+1
|
* Remove pyldb_util and simply duplicate the 5-line function it contains,Jelmer Vernooij2009-07-186-53/+21
| | | | rather than creating a separate shared library for it.
* ldb: Display SHLD_FLAGS when building.Jelmer Vernooij2009-07-181-0/+1
|
* Fix Coverity CIDs 887, 888. Don't pass NULL's to functionsJeremy Allison2009-07-171-4/+3
| | | | | that deref them. Jeremy.
* Fix Coverity CID 928. Removed check as this can never be null.Jeremy Allison2009-07-171-1/+1
| | | | Jeremy.
* Fix Coverity CID 929. Potential NULL deref after code refactoring.Jeremy Allison2009-07-171-0/+5
| | | | Jeremy.
* Fix coverity CID 930. Pointer check can never be null here.Jeremy Allison2009-07-171-1/+1
| | | | Jeremy
* Fix coverity CID 931. This check is redundent as smb_fname canJeremy Allison2009-07-171-1/+1
| | | | | never be null in this function. Jeremy.
* Fix a typo reading uninitialized memory. Caught by valgrind.Jeremy Allison2009-07-171-3/+1
| | | | Jeremy.
* Move the initialization of smbd_server_conn from smbd/process,Jeremy Allison2009-07-172-5/+5
| | | | | | | | | | | | | | | | | | | | | after the accept and fork, to smbd_init_globals(), so it's done immediately on server startup. This is needed as some messages are sent to all active smbd processes (including the master listening daemon). If it gets a message that forces it to scan it's current connections (ie. conn_find()) then it discovers that sconn->smb1.tcons.Connections dereferences null (as sconn == NULL in the parent) and crashes. Yes, I could fix all cases where sconn is used and explicitly check for NULL but this fix is easier. It means that the smbd_event_context() is initialized in the master daemon and then re-initialized after fork, but that should be being done correctly in every fork call anyway. Without this change the previous fix 6a9e0039100b57f9626e87defec6720c476b9789 still panics in the reproducible test case for bug 6564, as this is one case where such a message (MSG_SMB_CONF_UPDATED) is sent to the parent. Metze please check. This change passes valgrind. Jeremy.
* Fix bug #6564 - SetPrinter fails (panics) as non root.Jeremy Allison2009-07-172-0/+5
| | | | | Missing become_root()/unbecome_root() around reload_services. Jeremy.
* 3.4 is released...Volker Lendecke2009-07-171-1/+1
|
* s4-spoolss: fix the build after OsVersion changes.Günther Deschner2009-07-171-3/+6
| | | | Guenther
* spoolss: fill in some unknowns in spoolss_OSVersion and spoolss_OSVersionEx.Günther Deschner2009-07-173-18/+33
| | | | Guenther
* s3: add failure check.Bo Yang2009-07-181-1/+4
| | | | Signed-off-by: Bo Yang <boyang@samba.org>
* s3-rpcclient: add createprinteric command.Günther Deschner2009-07-171-0/+43
| | | | Guenther
* spoolss: fill in spoolss_Create/DeletePrinterIC + rerun make samba3-idl.Günther Deschner2009-07-176-2/+134
| | | | Guenther
* s3-lsa: let _lsa_Delete return NT_STATUS_NOT_SUPPORTED as w2k3 does.Günther Deschner2009-07-171-6/+10
| | | | Guenther
* s3-lsa: Fix access_mask calculation for new handle in _lsa_CreateAccount().Günther Deschner2009-07-171-6/+24
| | | | Guenther
* s3-lsa: add (not yet activate) level specific access checks for ↵Günther Deschner2009-07-171-0/+42
| | | | | | _lsa_QueryInfoPolicy. Guenther
* s3-lsa: also implement level 13 in lsa_QueryInfoPolicy.Günther Deschner2009-07-171-19/+24
| | | | Guenther
* s3-lsa: Fix policy handle memleak and handle type check in _lsa_DeleteObject().Günther Deschner2009-07-171-4/+14
| | | | Guenther
* s3-rpcclient: add LSA storeprivatedata command.Günther Deschner2009-07-171-0/+56
| | | | Guenther
* s3-rpcclient: add LSA retrieveprivatedata command.Günther Deschner2009-07-171-0/+60
| | | | Guenther
* s3-rpcclient: add LSA setsecret command.Günther Deschner2009-07-171-0/+71
| | | | Guenther
* s3-rpcclient: add LSA querysecret command.Günther Deschner2009-07-171-0/+86
| | | | Guenther
* s3-rpcclient: add LSA deletesecret command.Günther Deschner2009-07-171-0/+50
| | | | Guenther
* s3-rpcclient: add LSA createsecret command.Günther Deschner2009-07-171-0/+43
| | | | Guenther
* lsa: fill in lsa_StorePrivateData and lsa_RetrievePrivateData and rerun make ↵Günther Deschner2009-07-176-7/+214
| | | | | | samba3-idl. Guenther
* s3: compile warning and upn handlingBo Yang2009-07-183-14/+31
| | | | Signed-off-by: Bo Yang <boyang@samba.org>
* s3: don't do this, upper callbacks will check itBo Yang2009-07-181-4/+0
| | | | Signed-off-by: Bo Yang <boyang@samba.org>
* s3: Fix crsh in net usershare listBo Yang2009-07-181-0/+1
| | | | Signed-off-by: Bo Yang <boyang@samba.org>
* More conversions of NULL -> talloc_autofree_context()Jeremy Allison2009-07-163-19/+24
| | | | | so we at least know when we're using a long-lived context. Jeremy.
* Replace more long-lived contexts with talloc_autofree_context().Jeremy Allison2009-07-162-2/+2
| | | | Jeremy.