Günther Deschner
753b9c6d56
s3-spoolss: fix fstrings in convert_devicemode() function.
...
Guenther
2009-11-30 23:29:29 +01:00
Volker Lendecke
6aef5e591f
Fix bug 6546: Avoid accessing buf[-1] if NUL byte comes from fgets
2009-11-30 21:48:59 +01:00
Karolin Seeger
3b7f8a759f
s3:docs: Fix typo in man mount.cifs.
...
Fix bug #6844 (wrong credential file format in mount.cifs manpage).
Thanks to the Debian Samba package maintainers for reporting!
Karolin
2009-11-30 14:53:23 +01:00
Karolin Seeger
fde7c2ab19
s3:docs: Document "aio write behind".
...
Part of a fix for bug #6890 (Some smb.conf parameters are undocumented).
Karolin
2009-11-30 13:35:48 +01:00
Karolin Seeger
9478ec35b5
s3:docs: Document "ldap page size".
...
Part of a fix for bug #6890 (Some smb.conf parameters are undocumented).
Karolin
2009-11-30 13:35:47 +01:00
Bo Yang
62a27325d9
s3: Fix crash in free_file_list().
...
Signed-off-by: Bo Yang <boyang@samba.org>
2009-11-30 19:22:47 +08:00
Karolin Seeger
b03ad70848
s3:docs: Document "enable core files".
...
Part of a fix for bug #6890 (Some smb.conf parameters are undocumented).
Karolin
2009-11-30 11:41:40 +01:00
Fernando J V da Silva
7399c04fd0
s4-drs: Test situations for runtime constructed parentGUID
...
Includes the following verifications for the constructed parentGUID:
- Checks if it returns nothing when there is no parent object
- Ensures that attributes mentioned after the parentGUID
are returned correctly (this avoid a bug pointed out by Tridge
during sync constructed parentGUID development)
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-11-30 21:17:28 +11:00
Fernando J V da Silva
71e29cbf56
s4-drs: Using dsdb_msg_add_guid() utility function
...
Uses the dsdb_msg_add_guid() to add any kind of GUID attribute
to a ldb_message in several places of samba4 code.
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-11-30 21:17:27 +11:00
Karolin Seeger
0003b5fad1
s3:docs: Document "cache directory" and "state directory".
...
Part of a fix for bug #6890 (Some smb.conf parameters are undocumented).
Karolin
2009-11-30 11:04:50 +01:00
Volker Lendecke
b4bce76776
s3: Fix bug 6288
2009-11-30 10:43:23 +01:00
Crístian Deives
1cf48022af
s4-drs: add deletion of old connections
...
the nTDSConnection objects that are not needed anymore will be deleted.
the function kccsrv_delete_connection wasn't tested yet.
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-11-30 20:22:13 +11:00
Crístian Deives
bed9efa6cd
s4-ldb: changed ldb_msg_add_dn() to ldb_msg_add_linearized_dn()
...
this makes the usage clearer
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-11-30 20:22:13 +11:00
Crístian Deives
7ca2ceb333
s4-drs: Create connection obejct (nTDSConnection)
...
create nTDSConnection objects to match the list of servers
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-11-30 20:22:13 +11:00
Andrew Tridgell
8331b4c4f8
s4-ldb: check for -ve value for page size
...
This comes from a tip from Howard Chu. Apparently some clients
will send a -ve page size value.
2009-11-30 18:15:31 +11:00
Andrew Tridgell
a5e0f433de
s4-dsdb: don't call ldb_next_init() twice in objectclass module
2009-11-30 16:49:36 +11:00
Volker Lendecke
99ba74b75e
s3: Fix a "not handled in switch" warning
2009-11-29 23:42:41 +01:00
Volker Lendecke
42f832548d
s3: Fix an uninitialized variable reference
2009-11-29 23:42:41 +01:00
Volker Lendecke
4e9d95c1e7
s3: Fix some nonempty blank lines
2009-11-29 23:42:41 +01:00
Volker Lendecke
7bbee8dc17
s3: Add a regression test for bug 6898
2009-11-29 16:12:51 +01:00
Volker Lendecke
603a3ba19e
s3: Factor out torture_setup_unix_extensions
2009-11-29 16:12:51 +01:00
Matthias Dieter Wallnöfer
51bedf9395
lib/registry/util.c - Reorder the registry datatypes of the conversion functions
...
This is absolutely cosmetic and makes the code easier to comprehend.
2009-11-29 14:58:41 +01:00
Matthias Dieter Wallnöfer
df1d42fc1b
Revert "s4:registry/util - Don't include the trailing '\0' in the internal data format but add it on the back-conversion to a string"
...
This reverts commit 7d400715e9af2056690c03a1a2f45c7f343fa313.
"convert_string_talloc_convenience" does always add the NULL termination. Didn't
know that. Thanks Jelmer for pointing out!
2009-11-29 14:51:50 +01:00
Volker Lendecke
69a68208bd
s3: Restore "fake directory create times" as a share parameter
2009-11-29 11:22:05 +01:00
Volker Lendecke
e71c17b2b0
s3: "copy_reg" only looks at mode, uid, gid, atime and mtime (no birthtime)
2009-11-29 11:22:05 +01:00
Volker Lendecke
224691aa53
s3: Pass up fake_dir_create_times from atalk_build_paths
...
The callers only look at the mode
2009-11-29 11:22:04 +01:00
Volker Lendecke
36e8d8ed45
s3: Move directory_exist_stat to testparm.c, it only looks at the mode
2009-11-29 11:22:04 +01:00
Volker Lendecke
33601b8632
s3: Pass fake_dir_create_times down to file_exist_stat, none of the callers look at the mtime
2009-11-29 11:22:04 +01:00
Volker Lendecke
129e976c47
s3: "startsmbfilepwent" only looks at the inode -- is that enough?
2009-11-29 11:22:04 +01:00
Volker Lendecke
6e94113b6f
s3: "get_file_size" only looks at the size
2009-11-29 11:22:04 +01:00
Volker Lendecke
9009277b76
s3: "socket_exist" only looks at the mode
2009-11-29 11:22:04 +01:00
Volker Lendecke
66e6439b7b
s3: "sys_path_to_bdev" only looks at the devicenumber
2009-11-29 11:22:04 +01:00
Volker Lendecke
c4f9adf9dd
s3: "check_log_size" only looks at the size
2009-11-29 11:22:04 +01:00
Volker Lendecke
77fb5e19d8
s3: "regf_hbin_allocate" only looks at the size
2009-11-29 11:22:04 +01:00
Volker Lendecke
d5e5d09d73
s3: "read_block" only looks at the size
2009-11-29 11:22:04 +01:00
Volker Lendecke
13e70058c0
s3: "write_block" does not use the sbuf at all
2009-11-29 11:22:04 +01:00
Volker Lendecke
5915996452
s3: "net_conf_addshare" only looks at the mode
2009-11-29 11:22:03 +01:00
Volker Lendecke
2f2a156c73
s3: "net_usershare_add" only looks at the mode, device and inode
2009-11-29 11:22:03 +01:00
Volker Lendecke
2a7778f7b2
s3: "net_usershare_add" only looks at the device and inode
2009-11-29 11:22:03 +01:00
Volker Lendecke
41b2af34b1
s3: "net_usershare_add" only looks at the mode and uid
2009-11-29 11:22:03 +01:00
Volker Lendecke
36eed01730
s3: "count_num_usershares" only looks at the mode
2009-11-29 11:22:03 +01:00
Volker Lendecke
7c65709887
s3: "info_fn" only looks at the mode and uid
2009-11-29 11:22:03 +01:00
Volker Lendecke
a95404bbae
s3: "get_share_list" only looks at the mode and uid
2009-11-29 11:22:03 +01:00
Volker Lendecke
188b94012b
s3: "cgi_download" only looks at the mode and size
2009-11-29 11:22:03 +01:00
Volker Lendecke
b1a0c68ff2
s3: "print_job_end" only looks at the size
2009-11-29 11:22:03 +01:00
Volker Lendecke
19a7a6cbe3
s3: "check_magic" only looks at the size
2009-11-29 11:22:03 +01:00
Volker Lendecke
359e71d956
s3: "disk_quotas" only looks at the devicenumber
2009-11-29 11:22:03 +01:00
Volker Lendecke
e41e21b9d4
s3: "load_usershare_shares" only looks at the mode and uid
2009-11-29 11:22:02 +01:00
Volker Lendecke
5e6031c9c5
s3: "load_usershare_service" only looks at the mode and uid
2009-11-29 11:22:02 +01:00
Volker Lendecke
7e9c2c5df3
s3: "usershare_exists" only looks at the mode and mtime
2009-11-29 11:22:02 +01:00