Adding a feature to the smbd

Anders C. Thorsen anders at cwd.no
Sun Jan 21 11:00:15 GMT 2001


Ok, I've seen it do that several times, but it might be because of two
netbios names.

Thanks for pointing this out.

--Anders

-----Original Message-----
From: Richard Sharpe [mailto:sharpe at ns.aus.com]
Sent: Sunday, January 21, 2001 5:25 AM
To: anders at cwd.no; tlan at stud.ntnu.no
Cc: samba-technical at us5.samba.org
Subject: RE: Adding a feature to the smbd


At 04:58 AM 1/21/01 +0100, Anders C. Thorsen wrote:
>Generally smbd looks at the configuration _every_ time smbd is started,
>i.e. every time you attach to a share, etc.

Ummm, no, not every time you attach to a share.

smbd is started once by the init scripts, and then once when each user
connects to the server, which is generally when they first connect to a
share. Any other connections to a share on the same server do not start a
fresh smbd, except in special circumstances (eg, using netbios aliases ...).

>Also note, that every configure option on share basis are set for each
>sharing (even if it's not specified.
>you might be having a problem with memory addresses. You should certainly
>have your routine check for null data.
>
>Just some ideas. I haven't actually read your code, but I've done lots of
>poking around in the loadparam code.
>
>--Anders
>
>-----Original Message-----
>From: samba-technical-admin at us5.samba.org
>[mailto:samba-technical-admin at us5.samba.org]On Behalf Of Thomas Langas
>Sent: Sunday, January 21, 2001 1:29 AM
>To: Richard Sharpe
>Cc: samba-technical at us5.samba.org
>Subject: Re: Adding a feature to the smbd
>
>
>I did some altering of the code I just sent (it's attached to this mail),
>this is the code we're going to use at my university. After checking syslog
>I see that the code is actually run for all shares, however, it's only
>effective when it should be. So my question is, why is it run for every
>share?
>
>--
>-Thomas
>
>

Regards
-------
Richard Sharpe, sharpe at ns.aus.com
Samba (Team member, www.samba.org), Ethereal (Team member, www.zing.org)
Contributing author, SAMS Teach Yourself Samba in 24 Hours
Author, Special Edition, Using Samba







More information about the samba-technical mailing list