Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-07-2009, 04:34 AM   #1
LQ Newbie
Registered: Apr 2009
Posts: 3

Rep: Reputation: 0
Samba 3.0.33 - problems accessing windows domain, and shares not visible

Hi, I'm new here

I just got my Gentoo installation running, which was also the first time ever I compiled a kernel myself
It's running kernel 2.6.27-r8
I'm setting this virtual box (runs on VMware server 2.0) up to be used as a webserver (apache/php/mysql).

I've got samba 3.0.33 installed, but i'm having some difficulties getting everything running as I want it:
There are 2 main problems:
- I cannot get the box onto our windows domain (not active directory)
- I've got a share setup in the box, but this share is not visible to windows boxes

This is my smb.conf (changed domain for obvious reasons, but notice there are 2 dots in there...):

workgroup               = BLABLA.COMPANY.COM
netbios name            = GENTOO
security                = domain
encrypt passwords       = yes
password server         = *
unix password sync      = yes
log file                = /var/log/samba/log.%m
max log size            = 50

comment                 = public share
path                    = /pub
guest ok                = yes
public                  = yes
browsable               = yes
First of all, when I try to join the domain with:
net join -w BLABLA.COMPANY.COM -U user1
I get:
Unable to find a suitable server
Unable to find a suitable server
When I do a wireshark trace on that box, I see that the Gentoo box
tries to reach the DC on hostname "BLABLA.COMPANY" (it's droppping the .COM!!) which obviously doesn't work.

So I use:
net join -w BLABLA.COMPANY.COM -S <our DC's IP> -U user1
Now the communication with the DC is working but I get:
[2009/04/07 09:40:44, 0] utils/net_rpc_join.c:net_rpc_join_newstyle(367)
  Error in domain join verification (credential setup failed): NT_STATUS_INVALID_COMPUTER_NAME
This seems like a strange error since our domain is set up to auto-create computers if they try to connect, provided that the giver user has the appropriate rights (user1 does).

I read somewhere that you should emerge samba with the +kerberos option, however when I do:
emerve -pv samba
I get:
[ebuild   R   ] net-fs/samba-3.0.33  USE="acl cups ldap pam python readline winbind -ads -async -automount -caps -debug -doc -examples -fam -ipv6 -oav -quotas (-selinux) -swat -syslog" 0 kB
So apparently in my setup there is no kerberos option.
Even manually putting in the /etc/portage/package.use file like so:
net-fs/samba acl winbind kerberos -ipv6
Doesn't install the kerberos option...

Any Ideas??
It's probably something I'm looking over the head as this is my first Gentoo install (only experience with graphical installations so far...)

Edit : Removed question about not being able to access the share on my linux box from a windows box.
Changing security = from domain to share fixed this problem, so I probably need to get security = domain working first...

Last edited by vyruz18; 04-07-2009 at 05:13 AM.
Old 04-08-2009, 03:08 PM   #2
Senior Member
Registered: Jan 2008
Distribution: Arch/Slackware/Knoppix
Posts: 1,783
Blog Entries: 14

Rep: Reputation: 279Reputation: 279Reputation: 279
I presume you've looked at; I particularly recommend the By-Example user guide: (assuming you're in the us)
Welcome to LQ!

Last edited by mostlyharmless; 04-08-2009 at 03:10 PM.


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
Accessing samba workgroup shares from a different domain? FastForward Linux - Server 3 03-12-2009 04:47 PM
accessing samba shares from windows xubuntu_idiot Linux - Software 1 09-05-2006 01:25 PM
Accessing Windows shares in a domain humbletech99 Linux - Networking 6 03-29-2006 02:02 AM
Accessing samba shares from a windows machine lacitpo Linux - Software 2 12-13-2004 07:47 AM
Problem accessing windows shares using samba Tinku Linux - Software 6 08-05-2004 08:47 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:25 AM.

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