Samba and Users Not Working on Redhat 7.2

htmlmasterdave

Golden Member
Jul 13, 2001
1,309
0
0
I've having some problems with samba on redhat 7.2... usernames used by windows pc's don't seem to work even though i think i setup the users correctly... does anyone know how to check what users are setup? also... i can't seem to get adduser to work properly... can someone give me an example of creating a user with a password belonging to the root group? TIA ;):D
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
there should be some kind of samba users file somewhere in your system. Check the man pages to see if you used the samba adduser thingy to correctly set it up.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0


<< ok, thanks, will do ;) i should have thought of that first... oh well :) >>



I didnt pay attention to the manpages at first, so I got a little frustrated with it myself. But after going over the documentation it helped a lot. You can also post your smb.conf file and we can look over that with you.
 

htmlmasterdave

Golden Member
Jul 13, 2001
1,309
0
0
Thanks :) I'm trying to write up a chem lab right now, but maybe tomorrow i'll actually have time to try and fix this stuff ;)
 

Charles

Platinum Member
Nov 4, 1999
2,115
0
0
Question: Do I need to install Samba client on my Windows machine to enable networking with my Red Hat 7.2 machine?
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0


<< Question: Do I need to install Samba client on my Windows machine to enable networking with my Red Hat 7.2 machine? >>



You need networking in Windows if thats what you mean.
 

Charles

Platinum Member
Nov 4, 1999
2,115
0
0


<< You need networking in Windows if thats what you mean. >>

That's it? Is there any step by step tutorial? I use Red Hat 7.2 and Windows XP Pro.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
For a user to work in Samba you have to create a SMB encrypted password for them with 'smbpasswd -a username'.

That's it?

Yea, Samba is a SMB server which is what Windows uses natively. The whole point is you don't need any Windows client software.
 

FUBAR

Senior member
Oct 11, 1999
618
0
0
Another route you may have taken is to add the users to the linux box then try and map the windows users to the linux users. The command there should be

smbuseradd (or smbadduser) unixid:winid