URI::smb(3)
π URI::smb(3) β the Samba/CIFS URI situation π
okay so bestie, this is the manual page for URI::smb, part of the Perl crew (v5.44.0, dated 2026-10-23, no cap). it's giving "niche but iconic" and honestly? we're obsessed. let's get into it π
β¨ NAME β¨
URI::smb β the Samba/CIFS URI scheme, in all its glory π
πΈ SYNOPSIS πΈ
the vibe check, in one line:
my $uri = URI->new('smb://authdomain;user:password@server/share/path');
look at her. main character energy fr fr π
π¦ DESCRIPTION π¦
so this module implements the (unofficial!) smb: URI scheme β the one described over at <http://www.ubiqx.org/cifs/Appendix-D.html>. yes, unofficial, we said what we said π
π§ SUBROUTINES/METHODS π§
π default_port
the default port for accessing Samba/Windows File Servers is 445. that's it, that's the number, don't forget it β
π user
get or set the user part of the URI β and note: without the authdomain, okay? they're separate for a reason π
π authdomain
get or set the authentication authdomain part of the URI. important lil caveat: this value is only available if the user is already set π (so like, set the user first, bestie)
π sharename
helper method to get the share name from path. cute, convenient, we stan π«Ά
π DEPENDENCIES π
None. literally none. unbothered, moisturized, thriving β¨
π BUGS AND LIMITATIONS π
See URI. that's the whole note. go look π
π₯ SEE ALSO π₯
π AUTHOR π
I. M. Bur <github@lty.cz> β icon behavior tbh π
π 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 <http://dev.perl.org/licenses/> for more information.
ngl the legal bit is the one place we don't play β those terms are exactly as written, bestie π
and that's the page!! π perl v5.44.0, 2026-10-23, URI::smb(3) β mwah, kiss the manual, it's a wrap ππ¦
π¦ where this page comes from
- arch rolling: perl-uri 5.40-1 Β· Artistic-1.0-Perl AND GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms