Adding a feature to the smbd

Anders C. Thorsen anders at
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.


-----Original Message-----
From: Richard Sharpe [mailto:sharpe at]
Sent: Sunday, January 21, 2001 5:25 AM
To: anders at; tlan at
Cc: samba-technical at
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.
>-----Original Message-----
>From: samba-technical-admin at
>[mailto:samba-technical-admin at]On Behalf Of Thomas Langas
>Sent: Sunday, January 21, 2001 1:29 AM
>To: Richard Sharpe
>Cc: samba-technical at
>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

Richard Sharpe, sharpe at
Samba (Team member,, Ethereal (Team member,
Contributing author, SAMS Teach Yourself Samba in 24 Hours
Author, Special Edition, Using Samba

More information about the samba-technical mailing list