OS Manuals

URI::smb(3pm)

URI::smb - Samba/CIFS URI scheme

URI::smb(3) User Contributed Perl Documentation URI::smb(3)

URI::smb - Samba/CIFS URI scheme

    my $uri = URI->new('smb://authdomain;user:password@server/share/path');

This module implements the (unofficial) "smb:" URI scheme described in <http://www.ubiqx.org/cifs/Appendix-D.html>.

The default port for accessing Samba/Windows File Servers is 445

Get or set the user part of the URI (without the authdomain)

Get or set the authentication authdomain part of the URI. This value is only available if the user is already set.

Helper method to get the share name from path

None

See URI

<http://www.ubiqx.org/cifs/Appendix-D.html>

I. M. Bur <github@lty.cz>

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See <http://dev.perl.org/licenses/> for more information.

2026-09-04 perl v5.44.0

perl-uri 5.37-r0 · os · ingested 2026-09-30