[Samba] Samba config help please

Dave Bateman batemand at InfowareSystems.com
Wed Feb 12 18:36:48 GMT 2003


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 at 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 at 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



More information about the samba mailing list