summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:smbd/service: switch load_registry_service/shares to use loadparm routinesMichael Adam2009-04-293-71/+5
| | | | | | | | | | | instead of reading the registry directly with tdb and activating the configure options by hand. This eliminates the need for repeating checks done in loadparm. For instance it disables registry shares without path in the server as is the case with text based shares. Michael
* s3:loadparm: refactor process_registry_service out or process_registry_globalsMichael Adam2009-04-292-11/+26
| | | | Michael
* Doh ! Don't need "int dummy" when we have state :-).Jeremy Allison2009-04-281-1/+0
| | | | Jeremy.
* Convert cli_rename to async.Jeremy Allison2009-04-286-33/+122
| | | | Jeremy.
* Convert cli_posix_unlink() and cli_posix_rmdir()Jeremy Allison2009-04-284-69/+208
| | | | | to async. First trans calls I've done. Jeremy.
* Fix bug #6291 - force user stop working.Jeremy Allison2009-04-281-1/+37
| | | | | | | A previous fix broke the invariant that *uid is always initialized on return from create_token_from_username(). Restore it. Jeremy.
* s3-cldap: check for zero ip address in ads_cldap_netlogon().Günther Deschner2009-04-281-0/+7
| | | | Guenther
* s3:loadparm: prevent infinite include nesting.Michael Adam2009-04-281-2/+19
| | | | | | | | | | | | This introduces a hard coded MAX_INCLUDE_DEPTH of 100. When this is exceeded, handle_include (and hence lp_load) fails. One could of course implement a more intelligent loop detection in the include-tree, but this would require some restructuring of the internal loadparm housekeeping. Maybe as a second improvement step. Michael
* s3-net: make sure to call libnetapi init functions at the top of "net rpc" ↵Günther Deschner2009-04-281-0/+13
| | | | | | | | | | | | | | command. Without the initialization "net rpc password" will prompt twice for passwords and will not allow to define the name of the connection admin user. In the long run we should probably only have one place where to initialize libnetapi. Kai, please check. Guenther
* Fix a type-punned warningVolker Lendecke2009-04-281-1/+1
|
* s3:mark registry shares without path unavailable just as with text configMichael Adam2009-04-281-0/+3
| | | | | | This prevents users from getting access to "/" in misconfigured setups. Michael
* Fix annoying debug messages when no snapshots are usedVolker Lendecke2009-04-281-2/+3
| | | | | | | Not being able to open the shadow copy directory is the same as having no shadow copy support at all. The VFS module should in this case not log with debug level 0 and set ENOSYS to indicate "no shadow copies used" to the higher levels.
* s3-svcctl: Fix crash in _svcctl_EnumServicesStatusW().Günther Deschner2009-04-281-1/+3
| | | | | | The resume handle is a unique pointer, always check before dereference. Guenther
* Do not panic unnecessarilyVolker Lendecke2009-04-281-2/+4
|
* s3-auth-charcnv: fix push_string(). Don't push to ucs2 and ascii after another.Günther Deschner2009-04-271-1/+2
| | | | | | | This fixes all kinds of encrypted passwords used in the shared auth code naturally. Andrew B., please check. Guenther
* s3:nt_printing: fix a comment typoMichael Adam2009-04-271-1/+1
| | | | Michael
* [FIX Bug 6235] domain enumeration breaks if master browser has space in nameDerrell Lipman2009-04-271-1/+2
| | | | | | | | | | | Jeremy: please review to ensure this doesn't appear to break anything The function name_status_find() is documented as used for finding a server's name given its IP address. It was, however, looking for the first matching name which could be a group name at times. This fix ensures that group names are skipped when scanning for a matching name. Derrell
* s3:libsmbconf: fix a comment typoMichael Adam2009-04-271-1/+1
| | | | Michael
* s3:registry: replace typedef REGISTRY_OPS by struct registry_opsMichael Adam2009-04-2717-43/+43
| | | | Michael
* s3:registry replace typedef REGISTRY_HOOK by struct registry_hook.Michael Adam2009-04-272-5/+5
| | | | Michael
* s3:registry: replace typedef REGISTRY_KEY by struct registry_key_handleMichael Adam2009-04-276-53/+69
| | | | Michael
* s3:registry: make a comment more precise.Michael Adam2009-04-271-1/+1
| | | | Michael
* s3:registry: replace typedef REGISTRY_VALUE by struct regval_blobMichael Adam2009-04-2715-76/+83
| | | | Michael
* s3:registry: replace typedef REGVAL_CTR by struct regval_ctr.Michael Adam2009-04-2726-116/+116
| | | | | | | This paves the way for hiding the typedef and the implementation from the surface. Michael
* s3:net conf: support dangling parameters by specifying "" as the section name.Michael Adam2009-04-271-12/+30
| | | | | | for {get,set,del}parm Michael
* s3:fix build of the pam_smbpass shared moduleMichael Adam2009-04-271-0/+2
| | | | Michael
* find/replace. Change uintX types to uintX_t types to tidy up the code.Jeremy Allison2009-04-242-53/+53
| | | | Jeremy.
* s3-libnetjoin: make acct_flags dependent on secure channel type.Günther Deschner2009-04-241-3/+12
| | | | Guenther
* s3-libnetjoin: add support for WKSSVC_JOIN_FLAGS_JOIN_UNSECURE.Günther Deschner2009-04-241-3/+59
| | | | Guenther
* s3-svcctl: indicate that the spooler is already running if it does.Günther Deschner2009-04-241-0/+4
| | | | Guenther
* s3-svcctl: fix _svcctl_ControlService.Günther Deschner2009-04-241-1/+1
| | | | Guenther
* s3-idmap: Fix bug #6286: Call init function for builtin idmap modules before ↵Günther Deschner2009-04-241-0/+2
| | | | | | | | probing for them as shared modules. idmap-gurus of the world, please check. Guenther
* s3-build: refactor LIBNET_OBJ.Günther Deschner2009-04-241-11/+14
| | | | Guenther
* s3-netlogon: Start fixing rpccli_netlogon_setup_creds after auth merge.Günther Deschner2009-04-241-1/+2
| | | | Guenther
* samba3/ldb: Update the ldb_dn API to match that of the Samba 4 LDB:Jelmer Vernooij2009-04-234-31/+53
| | | | | | | * ldb_dn_new() now takes an initial DN string * ldb_dn_string_compose() -> ldb_dn_new_fmt() * dummy ldb_dn_validate(), since LDB DNs in the current implementation are always valid if they could be created.
* ldb/samba3: Support event context argument to ldb_init().Jelmer Vernooij2009-04-2310-10/+18
| | | | | | This argument is ignored (Samba3's LDB is synchronous) but having it there is useful for API compatibility with the LDB used by Samba 4 and available on some systems.
* charcnv: Import push_codepoint().Jelmer Vernooij2009-04-231-0/+61
|
* Add missing prototypesVolker Lendecke2009-04-231-0/+20
|
* Revert "Do not use the file system GET_REAL_FILENAME for mangled names"Volker Lendecke2009-04-231-23/+7
| | | | This reverts commit b5b6ecb58aeba196c28370cde21a0826f81d8da6.
* Fix a couple of warningsVolker Lendecke2009-04-231-1/+1
|
* Fix an uninitialized variableVolker Lendecke2009-04-231-0/+2
|
* Fix a type-punned warningVolker Lendecke2009-04-231-1/+1
|
* Fix a pointless staticVolker Lendecke2009-04-231-1/+1
|
* Fix coverity #901 - uninitialized data.Jeremy Allison2009-04-231-1/+1
| | | | Jeremy.
* Fix Coverity bug #902, uninitialized variable.Jeremy Allison2009-04-232-2/+4
| | | | Jeremy.
* Fix coverity #908, #909, uninitialized variable.Jeremy Allison2009-04-231-2/+2
| | | | Jeremy.
* Fix Coverity ID 884: DEADCODEVolker Lendecke2009-04-231-3/+4
|
* Fix coverity #910, uninitialized variable.Jeremy Allison2009-04-231-1/+1
| | | | Jeremy.
* s3-selftest: test wbinfo --allocate-uid/gid.Günther Deschner2009-04-231-0/+2
| | | | Guenther
* errormap: Change the WBC_ERR_UNKNOWN_ERROR to map to NT_STATUS_UNSUCCESSFULKai Blin2009-04-231-1/+1
| | | | | This allows us to distinguish on NTSTATUS level if we got a WBC_ERR_UNKNOWN_ERROR or WBC_ERR_NSS_ERROR.