summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-04-28Fix Coverity ID 853 (UNINIT) -- Kai, please check!Volker Lendecke1-0/+3
2009-04-28pm_process():raise level of debug messageMichael Adam1-1/+1
Michael
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-28Fix a type-punned warningVolker Lendecke1-1/+1
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-25s4:selftest: don't run the smb2.durable.open testStefan Metzmacher1-0/+1
it often crashes when the server doesn't support them. metze
2009-04-25s4:RPC-ECHO: disable the timeout test as it can't work with our client libraryStefan Metzmacher1-1/+4
We need proper ways to cancel requests in order to have that test working against a correctly behaving server over ncacn_np. metze
2009-04-25RAW-LOCK: samba4 behaves like windows 7 in regard of locking error codesStefan Metzmacher1-7/+13
metze
2009-04-25s4:torture: use torture api instead of printf for RAW-LOCKStefan Metzmacher1-234/+168
metze
2009-04-25s4:selftest: s4 doesn't support osxrename and directory rename yetStefan Metzmacher1-0/+2
metze
2009-04-25s4:tortore: use torture api instead of printf in RAW-RENAMEStefan Metzmacher1-36/+38
metze
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-24s4-smbtorture: add test_ControlService() to RPC-SVCCTL.Günther Deschner1-0/+34
Guenther
2009-04-24s4-smbtorture: add test_StartServiceW() to RPC-SVCCTL.Günther Deschner1-0/+34
Guenther
2009-04-24s4-smbtorture: change default service to spooler in RPC-SVCCTL.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-24Rename the top-level LDB test to LOCAL-LDB, so it gets picked up by theJelmer Vernooij5-25/+13
script that determines the tests to run.
2009-04-24s4:torture Fix segfault in RPC-SAMSYNCAndrew Bartlett1-1/+1
This code needs to be fixed to match Win2008 behavior, but at least it does not segfault any more. Andrew Bartlett
2009-04-24s4:torture Add tests for prefixMap custom attribute handlerAndrew Bartlett1-0/+34
2009-04-24Merge branch 'master' of ssh://git.samba.org/data/git/samba into abartlet-develAndrew Bartlett21-71/+180
2009-04-23Provide a ldb_global_init() function for compatibility with older versions ↵Jelmer Vernooij1-0/+6
of LDB (including the one in Samba 3).
2009-04-23More lcov code coverage generation workAndrew Bartlett1-3/+3
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-23Fix of a bug in the security.descriptor.as_sddl() methodnadezhda ivanova2-1/+7
security.descriptor.as_sddl() method did not work correctly when invoked without supplying the domain sid. Returned the same value as when the sid was provided. Test added for this case in libcli/security/tests/bindings.py Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-04-23s4:torture use common libcli/auth crypto codeAndrew Bartlett1-11/+9
2009-04-23Fix push_codepoint function without iconv_convenience.Jelmer Vernooij1-1/+1