[Samba] Glitch in source/utils/status.c (2.2.3a & 2.2.4-pre)

Gerald Carter jerry at samba.org
Mon May 6 12:42:58 GMT 2002


On Mon, 29 Apr 2002, Pierre Belanger wrote:

> FYI,
> 
> Non-initialized variable "fname" in file
> 
>   source/utils/status.c
> 
> line 649
> 
>   printf("Opened status file %s\n", fname);
> 
> I changed the line to:
> 
>   printf("Opened status file %s\n", lock_path("connections.tdb"));
> 
> But I don't think that's right cuz it outputs:
> 
>   Opened status file /connections.tdb
> 
> I am not even sure if the "status file" = "connections.tdb",
> I guess it does... does it? ;)

"status" is a really old parameter and I'm not even sure if we 
would work if you set "status = no" in smb.conf.  I'm lobbying
to remove the parameter altogether.  

In the meantime, I am cleaning up the debug messages.  
Thanks.










cheers, jerry
 ---------------------------------------------------------------------
 Hewlett-Packard                                     http://www.hp.com
 SAMBA Team                                       http://www.samba.org
 --                                            http://www.plainjoe.org
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.      ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--





More information about the samba mailing list