[Samba] Intermittent guest user instead of normal user
Mike Fedyk
mfedyk at matchmail.com
Wed Apr 17 19:05:03 GMT 2002
Hi,
Sometimes when a user connects to a samba share they will be logged in as
the guest user(shown in smbstatus) on samba "Version 2.2.3a-6 for Debian".
This has been happening for a while now, but now it's happening on our new
server and I want to get it fixed.
Also, most times this only happens with one specific share while the rest of
the shares use the correct user, but it happens with other shares too.
Has anyone else seen this too? I'm sending this message while I'm starting
to find out why it's happening here.
I'm posting my smb.conf and the file it references. The "zbackup" share is
the one acting up at the moment. I can post more information if needed.
Thanks,
Mike
-------------- next part --------------
#!/bin/nowhere/sh
###
### Inter-Dept File Exchange
###
[7day_temp]
copy = default
comment = WARNING: ALL files in this share deleted after 7 days of inactivity!
path = /tmp
create mode = 0666
force directory mode = 2777
browseable = yes
###
### Archives/Administration
###
[zBackup]
copy = default
comment = Backup System
path = /share
browseable = yes
short preserve case = yes
preserve case = yes
writable = no
-------------- next part --------------
# Please see the manual page for smb.conf for detailed description of
# every parameter.
[global]
deadtime = 10
dos filetime resolution = True
follow symlinks = yes
time server = True
debug level = 0
#####Optimizations
lpq cache time = 10
change notify timeout = 9
####Network Accessabality
name resolve order = wins bcast
#bind interfaces only = yes
dns proxy = no
#### WINS
Include = /etc/samba/service.wins
#wins server = wins
####Printing
printing = lprng
printcap name = /etc/printcap
load printers = yes
#####Authentcation
security = domain
guest account = mmpguest
map to guest = Bad User
username map = /etc/samba/username.map
server string = %h server (Samba %v)
encrypt passwords = yes
invalid users = root
restrict anonymous = false
####Browsing
workgroup = matchmail
#netbios name = mmp-linux
#netbios aliases = NetworkPrinters
password server = *
#####Unseen files deteted with directories
veto files = /.AppleDouble/.bin/.AppleDesktop/Network Trash Folder/
delete veto files = True
#####Locking
oplocks = yes
kernel oplocks = yes
level2 oplocks = yes
#####Logging
max log size = 1000
#debug pid = Yes
#debug uid = Yes
log file = /var/log/samba/comp.%m
# Please read BROWSING.txt and set the next four parameters according
# to your network setup. There is no valid default so they are commented
# out.
os level = 15
domain master = no
local master = no
preferred master = no
[default]
browseable = no
comment = Default netbios: %L
public = yes
writable = yes
create mode = 0664
force directory mode = 2775
hide dot files = yes
path = /tmp
dos filetimes = True
strict locking = yes
#####Config based on name
include = /etc/samba/comp.%L
More information about the samba
mailing list