[Samba] samba 3 as PDC

Luca Ferrari fluca1978 at infinito.it
Fri Nov 12 17:11:25 GMT 2004

I'm configuring samba as PDC for my network, but I'm having a few problems:
1) roaming profiles are not working, even if I've made up symbolic links in 
the directories, such as (for user luca):
sede:/home/samba-ntprof/luca # ls -l
totale 1
drwx------   3 luca users 120 2004-11-12 17:06 .
drwxrwxrwx   3 root root   72 2004-11-12 11:58 ..
lrwxrwxrwx   1 root root    6 2004-11-12 17:06 fluca -> WinXP/
lrwxrwxrwx   1 root root    6 2004-11-12 17:06 s64 -> WinXP/
drwx------  13 luca users 504 2004-11-12 17:09 WinXP

even if the profile management tool of windows xp says that the profiles are 
roaming. With "not working" I mean that I cannot see the exact desktop, even 
if the content is the same, and icons are rearranged. 
2) the logon script seems to work only on consumer windows. I've got a simple 
#cat logon.bat
net use H: /home

Now, while it works under consumer windows, it does not work under windows xp 
3) I cannot see network resource icon in XP prof, and it is like I cannot 
connect to the samba server, even if I use the ip address.

The following is my configuration file:

# Global section, general settings.
        netbios name      = PDC
        workgroup         = GammaDue
        domain master     = yes
        local master      = yes
        preferred master  = yes
        os level          = 65
        security          = user
        domain logons     = yes
        encrypt passwords = yes
       logon path        = \\%L\profiles\%u\%m
        logon script      = logon.bat
        logon drive       = H:
                # for consumer windows only
        logon home        = \\%L\%u\.win_profile\%m
        add user script   = /usr/bin/useradd -d /dev/null -g 500 -s /bin/false 
-M %u
        interfaces           = eth0
        bind interfaces only = true
        printing             = cups
        printcap name        = cups
        printer admin        = @ntadmin, root, administrator

        path           = /var/samba/lib/netlogon
        writable       = no
        browsable      = no
        path           = /home/samba-ntprof
        browsable      = no
        writable       = yes
        create mask    = 0600
        directory mask = 0700
        comment = Home Directories
        valid users = %S
        browseable = No
        read only = No
        map archive = yes

        browseable = yes
        read only = yes
        path = /tmp

Any idea?

Luca Ferrari,
fluca1978 at infinito.it

More information about the samba mailing list