LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Samba (https://www.linuxquestions.org/questions/linux-software-2/samba-68323/)

c0c0deuz 07-02-2003 01:12 PM

I just tried your config file and it seems to go a little further... it did find the smbpasswd file
thks very much

i now have a message stating that the account is not allowed to loggin from that workstation
it is quite stranged because i did added a machine$ account ...

is there a way to tell samba from witch machine the user can logon?

FXRS 07-02-2003 03:09 PM

If you don't have Webmin installed go here www.webmin.com and get it.

Then follow this http://www.webmin.it/webmin/samba-howto.html to the tee and you will have a "mapped" linux drive on your Linux pc in about 5 minutes

FX

FXRS 07-02-2003 03:10 PM

EEEEEEK sorry that suppose to be mapped linux drive to your XP machine. (And I even previewed it too. LMAO)

FX

aigartua 07-02-2003 04:02 PM

i haven't winxp clients and works fine, but i find this for winxp clients, hope this help you: http://xp-samba.linuxgod.net/Samba.php

aigartua 07-02-2003 04:05 PM

if you have redhat try to find the file: WinXP_SignOrSeal.reg in /usr/share/doc/samba-version/docs/Registry/ and fix your xp clients ;)

c0c0deuz 07-02-2003 04:45 PM

It seems that the problem is more basic than that aiguartua...

I did install webmin and i am reading the HOWTO link
thks FXRS

again i ended up bugging here:
"22. Open up a virtual terminal if you're running X windows or log into your Samba Server if you're running Webmin remotely. Type in: “smbpasswd” username where username is a valid user on your samba server. You'll be prompted for a password and to re-authenticate the password by retyping it. It's recommended that you use the same password that you would to log into the server to keep things easier to manage, but it isn't necessary. Running “smbpasswd” will create an authentication file for Samba to check when you log in to the server from a Windows computer. "

i try creating a brand new unix user and convert user into samba user: I see the users it looks ok but when i try smbpasswd (username) i get :
Failed to find entry for user x
Failed to modify password entry for user x

c0c0deuz 07-02-2003 04:55 PM

By the way: i did changed that key previously, it is in one of the howto.
I just double checked: requiresignorseal = 0 just as stated

aigartua 07-02-2003 05:35 PM

ok, for create machine trust accounts:
(note: you can add a group uf machines: groupadd something)
1.- /usr/sbin/useradd -g something -d /dev/null -c "machine nickname" -s /bin/false machine_name$
2.- passwd -l machine_name$ (is lower case L not 1)
3.- smbpasswd -a -m machine_name

for create user account:
1.- useradd -g some -c "user name" -s /sbin/nologin user
2.- passwd user
3.- smbpasswd user

I hope you haven't problems with this

aigartua 07-02-2003 05:43 PM

the last line correct is :
3.- smbpasswd -a user

c0c0deuz 07-02-2003 06:26 PM

Yes everything works fine, all commands are processed correctly.
but after, i try login in, i've got an access denied...

aigartua 07-02-2003 06:32 PM

did you apply the patch to winxp?

c0c0deuz 07-02-2003 06:36 PM

I am presently trying the /usr/share/doc/samba-version/docs/textdocs/DIAGNOSIS.txt and fallowing the steps, i should be able to do smbclient -L (server name) from the server and get a list of shares...

i might have a clue here...
i have a reply after it did asked for a password:
session setup failed: NT_STATUS_LOGON_FAILURE

aigartua 07-02-2003 07:12 PM

some new versions of samba use smbadduser to add the user account, try it after adduser

useradd linuxuser:winuser

aigartua 07-02-2003 07:13 PM

sorry, is smbadduser linuxuser:sambauser you can use the same username

c0c0deuz 07-02-2003 07:50 PM

i tried it with an existing account and i've got :
ERROR: userx is already in /etc/samba/smbpasswd SKIPPING...
and i have a user denied message when trying to connect from the workstation. :-(

i tried by creating a brend new user
useradd usery
passwd usery
password: yyyyy
smbadduser usery:usery
New SMB password: yyyyy
Password changed for usery
-it added fine...

i have a user denied message when trying to connect from the workstation. :-(


All times are GMT -5. The time now is 10:16 PM.