4 ms·
i have lately been writing a simple "samba" client for iOS (https://github.com/38leinaD/tango https://github.com/38leinaD/tango) and after that experience i mus
by 38leinad 16y ago
i have lately been writing a simple "samba" client for iOS (https://github.com/38leinaD/tango https://github.com/38leinaD/tango) and after that experience i must say to the developer doing the samba replacement at apple: poor bastard; you are in for a world of pain!
It is really a horrible protocol where you can see how it evolved and was extended from windows version to version...
- ch0wn 16y agoSetting up a working file server with basic authentication is almost enough to confirm this. There might be valid reasons for all of the configuration options, but the avarage user will never need more than 10% of them.
- ajl2011 16y agoumm unsigned int data_length = *((unsigned short *)(parameters_ptr + parameters_offset)); parameters_offset+=2; .... memcpy(buffer_ptr, ((unsigned char *)(smb->data_ptr + payload_data_offset)), data_length); you should probably fix a few things :> in your case it's probably not that bad.. I for one can't wait to see what security holes apple will bundle with new releases osx