[ Home ]

Hey grix, did you setup your network yet cos I followed my own instructions...

dex — 07 May 2003 20:11

Subject: and the standard template

[global] client code page = 437 coding system = utf8 guest account = unknown encrypt passwords = yes [homes] comment = User Home Directories browseable = no read only = no create mode = 0750 ;[public] ; path = /tmp ; public = yes ; only guest = yes ; writable = yes ; printable = no ;[printers] ; comment = All Printers ; browseable = no ; printable = yes ; public = no ; writable = no ; create mode = 0700 but remember darwin ( os x Kernal server) is subtley different hope it helps have you been on the samba web site, its really good at helping you soldier through.... it helped me get them all talking.,,,, \

grix — 07 May 2003 21:53

Subject: encrypted unless talking to old win 95 machines

grix — 07 May 2003 21:59

Subject: windows should need no changes

i have mailed you my smb.conf and save yourself some time and trouble - you DON'T have to reinstall linux when samba does not work - there is no registry in linux - the only file that you need to get right is the smb.conf better if you run smbd and nmbd as stand alone daemons - running from inetd.conf is not so good as they only run when a connection comes in - better to run them al the time. You need to run nmbd and smbd for samba. start them like this /usr/sbin/smbd & /usr/sbin/nmbd & and use "kill" to stop them when testing your smb.conf and need to restart them use "top" to find out their process id for kill eg assuming smbd pid is 3456 "kill -9 3456" will stop the daemon.

mex — 07 May 2003 22:03

Subject: yawn

Bitten off more... — 07 May 2003 23:11

Subject: Have you done this Grix? How about sending me your smb.conf...

... are you using Mandrake? have you got xp home machines? did you change any other settings from the default setup and if so - which? I've tried plaintextpasswords but with no luck so glad I can get rid of that and stick to encrypted - did you have to set anything to do with that? The changes that I make to smb.conf are immediately reflected in my windows browing abilities although I am restarting the smb service just to be sure. I *am* reading the howtos and anything else I can get hold of but no-one leaves me alone for more than an hour cos I also do every other fucking thing in this place

grix — 07 May 2003 23:39

Subject: sent you smb.conf - but here it is as well :.

all my clients are win xp pro but I cannot imagine there is any difference and they needed zero changes to their setup. I am using Slackware not Mandrake i'm afraid but for the purposes of samba they are the same. They may start samba differently at boot time but you can ignore that for just now. Encrypted passwords require no changes (apart from the setting in smb.conf to use them of course ) I would suggest that if there are files to be shared put them on someone's win machine at the moment and let it act as server until your linux box is working. Get everyone to map a standard network drive to the share then you can easily move over to the linux box when its fixed. ##########SMB.CONF############################################### # #======================= Global Settings ===================================== [global] # workgroup = NT-Domain-Name or Workgroup-Name, eg: LINUX2 workgroup = WFD-OFFICE # server string is the equivalent of the NT Description field server string = Wellington Office Server # This option is important for security. It allows you to restrict # connections to machines which are on your local network. The # following example restricts access to two C class networks and # the "loopback" interface. For more examples of the syntax see # the smb.conf man page hosts allow = 192.168.1. 127. # If you want to automatically load your printer list rather # than setting them up individually then you'll need this load printers = yes # you may wish to override the location of the printcap file printcap name = cups # on SystemV system setting printcap name to lpstat should allow # you to automatically obtain a printer list from the SystemV spool # system ; printcap name = lpstat # It should not be necessary to specify the print system type unless # it is non-standard. Currently supported print systems include: # bsd, sysv, plp, lprng, aix, hpux, qnx printing = cups # Uncomment this if you want a guest account, you must add this to /etc/passwd # otherwise the user "nobody" is used ; guest account = pcguest # this tells Samba to use a separate log file for each machine # that connects log file = /var/log/samba.%m # Put a capping on the size of the log files (in Kb). max log size = 50 # Security mode. Most people will want user level security. See # security_level.txt for details. NOTE: To get the behaviour of # Samba-1.9.18, you'll need to use "security = share". security = share # Use password server option only with security = server # The argument list may include: # password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name] # or to auto-locate the domain controller/s # password server = * ; password server = <NT-Server-Name> null passwords = yes # Note: Do NOT use the now deprecated option of "domain controller" # This option is no longer implemented. # You may wish to use password encryption. Please read # ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation. # Do not enable this option unless you have read those documents encrypt passwords = yes # Where to find the SSL certificates: ssl CA certDir = /etc/ssl/certs # Using the following line enables you to customise your configuration # on a per machine basis. The %m gets replaced with the netbios name # of the machine that is connecting ; include = /usr/local/samba/lib/smb.conf.%m # Most people will find that this option gives better performance. # See speed.txt and the manual pages for details # You may want to add the following on a Linux system: # SO_RCVBUF=8192 SO_SNDBUF=8192 socket options = TCP_NODELAY # Configure Samba to use multiple interfaces # If you have multiple network interfaces then you must list them # here. See the man page for details. ; interfaces = 192.168.12.2/24 192.168.13.2/24 # Browser Control Options: # set local master to no if you don't want Samba to become a master # browser on your network. Otherwise the normal election rules apply ; local master = no # OS Level determines the precedence of this server in master browser # elections. The default value should be reasonable os level = 128 # Domain Master specifies Samba to be the Domain Master Browser. This # allows Samba to collate browse lists between subnets. Don't use this # if you already have a Windows NT domain controller doing this job ; domain master = yes # Preferred Master causes Samba to force a local browser election on startup # and gives it a slightly higher chance of winning the election preferred master = yes # Enable this if you want Samba to be a domain logon server for # Windows95 workstations. ; domain logons = yes # if you enable domain logons then you may want a per-machine or # per user logon script # run a specific logon batch file per workstation (machine) ; logon script = %m.bat # run a specific logon batch file per username ; logon script = %U.bat # Where to store roving profiles (only for Win95 and WinNT) # %L substitutes for this servers netbios name, %U is username # You must uncomment the [Profiles] share below ; logon path = \\%L\Profiles\%U # Windows Internet Name Serving Support Section: # WINS Support - Tells the NMBD component of Samba to enable it's WINS Server wins support = yes # WINS Server - Tells the NMBD components of Samba to be a WINS Client # Note: Samba can be either a WINS Server, or a WINS Client, but NOT both ; wins server = w.x.y.z # WINS Proxy - Tells Samba to answer name resolution queries on # behalf of a non WINS capable client, for this to work there must be # at least one WINS Server on the network. The default is NO. ; wins proxy = yes # DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names # via DNS nslookups. The built-in default for versions 1.9.17 is yes, # this has been changed in version 1.9.18 to no. dns proxy = no #============================ Share Definitions ============================== [homes] comment = Home Directories browseable = no writable = yes [&wfd_aus] path = /home/wfd_oz comment = Australian Projects browseable = yes writable = yes public = yes guest ok = yes force create mode = 0777 inherit permissions = yes force group = users [&wfd_nz] path = /home/wfd_nz comment = New Zealand Projects browseable = yes writable = yes public = yes guest ok = yes force create mode = 0777 inherit permissions = yes force group = users [&wfd_general] path = /home/wfd_gen comment = Archive browseable = yes writable = yes public = yes guest ok = yes force create mode = 0777 inherit permissions = yes force group = users # NOTE: If you have a BSD-style print system there is no need to # specifically define each individual printer [printers] comment = All Printers path = /var/spool/samba browseable = no # Set public = yes to allow user 'guest account' to print guest ok = no writable = no printable = yes

grix — 07 May 2003 23:44

Subject: one thing for once samba is working

AFTER samba was working I enabled WINS server in smb.conf and set the clients to use WINS but this is for name reolution in the lan ie so that the intranet website is available by typing the computer name rather than the ip address.

grix — 07 May 2003 23:49

Subject: user accounts

i probably keep banging on about this but are the user accounts set up on the linux and win xp boxes preferably with the same password and have you added the users to samba by using "smbpasswd"? if you can browse and see files but not do anything its either: bad user configuration wrong permissions on the shared directories

NIX — 08 May 2003 02:22

Subject: Users are added to linux with same passwords but not added to samba...

passwords - how do you do that? Had a look at smbusers or something like that - not at work just now and cained. Do you have an example of a smbusers file? Think thats probably it - cheers

Reply




Smileys


providers of synthetic therapeutic virtual-chemical-combination therapy for humans since before fuckin ages ago