LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-13-2004, 04:29 PM   #1
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
Samba as client only, wants to be ROLE_DOMAIN_BDC


Hello all,

I'm going through every n00b's rights of passage with Samba. The specific issue that I am having is trying to get samba running just as a client app, not as a server. We have 2 windows server 2003 boxes acting as the DC and associate DC. All I need with my samba is the ability to see the other computers in the domain.

I am going through the steps found at these sites, and following instructions to the letter.

http://hr.uoregon.edu/davidrl/samba/install.html

and locally at linuxquestions

http://www.linuxquestions.org/questi...n+an+NT+domain

Here is the contents of /etc/samba/smb.conf

[global]
netbios name = Redhat01
security = domain
workgroup = GENXWIFI
log file = /var/log/samba.log
log level = 1
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192
wins support = yes
domain logons = yes
os level =99
password server = *
winbind uid = 10000-20000
winbind gid = 10000-20000

When I use the /usr/bin/testparm command to check on smb.conf, here is the result:

[root@workbox usr]# /usr/bin/testparm
Load smb config files from /etc/samba/smb.conf
Server's Role (logon server) NOT ADVISED with domain-level security
Loaded services file OK.
Server role: ROLE_DOMAIN_BDC
Press enter to see a dump of your service definitions

# Global parameters
[global]
workgroup = GENXWIFI
netbios name = REDHAT01
security = DOMAIN
log level = 1
log file = /var/log/samba.log
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192
domain logons = Yes
os level = 99
wins support = Yes
idmap uid = 10000-20000
idmap gid = 10000-20000

What confuses me about this output is the line Server's Role (logon server) and ROLE_DOMAIN_BDC. I didn't put those values in any config. When I searched for the text ROLE_DOMAIN_BDC in my /usr/sbin dir, it is found in the files winbindd, smbd, and nmbd. Of course those files are binary, and I can't edit them.

If someone can please point me in the direction of just using samba as a client into the winblows domain, I would greatly appreciate it.

Thanks,
JimBass
 
Old 04-15-2004, 01:48 PM   #2
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
smb.conf has to do with samba server, which you didn't want to do.


The only packages needed for client side use of samba is samba-common and samba-client.

To use it as a client there is not much to do other than to just use it. No special configuration.
The smbclient is used to connect to a shared resource.
 
Old 04-15-2004, 11:22 PM   #3
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Original Poster
Rep: Reputation: 49
Thanks for the help. I had some luck simply by pulling the "domain logons = yes" line out of smb.conf. I was fighting the DC for the rights to do that, and it crashed out the entire domain. Withthat removed I was showing up in the Windows folks' Network Neighborhood, although it would ask them for a pass, then not accept any of the username/passwords that are configured on my box. When I get in to work tomorrow I'll try your 2 suggested commands, and see how those work out. Thanks again.

JimBass
 
  


Reply



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 client freezes when samba server goes down timcharper Linux - Networking 1 08-22-2005 10:29 PM
Samba: W2K client OK, XP client hangs Tim Green Linux - Networking 4 08-10-2004 01:55 AM
What Samba Client PDR60 Slackware 2 04-14-2004 09:25 AM
Mandrake (Samba) Client Can't Connect To Samba Buick Linux - Networking 1 01-21-2004 01:55 PM
samba client girata Linux - Newbie 1 02-18-2003 11:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:06 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
Open Source Consulting | Domain Registration