Thanks Gary, I'll try this when I get in from work tonight Richard On Wed, 2003-04-02 at 06:18, Gary Hodder wrote: > Hi Richard and others having trouble with samba. > > For a network of samba and windows but does not have a windows server/domain > controller. > example setup. > Workgroup = homenet > User = winuser > Passswd = winpass > Win98 user logs into windows with username winuser and passwd winpass. > In control panel network, set identification/workgroup to homenet > In configuration under tcp/ip of network card/wins configuration/ set to ip of > samba server > Give it a ip in the same class C and samba server. > > Things to change in samba.conf over the default. > workgroup = homenet > hosts allow = 192.168.100. #change this to the class c you are on > os level = 34 #for samba to win election over nt/2000 workstations. > domain master = yes > preferred master = yes > wins support = yes > > Add the user and passwd to samba/linux box > > ----cut below, save as ---- etc/samba/smbpasswd > # user :group change user to match windows user, change group to mach that > user in /etc/group > winuser:501:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[U > ]:LCT-00000000: > winuser2:502:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[U > ]:LCT-00000000: > ----cut--------- > > run smbpasswd winuser > passwd winpass > > At this point the "X's" will change to a encrypted password. > > Add windows hostname and ip to /etc/hosts > > Edit /etc/nsswtched hosts line to > hosts: files dns nisplus nis > > Restart samba. > Restart windows to flush cache and try to connect again. > This is from memory and most likely left something out. > > Gary. > > On 01 Apr 2003 21:31:05 +0100, you wrote: > > >Sorry Guys, this is getting a pain !!! > >I have at last managed to get the windows machine to see the linux > >machine, albeit its still very wrong. > >If I use the find computers in the entire section of winblows network > >neighbourhood, it will find it and show the shares if I use the ip > >address of the linux machine, either the static address use on the > >internal port or the dynamic ip address on the internet port. > >The permissions are still wrong as it refused access to the printer, > >even though it was shown. > >The netbios name is not being picked up by the winblows machine. > >I have changed the netbios name to something else as was suggested. > > > >Bill Gates must hold the record for causing more suffering than anyone > >else ! > > > >Richard > > > > ______________________________________________________________________ > > Want to buy your Pack or Services from MandrakeSoft? > Go to http://www.mandrakestore.com -- richard bown <[EMAIL PROTECTED]>
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com