Share your knowledge at the LQ Wiki.
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 06-09-2005, 01:59 PM   #1
Registered: Jul 2003
Location: Toronto
Distribution: Redhat
Posts: 89

Rep: Reputation: 15
Trouble accessing smb share using winbind

I have two problems with users accessing an smb share on a linux based server. The server is joined to the domain and is running smb and winbind.

First problem is that if I browse to the box via netbios name or fqdn i get an authentication window pop up and no combination of username/password will work. If I browse to the same box via IP I am automatically authenticated (as I should be) and I can view all of the share points.
In this case I am browsing from an xp client.

Second problem is with a mac user. The user is member of the domain as is his system. Browsing to multiple smb shares is not a problem except for this particular server. He cannot get access at all. If another user who does have access from their system to this share logs into the trouble box they can also not access the share.

Access is controlled by winbind and AD group access. I have verified all group members and all can access the share except for this one person. Given that the share point
is giving trouble to two seperate clients (xp and OSX10.3) in two different ways (works with ip but not netbios frm xp and no access to user frm OSX) I am somewhat

Does anyone have any suggestions?
Old 06-09-2005, 03:41 PM   #2
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
what do u mean by this

"If I browse to the same box via IP I am automatically authenticated (as I should be)"

u need to enter the username passwd at least once and save that in the dialog box for later usage

Old 06-09-2005, 04:12 PM   #3
Registered: Jul 2003
Location: Toronto
Distribution: Redhat
Posts: 89

Original Poster
Rep: Reputation: 15
I'm logging into an AD domain from the xp client. Accessing the smb share across the network should be seamless as the smb shared box is part of the domain and my user account is included in the write list and valid users segment for the share in question.

Joe.User can log into the domain, access any and all shares hosted on windows or linux boxes yet he is unable to access this share by netbios name or fqdn. He must access it via IP.

Mac.Guy can also access any share hosted on any box except for this one, at all.

smb.conf for the box;


log level = 10
security = ADS
realm =
password server =
encrypt passwords = yes
idmap uid = 10000-20000
idmap gid = 10000-20000
winbind enum users = yes
winbind enum groups = yes
winbind separator = +
winbind use default domain = yes
workgroup = DOMAIN
printcap name = /etc/printcap
load printers = yes
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no
server string = IMAGE GALLERY

comment = FTP Dropzone
path = /usr/local/ftp_dropzone
public = no
create mask = 0775
directory mask = 02771
force group = ftp_upload
write list = @gbMarketing,@gbIT,DOMAIN+Joe.User,DOMAIN+Mac.Guy
valid users = @gbMarketing,@gbIT,DOMAIN+Joe.User,DOMAIN+Mac.Guy


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
smb share GiX Linux - Newbie 2 10-25-2005 02:29 AM
smb share rajen_iiit Linux - Networking 4 08-09-2005 03:18 PM
SMB Share bharaniks Linux - Networking 2 08-05-2005 05:46 AM
winbind and smb.conf?? alirezan1 Linux - Newbie 4 02-11-2005 09:20 PM
Accessing a mounted smb share hangs haddad Linux - Wireless Networking 0 07-24-2004 06:52 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:15 PM.

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