After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 154753 - If default workgroup isn't set in GConf, use the value from smb.conf
If default workgroup isn't set in GConf, use the value from smb.conf
Status: RESOLVED FIXED
Product: gnome-vfs
Classification: Deprecated
Component: Module: smb
2.9.x
Other All
: Normal normal
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
: 153903 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-10-07 06:42 UTC by James Henstridge
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gnome-vfs-default-workgroup.patch (4.14 KB, patch)
2004-10-07 06:43 UTC, James Henstridge
none Details | Review

Description James Henstridge 2004-10-07 06:42:24 UTC
The following patch makes the "Network" window display computers in the
workgroup listed in the smb.conf file instead of "WORKGROUP" if the workgroup
name hasn't been set in GConf.

The implementation is as discussed with Alex on IRC:
 1) modify the gnome-vfs SMB method to make smb://X-GNOME-DEFAULT-WORKGROUP/
    display the contents of the workgroup name listed in the SMBCCTX (which
    comes from the smb.conf config file).
 2) modify the gnome-vfs "Network" method to use "X-GNOME-DEFAULT-WORKGROUP"
    as the default workgroup name if none is listed in GConf, instead of
    defaulting to "WORKGROUP".

While this isn't a substitute for exposing the /system/smb/workgroup GConf key
somewhere in the preferences, it does mean that if Samba has been set up on the
workstation Gnome will default to browsing that same workgroup.
Comment 1 James Henstridge 2004-10-07 06:43:40 UTC
Created attachment 32317 [details] [review]
gnome-vfs-default-workgroup.patch
Comment 2 Alexander Larsson 2004-10-07 15:09:49 UTC
In cvs. Thanks!
Comment 3 James Henstridge 2004-10-07 15:34:29 UTC
*** Bug 153903 has been marked as a duplicate of this bug. ***