[Samba] problems using samba as PDC

Mitchell Smith mjs at blitztechnology.net
Wed Dec 25 23:11:02 GMT 2002

Hi list,

We are in the process of replacing our current Windows 2k file server with a
Debian Linux one running Samba.

I am running Samba 2.999+3.0.Alpha21 which is packaged for Debian in the
Unstable tree.

I believe I have configured everything correctly however when I login from a
Windows client it is creating the users profile under there home directory
rather than in the profile directory which is stored under their home

For example for user mjs the home directory is /home/users/mjs and the
profile directory should be /home/users/mjs/profile which already exists
with a profile in it.  When I login from windows though it creates a new
profile under /home/users/mjs.

Having said this, when I created the user with pdbedit it told me that the
profile location would be \\NUKLEUZ\MJS\profile

Script started on Thu Dec 26 09:57:38 2002
nukleuz:~# pdbedit --create --user=mjs
new password:
retype new password:
Unix username:        mjs
NT username:
Account Flags:        [U          ]
User ID/Group ID:     1000/1000
User SID:             S-1-5-21-2310093224-2481310486-3802226842-3000
Primary Group SID:    S-1-5-21-2310093224-2481310486-3802226842-3001
Full Name:            Mitchell,,,
Home Directory:       \\nukleuz\mjs
HomeDir Drive:
Logon Script:         logon.cmd
Profile Path:         \\nukleuz\mjs\profile
Domain:               BLITZ
Account desc:
Munged dial:
Logon time:           0
Logoff time:          Sat, 14 Dec 1901 07:45:51 GMT
Kickoff time:         Sat, 14 Dec 1901 07:45:51 GMT
Password last set:    Thu, 26 Dec 2002 09:58:09 GMT
Password can change:  0
Password must change: Thu, 16 Jan 2003 09:58:09 GMT
Script done on Thu Dec 26 09:58:26 2002

I have also attached my smb.conf file here

# configuration file for samba

workgroup = BLITZ
netbios name = NUKLEUZ
 server string = %h server (Samba %v)
 interfaces =
 obey pam restrictions = Yes
 passdb backend = tdbsam, unixsam
 passwd program = /usr/bin/passwd %u
 passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spassword:* %n\n .
 syslog = 0
 log file = /var/log/samba/log.%m
 max log size = 1000
 logon script = logon.cmd
logon home = \\%N\%U
logon path = \\%N\%U\profile
 domain logons = Yes
time server = yes
 os level = 65
local master = yes
 preferred master = Yes
 domain master = Yes
 wins support = Yes
 panic action = /usr/share/samba/panic-action %d
 invalid users = root
 hosts allow =

 comment = Network Logon
 path = /home/intranet/netlogon
 browseable = No

 comment = Home Directories
 read only = No
 create mask = 0700
 directory mask = 0700
 browseable = No
# ends smb.conf

Can anyone offer any suggestions on where I might be going wrong here?

Any help greatly appreciated.

More information about the samba mailing list