nmbd does not start without smbd (fwd)

Luke Kenneth Casson Leighton lkcl at switchboard.net
Fri Dec 4 20:12:20 GMT 1998


only smbd ever calls pwdb_initialise(True), so i don't think file locking
is an issue.

On Fri, 4 Dec 1998, Andrej Borsenkow wrote:

> nmbd/nmbd.c:
> 
> 	if (!pwdb_initialise(False))
> 	{
> 		exit(1);
> 	}
> 
> lib/util_pwdb.c:
> 
> BOOL pwdb_initialise(BOOL is_server)
> {
> ...
> 	if (is_server)
> 	{
>                 ... (local file access)
>             }
>            else
>            {
> 		if (!get_domain_sids(&global_member_sid, &global_sam_sid, global_myname))
> 		{
> 			return False;
> 		}
>           }
> 
> 
> What about file locking?
> 

<a href="mailto:lkcl at samba.anu.edu.au" > Luke Kenneth Casson Leighton  </a>
<a href="http://mailhost.cb1.com/~lkcl"> Samba and Network Development </a>
<a href="http://www.samba.co.uk"       > Samba and Network Consultancy </a>



More information about the samba-technical mailing list