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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
07-02-2003, 01:12 PM
|
#16
|
Member
Registered: Aug 2001
Location: Qc, Canada
Distribution: RedHat, Mandrake, FreeEOS
Posts: 336
Original Poster
Rep:
|
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?
|
|
|
07-02-2003, 03:10 PM
|
#18
|
Member
Registered: Jun 2003
Posts: 144
Rep:
|
EEEEEEK sorry that suppose to be mapped linux drive to your XP machine. (And I even previewed it too. LMAO)
FX
|
|
|
07-02-2003, 04:02 PM
|
#19
|
Member
Registered: Dec 2002
Location: Xalapa, Ver. México
Distribution: Red Hat
Posts: 108
Rep:
|
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
|
|
|
07-02-2003, 04:05 PM
|
#20
|
Member
Registered: Dec 2002
Location: Xalapa, Ver. México
Distribution: Red Hat
Posts: 108
Rep:
|
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 
|
|
|
07-02-2003, 04:45 PM
|
#21
|
Member
Registered: Aug 2001
Location: Qc, Canada
Distribution: RedHat, Mandrake, FreeEOS
Posts: 336
Original Poster
Rep:
|
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
|
|
|
07-02-2003, 04:55 PM
|
#22
|
Member
Registered: Aug 2001
Location: Qc, Canada
Distribution: RedHat, Mandrake, FreeEOS
Posts: 336
Original Poster
Rep:
|
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
|
|
|
07-02-2003, 05:35 PM
|
#23
|
Member
Registered: Dec 2002
Location: Xalapa, Ver. México
Distribution: Red Hat
Posts: 108
Rep:
|
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
|
|
|
07-02-2003, 05:43 PM
|
#24
|
Member
Registered: Dec 2002
Location: Xalapa, Ver. México
Distribution: Red Hat
Posts: 108
Rep:
|
the last line correct is :
3.- smbpasswd -a user
|
|
|
07-02-2003, 06:26 PM
|
#25
|
Member
Registered: Aug 2001
Location: Qc, Canada
Distribution: RedHat, Mandrake, FreeEOS
Posts: 336
Original Poster
Rep:
|
Yes everything works fine, all commands are processed correctly.
but after, i try login in, i've got an access denied...
|
|
|
07-02-2003, 06:32 PM
|
#26
|
Member
Registered: Dec 2002
Location: Xalapa, Ver. México
Distribution: Red Hat
Posts: 108
Rep:
|
did you apply the patch to winxp?
|
|
|
07-02-2003, 06:36 PM
|
#27
|
Member
Registered: Aug 2001
Location: Qc, Canada
Distribution: RedHat, Mandrake, FreeEOS
Posts: 336
Original Poster
Rep:
|
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
|
|
|
07-02-2003, 07:12 PM
|
#28
|
Member
Registered: Dec 2002
Location: Xalapa, Ver. México
Distribution: Red Hat
Posts: 108
Rep:
|
some new versions of samba use smbadduser to add the user account, try it after adduser
useradd linuxuser:winuser
|
|
|
07-02-2003, 07:13 PM
|
#29
|
Member
Registered: Dec 2002
Location: Xalapa, Ver. México
Distribution: Red Hat
Posts: 108
Rep:
|
sorry, is smbadduser linuxuser:sambauser you can use the same username
|
|
|
07-02-2003, 07:50 PM
|
#30
|
Member
Registered: Aug 2001
Location: Qc, Canada
Distribution: RedHat, Mandrake, FreeEOS
Posts: 336
Original Poster
Rep:
|
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 01:03 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|