LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   xp workgroup pc cannot change "<samba server>/Guest" in connection pop-up (https://www.linuxquestions.org/questions/linux-server-73/xp-workgroup-pc-cannot-change-samba-server-guest-in-connection-pop-up-669562/)

duderancher 09-12-2008 04:23 PM

xp workgroup pc cannot change "<samba server>/Guest" in connection pop-up
 
I am a noob to samba. I have an xp workgrouped pc. When I type a share name in the Start-->Run window, I cannot change "<samba server>/Guest" user name in connection pop-up window. The user name field is greyed out and not editable.

I can change the username if you use the windows "Map a Network Drive" tool. However, I would like to be able to use the start run feature also.

I am using user level security and the samba server is stand-alone.

karelvdm 09-13-2008 01:53 AM

Hi,

Please post your smb.conf file

duderancher 09-15-2008 12:34 PM

Here is my smb.cnf:

#======================= Global Settings =====================================

[global]
workgroup = workgroup
server string = endeavour


; interfaces = lo eth0 192.168.12.2/24 192.168.13.2/24
; hosts allow = 127. 192.168.12. 192.168.13.

# --------------------------- Logging Options -----------------------------
#
# Log File let you specify where to put logs and how to split them up.
#
# Max Log Size let you specify the max size log files should reach

# logs split per machine
; log file = /var/log/samba/%m.log
# max 50KB per log file, then rotate
; max log size = 50

# ----------------------- Standalone Server Options ------------------------
#
# Scurity can be set to user, share(deprecated) or server(deprecated)
#
# Backend to store user information in. New installations should
# use either tdbsam or ldapsam. smbpasswd is available for backwards
# compatibility. tdbsam requires no further configuration.

passdb backend = tdbsam


# ----------------------- Domain Members Options ------------------------

; security = domain
; passdb backend = tdbsam
; realm = MY_REALM

; password server = <NT-Server-Name>

# ----------------------- Domain Controller Options ------------------------

; security = user
; passdb backend = tdbsam

; domain master = yes
; domain logons = yes

# the login script name depends on the machine name
; logon script = %m.bat
# the login script name depends on the unix user used
; logon script = %u.bat
; logon path = \\%L\Profiles\%u
# disables profiles support by specifing an empty path
; logon path =

; add user script = /usr/sbin/useradd "%u" -n -g users
; add group script = /usr/sbin/groupadd "%g"
; add machine script = /usr/sbin/useradd -n -c "Workstation (%u)" -M -d /nohome -s /bin/false "%u"
; delete user script = /usr/sbin/userdel "%u"
; delete user from group script = /usr/sbin/userdel "%u" "%g"
; delete group script = /usr/sbin/groupdel "%g"


# ----------------------- Browser Control Options ----------------------------

; local master = no
; os level = 33
; preferred master = yes

#----------------------------- Name Resolution -------------------------------


; wins support = yes
; wins server = w.x.y.z
; wins proxy = yes

; dns proxy = yes

# --------------------------- Printing Options -----------------------------

cups options = raw

; printcap name = /etc/printcap
#obtain list of printers automatically on SystemV
; printcap name = lpstat
; printing = cups

# --------------------------- Filesystem Options ---------------------------


; map archive = no
; map hidden = no
; map read only = no
; map system = no
; store dos attributes = yes


#============================ Share Definitions ==============================

idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
username map = None
password server = None
security = SHARE
realm = None
[homes]
comment = Home Directories
browseable = no
writeable = yes
; valid users = %S
; valid users = MYDOMAIN\%S

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
printable = yes

# Un-comment the following and create the netlogon directory for Domain Logons
; [netlogon]
; comment = Network Logon Service
; path = /var/lib/samba/netlogon
; guest ok = yes
; writable = no
; share modes = no


# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
; [Profiles]
; path = /var/lib/samba/profiles
; browseable = no
; guest ok = yes


# A publicly accessible directory, but read only, except for people in
# the "staff" group
; [public]
; comment = Public Stuff
; path = /home/samba
; public = yes
; writable = yes
; printable = no
; write list = +staff

[public]
path = /mnt/data/public
writeable = yes
valid users = +vepublic

[brigitte]
path = /mnt/data/user/brigitte
writeable = yes


[dan]
path = /mnt/data/user/dan
writeable = yes
valid users = dan
guest ok = no

[it]
path = /mnt/data/group/it
writeable = yes

karelvdm 09-16-2008 11:40 PM

Sowi for the delay,
Out of town,
add the following line to your share options
Code:

[public]
path = /mnt/data/public
writeable = yes
valid users = +vepublic
browseable = yes

That should do it......

duderancher 09-17-2008 02:34 PM

Thanks for the helpful information but I found something else was the root of the problem. I thought that I had user level security but found "security = share" in my smb.conf file should have been "security = user"

I appreciate your time and attention!

Cheers!


All times are GMT -5. The time now is 09:47 AM.