[Samba] Linux PDC / Win2K /Frontpage

Craig Whitmore lennon at orcon.net.nz
Sun Feb 9 21:50:24 GMT 2003


Hi there

I am using the latest version samba (debian unstable) as a PDC for a Win2K
server and I am trying to Use Frontpage 2002 Server Extensions on it.

I have a few problems

1) I have a shared drive on the Linux Box and I share it on the win2k box
mounted with an Administrator user. When I try and change the permission it
says I am not allowed to (I can chosoe the users to add etc, but when I
click add it gives the error)
The Share is on the share called all


Samba gives errors in the log file

2003/02/10 10:36:32, 0] rpc_server/srv_util.c:get_domain_user_groups(342)
  get_domain_user_groups: primary gid of user [root] is not a Domain group !
  get_domain_user_groups: You should fix it, NT doesn't like that
[2003/02/10 10:36:40, 0] rpc_server/srv_util.c:get_domain_user_groups(342)
  get_domain_user_groups: primary gid of user [lennon] is not a Domain group
!
  get_domain_user_groups: You should fix it, NT doesn't like that

root has group root
lennon has group ntusers


in the password and smbeditgroup -s gives

Domain Admins (S-1-5-21-2742472493-19040448-2622307491-512) -> root
Domain Users (S-1-5-21-2742472493-19040448-2622307491-513) -> ntusers



2) When I have the Website on the mounted directory it, and I try and access
it, it asks for a username/password (the username/password used to share the
drive). (how can I make IUSER_MACHINENAME have access to it without asking
for password)

Does anyone have a config with works with Linux/PDC/Win2K properly?

Thanks
Craig Whitmore
Orcon Internet


My Config looks like..

[global]
unix password sync = true
passwd program  = /usr/bin/passwd %u
passwd chat    = \
   *password* %n\n \
   *password* %n\n \
   *successful*
nt acl support = yes
workgroup = TEST
netbios name = FILESERVER
os level = 65
preferred master = yes
domain master = yes
local master = yes
security = yes
encrypt passwords = yes
domain logons = yes
logon path = \\%N\profiles\u
logon drive = H:
logon home = \\fileserver\%u
logon script = scripts\%U.bat
force group = root
#domain admin group=@admins

add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M
dfddd

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

[profiles]
    path = /export/smb/ntprofile
    read only = no
    create mask = 0600
    directory mask = 0700

[homes]
   comment = Home Directories
   browseable = no
   writeable = yes
   create mode = 0664
   directory mode = 0775

[all]
   comment = All Shared
   writable = yes
   locking = yes
   path = /files
   public = yes
   create mode = 0664
   directory mode = 0775



More information about the samba mailing list