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.

2025-07-14 perl v5.42.0