On Thu, 11 Oct 2001, John McCabe wrote:
I'm sure this has been on before so apologies for the time warp. I am in my school library instaling 7.2 and need to be able to let all kids use the machine by validating with the NT server. I assume I have to add all the names to smbpasswd file? Is there an easy way to get names from the NT machine to automate the process? Look at winbindd. It's in the application branch of the current 2.2 tarball. It needs some fancy makefile stiff but its all documented. Otherwise it's down to the old fashioned copy all users approach.
Winbindd is not the only solution. You can also use a combination of Samba and pam_smb_auth. Basically, you modify /etc/pam.d/whatever to use pam_smb_auth.so to check passwords against a specified NT server or domain. To create the users automatically, you can use Samba's "create user script" option. In detail: Install samba and pam_smb_auth RPMs In /etc/smb.conf: workgroup = NT_DOMAIN_NAME security = domain encrypt passwords = yes password server = * add user script = /usr/sbin/adduser %u Join the domain: "smbpasswd -j" Create file /etc/pam_smb.conf: NT_DOMAIN_NAME NT_PDC_NAME NT_BDC1_NAME NT_BDC2_NAME etc. Note: ensure that the Linux box is able to resolve the names of the NT servers. If necessary, add entries in /etc/hosts. In /etc/pam.d/system-auth (or /etc/pam.d/whatever_service_you_want): after "auth required /lib/security/pam_env.so" insert "auth sufficient /lib/security/pam_smb_auth.so" (Note: your PAM configuration may be different - make sure to understand what the PAM file does before modifying it). In the NT logon script, insert a line "net view \\linux_server_name" All done. Winbindd is a more elegant solution, and one I'd prefer to use in the long term. However, the solution described above is tried and tested and has been working for at least two years.
Also, I would like them to be able to use it for CD-ROMs but asume that Wine will not cope with windoze specific ones? I'm sure Michael will rightly chastise me for not checking the list of CDs available on his site but this is my usual 11th hour stuff and I will check later.
Don't have a list of CDs yet! Wine will cope with some but not with others. It's a case of "try it and see". You have one advantage: under Wine you can fake a CD-ROM drive much more easily than under Windows. This may help in getting some of the more brain-dead titles to run. HTH, Michael