Install Samba on AIX 5.3

Source: Internet
Author: User

Install Samba on AIX 5.3

:

Http://www.bullfreeware.com/download/aix53/samba-3.0.26.0.bff

 

 

Most AIX software downloads can be found at http://www.bullfreeware.com/, but sambais found to be relatively low, and the final result is

Http://www.bullfreeware.com/download/aix53/samba-3.0.26.0.bff

1. Download samba-3.0.4.0.bff
2. Place files in the temporary installation directory of the AIX system, for example,/usr/samba.
3. Smit installp: locate the installation source directory under/usr/samba and install it;
4. after the installation is successful, the/usr/local/samba directory will be generated. The bin directory in this path is the samba application, the sbin directory is the Samba daemon directory, and the SMB directory in the lib directory. conf is the configuration file of Samba.
Configuration process
1. Edit the/usr/local/samba/lib/smb. conf/file. An example of a simple smb. conf file is as follows:
[Global]
Workgroup = workgroup
Server String = Samba 3.0.4.0
Security = user
Encrypt passwords = Yes
SMB passwd file =/var/samba/private/smbpasswd
Log File =/usr/local/samba/var/log. % m
Mangle case = Yes
[Homes]
Force user = % u
Read Only = No
Hosts allow = 129.183.
[Printers]
Comment = all printers
Path =/usr/spool/samba
Printable = Yes
Browseable = No
[Public]
Path =/jdlssoft/interface
Read Only = No
Public = Yes
[Root]
Comment = root directory
Path =/
Read Only = No
Public = Yes

2. Check the/etc/services file to see if there are the following lines:
NetBIOS-NS 137/tcp # NetBIOS Name Service
NetBIOS-NS 137/udp # NetBIOS Name Service
NetBIOS-DGM 138/tcp # NetBIOS datemediservice
NetBIOS-DGM 138/udp # NetBIOS datemediservice
NetBIOS-SSN 139/tcp # NetBIOS Session Service
NetBIOS-SSN 139/udp # NetBIOS Session Service
SWAT 901/tcp # SWAT service of Samba
If not, Add.
3. Check the/etc/inetd. conf file to see if the following lines exist:
NetBIOS-SSN stream tcp Nowait root/usr/local/samba/sbin/smbd
NetBIOS-NS dgram udp wait root/usr/local/samba/sbin/nmbd
SWAT stream tcp nowait.400 root/usr/local/samba/sbin/Swat SWAT
If not, Add.
4. because the authentication method for passwords in Aix and Windows is different, it still fails to pass the correct password. encrypt passwords = yes in Conf. The current Samba 3.0.1.0 version defaults to yes, and the smb password file defaults to/usr/local/samba/private/smbpasswd, which can be modified by the SWAT tool;
5. Run/usr/local/samba/bin/smbpasswd-a xxx. The password is the same as the operating system password of the user and the access password of the XXX user is created;
For example,/usr/local/samba/bin/smbpasswd-a root
6. Refresh-s inetd and refresh inetd to start Samba;
7. Use the Windows client for shared access to test whether the configuration is successful.

 

Some content reference from: http://www.ixpub.net/thread-649754-1-1.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.