summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2009-04-28Convert cli_rename to async.Jeremy Allison6-33/+122
Jeremy.
2009-04-28Convert cli_posix_unlink() and cli_posix_rmdir()Jeremy Allison4-69/+208
to async. First trans calls I've done. Jeremy.
2009-04-28Fix bug #6291 - force user stop working.Jeremy Allison1-1/+37
A previous fix broke the invariant that *uid is always initialized on return from create_token_from_username(). Restore it. Jeremy.
2009-04-28s3-cldap: check for zero ip address in ads_cldap_netlogon().Günther Deschner1-0/+7
Guenther
2009-04-28s3:loadparm: prevent infinite include nesting.Michael Adam1-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
2009-04-28s3-net: make sure to call libnetapi init functions at the top of "net rpc" ↵Günther Deschner1-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
2009-04-28Fix a type-punned warningVolker Lendecke1-1/+1
2009-04-28s3:mark registry shares without path unavailable just as with text configMichael Adam1-0/+3
This prevents users from getting access to "/" in misconfigured setups. Michael
2009-04-28Fix annoying debug messages when no snapshots are usedVolker Lendecke1-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.
2009-04-28s3-svcctl: Fix crash in _svcctl_EnumServicesStatusW().Günther Deschner1-1/+3
The resume handle is a unique pointer, always check before dereference. Guenther
2009-04-28Do not panic unnecessarilyVolker Lendecke1-2/+4
2009-04-27s3-auth-charcnv: fix push_string(). Don't push to ucs2 and ascii after another.Günther Deschner1-1/+2
This fixes all kinds of encrypted passwords used in the shared auth code naturally. Andrew B., please check. Guenther
2009-04-27s3:nt_printing: fix a comment typoMichael Adam1-1/+1
Michael
2009-04-27[FIX Bug 6235] domain enumeration breaks if master browser has space in nameDerrell Lipman1-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
2009-04-27s3:libsmbconf: fix a comment typoMichael Adam1-1/+1
Michael
2009-04-27s3:registry: replace typedef REGISTRY_OPS by struct registry_opsMichael Adam17-43/+43
Michael
2009-04-27s3:registry replace typedef REGISTRY_HOOK by struct registry_hook.Michael Adam2-5/+5
Michael
2009-04-27s3:registry: replace typedef REGISTRY_KEY by struct registry_key_handleMichael Adam6-53/+69
Michael
2009-04-27s3:registry: make a comment more precise.Michael Adam1-1/+1
Michael
2009-04-27s3:registry: replace typedef REGISTRY_VALUE by struct regval_blobMichael Adam15-76/+83
Michael
2009-04-27s3:registry: replace typedef REGVAL_CTR by struct regval_ctr.Michael Adam26-116/+116
This paves the way for hiding the typedef and the implementation from the surface. Michael
2009-04-27s3:net conf: support dangling parameters by specifying "" as the section name.Michael Adam1-12/+30
for {get,set,del}parm Michael
2009-04-27s3:fix build of the pam_smbpass shared moduleMichael Adam1-0/+2
Michael
2009-04-24find/replace. Change uintX types to uintX_t types to tidy up the code.Jeremy Allison2-53/+53
Jeremy.
2009-04-24s3-libnetjoin: make acct_flags dependent on secure channel type.Günther Deschner1-3/+12
Guenther
2009-04-24s3-libnetjoin: add support for WKSSVC_JOIN_FLAGS_JOIN_UNSECURE.Günther Deschner1-3/+59
Guenther
2009-04-24s3-svcctl: indicate that the spooler is already running if it does.Günther Deschner1-0/+4
Guenther
2009-04-24s3-svcctl: fix _svcctl_ControlService.Günther Deschner1-1/+1
Guenther
2009-04-24s3-idmap: Fix bug #6286: Call init function for builtin idmap modules before ↵Günther Deschner1-0/+2
probing for them as shared modules. idmap-gurus of the world, please check. Guenther
2009-04-24s3-build: refactor LIBNET_OBJ.Günther Deschner1-11/+14
Guenther
2009-04-24s3-netlogon: Start fixing rpccli_netlogon_setup_creds after auth merge.Günther Deschner1-1/+2
Guenther
2009-04-23samba3/ldb: Update the ldb_dn API to match that of the Samba 4 LDB:Jelmer Vernooij4-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.
2009-04-23ldb/samba3: Support event context argument to ldb_init().Jelmer Vernooij10-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.
2009-04-23charcnv: Import push_codepoint().Jelmer Vernooij1-0/+61
2009-04-23Add missing prototypesVolker Lendecke1-0/+20
2009-04-23Revert "Do not use the file system GET_REAL_FILENAME for mangled names"Volker Lendecke1-23/+7
This reverts commit b5b6ecb58aeba196c28370cde21a0826f81d8da6.
2009-04-23Fix a couple of warningsVolker Lendecke1-1/+1
2009-04-23Fix an uninitialized variableVolker Lendecke1-0/+2
2009-04-23Fix a type-punned warningVolker Lendecke1-1/+1
2009-04-23Fix a pointless staticVolker Lendecke1-1/+1
2009-04-23Fix coverity #901 - uninitialized data.Jeremy Allison1-1/+1
Jeremy.
2009-04-23Fix Coverity bug #902, uninitialized variable.Jeremy Allison2-2/+4
Jeremy.
2009-04-23Fix coverity #908, #909, uninitialized variable.Jeremy Allison1-2/+2
Jeremy.
2009-04-23Fix Coverity ID 884: DEADCODEVolker Lendecke1-3/+4
2009-04-23Fix coverity #910, uninitialized variable.Jeremy Allison1-1/+1
Jeremy.
2009-04-23s3-selftest: test wbinfo --allocate-uid/gid.Günther Deschner1-0/+2
Guenther
2009-04-23errormap: Change the WBC_ERR_UNKNOWN_ERROR to map to NT_STATUS_UNSUCCESSFULKai Blin1-1/+1
This allows us to distinguish on NTSTATUS level if we got a WBC_ERR_UNKNOWN_ERROR or WBC_ERR_NSS_ERROR.
2009-04-22Make dskattr async.Jeremy Allison3-40/+104
Jeremy.
2009-04-22ѕ3/configure: fix regexp for ld version recognitionBjörn Jacke1-1/+1
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-04-22Fix profile acls in some corner casesSimo Sorce1-3/+18
Always add back the real original owner of the directory in the ACE List after we steal its ACE for the Administrators group.