LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-02-2003, 02:12 PM   #16
c0c0deuz
Member
 
Registered: Aug 2001
Location: Qc, Canada
Distribution: RedHat, Mandrake, FreeEOS
Posts: 336

Original Poster
Rep: Reputation: 30

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?
 
Old 07-02-2003, 04:09 PM   #17
FXRS
Member
 
Registered: Jun 2003
Posts: 144

Rep: Reputation: 15
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
 
Old 07-02-2003, 04:10 PM   #18
FXRS
Member
 
Registered: Jun 2003
Posts: 144

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

FX
 
Old 07-02-2003, 05:02 PM   #19
aigartua
Member
 
Registered: Dec 2002
Location: Xalapa, Ver. México
Distribution: Red Hat
Posts: 108

Rep: Reputation: 15
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
 
Old 07-02-2003, 05:05 PM   #20
aigartua
Member
 
Registered: Dec 2002
Location: Xalapa, Ver. México
Distribution: Red Hat
Posts: 108

Rep: Reputation: 15
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
 
Old 07-02-2003, 05:45 PM   #21
c0c0deuz
Member
 
Registered: Aug 2001
Location: Qc, Canada
Distribution: RedHat, Mandrake, FreeEOS
Posts: 336

Original Poster
Rep: Reputation: 30
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
 
Old 07-02-2003, 05:55 PM   #22
c0c0deuz
Member
 
Registered: Aug 2001
Location: Qc, Canada
Distribution: RedHat, Mandrake, FreeEOS
Posts: 336

Original Poster
Rep: Reputation: 30
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
 
Old 07-02-2003, 06:35 PM   #23
aigartua
Member
 
Registered: Dec 2002
Location: Xalapa, Ver. México
Distribution: Red Hat
Posts: 108

Rep: Reputation: 15
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
 
Old 07-02-2003, 06:43 PM   #24
aigartua
Member
 
Registered: Dec 2002
Location: Xalapa, Ver. México
Distribution: Red Hat
Posts: 108

Rep: Reputation: 15
the last line correct is :
3.- smbpasswd -a user
 
Old 07-02-2003, 07:26 PM   #25
c0c0deuz
Member
 
Registered: Aug 2001
Location: Qc, Canada
Distribution: RedHat, Mandrake, FreeEOS
Posts: 336

Original Poster
Rep: Reputation: 30
Yes everything works fine, all commands are processed correctly.
but after, i try login in, i've got an access denied...
 
Old 07-02-2003, 07:32 PM   #26
aigartua
Member
 
Registered: Dec 2002
Location: Xalapa, Ver. México
Distribution: Red Hat
Posts: 108

Rep: Reputation: 15
did you apply the patch to winxp?
 
Old 07-02-2003, 07:36 PM   #27
c0c0deuz
Member
 
Registered: Aug 2001
Location: Qc, Canada
Distribution: RedHat, Mandrake, FreeEOS
Posts: 336

Original Poster
Rep: Reputation: 30
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
 
Old 07-02-2003, 08:12 PM   #28
aigartua
Member
 
Registered: Dec 2002
Location: Xalapa, Ver. México
Distribution: Red Hat
Posts: 108

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

useradd linuxuser:winuser
 
Old 07-02-2003, 08:13 PM   #29
aigartua
Member
 
Registered: Dec 2002
Location: Xalapa, Ver. México
Distribution: Red Hat
Posts: 108

Rep: Reputation: 15
sorry, is smbadduser linuxuser:sambauser you can use the same username
 
Old 07-02-2003, 08:50 PM   #30
c0c0deuz
Member
 
Registered: Aug 2001
Location: Qc, Canada
Distribution: RedHat, Mandrake, FreeEOS
Posts: 336

Original Poster
Rep: Reputation: 30
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. :-(
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba/Cups print sharing problems (/var/spool/samba files) Gates1026 Linux - General 9 06-23-2013 02:33 AM
Samba - Connecting from WinXP Pro to Samba running on Debian critical Linux - Networking 1 02-03-2005 10:36 AM
I need the content from thegoldenear.org/toolbox/unices/samba/samba-setup.html rtg2001 Linux - Networking 1 08-05-2004 06:54 PM
Samba: Authenticate Linux-Clients in Samba Domain & Mount mule Linux - Software 0 12-10-2003 02:21 AM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 06:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration