[Samba] Which tree should I be barking up?
Noel Kelly
nkelly at citrusnetworks.net
Thu Oct 31 20:57:01 GMT 2002
You are being treated as a guest user because "map to guest = Bad User"
Bad User - Means user logins with an invalid
password are rejected, unless the username does
not exist, in which case it is treated as a guest
login and mapped into the guest account.
This means that your login name or password is not being recognised and you
are being treated as the guest user - default is 'nobody'. If nobody does
not exist in your domain then you need to create a user called this.
However, that will only get you as far as guest shares - and I suppose you
need to address the actual matter of not being recognised yourself. Are the
permissions on directory /home/apps 770 with group GPSC+"domain users" or
something similar?
If so then see what you get if you do a 'getent passwd' or 'getent group'.
HTH a bit,
Noel
looks like I am being recognized as a 'guest user' which is a problem but
for testing purposes I have changed smb.conf for this share to allow guest
access, which it does not seem to.
I am also attempting to achieve a successful integration with winbind as I
don't want to manage users on two platforms.
wbinfo -u gives a list of domain users
wbinfo -g gives a list of domain groups
wbinfo -t gives 'secret is good'
Here is my smb.conf:
# Samba config file created using SWAT
# from UNKNOWN (127.0.0.1)
# Date: 2002/10/23 15:08:25
# Global parameters
[global]
workgroup = GPSC
netbios name = WILLIAM
server string = GPSC Application Samba Server
interfaces = lo eth0
bind interfaces only = Yes
security = DOMAIN
encrypt passwords = Yes
map to guest = Bad User
password server = *
log level = 3
log file = /var/log/samba.%m
max log size = 50
keepalive = 30
os level = 2
local master = No
dns proxy = No
wins server = 192.168.1.2
kernel oplocks = No
winbind uid = 10000-20000
winbind gid = 10000-20000
template homedir = /home/win/%D/%U
winbind separator = +
invalid users = root
printer admin = @DOM+PRINTADMIN
hosts allow = 127. 192.168.
print command =
lpq command =
lprm command =
[homes]
comment = Home Directories
read only = No
create mask = 0750
browseable = No
[Apps]
comment = Where network apps are loaded
path = /home/apps
guest ok = Yes
Kind regards,
Steven S. Macfarlane
tel 712.204.8875
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.404 / Virus Database: 228 - Release Date: 15/10/2002
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.404 / Virus Database: 228 - Release Date: 15/10/2002
More information about the samba
mailing list