mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
Catching up with old patches. Add define for VERITAS quota support.
Check return in ldap. Jeremy.
This commit is contained in:
parent
5431bae894
commit
66eff26fc9
@ -1177,5 +1177,13 @@ time_t timegm(struct tm *tm);
|
||||
#define strlen(x) valgrind_strlen(x)
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Veritas File System. Often in addition to native.
|
||||
* Quotas different.
|
||||
*/
|
||||
#if defined(HAVE_SYS_FS_VX_QUOTA_H)
|
||||
#define VXFS_QUOTA
|
||||
#endif
|
||||
|
||||
#endif /* _INCLUDES_H */
|
||||
|
||||
|
@ -326,6 +326,8 @@ static struct berval *dup_berval(TALLOC_CTX *ctx, const struct berval *in_val)
|
||||
if (!in_val) return NULL;
|
||||
|
||||
value = talloc_zero(ctx, sizeof(struct berval));
|
||||
if (value == NULL)
|
||||
return NULL;
|
||||
if (in_val->bv_len == 0) return value;
|
||||
|
||||
value->bv_len = in_val->bv_len;
|
||||
|
Loading…
Reference in New Issue
Block a user