RE: [Samba] changing ip

2003-03-09 Thread Roland Thompson
First thing I tried when I noticed I had a delay.

-Original Message-
From: richard [mailto:[EMAIL PROTECTED] 
Sent: 09 March 2003 03:11
To: [EMAIL PROTECTED]
Subject: Re: [Samba] changing ip

I see there have been some posts to this already...but seeing as you
have Redhat8... Did you remember to update your /etc/hosts file with the
new ip?
Richard Coates.

On Sun, 2003-03-09 at 01:15, Roland Thompson wrote:
> I require some advice.
> I've had samba running nicely for a couple of months, however I needed
> to change the ip addresses for my network. Since changing the ip
> addresses, whenever I start WinXp and log on it takes about 3-4 mins
to
> log on. Also when I try to browse using windows explorer I sometimes
> have to wait 3-4mins, then I get the same delay when logging off.
> If I use dos though and change to the samba drive it works straight
> away.
> I'm running Samaba 2.2.7a on RH8.
> Can anyone point me in the right direction. I've not modified anything
> else but the ipaddresses (Samba is now on 192.168.0.25, my client is
> 192.168.0.20)
> 
> When I finally do manage to be able to browse the drive (share), it
> seems fine, until I come back maybe 20mins l8r, then I get the delay
> again.
> 
> Any help appreciated.
> 
> Thanks
> 
> Roland
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] changing ip

2003-03-08 Thread Roland Thompson
The server has been rebooted several times.
I'll have a look anyway.

thanks

-Original Message-
From: Sean Woodlock [mailto:[EMAIL PROTECTED] 
Sent: 08 March 2003 17:40
To: [EMAIL PROTECTED]
Subject: Re: [Samba] changing ip

please don't quote me on this and I am pretty new to this myself, when I
had
this problem I  was using a win2000 server as my wins server, and you
can go
in a delete all the old NetBIOS name.  So everything has to
re-registered
again.

Now if your samba server is running numbed then there is  are a few wins
parameters such a ttl that might be worth a look at.

Have a look at smb.conf man page under wins it should give you an idea
about
clearing the cached NetBIOS names.  As this was working up until you
changed
the ip  it seems as if your host is still registered against your old
IP.

Is it possible to reboot the server 


- Original Message -----
From: "Roland Thompson" <[EMAIL PROTECTED]>
To: "'Sean Woodlock'" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, March 08, 2003 3:36 PM
Subject: RE: [Samba] changing ip


> How would I go about doing that?
>
> -Original Message-
> From: Sean Woodlock [mailto:[EMAIL PROTECTED]
> Sent: 08 March 2003 15:23
> To: [EMAIL PROTECTED]
> Subject: Re: [Samba] changing ip
>
> Try clearing the wins cache if you are using one
>
>
> Sean
> - Original Message -
> From: "Roland Thompson" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, March 08, 2003 3:15 PM
> Subject: [Samba] changing ip
>
>
> > I require some advice.
> > I've had samba running nicely for a couple of months, however I
needed
> > to change the ip addresses for my network. Since changing the ip
> > addresses, whenever I start WinXp and log on it takes about 3-4 mins
> to
> > log on. Also when I try to browse using windows explorer I sometimes
> > have to wait 3-4mins, then I get the same delay when logging off.
> > If I use dos though and change to the samba drive it works straight
> > away.
> > I'm running Samaba 2.2.7a on RH8.
> > Can anyone point me in the right direction. I've not modified
anything
> > else but the ipaddresses (Samba is now on 192.168.0.25, my client is
> > 192.168.0.20)
> >
> > When I finally do manage to be able to browse the drive (share), it
> > seems fine, until I come back maybe 20mins l8r, then I get the delay
> > again.
> >
> > Any help appreciated.
> >
> > Thanks
> >
> > Roland
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] changing ip

2003-03-08 Thread Roland Thompson
How would I go about doing that?

-Original Message-
From: Sean Woodlock [mailto:[EMAIL PROTECTED] 
Sent: 08 March 2003 15:23
To: [EMAIL PROTECTED]
Subject: Re: [Samba] changing ip

Try clearing the wins cache if you are using one


Sean
- Original Message - 
From: "Roland Thompson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 08, 2003 3:15 PM
Subject: [Samba] changing ip


> I require some advice.
> I've had samba running nicely for a couple of months, however I needed
> to change the ip addresses for my network. Since changing the ip
> addresses, whenever I start WinXp and log on it takes about 3-4 mins
to
> log on. Also when I try to browse using windows explorer I sometimes
> have to wait 3-4mins, then I get the same delay when logging off.
> If I use dos though and change to the samba drive it works straight
> away.
> I'm running Samaba 2.2.7a on RH8.
> Can anyone point me in the right direction. I've not modified anything
> else but the ipaddresses (Samba is now on 192.168.0.25, my client is
> 192.168.0.20)
> 
> When I finally do manage to be able to browse the drive (share), it
> seems fine, until I come back maybe 20mins l8r, then I get the delay
> again.
> 
> Any help appreciated.
> 
> Thanks
> 
> Roland
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] changing ip

2003-03-08 Thread Roland Thompson
I require some advice.
I've had samba running nicely for a couple of months, however I needed
to change the ip addresses for my network. Since changing the ip
addresses, whenever I start WinXp and log on it takes about 3-4 mins to
log on. Also when I try to browse using windows explorer I sometimes
have to wait 3-4mins, then I get the same delay when logging off.
If I use dos though and change to the samba drive it works straight
away.
I'm running Samaba 2.2.7a on RH8.
Can anyone point me in the right direction. I've not modified anything
else but the ipaddresses (Samba is now on 192.168.0.25, my client is
192.168.0.20)

When I finally do manage to be able to browse the drive (share), it
seems fine, until I come back maybe 20mins l8r, then I get the delay
again.

Any help appreciated.

Thanks

Roland

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] too much work?

2003-02-07 Thread Roland Thompson
Hi,

Since I managed to get Samba working I've noticed that when I copy large
files, or lots of little ones ( about 4Gbs Worth), I get a message on
the Linux box saying;

Eth0: too much work at interrupt, intrstatus=0x0040

Now so far nothing has gone wrong, i.e. corrupt files etc
Is this something I should be worried about?
If not how do I stop the message from appearing? 
If it is a problem how do I go about fixing it?

I'm running RH8, Samba 2.2.7a



Thanks

Roland



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] Joining WinXp to Samba PDC

2003-01-24 Thread Roland Thompson
Ah, that’s done it.
The uid's didn't match.
All is working now.

Thanks

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: 23 January 2003 22:44
To: [EMAIL PROTECTED]
Subject: Re: [Samba] Joining WinXp to Samba PDC


Looks like the same problem as i had a feww moments ago.

i tried to rejoin my domain, but received the same errors
as you did.

the problem was the machine account for my workstation.

1. check if the machine account exists ($) as
   unix user.  -> /etc/passwd
2. check if the samba machine account exists. 
   -> /etc/samba/smbpasswd
3. if both exist, check for the uid, should be the same.
4. check if another account exists, with the same id
   -> /etc/samba/smbpasswd
5. if yes, remove the duplicate id. (be sure not to remove
   a valid user!) 
   -> /etc/samba/smbpasswd
   smbpasswd -x 
6. try again.

7. if it doesn't work remove both (unix+samba) accounts and
   recreate them with the following script:

#!/bin/bash
#script creates an machine account
#the group "machines" must exist
adduser -g machines -s /bin/false -c "NT Machine Account" "$1\$"
smbpasswd -m -a "$1\$"

8. try again.

hope this helps,

Joachim.

- Original Message - 
From: "Roland Thompson" <[EMAIL PROTECTED]>
To: "'Bradley W. Langhorst'" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, January 23, 2003 8:55 PM
Subject: RE: [Samba] Joining WinXp to Samba PDC


> Thanks, but I'm a bit confused. Where did Administrator come from? Is 
> it a built in account in Samba, and whats the default password? I've 
> tried using Administrator with no password ( and with my root 
> password), but it keeps saying :
> 
> Unknown username or bad password
> 
> any other samba account I try just return :
> 
> The specified user does not exist
> 
> Any help appreciated
> 
> Roland
> 
> 
> 
> -Original Message-
> From: Bradley W. Langhorst [mailto:[EMAIL PROTECTED]]
> Sent: 23 January 2003 19:32
> To: [EMAIL PROTECTED]
> Subject: Re: [Samba] Joining WinXp to Samba PDC
> 
> On Thu, 2003-01-23 at 14:27, Roland Thompson wrote:
> > After trying to get WinXP (Pro) to try and find my domain so I can 
> > log on I've finally done it, but now when I try and join my WinXP 
> > client
> to
> > the domain, windows asks me to enter the username and password of an

> > account with permission to join the domain.
> > 
> > Now which account would this be?? root doesn't work, neither do my
> other
> > samba users.
> it's Administrator
> (which you may want to map to root with smbusers)
> 
> brad
> --
> Bradley W. Langhorst <[EMAIL PROTECTED]>
> 
> 
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] Joining WinXp to Samba PDC

2003-01-23 Thread Roland Thompson
Thanks, but I'm a bit confused. Where did Administrator come from?
Is it a built in account in Samba, and whats the default password?
I've tried using Administrator with no password ( and with my root
password), but it keeps saying :

Unknown username or bad password

any other samba account I try just return :

The specified user does not exist

Any help appreciated

Roland



-Original Message-
From: Bradley W. Langhorst [mailto:[EMAIL PROTECTED]] 
Sent: 23 January 2003 19:32
To: [EMAIL PROTECTED]
Subject: Re: [Samba] Joining WinXp to Samba PDC

On Thu, 2003-01-23 at 14:27, Roland Thompson wrote:
> After trying to get WinXP (Pro) to try and find my domain so I can log
> on I've finally done it, but now when I try and join my WinXP client
to
> the domain, windows asks me to enter the username and password of an
> account with permission to join the domain.
> 
> Now which account would this be?? root doesn't work, neither do my
other
> samba users.
it's Administrator
(which you may want to map to root with smbusers)

brad
-- 
Bradley W. Langhorst <[EMAIL PROTECTED]>


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Joining WinXp to Samba PDC

2003-01-23 Thread Roland Thompson
After trying to get WinXP (Pro) to try and find my domain so I can log
on I've finally done it, but now when I try and join my WinXP client to
the domain, windows asks me to enter the username and password of an
account with permission to join the domain.

Now which account would this be?? root doesn't work, neither do my other
samba users.

Do I have to create another user or something?

Thanks

Running RH8.0 and Samba 2.2.7a


Smb.conf
=

[global]
workgroup = LANGHOLME
domain logons = yes

encrypt passwords = yes
security = user

os level = 99
local master = yes
preferred master = yes
domain master = yes

[netlogon]
# comment = 
path = /data/samba/logon
public = no
writeable = no
browseable = no


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] guest ok = yes

2003-01-16 Thread Roland Thompson
It was html, sorry wont happen again.

Thanks for the advice but it still doesn't work. I've tried everything
that's been suggested, but still asks for a username and password

The client is XP if that makes any difference.
Do I have a allow access from my ip address?

Smb.conf


[global]
netbios name = THOR
workgroup = LANGHOLME
server string = Samba 2.2.7a

local master = yes
os level = 99
domain master = yes
preferred master = yes

encrypt passwords = yes
security = guest 

wins support = yes
#   guest account = ftp

[music]
comment = Music Share
path = /home/share/music
browseable = yes
read only = no
guest ok = yes

#[public]
#   comment = Public Share
#   path = /home/share/public
#   browseable = yes
#   writeable = yes
#   create mode = 0777
#   directory mode = 0777
#   guest ok = yes
#   #public = yes
#   only guest = yes
#   force group = @guest
#   force user = guest



-Original Message-
From: Joel Hammer [mailto:[EMAIL PROTECTED]] 
Sent: 15 January 2003 23:28
To: Roland Thompson; [EMAIL PROTECTED]
Subject: Re: [Samba] guest ok = yes

That wasn't html email was it? It just had extra lines.
Try putting:
guest account =  ftp
into global.
For a real thrill, try:
guest account = root
Joel

On Wed, Jan 15, 2003 at 07:58:18PM -0000, Roland Thompson wrote:
> Hi,
> 
>  
> 
> I've got samba up and running, but I have the guest ok = yes option.
> 
> Now I have the book Using Samba by o'reilly, and if I'm correct this
> setting should enable be to access the share without using a
> username/password, however it doesn't work, then if I enter a valid
> samba user when it prompts it works fine!
> 
>  
> 
> I've included my smb.conf file, any suggestions would be appreciated.
> I'm also new to linux, so could it be something to do with the
> permissions for this folder?
> 
>  
> 
> [global]
> 
> netbios name = THOR
> 
> workgroup = LANGHOLME
> 
> server string = Samba 2.2.7a 
> 
>  
> 
> local master = yes
> 
> os level = 99
> 
> domain master = yes
> 
> preferred master = yes
> 
>  
> 
> encrypt passwords = yes
> 
> security = user
> 
>  
> 
> wins support = yes
> 
>  
> 
> [music]
> 
> comment = Music Share
> 
> path = /home/share/music
> 
> browseable = yes
> 
> read only = no
> 
> guest ok = yes
> 
>  
> 
>  
> 
> Thanks
> 
>  
> 
> Roland
> 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] guest ok = yes

2003-01-15 Thread Roland Thompson








Hi,

 

I’ve got samba up and running, but I have the guest ok
= yes option.

Now I have the book Using Samba by o’reilly, and if I’m
correct this setting should enable be to access the share without using a
username/password, however it doesn’t work, then if I enter a valid samba
user when it prompts it works fine!

 

I’ve included my smb.conf file, any suggestions would
be appreciated. I’m also new to linux, so could it be something to do
with the permissions for this folder?

 

[global]

    netbios
name = THOR

    workgroup
= LANGHOLME

    server
string = Samba 2.2.7a 

 

    local
master = yes

    os
level = 99

    domain
master = yes

    preferred
master = yes

 

    encrypt
passwords = yes

    security
= user

 

    wins
support = yes

 

[music]

    comment
= Music Share

    path
= /home/share/music

    browseable
= yes

    read
only = no

    guest
ok = yes

 

 

Thanks

 

Roland








RE: [Samba] auto start

2003-01-13 Thread Roland Thompson
I did download and compile it, now looking at your config file actually
makes the book make sense.

Thank you


-Original Message-
From: Gordon Pritchard [mailto:[EMAIL PROTECTED]] 
Sent: 13 January 2003 21:05
To: [EMAIL PROTECTED]
Cc: 'Kevin Kint'; [EMAIL PROTECTED]
Subject: RE: [Samba] auto start

On Mon, 2003-01-13 at 12:52, Roland Thompson wrote:

> Thanks for the reply, but smb isn't one of the options.
> Any idea on how I can get it there?

If you installed RedHat's samba rpm, everything should be set to
go...???

If you downloaded and compiled stuff, then I can see this
happening. 
What you need is a file - /etc/initd.d/samba  I'm including mine as a
reference for you (also RH 8; short, and ASCII).

Begin included samba init
#!/bin/sh
#
# chkconfig: 345 91 35
# description: Starts and stops the Samba smbd and nmbd daemons \
#  used to provide SMB network services.

# Source function library.
. /etc/rc.d/init.d/functions

# Source networking configuration.
. /etc/sysconfig/network

# Check that networking is up.
[ ${NETWORKING} = "no" ] && exit 0

CONFIG=/etc/samba/smb.conf

# Check that smb.conf exists.
[ -f $CONFIG ] || exit 0

# See how we were called.
case "$1" in
  start)
echo -n "Starting SMB services: "
daemon smbd -D  
daemon nmbd -D 
echo
touch /var/lock/subsys/smb
;;
  stop)
echo -n "Shutting down SMB services: "

## we have to get all the smbd process here instead of just the
## main parent (i.e. killproc) because it can take a long time
## for an individual process to process a TERM signal
smbdpids=`ps guax | grep smbd | grep -v grep | awk '{print $2}'`
for pid in $smbdpids; do
kill -TERM $pid
done
## nmbd is ok to kill using killproc()
killproc nmbd -TERM
rm -f /var/lock/subsys/smb
echo ""
;;
  status)
status smbd
status nmbd
;;
  restart)
echo -n "Restarting SMB services: "
$0 stop
$0 start
echo "done."
;;
  *)
echo "Usage: smb {start|stop|restart|status}"
exit 1
esac

 End Included Text 

-- 
Gordon Pritchard, P.Eng. | Institute of Electrical and
Research Labs Manager|  Electronics Engineers
Simon Fraser University, Surrey  | Quarter Century Wireless Ass'n
[EMAIL PROTECTED]   | Telephone Pioneers of America
phone:  604.586.6186


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] auto start

2003-01-13 Thread Roland Thompson
Thanks for the reply, but smb isn't one of the options.
Any idea on how I can get it there?

-Original Message-
From: Kevin Kint [mailto:[EMAIL PROTECTED]] 
Sent: 13 January 2003 20:46
To: '[EMAIL PROTECTED]'
Subject: RE: [Samba] auto start

Easiest way to do it is set it to start in your service menu.
As root, run "setup" and go to the services option, the put a check mark
on
smb.

-Original Message-----
From: Roland Thompson [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 13, 2003 12:41 PM
To: [EMAIL PROTECTED]
Subject: [Samba] auto start


Hi,

I'm fairly new to both linux and samba.
I'm running RH8 with Samba 2.2.7a.
Samba's installed and is basically working, but can anyone tell me how I
can get samba to start when linux boots up?
I'm currently having to start it by running the following commands;
./usr/local/samba/sbin/smbd -D
./usr/local/samba/sbin/nmbd -D

I've got the Using samba book from o'reilly, but it doesn't tell you how
to set conf xinetd

Thx in advance

Roland

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] auto start

2003-01-13 Thread Roland Thompson
Hi,

I'm fairly new to both linux and samba.
I'm running RH8 with Samba 2.2.7a.
Samba's installed and is basically working, but can anyone tell me how I
can get samba to start when linux boots up?
I'm currently having to start it by running the following commands;
./usr/local/samba/sbin/smbd -D
./usr/local/samba/sbin/nmbd -D

I've got the Using samba book from o'reilly, but it doesn't tell you how
to set conf xinetd

Thx in advance

Roland

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba