diff options
author | Jeremy Allison <jra@samba.org> | 2002-12-04 22:48:13 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-12-04 22:48:13 +0000 |
commit | d4103a09918bf375804bb102ac29237345f59978 (patch) | |
tree | 678647e8318802a4bef66b6a45c74b5aa48df262 /source3/smbd | |
parent | 14662de563c8caf63ded20654ff19471eafbf88f (diff) | |
download | samba-d4103a09918bf375804bb102ac29237345f59978.tar.gz samba-d4103a09918bf375804bb102ac29237345f59978.tar.bz2 samba-d4103a09918bf375804bb102ac29237345f59978.zip |
Added Volker's directory fix - save the attributes
from the first call.
Jeremy.
(This used to be commit b60a441b91dccdeadc125476ac3306b938941057)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/reply.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index adcc8c989d..6c2698c297 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -689,6 +689,9 @@ int reply_search(connection_struct *conn, char *inbuf,char *outbuf, int dum_size return ERROR_DOS(ERRDOS,ERRnofids); } dptr_set_wcard(dptr_num, strdup(mask)); + dptr_set_attr(dptr_num, dirtype); + } else { + dirtype = dptr_attr(dptr_num); } DEBUG(4,("dptr_num is %d\n",dptr_num)); |