MaxWave
09-07-2001, 03:31 PM
Hey all!
First let me say that I am so hooked on Linux that I might just re-format all the PCs in the office over the weekend! :) Unfortunately, i have rent to pay!
My problem is this. I am using RedHat Linux 7.1 (no RedHat jokes please, I also use Debian) and samba 2.2.1a to connect to a Win2K native domain.
The two required results are to mount all my network shares (H:, G:, etc.) and to be able to create a share with Win2k domain authentication (I.E. \\sambaserver\share).
I tried to acheive the first required result by using the mount command as follows:
mount -t smbfs -o username=user1,password=pa$$1 //domain-pdc/vol1 /mnt/vol1
I now get the following error:
XXXX: session setup failed: ERRDOS - ERRnoaccess (Access denied.)
SMB connection failed
I tried to acheived the 2nd required result by using the smbpasswd command to join my PC to the DOMAINNAME domain. I also added a computer (LOTR) using Active Directory Users and Computers.
smbpasswd -j DOMAINNAME -D2
I get the following error message:
added interface ip=192.168.0.20 bcast=192.168.0.255 nmask=255.255.255.0
Got a positive name query response from 192.168.0.2 ( 192.168.0.2 )
modify_trust_password: machine DOMAIN-PDC rejected the tconX on the IPC$ share. Error was : ERRDOS - ERRnoaccess (Access denied.).
2001/09/07 15:16:07 : change_trust_account_password: Failed to change password for domain DOMAINNAME.
Unable to join domain DOMAINNAME.
I ran testparm with no errors and I can successfully list the shares of any Win2K PC with the following command:
smbclient -L \\domain-pdc -Uaccountname
I can also find the Samba PC from a Win2K PC.
I don't know what else to think of!? Please help!
Here is my smb.conf file
[global]
workgroup = DOMAINNAME
server string = MaxWave's Linux client
hosts allow = 192.168.0. 192.168.1. 127.
printcap name = /etc/printcap
load printers = yes
log file = /var/log/samba/log.%m
max log size = 50
security = domain
password server = *
netbios name = LOTR
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=819
wins server = 192.168.0.2
dns proxy = no
First let me say that I am so hooked on Linux that I might just re-format all the PCs in the office over the weekend! :) Unfortunately, i have rent to pay!
My problem is this. I am using RedHat Linux 7.1 (no RedHat jokes please, I also use Debian) and samba 2.2.1a to connect to a Win2K native domain.
The two required results are to mount all my network shares (H:, G:, etc.) and to be able to create a share with Win2k domain authentication (I.E. \\sambaserver\share).
I tried to acheive the first required result by using the mount command as follows:
mount -t smbfs -o username=user1,password=pa$$1 //domain-pdc/vol1 /mnt/vol1
I now get the following error:
XXXX: session setup failed: ERRDOS - ERRnoaccess (Access denied.)
SMB connection failed
I tried to acheived the 2nd required result by using the smbpasswd command to join my PC to the DOMAINNAME domain. I also added a computer (LOTR) using Active Directory Users and Computers.
smbpasswd -j DOMAINNAME -D2
I get the following error message:
added interface ip=192.168.0.20 bcast=192.168.0.255 nmask=255.255.255.0
Got a positive name query response from 192.168.0.2 ( 192.168.0.2 )
modify_trust_password: machine DOMAIN-PDC rejected the tconX on the IPC$ share. Error was : ERRDOS - ERRnoaccess (Access denied.).
2001/09/07 15:16:07 : change_trust_account_password: Failed to change password for domain DOMAINNAME.
Unable to join domain DOMAINNAME.
I ran testparm with no errors and I can successfully list the shares of any Win2K PC with the following command:
smbclient -L \\domain-pdc -Uaccountname
I can also find the Samba PC from a Win2K PC.
I don't know what else to think of!? Please help!
Here is my smb.conf file
[global]
workgroup = DOMAINNAME
server string = MaxWave's Linux client
hosts allow = 192.168.0. 192.168.1. 127.
printcap name = /etc/printcap
load printers = yes
log file = /var/log/samba/log.%m
max log size = 50
security = domain
password server = *
netbios name = LOTR
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=819
wins server = 192.168.0.2
dns proxy = no