hiker_42
11-18-2002, 05:51 PM
I am on the edge of making winbind work with samba. I have successfully joined the domain. I can retrieve the list of shares via the wbinfo command. I can also authenticate users using this command. I can successfully pull the list of users as well as groups. However, I still cannot "map" to these shares via linux or Windows NT/2K. I have enabled plain text passwords on the Windows side. When I try to connect via smbclient I get the error:
tree connect failed: NT_STATUS_WRONG_PASSWORD
I am so close with one last hurdle to conquer. Anyone have any thoughts. Thanks in advance!
Here is my smb.conf file:
# Samba config file created using SWAT
# from localhost.localdomain (127.0.0.1)
# Date: 2002/07/05 14:12:15
# Global parameters
[global]
winbind uid = 10000-20000
winbind gid = 10000-20000
winbind cache = 30
winbind separator = +
winbind enum users = yes
winbind enum groups = yes
template homedir = /home/%D/%U
template shell = /bin/bash
security = domain
workgroup = "domain"
password server = *
encrypt passwords = yes
netbios name = RedHat1
server string = Samba Server
obey pam restrictions = yes
pam password change = No
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*success fully*
unix password sync = YES
log file = /var/log/samba/%U.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
os level = 0
preferred master = False
local master = No
domain master = False
dns proxy = No
remote announce = 172.16.77.4
guest account = guest
hosts allow = 192.168.1. 127.
printing = nt
map to guest = Bad User
[homes]
path = /home/%D/%U
valid users = %S
read only = No
create mask = 0777
directory mask = 0777
browseable = No
[public]
path = /home/public
valid users = %S
read only = No
create mask = 0777
browseable = Yes
[test]
path = /test
read only = no
create mask = 0777
directory mask = 0777
browseable = yes
guest ok = no
valid users = @"Domain"\Domain Users
tree connect failed: NT_STATUS_WRONG_PASSWORD
I am so close with one last hurdle to conquer. Anyone have any thoughts. Thanks in advance!
Here is my smb.conf file:
# Samba config file created using SWAT
# from localhost.localdomain (127.0.0.1)
# Date: 2002/07/05 14:12:15
# Global parameters
[global]
winbind uid = 10000-20000
winbind gid = 10000-20000
winbind cache = 30
winbind separator = +
winbind enum users = yes
winbind enum groups = yes
template homedir = /home/%D/%U
template shell = /bin/bash
security = domain
workgroup = "domain"
password server = *
encrypt passwords = yes
netbios name = RedHat1
server string = Samba Server
obey pam restrictions = yes
pam password change = No
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*success fully*
unix password sync = YES
log file = /var/log/samba/%U.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
os level = 0
preferred master = False
local master = No
domain master = False
dns proxy = No
remote announce = 172.16.77.4
guest account = guest
hosts allow = 192.168.1. 127.
printing = nt
map to guest = Bad User
[homes]
path = /home/%D/%U
valid users = %S
read only = No
create mask = 0777
directory mask = 0777
browseable = No
[public]
path = /home/public
valid users = %S
read only = No
create mask = 0777
browseable = Yes
[test]
path = /test
read only = no
create mask = 0777
directory mask = 0777
browseable = yes
guest ok = no
valid users = @"Domain"\Domain Users