Jeremy Allison
c732e9446f
Doh ! Don't need "int dummy" when we have state :-).
...
Jeremy.
2009-04-28 16:45:13 -07:00
Jeremy Allison
bd6447dcf2
Convert cli_rename to async.
...
Jeremy.
2009-04-28 16:43:16 -07:00
Jeremy Allison
06e404f574
Convert cli_posix_unlink() and cli_posix_rmdir()
...
to async. First trans calls I've done.
Jeremy.
2009-04-28 13:18:51 -07:00
Jeremy Allison
d47669684d
Fix bug #6291 - force user stop working.
...
A previous fix broke the invariant that *uid is always
initialized on return from create_token_from_username().
Restore it.
Jeremy.
2009-04-28 11:07:51 -07:00
Günther Deschner
8e4cd873e3
s3-cldap: check for zero ip address in ads_cldap_netlogon().
...
Guenther
2009-04-28 12:49:17 +02:00
Michael Adam
d5f2bbdc48
s3:loadparm: prevent infinite include nesting.
...
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-28 12:20:38 +02:00
Günther Deschner
09ec85715b
s3-net: make sure to call libnetapi init functions at the top of "net rpc" 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-28 12:16:38 +02:00
Volker Lendecke
251c220f91
Fix a type-punned warning
2009-04-28 11:58:44 +02:00
Michael Adam
d16e40b5ef
s3:mark registry shares without path unavailable just as with text config
...
This prevents users from getting access to "/" in misconfigured setups.
Michael
2009-04-28 11:40:26 +02:00
Volker Lendecke
c33291d49f
Fix annoying debug messages when no snapshots are used
...
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-28 11:21:49 +02:00
Günther Deschner
dd33abf649
s3-svcctl: Fix crash in _svcctl_EnumServicesStatusW().
...
The resume handle is a unique pointer, always check before dereference.
Guenther
2009-04-28 10:37:34 +02:00
Volker Lendecke
6af92c0228
Do not panic unnecessarily
2009-04-28 05:31:48 +02:00
Günther Deschner
d9805878e2
s3-auth-charcnv: fix push_string(). Don't push to ucs2 and ascii after another.
...
This fixes all kinds of encrypted passwords used in the shared auth code naturally.
Andrew B., please check.
Guenther
2009-04-27 21:05:40 +02:00
Michael Adam
a94bd62d28
s3:nt_printing: fix a comment typo
...
Michael
2009-04-27 18:17:27 +02:00
Derrell Lipman
641e12561a
[FIX Bug 6235] domain enumeration breaks if master browser has space in name
...
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-27 09:34:25 -04:00
Michael Adam
65527216f1
s3:libsmbconf: fix a comment typo
...
Michael
2009-04-27 13:25:07 +02:00
Michael Adam
e935d8616b
s3:registry: replace typedef REGISTRY_OPS by struct registry_ops
...
Michael
2009-04-27 11:21:04 +02:00
Michael Adam
c9b1734419
s3:registry replace typedef REGISTRY_HOOK by struct registry_hook.
...
Michael
2009-04-27 11:21:04 +02:00
Michael Adam
cec8428747
s3:registry: replace typedef REGISTRY_KEY by struct registry_key_handle
...
Michael
2009-04-27 11:21:04 +02:00
Michael Adam
8797bb1382
s3:registry: make a comment more precise.
...
Michael
2009-04-27 11:21:03 +02:00
Michael Adam
8185d31fb0
s3:registry: replace typedef REGISTRY_VALUE by struct regval_blob
...
Michael
2009-04-27 11:21:03 +02:00
Michael Adam
221151a2a2
s3:registry: replace typedef REGVAL_CTR by struct regval_ctr.
...
This paves the way for hiding the typedef and the implementation
from the surface.
Michael
2009-04-27 11:21:02 +02:00
Michael Adam
38d02c5d85
s3:net conf: support dangling parameters by specifying "" as the section name.
...
for {get,set,del}parm
Michael
2009-04-27 11:21:02 +02:00
Michael Adam
cf9b027709
s3:fix build of the pam_smbpass shared module
...
Michael
2009-04-27 11:21:01 +02:00
Jeremy Allison
bd5c2c7dc8
find/replace. Change uintX types to uintX_t types to tidy up the code.
...
Jeremy.
2009-04-24 07:06:48 -07:00
Günther Deschner
e28071f79a
s3-libnetjoin: make acct_flags dependent on secure channel type.
...
Guenther
2009-04-24 14:38:28 +02:00
Günther Deschner
37f491e5e3
s3-libnetjoin: add support for WKSSVC_JOIN_FLAGS_JOIN_UNSECURE.
...
Guenther
2009-04-24 14:38:19 +02:00
Günther Deschner
16b2f4b55a
s3-svcctl: indicate that the spooler is already running if it does.
...
Guenther
2009-04-24 13:38:43 +02:00
Günther Deschner
aa26bdd719
s3-svcctl: fix _svcctl_ControlService.
...
Guenther
2009-04-24 13:38:34 +02:00
Günther Deschner
67588ca80d
s3-idmap: Fix bug #6286 : Call init function for builtin idmap modules before probing for them as shared modules.
...
idmap-gurus of the world, please check.
Guenther
2009-04-24 10:02:06 +02:00
Günther Deschner
c9ec012e12
s3-build: refactor LIBNET_OBJ.
...
Guenther
2009-04-24 09:53:09 +02:00
Günther Deschner
8d3e61e5ce
s3-netlogon: Start fixing rpccli_netlogon_setup_creds after auth merge.
...
Guenther
2009-04-24 09:52:00 +02:00
Jelmer Vernooij
b6981e79df
samba3/ldb: Update the ldb_dn API to match that of the Samba 4 LDB:
...
* 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-23 18:27:32 +02:00
Jelmer Vernooij
9b64073cf7
ldb/samba3: Support event context argument to ldb_init().
...
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-23 18:27:31 +02:00
Jelmer Vernooij
598f78bd1f
charcnv: Import push_codepoint().
2009-04-23 17:50:18 +02:00
Volker Lendecke
652dc40f0d
Add missing prototypes
2009-04-23 16:46:01 +02:00
Volker Lendecke
1722859abd
Revert "Do not use the file system GET_REAL_FILENAME for mangled names"
...
This reverts commit b5b6ecb58a
.
2009-04-23 14:54:52 +02:00
Volker Lendecke
2146310fb7
Fix a couple of warnings
2009-04-23 14:35:50 +02:00
Volker Lendecke
b8cd1cff2d
Fix an uninitialized variable
2009-04-23 14:35:50 +02:00
Volker Lendecke
d7208577f2
Fix a type-punned warning
2009-04-23 14:35:50 +02:00
Volker Lendecke
546d16500d
Fix a pointless static
2009-04-23 13:46:29 +02:00
Jeremy Allison
96932593df
Fix coverity #901 - uninitialized data.
...
Jeremy.
2009-04-23 02:51:55 -07:00
Jeremy Allison
6610327770
Fix Coverity bug #902 , uninitialized variable.
...
Jeremy.
2009-04-23 02:02:28 -07:00
Jeremy Allison
2012770393
Fix coverity #908 , #909 , uninitialized variable.
...
Jeremy.
2009-04-23 01:47:04 -07:00
Volker Lendecke
5abdc58f98
Fix Coverity ID 884: DEADCODE
2009-04-23 10:44:51 +02:00
Jeremy Allison
1e315b0013
Fix coverity #910 , uninitialized variable.
...
Jeremy.
2009-04-23 01:38:21 -07:00
Günther Deschner
59fe99027d
s3-selftest: test wbinfo --allocate-uid/gid.
...
Guenther
2009-04-23 10:30:32 +02:00
Kai Blin
c93e2d9d43
errormap: Change the WBC_ERR_UNKNOWN_ERROR to map to NT_STATUS_UNSUCCESSFUL
...
This allows us to distinguish on NTSTATUS level if we got a
WBC_ERR_UNKNOWN_ERROR or WBC_ERR_NSS_ERROR.
2009-04-23 00:23:56 +02:00
Jeremy Allison
455f2a4c65
Make dskattr async.
...
Jeremy.
2009-04-22 08:04:53 -07:00
Björn Jacke
740c2c4366
ѕ3/configure: fix regexp for ld version recognition
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-04-22 16:05:36 +02:00