[Samba] Samba and W2K AD

FitzGerald, AJ AFitzgerald at FiveMileCapital.com
Tue Apr 20 19:08:09 GMT 2004

Hello All,
     Your typical problem....I am trying to configure Samba-3.0.2-6.3E
on RedHat Linux.  I have spent days trying to get this working.  What I
would like to do is provide the ability to connect to Samba shares from
Windows, more specific, WinXP.  What I want to avoid is having to manage
user accounts on both the Windows or AD side and the Unix side, thus
having authentication handled by AD.  As I understand, to do this you
set the security in the smb.conf to Domain.  Below I have shown my
smb.conf file.  So far the only way I have been able to get this to work
is by setting security=server and password server = ADservername.  I
have been searching high and low and can't find anything, most all for
earlier versions of Samba.  One problem is the correct usage of "net
join"  I have seen is used so many different ways I don't know which is
correct but I have been successful in adding the samba server to the
domain using "net join -S ADservername -U adminuserID".  Here is my
workgroup = domainname
realm = domainname.com
server string = Samba Server
log file = /var/log/samba/%m.log
max log size = 50
security = domain
password server = ADservername (have also tried *)
encrypt passwords = yes
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = no
os level = 33
wins support = no
wins server = winsservername
dns proxy = no
comment = Home Directories
browseable = no
writable = yes
public = yes
guest ok = yes
     When I try to run wbinfo -u , after adding the server to the domain
successfully, I get "Error looking up domain users."  For kicks if I
actually try to map to the samba share from an XP desktop I have got one
of two errors
- no logon server available....
- no trust established....
In the winbind log I get "NT_STATUS_ACCESS_DENIED".  I have even bought
the O'Reilly book Using Samba, followed the sample setup and still the
same problem.  Disconcerting I can find concrete answers or examples
from such an awesome tool once it works.  I am starting to think there
is a problem on the AD side of things.
Any help would be greatly appreciated.


AJ FitzGerald
Five Mile Capital
Phone: 203-905-0929 

None of the information contained in this email message constitutes or should be construed as investment advice or as an offer to sell or as a solicitation of an offer to buy any security.  

The information contained in the e-mail message is intended for the exclusive use of its intended addressee and may contain confidential or proprietary information.  If you received this transmission in error, please notify the sender by reply e-mail and delete the message and any attachments.  Any use, disclosure, or distribution of any part of this message by any unintended recipient is strictly prohibited.

More information about the samba mailing list