[Samba] Problem logging on to pde

Alex alexn at telia.com
Sat Jul 19 14:38:25 GMT 2003


Samba-3.0.0beta2-1

I'm trying to log on from win2k(sp3)/winxp(sp1) computers to my samba pdc,
but i'm not succeding,
I'm getting this error from windows while trying to do the initial login as
root:
"windows cannot find the network path"

from samba.lo:
[2003/07/19 17:05:28, 1] sam/idmap_tdb.c:db_idmap_init(487)
  idmap uid range missing or invalid
  idmap will be unable to map foreign SIDs
[2003/07/19 17:05:28, 1] sam/idmap_tdb.c:db_idmap_init(499)
  idmap gid range missing or invalid
  idmap will be unable to map foreign SIDs

these two messages repeat itself three times every time someone tries to log
on.
xp/win2k does find the domain, it's just that i cannot do the initial login:

smb.conf:

   panic action = /usr/share/samba/panic-action %d
        name resolve order = lmhosts host wins bcast

        passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spassword:* %n\n
        obey pam restrictions = no
        passwd program = /usr/bin/passwd %u
        smb passwd file = /etc/samba/smbpasswd
        encrypt passwords = true
   passdb backend = smbpasswd guest
        unix password sync = yes
        add user script = /usr/sbin/useradd -d /dev/null -g 300 -s
/bin/false -M %u

        write list = alex,mntadm
        dns proxy = no
        netbios name = debserv
        os level = 64
        dont descend = lost+found
        getwd cache = yes

        max log size = 1000
        log level = 2
        log file = /var/log/samba.log

        load printers = no
        guest account = smbguest
        socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192
SO_RCVBUF=8192
        sync always = yes
        wins support = yes
        wide links = no
        syslog = 9

        preferred master = yes
        domain logons = yes
        domain master = yes
#        nt acl support = yes
        workgroup = deb
        server string = Mastah
        local master = yes
        security = user

        logon home = \\debserv\%U
        logon path = \\%L\profiles\%u
        logon script = logon.bat
        logon drive = p:

        hosts allow = 192.168.0., 127., 192.168.1.


[netlogon]
        comment = Network Logon Service
        path = /home/samba/netlogon
        writable = no
        share modes = no

[Profiles]
        path = /home/samba/profiles
        browseable = no
        read only = yes
        write list = ntadmin


[homes]
        comment = Home of all users
        browseable = no
        writeable = yes
        valid users = %S
        create mode = 0664
        directory mode = 0775
        path = /home






More information about the samba mailing list