URI::smb(3) User Contributed Perl Documentation URI::smb(3) NAME URI::smb - Samba/CIFS URI scheme SYNOPSIS my $uri = URI->new('smb://authdomain;user:password@server/share/path'); DESCRIPTION This module implements the (unofficial) "smb:" URI scheme described in . SUBROUTINES/METHODS default_port The default port for accessing Samba/Windows File Servers is 445 user Get or set the user part of the URI (without the authdomain) authdomain Get or set the authentication authdomain part of the URI. This value is only available if the user is already set. sharename Helper method to get the share name from path DEPENDENCIES None BUGS AND LIMITATIONS See URI SEE ALSO AUTHOR I. M. Bur LICENSE AND COPYRIGHT 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 for more information. perl v5.42.0 2025-07-14 URI::smb(3)