• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 391
  • Last Modified:

Samba

Hai...
          I have configured samba 3.0 in an RH Enterprise Linux 3.0  PC.and then i am trying to connect one Windows XP PC to it (connected with cross cable).. But i cannot join the WinXP PC to the domain. When i give the domainname , it would ask for the username and password, who have right to join the domain. But when i give the username- root  & its password, it shows the error " username colud not be found". So i want to know which is the option in the global section of the smb.conf file that determines th user who have right to add machines in the domain..
    in the smb.conf file i have given the following related options...
                       
                   domain logons = yes
                   admin  users = root , administrator
                   domain admin = root
                   security level  = user
 is there any other option that i have to include ???????

Thanks and regards



















     
0
mshajan
Asked:
mshajan
1 Solution
 
da99rmdCommented:
mshajan,
take a look at this pahe and this commands:
http://www.tldp.org/HOWTO/SMB-HOWTO.html
smbadduser
smbpasswd

/Rob
0
 
mshajanAuthor Commented:
hai,
                  i have added the root user to samba( smbadduser and smbpasswd) but still no chance..  

Thanks and regards

 
0
 
da99rmdCommented:
mshajan,
it not advicable to use the root user with samba account.

Have you read the howto and followed it step by step ?

/Rob
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
mshajanAuthor Commented:
hai,
         In the HOWTO
0
 
mshajanAuthor Commented:
hai,
         In the HOWTO not much mentioned about the smbpasswd or adding users ...

regards
0
 
da99rmdCommented:
mshajan,
i think root user is blocked try adding an other user ans pass.
man smbadduser
man smbpasswd

Then use the howto to try the account localy on the RH 3.0 with smbclient.
man smbclient
the testing is described in the howto.
 
/Rob
0
 
shard26Commented:
so are trying to make the samba server a domain controller?

can you ping between the 2 OK?

try changing
security level  = user

to
security level  = domain
0
 
sumpiCommented:
use
smbpasswd -a administrator
and set the password

if this does not work, try adding your XP box by using:
smbpasswd -m nameofyourxpbox

Then your xp - box should be recognized by your sama - server.

hth!
Sumpi
0

Featured Post

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now