On Tuesday 25 November 2003 19:05, Sean Rima wrote:
On 25 Nov 2003, Ian David Laws spake thusly:
On Tue, 2003-11-25 at 01:09, Sean Rima wrote:
Here's an smb.conf from a machine I've got that acts as the login server for a win98 workgroup. I don't have NT style domains, so hope that doesn't vitiate the usefulness too much. As I remember it, win98 encrypts its passwords automatically, so you don't need to do anything with them. But you need to add a matching (i.e. matching their *nix username/passwd, and what they'll type at login) username and password with smbpasswd -a issued as root for each user who'll be logging in. N.B. you can give users /bin/false as a login shell if you don't want them escaping to a genuine shell on the *nix box. I suppose everyone's already mentioned the online Samba book on the O'Reilly site. They've probably also mentioned you need to let the clients hookup to ports 137-139, so they can't be firewalled off from those clients. With this setup all my win98 machines can print, logon, and use the shares for which their users are valid group members. HTH Fergus [global] netbios name = pc32 server string = Samba %v on (%L) workgroup = MAKESUREITMATCHES #socket options = TCP_NODELAY IPTOS_LOWDELAY guest ok = no encrypt passwords = yes hosts allow = [your lan here] # Browsing election options os level = 34 local master = yes domain master = yes preferred master = yes wins support = yes [cds] comment = This is a comment path = /cds/ read only = yes valid users = @cds ;guest ok = yes [nstc_i_ii] path = /cds/nstc1 read only = yes valid users = @cds [nstc_iii] path = /cds/nstc2 read only = yes valid users = @cds [office] comment = Office documents live here writeable = yes valid users = @office path = /export/samba/office create mode = 0660 directory mode = 0770 browseable = yes [conf] comment = Staff documents, etc. valid users = @conf path = /export/samba/conf create mode = 0660 directory mode = 0770 browseable = no writeable = yes [printers] path = /var/spool/lpd/samba print ok = yes browseable = yes #EOF -- Fergus Wilde Chetham's Library Long Millgate Manchester M3 1SB Tel: +44 161 834 7961 Fax: +44 161 839 5797 http://www.chethams.org.uk