⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 install

📁 samba-3.0.22.tar.gz 编译smb服务器的源码
💻
字号:
Because pam_smbpass is derived from the Samba smbpasswd utility, recentversions of pam_smbpass require a copy of the Samba source code to beavailable on the build system.  Version 0.7.5 has been tested againstSamba 2.2.0-alpha3, and this is the recommended version of Samba to usefor building pam_smbpass.  This only affects /building/ pam_smbpass; youcan still run any version of the Samba server that you want, althoughclearly it saves some disk space to have only one copy of the sourcecode on your system (Samba 2.2.0-alpha3 takes roughly 32MB of disk spaceto build pam_smbpass).Version 0.7.5 features a new build system to make it easier to buildpam_smbpass.Using the new build system==========================If you don't have a copy of the Samba source code on your machine, and youdon't have a preferred Samba version (or mirror site), you can buildpam_smbpass by just typing 'make'.If you want to use a version other than 2.2.0-alpha3, or you want todownload the source code from a faster Samba mirror (see<http://us1.samba.org/samba/> for a list of mirror sites), please downloadthe source code and unpack it before running make.  The build scripts willattempt to autodetect your Samba source directory, and if it can't befound automatically, you will be given the opportunity to specify analternate directory for the Samba sources.Feedback is welcome if you try (or succeed!) to build pam_smbpass withother versions of Samba.Options to 'make'=================By default, pam_smbpass will configure the Samba build tree with theoptions    --with-fhs --with-privatedir=/etc --with-configdir=/etcThis will configure pam_smbpass to look for the smbpasswd file as/etc/smbpasswd (or /etc/smbpasswd.tdb), and the smb.conf file as/etc/smb.conf.  You can override these options by setting CONFIGOPTS whencalling make.  E.g., if you have your smb.conf file in /usr/etc and yoursmbpasswd file in /usr/etc/private, you might run    make CONFIGOPTS="--with-privatedir=/usr/etc/private --with-configdir=/usr/etc"For a complete list of available configuration options, see'./samba/configure --help'Installing the module=====================If all goes well in the build process, the file pam_smbpass.so will becreated in the current directory.  Simply install the module into yoursystem's PAM module directory:	install -m 755 -s bin/pam_smbpass.so /lib/securityand you're all set.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -