[Samba] RE: Add directory share without killing samba?

2003-08-01 Thread Hulslander, Ryan
You're quite right... I found it mentioned after I had asked the question. I
swear I looked for it before but it was eluding me something fierce. I've
been adding "favorites" now to by browser list like a fiend and it's helping
:-)

Now - if I can only get a real grip on permissions I'll be set. :-)

Thanks to All!

Ryan

-Original Message-
From: Dragan Krnic
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: 7/31/2003 7:03 AM
Subject: Re:Add directory share without killing samba?

> Is there a way that I can dynamically add a share point to the 
> smb.conf file and not be forced to kill the smbd daemon and restart 
> in order for it to be visible? Or is this such a simple thing I'm 
> blind and can't see it in any FAQ I read? :-)

You're not googling far enough.

I believe smbd re-reads smb.conf from time to time, but if you're in
a hurry, a "kill -HUP " over all smbd processes won't be a
massacre - it'll just prompt them to re-read smb.conf immediately.

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


RE: [Samba] Add directory share without killing samba?

2003-07-30 Thread Hulslander, Ryan
Apparently I was blind. The man page for smbd indicated that the smb.conf
file is reloaded every minute to pickup changes, and a SIGHUP sent to the
process will force it reload immediately. Sorry for my confusion. I kept
thinking I had to stop the process to get it to reload the conf file.

Thanks!

Ryan

> -Original Message-
> From: Hulslander, Ryan [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, July 30, 2003 1:43 PM
> To: [EMAIL PROTECTED]
> Subject: [Samba] Add directory share without killing samba?
> 
> 
> Is there a way that I can dynamically add a share point to 
> the smb.conf file and not be forced to kill the smbd daemon 
> and restart in order for it to be visible? Or is this such a 
> simple thing I'm blind and can't see it in any FAQ I read? :-)
> 
> Thanks!
> 
> Ryan
> -- 
> 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] Add directory share without killing samba?

2003-07-30 Thread Hulslander, Ryan
Is there a way that I can dynamically add a share point to the smb.conf file
and not be forced to kill the smbd daemon and restart in order for it to be
visible? Or is this such a simple thing I'm blind and can't see it in any
FAQ I read? :-)

Thanks!

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


[Samba] Use Samba as Fileserver, auth to LDAP? (No PDC stuff)

2003-07-15 Thread Hulslander, Ryan
I see docs out there on using SAMBA as a PDC and going against LDAP for
authentication, but I'm confused. Where pray tell can I find docs on just
building a fileserver in Linux/SAMBA that the user authenticates against an
external LDAP server in order to gain access to files? No PDC, no domain
stuff, just a plain-vanilla fileserver. 

The organization is using Windows for its PDC, and probably will continue to
do so for some time, so replacing it is of no importance. All I want to do
is use *their* LDAP server to authenticate people to access SAMBA
fileshares. Everyone uses Win2K & XP clients, and I want to go against the
corporate LDAP box to validate when users wish to mount network drives. I'm
trying to make a mass-storage server available without all the headaches and
$$ of managing a Windows box.

Is this possible? Any good links on this for me to dig on my own? Any help
would be deeply appreciated!

Thx!

Ryan Hulslander
[EMAIL PROTECTED]

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


[Samba] LAN team says I have 2 IP's w/1 MAC address,but I have 2 cables with 2 separate IP's. What gives?

2003-06-13 Thread Hulslander, Ryan
I'm really, REALLY hoping someone can shed some light on this. I posted
something similar about this but I got more confusing info from my LAN
people.

The hardware is a Soyo K-333 Dragon MB running SuSE 8.0 w/Apache2 & Samba. I
have 2 NIC's, the onboard NIC and a D-Link 530TX+ card. I have two IP
addresses, 155.16.78.54 & .55  on eth0 I get lots of collisions, errors,
etc., and barely any traffic on eth1. I have one "site.net" address and one
"site.com" address, both configured as virtual hosts in Apache. I have a
couple of simple fileshares setup under different directories as well.

The problem I have is that both NIC's seem to be set at 10MB half-duplex,
and mii-tool won't get them to negotiate to 100 full-duplex, nor will it
force it. The LAN team says it sees both cables coming in to the switch, and
that both IP's are being seen as the same MAC address?! (I pasted their
exact comments to me below)

The performance isn't really noticeable for Apache until I tried to turn on
Samba, and then it just about craters it.

Here's the dump of the ifconfig:

eth0  Link encap:Ethernet  HWaddr 00:05:5D:D0:29:80  
  inet addr:155.16.78.54  Bcast:155.16.78.255  Mask:255.255.255.0
  inet6 addr: fe80::205:5dff:fed0:2980/10 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:23619268 errors:1053 dropped:0 overruns:0 frame:0
  TX packets:3752750 errors:380508 dropped:0 overruns:0
carrier:761016
  collisions:105122 txqueuelen:100 
  RX bytes:1116970680 (1065.2 Mb)  TX bytes:2828485063 (2697.4 Mb)
  Interrupt:10 Base address:0x2000 

eth1  Link encap:Ethernet  HWaddr 00:50:2C:04:DA:D5  
  inet addr:155.16.78.53  Bcast:155.16.78.255  Mask:255.255.255.0
  inet6 addr: fe80::250:2cff:fe04:dad5/10 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:20789796 errors:0 dropped:0 overruns:0 frame:0
  TX packets:504 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:100 
  RX bytes:411341177 (392.2 Mb)  TX bytes:30288 (29.5 Kb)
  Interrupt:11 Base address:0x4000 

The modules.conf file load "8139too" driver for both interfaces, and the
mii-tool reports on both:

forum:/etc # mii-tool eth0
eth0: 10 Mbit, half duplex, no link
forum:/etc # mii-tool eth1
eth1: 10 Mbit, half duplex, no link

No amount of trying to force the eth0 or eth1 interfaces to 100MB work.

The comments I got from the LAN guy was:

-

After clearing the IP ARP tables on both routers there is something really
strange going on, see information below.  The r4-pscptc4 router is the
gateway router 155.16.78.1.

r3-pscptc3#sh ip arp 155.16.78.54
Protocol  Address  Age (min)  Hardware Addr   Type   Interface
Internet  155.16.78.540   0005.5dd0.2980  ARPA   Vlan78
r3-pscptc3#sh ip arp 155.16.78.53
Protocol  Address  Age (min)  Hardware Addr   Type   Interface
Internet  155.16.78.530   0005.5dd0.2980  ARPA   Vlan78

r4-pscptc4#sh ip arp 155.16.78.53
Protocol  Address  Age (min)  Hardware Addr   Type   Interface
Internet  155.16.78.531   0050.2c04.dad5  ARPA   Vlan78
r4-pscptc4#sh ip arp 155.16.78.54
Protocol  Address  Age (min)  Hardware Addr   Type   Interface
Internet  155.16.78.541   0005.5dd0.2980  ARPA   Vlan78

The bottom line of the above information is even after clearing both routers
ARP tables (twice) the r3-pscptc3 router is still seeing both IP addresses
as the same MAC address.  Routers don't just show this type of behavior for
any reason.  The MAC address 00-50-2c-04-da-d5 for 155.16.78.53 is not even
known to the CAM table on either switch (s3 or s4).  As a suggestion I would
check with the OS vendor to see if there are any known issues.



I'm clueless. I've pulled up some docs regarding similar situations and it
talks about "iptables" or some such. Is there some kind of mapping someplace
to make sure the right NIC responds to the right IP's, etc., so my website
and Samba can start working right?

Thank You, Thank You, Thank You!

Ryan Hulslander
"Completely Baffled by this in Dallas"
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba