I have a rh8.0 server that I'm trying to configure. The PDC is an NT box
providing domain logins, and for the moment all I want Samba to do is
provide storage. I would like for all the users to be able to access
individual private shares acording to their respective accounts, and one
large share for common usage. Presently, all of the w2k/xpPro boxes can both
see the shares and map them. The individual shares are asking for passwords,
which is good, but none of the passwords I know of work, at least not in
user/password format. The public share maps for the w2k/xp boxes but won't
allow anything to be saved there. Running 'smbpasswd -j <domain> -r
<PDC> -U
<NT Admin>' hasn't worked, it just says 'can't join
<domain>'. Any insight
would be greatly appreciated..
Thanks,
Dave
smb.conf:
# Samba config file created using SWAT
# from RHserver.infoware (127.0.0.1)
# Date: 2003/02/11 16:28:21
# Global parameters
[global]
workgroup = INFOWARE
netbios name = RAID
server string = Samba Server %v
interfaces = 192.168.1.2/24
security = DOMAIN
encrypt passwords = Yes
obey pam restrictions = Yes
password server = 192.168.1.180
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*al
l*authentication*tokens*updated*successfully*
unix password sync = Yes
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 = 192.168.1.180
hosts allow = 192.168.1. 127.
printing = lprng
[homes]
comment = Home Directories
path = /home/
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
only user = Yes
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[Data]
path = /home/Data/
guest account = ftp
read only = No
guest ok = Yes
[public]
comment = Samba Share
path = /usr/share/public/
read only = No
guest ok = Yes
I'm trying to use samba shares on a RedHat 8 server for storage on my
network with an NT box as PDC.
OK, the join domain commands:
[root@localhost samba]# smbpasswd -j INFOWARE -r 192.168.1.180 -U
Administrator
Password:
Error connecting to 192.168.1.180
Unable to join domain INFOWARE.
[root@localhost samba]# smbpasswd -j INFOWARE -r 192.168.1.180
cli_net_req_chal: Error NT_STATUS_INVALID_COMPUTER_NAME
cli_nt_setup_creds: request challenge failed
modify_trust_password: unable to setup the PDC credentials to machine
192.168.1.180. Error was : NT_STATUS_UNSUCCESSFUL.
2003/02/12 13:38:36 : change_trust_account_password: Failed to change
password for domain INFOWARE.
Unable to join domain INFOWARE.
so I manually added the box to the domain on the NT box. The windows boxes
can see the server but not the shares with security = DOMAIN set. With
security = SERVER the windows boxes can see the server and the shares as
well as mapping the public share, but you can't do anything with the mapped
share. The home directory is visable and windows tries to map, but
authentication fails.
Yes, everyone can ping everyone else...
any ideas???
Dave
smb.conf:
# Samba config file created using SWAT
# from localhost.localdomain (127.0.0.1)
# Date: 2003/02/12 13:04:26
# Global parameters
[global]
workgroup = INFOWARE
netbios name = REDHAT1
server string = Samba Server %v
interfaces = 192.168.1.2/24
security = DOMAIN
encrypt passwords = Yes
obey pam restrictions = Yes
password server = 192.168.1.180
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*al
l*authentication*tokens*updated*successfully*
unix password sync = Yes
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 = 192.168.1.180
hosts allow = 192.168.1. 127.
printing = lprng
[homes]
comment = Home Directories
path = /home/
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
only user = Yes
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[Data]
path = /home/Data/
guest account = ftp
read only = No
guest ok = Yes
[public]
comment = Samba Share
path = /usr/share/public/
read only = No
guest ok = Yes
Reasonably Related Threads
- problem with Samba in domain
- Joining XP Pro Client to Samba Domain- Was working, not anymore
- Not seeing Samba Server from My Network Places
- PLEASE!!! FW: Joining XP Pro Client to Samba Domain- Was working, not anymore
- Re: [Xen-devel] xen 4.1.2* dhcp issue/bug when installing/booting HVM domU domains (CentOS 6, unbuntu 11.04 server). Debian/OpenSolaris work fine.