[Samba] can not join the domain

robowarp at gmx.de robowarp at gmx.de
Mon Jun 23 15:05:55 GMT 2003


Hi
whats your smb.conf ?
here is one posted 2 days ago
check passwd and smbpasswd for testpc$

do you have this line 
passdb backend = /etc/samba/smbpasswd guest
i found the guest is needed for login to samba pdc

this is related to samba3 beta1
for older versions it looks quite different

# Samba config file created using SWAT
# from 192.168.1.1 (192.168.1.1)
# Date: 2003/06/21 14:41:58

# Global parameters
[global]
    workgroup = MIDEARTH
    server string = Samba3
    interfaces = eth0, lo
    bind interfaces only = Yes
    server schannel = Yes
    passdb backend = /etc/samba/smbpasswd guest
    pam password change = Yes
    passwd chat = *New*Password* %n\n *Re-enter*new*password* %n\n
*Password*changed*
    username map = /etc/samba/smbusers
    password level = 8
    username level = 8
    unix password sync = Yes
    log level = 1
    syslog = 0
    log file = /var/log/samba/%m
    smb ports = 139 445
    name resolve order = wins bcast hosts
    time server = Yes
    socket options = TCP_NODELAY SO_KEEPALIVE SO_SNDBUF=8192 SO_RCVBUF=8192
    printcap name = CUPS
    disable spoolss = Yes
    add user script = /usr/sbin/useradd -m %u
    delete user script = /usr/sbin/userdel -r %u
    add group script = /usr/sbin/groupadd %g
    delete group script = /usr/sbin/groupadd %g
    add user to group script = /usr/sbin/usermod -G %g %u
    add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null %u
    shutdown script = /var/lib/samba/scripts/shutdown.sh
    abort shutdown script = /sbin/shutdown -c
    logon script = scripts\logon.bat
    logon path = \\%L\Profiles\%U
    logon drive = H:
    logon home = \\%L\%U
    domain logons = Yes
    os level = 35
    preferred master = Yes
    domain master = Yes
    wins support = Yes
    ldap ssl = no
    utmp = Yes
    panic action = export DISPLAY=localhost:0; /usr/bin/X11/xterm -e gdb
/proc/%d/exe %d || /bin/sleep
    idmap uid = 15000-20000
    idmap gid = 15000-20000
    winbind separator = +
    comment = Samba 3.0.0
    hosts allow = 127., 192.168.1.
    use sendfile = Yes
    printing = cups
    veto files = /*.eml/*.nws/riched20.dll/*.{*}/
    veto oplock files = /*.doc/*.xls/*.mdb/
    include = /etc/samba/machine.

[homes]
    comment = Home Directories
    valid users = %S
    read only = No
    browseable = No

[print$]
    comment = Printer Drivers Share
    path = /var/lib/samba/drivers
    write list = jht, root
    printer admin = jht, root
    create mask = 0664
    directory mask = 0775

[netlogon]
    comment = Network Logon Service
    path = /var/lib/samba/netlogon
    admin users = root, jht
    guest ok = Yes
    nt acl support = No
    browseable = No
    blocking locks = No
    csc policy = disable
    locking = No
    oplocks = No
    level2 oplocks = No
    posix locking = No
    strict locking = No
    share modes = No

[Profiles]
    comment = Roaming Profile Share
    path = /var/lib/samba/profiles
    read only = No
    profile acls = Yes

[printers]
    comment = All Printers
    path = /var/spool/samba
    printer admin = root, jht
    create mask = 0600
    guest ok = Yes
    printable = Yes
    use client driver = Yes
    default devmode = Yes
    browseable = No

[media]
    comment = Public Stuff
    path = /export2
    read list = @users
    write list = jht
    read only = No
    blocking locks = No
    csc policy = disable
    locking = No
    oplocks = No
    level2 oplocks = No
    posix locking = No
    strict locking = No
    share modes = No

[data]
    comment = Data Stuff
    path = /export/data
    write list = @ntadmin
    read only = No
    blocking locks = No
    csc policy = disable
    locking = No
    oplocks = No
    level2 oplocks = No
    posix locking = No
    strict locking = No
    share modes = No

[cdr]
    comment = CDR Production Files
    path = /export/CDR
    force user = root
    read only = No
    case sensitive = Yes


> Hi,
> 
> I am trying to join my win2000 workstation to my domain.
> 
> Auto creation of machine account on samba goes fine but I get msg. ''The
> remote procedure call failed''
> 
> What then happends I do have a connection to shares on samba but I amnot
> in
> the domain.
> 
> Pls. help!
> 
> Greatings,
> 
> Admir
> 
> 
> 
> 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!




More information about the samba mailing list