Authen::Simple::SMB(3pm) User Contributed Perl Documentation Authen::Simple::SMB(3pm)NAME
Authen::Simple::SMB - Simple SMB authentication
SYNOPSIS
use Authen::Simple::SMB;
my $smb = Authen::Simple::SMB->new(
domain => 'DOMAIN',
pdc => 'PDC'
);
if ( $smb->authenticate( $username, $password ) ) {
# successfull authentication
}
# or as a mod_perl Authen handler
PerlModule Authen::Simple::Apache
PerlModule Authen::Simple::SMB
PerlSetVar AuthenSimpleSMB_domain "DOMAIN"
PerlSetVar AuthenSimpleSMB_pdc "PDC"
<Location /protected>
PerlAuthenHandler Authen::Simple::SMB
AuthType Basic
AuthName "Protected Area"
Require valid-user
</Location>
DESCRIPTION
Authenticate against an SMB server.
METHODS
* new
This method takes a hash of parameters. The following options are valid:
* domain
Domain to authenticate against. Required.
domain => 'NTDOMAIN'
* pdc Primary Domain Controller. Required.
pdc => 'PDC'
* bdc Backup Domain Controller.
bdc => 'BDC'
* log Any object that supports "debug", "info", "error" and "warn".
log => Log::Log4perl->get_logger('Authen::Simple::SMB')
* authenticate( $username, $password )
Returns true on success and false on failure.
SEE ALSO
Authen::Simple.
Authen::Smb.
AUTHOR
Christian Hansen "ch@ngmedia.com"
COPYRIGHT
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.8.8 2008-02-29 Authen::Simple::SMB(3pm)
Check Out this Related Man Page
Authen::Simple::PAM(3pm) User Contributed Perl Documentation Authen::Simple::PAM(3pm)NAME
Authen::Simple::PAM - Simple PAM authentication
SYNOPSIS
use Authen::Simple::PAM;
my $pam = Authen::Simple::PAM->new(
service => 'login'
);
if ( $pam->authenticate( $username, $password ) ) {
# successfull authentication
}
# or as a mod_perl Authen handler
PerlModule Authen::Simple::Apache
PerlModule Authen::Simple::PAM
PerlSetVar AuthenSimplePAM_service "login"
<Location /protected>
PerlAuthenHandler Authen::Simple::PAM
AuthType Basic
AuthName "Protected Area"
Require valid-user
</Location>
DESCRIPTION
PAM authentication.
METHODS
o new
This method takes a hash of parameters. The following options are valid:
o service
PAM service. Defaults to "login".
service => 'sshd'
o log
Any object that supports "debug", "info", "error" and "warn".
log => Log::Log4perl->get_logger('Authen::Simple::PAM')
o authenticate( $username, $password )
Returns true on success and false on failure.
SEE ALSO
Authen::Simple.
Authen::PAM.
AUTHOR
Christian Hansen "ch@ngmedia.com"
COPYRIGHT
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.0 2006-01-12 Authen::Simple::PAM(3pm)
hai
the point I want one server and additional backup server just like winnt pdc , bdc concept . anybody know any solutions for this. the thing is i don't have that much amount to spend for additional hardwares. Is any software or anything ?????
rgds
sun (5 Replies)
Hey Guys,
I need to copy some files from my Apache server to SMB share ...
copy $file,"/Volumes/v1/x/test/$datestamp$name$suffix"
Unfortunately this command when executed from Apache/cgi-bin is not able to access mounted volumes .. is there anything that can be done about that ... Can... (1 Reply)
Just wondering:
Is it wise to have two OSOL boxes with one being a cifs kernel server and the other one a genuine samba & LDAP to serve as a PDC for the windows clients in the network? (5 Replies)
Hi there,
Hope this forum is adapted to my question. I have :
+ 1 Debian server with Samba set to authenticate users in the domain HOME (workgroup = HOME / domain logons = yes).
+ 3 Windows XP Laptops configured to belong to the domain HOME. So on startup, I'm invited to enter a login password... (2 Replies)
Hi guys
I need to create one directory on my Solaris 11 box and then share that directory on my LAN. I have only one disk of 500 GB which is more than enough for my needs.
I read SMB guide for Solaris and there is no guide how to achive share only on one directory, it has only tutorials for... (3 Replies)
Hi,
All of our servers run Solaris (currently 10, but looking to upgrade to 11). In each of our offices we have a server configured as a Primary Domain Controller via Samba to provide naming services to our Windoze users. I would like to continue with that arrangement, but I would also like... (2 Replies)
I am installing Authen::Krb5::Easy and during make test I am getting the follwing error :
kinit not ok 2
error was: could not get initial credentials: Cannot contact any KDC for requested realm
we are stroring krb5.conf in diff location ( not in /etc/krb5.conf) , but, PERL is... (1 Reply)
Hello,
I have problems seting up SMB server in Solaris 11.3.
I had SMB working previously on Solaris 11 (updated to 11.3), but a bad harddisk crash forced me to install Solaris again from scratch and I cannot get it working properly.
I have imported the previous zfs pool with share.smb set... (7 Replies)