LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-03-2003, 07:45 AM   #31
c0c0deuz
Member
 
Registered: Aug 2001
Location: Qc, Canada
Distribution: RedHat, Mandrake, FreeEOS
Posts: 336

Original Poster
Rep: Reputation: 30

Now i have something, this diag howto is excellent: /usr/share/doc/samba-version/docs/textdocs/DIAGNOSIS.txt

Here is what's working:
1. testparm smb.conf give me no error
2. I can ping smbservername from my workstation
3. I can get a list of available shares from my unix box with:
smbclient -L smbservername
4. My nmbd demon is correctly installed, i can get back the ip of my server when i issue:
nmblookup -B smbservername
5. I can communicate from the server to the client cause i get the ip address back when i issue:
nmblookup -B clientname '*'
6. Broadcast from server works cause i get ip from surrounding stations when i issue:
nmblookup -d 2 '*'
7a. i have proper share setup because i can access it from the server itself with
smbclient //smbservername/sharedfolder

7b. i can even access it from a username i was suspecting problems with:
smbclient //smbservername/sharedfolder -U username

8. PROBLEM: i can't view the shares from the workstation i use
i open a cmd window from my XP box and i try:
net view \\smbservername
i get system error 5, access denied
witch is not explained in DIAGNOSIS.txt
 
Old 07-03-2003, 10:12 AM   #32
aigartua
Member
 
Registered: Dec 2002
Location: Xalapa, Ver. México
Distribution: Red Hat
Posts: 108

Rep: Reputation: 15
add this to the [global] section and make the test 8:

nt acl support = no

remember restart samba
 
Old 07-03-2003, 11:25 AM   #33
c0c0deuz
Member
 
Registered: Aug 2001
Location: Qc, Canada
Distribution: RedHat, Mandrake, FreeEOS
Posts: 336

Original Poster
Rep: Reputation: 30
same problem: 'access denied'

i believe that the denied access is oriented towards the PC itself not the user because step 7b did work fine.

Going back in our discussion, i focus on create machine trust accounts (this is to give trusts to a PC isn't it?)

A) /usr/sbin useradd -g is_the_group_in_witch_users_belong -d /dev/null -c is_the_PC_name_of_the_workstation -s /bin/false PC_name_of_that_workstation$

this replies with:
useradd : gui 100 unknown
useradd : user x already exist

B) passwd -l workstation_PCname$
passwd: Success

C) smbpasswd -a -m workstation_PCname
Password chanded for workstation_PCname$
 
Old 07-03-2003, 11:28 AM   #34
c0c0deuz
Member
 
Registered: Aug 2001
Location: Qc, Canada
Distribution: RedHat, Mandrake, FreeEOS
Posts: 336

Original Poster
Rep: Reputation: 30
sorry in step A, instead of:
useradd : gui 100 unknown

you shoud read:
useradd : gid 100 unknown
 
Old 07-03-2003, 11:42 AM   #35
aigartua
Member
 
Registered: Dec 2002
Location: Xalapa, Ver. México
Distribution: Red Hat
Posts: 108

Rep: Reputation: 15
use: groupadd -g 100 name_of_the_group
 
Old 07-03-2003, 11:47 AM   #36
c0c0deuz
Member
 
Registered: Aug 2001
Location: Qc, Canada
Distribution: RedHat, Mandrake, FreeEOS
Posts: 336

Original Poster
Rep: Reputation: 30
groupadd : the group workstations already exists
 
Old 07-03-2003, 12:48 PM   #37
aigartua
Member
 
Registered: Dec 2002
Location: Xalapa, Ver. México
Distribution: Red Hat
Posts: 108

Rep: Reputation: 15
I installed a new redhat 8 with samba like PDC, using the smb.conf file that posted you and works fine, i just must to change the pass for the root user in samba with smbpasswd.

when I try to join the domain from the clients (win2k) I use the account root with its new password in samba.

I can't make probes with winxp because I don't have xp clients.

Try the patch for winxp, I think is all you problem
 
Old 07-03-2003, 02:12 PM   #38
c0c0deuz
Member
 
Registered: Aug 2001
Location: Qc, Canada
Distribution: RedHat, Mandrake, FreeEOS
Posts: 336

Original Poster
Rep: Reputation: 30
what is the difference between machine nickname and machine_name$ ???

can i type:
/usr/sbin/useradd -g 100 -d /dev/null -c xpws1 -s /bin/false xpws1$
 
Old 07-03-2003, 02:31 PM   #39
aigartua
Member
 
Registered: Dec 2002
Location: Xalapa, Ver. México
Distribution: Red Hat
Posts: 108

Rep: Reputation: 15
/usr/bin/useradd -g 100 -d /dev/null -c "description" account$

-g 100 <- gruop id 100 to add the account
-d /dev/null <- work directory, null in this case
-c "description of the account" <- only a description
account$ <- username to add, in this case account$ is for a machine account
 
Old 07-03-2003, 02:48 PM   #40
c0c0deuz
Member
 
Registered: Aug 2001
Location: Qc, Canada
Distribution: RedHat, Mandrake, FreeEOS
Posts: 336

Original Poster
Rep: Reputation: 30
IT WORKS...
believe it or not, it works... and it might have been working since a while.
If i use network neibourhood i see two workgroups: workgroup (xp) and domain.local (samba), by clicing on it i can browse and access files on the samba server.
What is strange is that i never join the domain neither can i joint it by using the My Computer Icon > Properties > Computer Name > Change > Domain
i always get an denied access
i used net use and i got in
i went back to network neighborhood and i can browse.
well i didn't change anything from that patch since it was correct from higher in the post.

I am very curious to find out why i can't join the domain, it seems like it concidered it as a workgroup and not a domain.
 
Old 07-03-2003, 03:07 PM   #41
aigartua
Member
 
Registered: Dec 2002
Location: Xalapa, Ver. México
Distribution: Red Hat
Posts: 108

Rep: Reputation: 15
great, at last, try changind the root pass with smbpasswd, and joint the domain with user root an your new pass, reboot xp and enjoy
 
Old 07-03-2003, 05:26 PM   #42
c0c0deuz
Member
 
Registered: Aug 2001
Location: Qc, Canada
Distribution: RedHat, Mandrake, FreeEOS
Posts: 336

Original Poster
Rep: Reputation: 30
well, it doesn't want to do it...
i convert the user root but it still doesn't want to login in My Computer Icon > Properties > Computer Name > Change > Domain
I have an unknown user or incorrect password
in gui or cmd line it's the same. :-(
 
Old 07-03-2003, 07:18 PM   #43
aigartua
Member
 
Registered: Dec 2002
Location: Xalapa, Ver. México
Distribution: Red Hat
Posts: 108

Rep: Reputation: 15
are you adding the winxp netbios name like machine account plus $ in your linux box?
 
Old 07-04-2003, 07:19 AM   #44
c0c0deuz
Member
 
Registered: Aug 2001
Location: Qc, Canada
Distribution: RedHat, Mandrake, FreeEOS
Posts: 336

Original Poster
Rep: Reputation: 30
Yes i do
 
Old 07-04-2003, 02:35 PM   #45
aigartua
Member
 
Registered: Dec 2002
Location: Xalapa, Ver. México
Distribution: Red Hat
Posts: 108

Rep: Reputation: 15
sorry, but I don't know what more to do
 
  


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


All times are GMT -5. The time now is 08:26 AM.

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