%U problem

Feher Sandor fehers at freemail.hu
Tue Feb 20 08:42:57 GMT 2001


Hi folks!

I'd like to fire up a PDC and some roaming profile for my NT4.0
workstations. I've got the samba-2.2.0-alpha1
package and compiled it successfully. Almost everything is working now
except the name of the user profile directory. Here are the relevant
parts of my config:

   logon script = %U.bat
   logon path = \\%L\Profiles\%U

[Profiles]
    comment = Roaming profiles for Windows
    path = /home/Bs3/Profiles
    read only = no
    create mask = 0600
    directory mask = 0700
    browseable = yes
    volume = profile

[netlogon]
   comment = Domain Controller logon directory
   path = /home/Bs3/netlogon
   writeable = no
   printable = no
   guest ok = yes
   browsable = yes


So. I've successfully registered my workstation into my domain and my
user's profile has created too.
I've checked the profiles' names and I've found this:

[root at bs3 lib]# ls /home/Bs3/* -l
/home/Bs3/Netlogon:
total 6
-rwxr--r--    1 root     root           55 Feb 16 14:36 sanyi.bat

/home/Bs3/Profiles:
total 2
drwx------   15 sanyi    root         1024 Feb 19 09:55 %u
                                                        ^^^^^^m it has
been created by my nt box.
drwx------   16 sanyi    root         1024 Feb 16 14:51 Sanyi
                                                        ^^^^^^ I've
copied it from my local profile to get
                                                               used it
as a roving profile.

As I know the variable %U means the user requested by the nt box. But it
seems that it was not replaced with the name of the user. I'm wondering
your opinion. Should I try a newer version ?

tia and bye.,Sanya

-- 
... Sandor Feher... mailto:fehers at freemail.hu http://w3.swi.hu/sfeher




More information about the samba-ntdom mailing list