Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I installed a Mandrake linux server with Samba 2.2.3a. I created a user in linux and added this user in the samba users file. SMB and UMB are running.
The smb.conf I use is:
[global]
workgroup = myDomain
server string = Samba Server %v
#server string = Samba Server
browseable = yes
load printers = no
log file = /var/log/samba/log.%m
max log size = 100
lock directory = /var/lock/samba
locking = no
strict locking = no
share modes = yes
security = user
null passwords = yes
socket options = TCP_NODELAY
# Allows the Samba server to become a domain controller
os level = 33
domain master = yes
# Facilitates the long names recognition
preserve case = no
short preserve case = no
character set = iso8859-1
[homes]
comment = Home Directories
preexec = /bin/sh -c 'echo /usr/bin/smbclient -M %m -I %I'&
browseable = yes
readonfiltered= no
writable = yes
create mode = 0750
public = yes
["public"]
comment = "Public"
path = /home/ftp/
browseable = yes
hide dot files = yes
readonfiltered= no
public = yes
pritable = yes
create mode = 0775
printable = no
I can't logon on this domain with my Windows 98 computer. I see this server in my explorer, but can not connect to it. I can ping my server. What is wrong, I really don't know what to do?
1. I am not sure ["public"] is acceptable. Try [public] instead.
2. If you see the share at W98 box can you open it? If not what is the message?
3. Re logon: 'domain logons = yes' is missing. What is the message when you try to logon?
Dorian33:
1. I changed it to [public]
2. I don't see a share in my explore. I get a popup box which want me to enter a password for the share IPX$. I don't created this share as far as I know.
3. I added this to my config file. The error I receive after trying to logon to my domain is "Incorrect parameter". Not a very usefull message!
To add a samba user:
as root
smbpasswd -a username
Username must match a regular user as well as the Win98 username you logon to.
The command testparm will perform a syntax check your smb.conf file. Is pritable a typo or is it really in your public share.
Which do you want?
printable = no
or
printable = yes
in your public share.
I created a new user to samba. This user exist in both Linux and Win98. They both has the same passwords.
When I want to logon on the domain "myDomain" I get windows popupbox with the message (translated from dutch) "Incorrect parameter". If I type the ip number in the field "domain", the samba server makes some noice (harddisk) and I receive the message "password is incorrect or permission to this domain is not granted".
If I change the security to share I CAN access my shares on my server. But I still cannot logon to my server (still get the strange error). Does this mean I have not setup my samba users correctly? I think that is strange. My linux users and my win98 users are the same and have the same password. I also ran the command "smbpasswd -a username". Do I forgot something?
I think the job is almost done. The new settings in the smb.conf files works better. If the user has a blanco password it works!! If the user has not a blanco password it can't logon because the password is wrong (thats what windows telling me). I am sure the password is correct.... So it almost works fine. I keep working on this.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.