Opened 13 years ago

Last modified 13 years ago

#180 closed defect

Samba Client 2.1 cannot read smb.conf — at Initial Version

Reported by: Herwig Bauernfeind Owned by: Silvan Scherrer
Priority: major Milestone: Netdrive plugin 2.1.x
Component: Samba Client Plugin Version: Client 2.1.x
Keywords: Cc:

Description

When using ndpsmb.dll 2.1 (possibly all 3.3 based client plugins) an eventually available smb.conf is not loaded.

The reason ist that the client (unlike the server) allocates a filesize for loading that does not respect that OS/2 is using CR/LF in text files. The allocated amount of memory is therefore too small, the file cannot be loaded.

Workaround: Change smb.conf for the client from CR/LF to CR.

Temporary workaround on source level (created by diver): in \lib\util_file.c add line 190 add |O_BINARY to the read() instruction.

Change History (0)

Note: See TracTickets for help on using tickets.