Solved

Samba server

Posted on 2001-07-20
11
419 Views
Last Modified: 2010-03-18
How can my linux samba server validate the users i`ve already made? I have Win 98 clients.
0
Comment
Question by:conti
  • 5
  • 2
  • 2
  • +2
11 Comments
 

Author Comment

by:conti
ID: 6302550
I've already configured the smb.conf file. I wrote the workgroup name, the netbios name and 2 usernames were made. But, when I try to access the server with a Windows 98 client, a message appears and says the next: "The domain password is incorrect or the server logon access has been denied". (this message has been translated from the spanish version of Win 98)
0
 
LVL 1

Expert Comment

by:DanEgli
ID: 6302914
1) ensure you have domain logins enabled in the smb.conf,
2) you must have a username in the smb.conf file for your
MACHINE as well as user. for example, this machine I'm typing on has a netbios name of DURON (unoriginal, i know. boss's idea) so to connect to a samba domain there must be a duron$ user in smbpasswd. Without it, your machine is not allowed in the domain.
0
 
LVL 4

Expert Comment

by:garisoain
ID: 6302984
Conti> do you got the Encrypted passwords activated on your smb.conf???

look on your system for 'mksmbpasswd' file, this file is a script that translates your /etc/passwd to a standard SAMBA password file (except for the passwords), then you specify on smb.conf to use encrypted passwords and the file you will use for that, finally, set the user's SAMBA password with the 'smbpasswd' command.

Hope this helps...
-garisoain

PS. Spanish Version? Yo soy de Mexico. Basicamente este fue el proceso que yo segui para configurar mi Samba con passwords encriptados. =) De cualquier forma aqui seguiremos escuchando.

0
 

Author Comment

by:conti
ID: 6303070
Hey DanEgli, how can i insert that "duron$"? is there anything else i have to insert on the smbpasswd?
0
 

Author Comment

by:conti
ID: 6303078
garisoain, ya tengo acivada la opcion de encrypted passwords.
0
Save on storage to protect fatherhood memories

You're the dad who has everything. This Father's Day, make sure your family memories are protected. My Passport Ultra has automatic backup and password protection to keep your cherished photos and videos safe. With up to 3TB, you have plenty of room to hold the adventures ahead.

 
LVL 4

Expert Comment

by:garisoain
ID: 6303178
smbadduser i guess...
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 6303526
Win98 Clients?
So you do not have a NT domain, that means that you *must* use smbpasswd on Linux and set the user/passwd pair for samba
0
 
LVL 3

Accepted Solution

by:
Somebody_else earned 100 total points
ID: 6303778
smbadduser is the best way i've found for adding users/passwords  you have to specify the group the user will belong to tho   exmp:
smbadduser joe:501
adds user joe in group 501

i've used the mksmbpasswd util before but not always with the most satisfactory results... this would be handy tho if you wanted to copy over all of the permissions already assigned to the current group of unix users though, but for one or 2 person access  i would go with smbadduser.

my 2cents   hehe  
0
 

Author Comment

by:conti
ID: 6303917
Is that group you're talking about, the workgroup itself?
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 6304471
> Is that group you're talking about, the workgroup itself?

NO.
This is a UNIX (/etc/groups) group, has nothing to with M$'s workgroup so far.
Feel free to name the UNIX group as your WORKGROUP, and assign them all users which should belong to the WORLKGROUP.
The WORKGROUP itself is set in Samba's httpd.conf.
0
 

Author Comment

by:conti
ID: 6328312
Thanks a lot!! I really appreciate your help!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now