518 Part IV . Implementing Network Services in (Geocities web hosting)

518 Part IV . Implementing Network Services in SUSE Linux auth required /lib/security/pam_securetty.so auth required /lib/security/pam_nologin.so auth sufficient /lib/security/pam_winbind.so auth required /lib/security/pam_pwdb.so use_first_pass shadow nullok 3. Modify the account entries in all of the PAM configuration files in /etc/pam.d to contain an account entry such as the following: account required /lib/security/pam_winbind.so 4. Join the existing Windows domain by executing Samba s net command, as in the following example, where PDC is the name or IP address of your Windows primary domain controller and USER is any user with administrative privileges in that domain: net join -S PDC -U USER 5. Add appropriate winbind entries to the [global] section of your Samba server s configuration file, /etc/samba/smb.conf. The entries that you should add are the following, where MYDOMAIN is the name of the Windows domain for which the PDC you specified in the previous step provides authentication information: winbind separator = + winbind cache time = 10 template shell = /bin/bash template homedir = /home/%D/%U idmap uid = 10000-20000 idmap gid = 10000-20000 workgroup = MYDOMAIN security = domain password server = * 6. Start the Winbind daemon (/usr/sbin/winbindd) on your SUSE system, and restart the Samba daemon and NetBIOS name daemon by executing the following commands: /etc/rc.d/nmbd restart /etc/rc.d/smbd restart Any user with an entry in your Windows PDC should now be able to log in on your SUSE system using a username of the form DOMAIN+username and his or her Windows password. If you are using Winbind, you will also want to add a startup entry for the Winbind daemon to the startup scripts for your system s default runlevel, as in the following example for a system whose default runlevel is 5: ln -s /etc/rc.d/winbind /etc/rc.d/rc5.d/S14winbind
Note: In case you are looking for affordable webhost to host and run your servlet application check Vision ecommerce web hosting services

Leave a Reply