Hi All, very new to the linux thing. I have tried our local linux list but no luck. I have setup Samba on the box which is running Rh7.3 with Samba 2.2.3a-6 (server/common & client) I got a tut from IBMs site on how to setup a pdc with samba and redhat. I followed the tut step for step but still when I want to login on wind98 onto the box I get a message that the pdc is not found. When I try and locate the via network neighborhood on Win2k it does not appear, I then try a 'search' via win2k but the pc is not to be found. When I use tcp/ip I can ping it and tracert to it. I'm lost what is missing ? Listed below is my smb.conf: # /etc/samba/smb.conf # samba configuration file # created on 20/08/2002 @ 18:26 by Maartin # last updateed: [global] ;basic server settings workgroup=home_net netbios name=linpdc server string=Samba PDC running %v socket options=TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192 ;PDC and Master browser settings os level=64 preferred master=yes local master=yes domain master=yes ;security and logging settings security=user encrypt passwords=yes log file=/var/log/samba/log.%m log level=2 max log size=500 hosts allow=127.0.0.1 10.0.0.1/255.255.255.0 domain logons=yes ;user profiles and homke directory logon home=\\%L\%U\.profile logon drive=Z: logon path=\\%L\profiles\%U ;this statement below will add the user automatically to linux add user script=/usr/sbin/useradd -d /dev/null -g machines -s /bin/false -M %u ;sync linux passwords unix password sync=yes passwd program=/etc/passwd %u passwd chat=*New*LUNIX*password* %n\n *Retype*new*LUNIX*password* %n\n *Enter*new*LUNIX*password* %n\n *Retype*new*LUNIX*password* %n\n *passwd: *all*authentication*tokens*updated*successfully* #=======================Shares======================[homes] comment=Home Directories browseable=no writeable=yes guest ok=no read only=no [profiles] path=/home/samba/profiles writeable=yes browseable=no create mask=0600 directory mask=0700 -------------- next part -------------- HTML attachment scrubbed and removed
I haven't had the chance to look over your smb.conf yet but one of the things that stumped me for weeks with RedHat is that ipchains is enabled by default. Check to see if ipchains is running and if so, are there rules to allow inbound netbios traffic ( ports 137 - 139 ). If you are not worried about security, you can do an "ipchains -F" to remove them for now just to test. Barry deFreese Newbie On Tuesday 20 August 2002 11:20 am, Maartin wrote:> Hi All, > very new to the linux thing. > > I have tried our local linux list but no luck. > > I have setup Samba on the box which is running Rh7.3 with Samba 2.2.3a-6 > (server/common & client) I got a tut from IBMs site on how to setup a pdc > with samba and redhat. > > I followed the tut step for step but still when I want to login on wind98 > onto the box I get a message that the pdc is not found. > > When I try and locate the via network neighborhood on Win2k it does not > appear, I then try a 'search' via win2k but the pc is not to be found. When > I use tcp/ip I can ping it and tracert to it. > > I'm lost what is missing ? Listed below is my smb.conf: > # /etc/samba/smb.conf > # samba configuration file > # created on 20/08/2002 @ 18:26 by Maartin > # last updateed: > > [global] > ;basic server settings > workgroup=home_net > netbios name=linpdc > server string=Samba PDC running %v > socket options=TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 > SO_RCVBUF=8192 > > ;PDC and Master browser settings > os level=64 > preferred master=yes > local master=yes > domain master=yes > > ;security and logging settings > security=user > encrypt passwords=yes > log file=/var/log/samba/log.%m > log level=2 > max log size=500 > hosts allow=127.0.0.1 10.0.0.1/255.255.255.0 > domain logons=yes > > ;user profiles and homke directory > logon home=\\%L\%U\.profile > logon drive=Z: > logon path=\\%L\profiles\%U > > ;this statement below will add the user automatically to linux > add user script=/usr/sbin/useradd -d /dev/null -g machines -s > /bin/false -M %u > > ;sync linux passwords > unix password sync=yes > passwd program=/etc/passwd %u > passwd chat=*New*LUNIX*password* %n\n *Retype*new*LUNIX*password* > %n\n *Enter*new*LUNIX*password* %n\n *Retype*new*LUNIX*password* %n\n > *passwd: *all*authentication*tokens*updated*successfully* > > #=======================Shares======================> [homes] > comment=Home Directories > browseable=no > writeable=yes > guest ok=no > read only=no > > [profiles] > path=/home/samba/profiles > writeable=yes > browseable=no > create mask=0600 > directory mask=0700
If it is a firewall issue & you accepted the Medium security setting during setup, both iptables & ipchains are running. run "iptables stop" and "ipchains stop" from /etc/init.d. If this resolves the problem, mv both of them so they won't start up automatically (in rc3.d or rc5.d).> -----Original Message----- > From: Maartin [mailto:dinamite@ibi.co.za] > Sent: Tuesday, August 20, 2002 3:27 PM > To: samba@lists.samba.org > Subject: Re: [Samba] RH 7.3 + Samba DC > > > I not bother about security, so I did a ipchains -F but the reply was > ipchains: Incompatible with this version. > > I recall seeing in some file with my searching for an answer > ??????--s ?tc? > 137 and something on 139 > > Any other help will be greatly appreciated. > > > Cheers, > Maartin. > ----- Original Message ----- > From: "Barry deFreese" <bdefreese@cox.net> > To: "Maartin" <dinamite@ibi.co.za>; <samba@lists.samba.org> > Sent: Tuesday, August 20, 2002 8:21 PM > Subject: Re: [Samba] RH 7.3 + Samba DC > > > > I haven't had the chance to look over your smb.conf yet but > one of the > things > > that stumped me for weeks with RedHat is that ipchains is enabled by > default. > > Check to see if ipchains is running and if so, are there > rules to allow > > inbound netbios traffic ( ports 137 - 139 ). If you are > not worried about > > security, you can do an "ipchains -F" to remove them for > now just to test. > > > > Barry deFreese > > Newbie > > > > On Tuesday 20 August 2002 11:20 am, Maartin wrote: > > > Hi All, > > > very new to the linux thing. > > > > > > I have tried our local linux list but no luck. > > > > > > I have setup Samba on the box which is running Rh7.3 with > Samba 2.2.3a-6 > > > (server/common & client) I got a tut from IBMs site on > how to setup a > pdc > > > with samba and redhat. > > > > > > I followed the tut step for step but still when I want to login on > wind98 > > > onto the box I get a message that the pdc is not found. > > > > > > When I try and locate the via network neighborhood on > Win2k it does not > > > appear, I then try a 'search' via win2k but the pc is not > to be found. > When > > > I use tcp/ip I can ping it and tracert to it. > > > > > > I'm lost what is missing ? Listed below is my smb.conf: > > > # /etc/samba/smb.conf > > > # samba configuration file > > > # created on 20/08/2002 @ 18:26 by Maartin > > > # last updateed: > > > > > > [global] > > > ;basic server settings > > > workgroup=home_net > > > netbios name=linpdc > > > server string=Samba PDC running %v > > > socket options=TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 > > > SO_RCVBUF=8192 > > > > > > ;PDC and Master browser settings > > > os level=64 > > > preferred master=yes > > > local master=yes > > > domain master=yes > > > > > > ;security and logging settings > > > security=user > > > encrypt passwords=yes > > > log file=/var/log/samba/log.%m > > > log level=2 > > > max log size=500 > > > hosts allow=127.0.0.1 10.0.0.1/255.255.255.0 > > > domain logons=yes > > > > > > ;user profiles and homke directory > > > logon home=\\%L\%U\.profile > > > logon drive=Z: > > > logon path=\\%L\profiles\%U > > > > > > ;this statement below will add the user > automatically to linux > > > add user script=/usr/sbin/useradd -d /dev/null -g > machines -s > > > /bin/false -M %u > > > > > > ;sync linux passwords > > > unix password sync=yes > > > passwd program=/etc/passwd %u > > > passwd chat=*New*LUNIX*password* %n\n > *Retype*new*LUNIX*password* > > > %n\n *Enter*new*LUNIX*password* %n\n > *Retype*new*LUNIX*password* %n\n > > > *passwd: *all*authentication*tokens*updated*successfully* > > > > > > #=======================Shares======================> > > [homes] > > > comment=Home Directories > > > browseable=no > > > writeable=yes > > > guest ok=no > > > read only=no > > > > > > [profiles] > > > path=/home/samba/profiles > > > writeable=yes > > > browseable=no > > > create mask=0600 > > > directory mask=0700 > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >
I think let me try and start SWAT and see if that makes any change, Tanks for the help. Cheers, Maartin. ----- Original Message ----- From: "Barry deFreese" <bdefreese@cox.net> To: "Maartin" <dinamite@ibi.co.za>; <samba@lists.samba.org> Sent: Tuesday, August 20, 2002 9:23 PM Subject: Re: [Samba] RH 7.3 + Samba DC> Check out this URL, it has some pretty good information on Samba andipchains:> > > http://www.seifried.org/lasg/network-servers/file-print/samba.html > > Barry deFreese > Newbie > > > On Tuesday 20 August 2002 12:27 pm, Maartin wrote: > > I not bother about security, so I did a ipchains -F but the reply was > > ipchains: Incompatible with this version. > > > > I recall seeing in some file with my searching for an answer ??????--s?tc?> > 137 and something on 139 > > > > Any other help will be greatly appreciated. > > > > > > Cheers, > > Maartin.