Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
OS - RHEL AS 3.0
I built this machine to be a Squid server and have that functioning almost without an issue. Long story short = I need to use NTLM authentication.
Samba Version - 3.0.14
I have successfully added my machine to the domain using kinit. Whn I confirm kinit with klist -e, I am told that I have no tickets cached but do not receive an error message.
At this point in time, wbinfo -u and wbinfo -g work without an issue. Whenever I try wbinfo -t, I get an error "NT_STATUS_ACCESS_DENIED"
My smb.conf file reads:
#======================= Global Settings =====================================
[global]
# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = xxx.xxx
netbios name = blue-squid
hosts allow = 10.100.1.100
realm = xxx.xxx
server string = Linux Samba Server
security = ads
encrypt passwords = Yes
smb passwd file = /etc/passwd
password server = blue-w2k-ad
log file = /var/log/samba/%m.log
max log size = 0
#socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
preferred master = False
local master = No
domain master = False
dns proxy = No
wins server = 10.100.1.100
winbind separator = +
winbind enum users = yes
winbind enum groups = yes
winbind use default domain = yes
idmap uid = 10000-20000
idmap gid = 10000-20000
When I uncomment the 'socket options = ....' line I get the error NT_STATUS_UNSUCCESSFUL.
Here is where it gets weird: blue-w2k-ad, the password server lists three item in it's event logs pertaining to this wbinfo attempt....and they are all 'Success Audits.'
I have tried a slew of fixes that I have googled but none have remedied my situation. This seems to be a common error, any advice?
I am not sure this is related, but why is your hosts allow set to only one ip? This might be an idiot reply but try to specifically allow both the w2k and Samba Server.
The hosts allow line is, by default, commented out in the smb.conf file. I recently changed it to the one IP that you see. I changed it to the IPs of both machines. The results are the same with each of these three configurations.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.