Revert "access_samba: don't use deprecated functions."
Revert "access_samba: don't use deprecated functions."

This reverts commit 452ceeacf515b84f1e135e842214ff3fd65394b3.

It break compilation for some users without adding anything.

shyamalschandra/vlc,krichter722/vlc,krichter722/vlc,jomanmuk/vlc-2.1,xkfz007/vlc,vlc-mirror/vlc,jomanmuk/vlc-2.1,vlc-mirror/vlc-2.1,jomanmuk/vlc-2.2,xkfz007/vlc,xkfz007/vlc,jomanmuk/vlc-2.1,vlc-mirror/vlc,jomanmuk/vlc-2.1,shyamalschandra/vlc,vlc-mirror/vlc-2.1,shyamalschandra/vlc,krichter722/vlc,jomanmuk/vlc-2.2,krichter722/vlc,vlc-mirror/vlc,krichter722/vlc,vlc-mirror/vlc-2.1,xkfz007/vlc,shyamalschandra/vlc,krichter722/vlc,vlc-mirror/vlc-2.1,vlc-mirror/vlc-2.1,vlc-mirror/vlc,xkfz007/vlc,jomanmuk/vlc-2.2,jomanmuk/vlc-2.2,jomanmuk/vlc-2.2,jomanmuk/vlc-2.2,vlc-mirror/vlc,shyamalschandra/vlc,vlc-mirror/vlc,vlc-mirror/vlc,jomanmuk/vlc-2.1,xkfz007/vlc,vlc-mirror/vlc-2.1,jomanmuk/vlc-2.1,shyamalschandra/vlc,shyamalschandra/vlc,jomanmuk/vlc-2.1,krichter722/vlc,vlc-mirror/vlc-2.1,jomanmuk/vlc-2.2,xkfz007/vlc