[Samba] (no subject)

RalfLuebben at gmx.de RalfLuebben at gmx.de
Sun Nov 2 09:15:46 GMT 2003


Hello,

 

I try to use Samba as a PDC. I have a old Windows 4.0 PDC and I want to get
the users and the groups from the PDC.

I joined the domain and get the users and groups with "net rpc vampire". The
users and the groups were written in 

local user- and group-database, but the relation between the users and
groups were lost, in the groups were no users.

A short message from the action see under the smb.conf. 

Has anybody a solution? I think the problems are the script "add user to
group script", but the numbers in the message are

very unusal "Could not find linux group 4294967295...".

 

Another question is about the "passdb backend=tdbsam", at the moment I use
the smbpasswd, how can I add user to my Sambaserver,

"smbpasswd -a user", don't work anylonger?

 

Thanks

Ralf Lübben

 

 

 

[global]

   workgroup = SD

   server string = SambaPdc

   security = user

   hosts allow = 192.168.0.

   log file = /usr/local/samba/var/log.%m

   max log size = 50

   passdb backend = smbpasswd

   socket options = TCP_NODELAY

   #interfaces = 192.168.0.23/24

   local master = no

   os level = 33

   domain master = no

   domain logons = yes

   # These scripts are used on a domain controller or stand-alone

   # machine to add or delete corresponding unix accounts

   add group script = /usr/sbin/groupadd %g 

   add user script = /usr/sbin/useradd %u

   add machine script = /usr/sbin/useradd -c Machine -d /dev/null -s
/bin/false -M %u

   add user to group script = /usr/bin/gpasswd -a %u %g

   delete user script = /usr/sbin/userdle %u

   delete user from group script = /usr/sbin/deluser %u %g

   delete group script = /usr/sbin/groupdel %g

          

#============================ Share Definitions
==============================

[homes]

   comment = Home Directories

   browseable = no

   writable = yes

 

 

 

[tmp]

  comment = Temporary file space

  path = /tmp

  read only = no

  public = yes

 

            sambapdc2:/usr/local/samba/bin # ./net rpc vampire

 

            Fetching DOMAIN database

 

1.Problem:

            SAM_DELTA_DOMAIN_INFO not handled

 

2.Problem:

            Creating unix group: 'Domänen-Admins'

            groupadd: Domänen-Admins is a not a valid group name

 

3.Problem:

            [2003/10/30 15:40:36, 0]
passdb/pdb_smbpasswd.c:smbpasswd_update_sam_account(1432)

            smbpasswd_update_sam_account: mod_smbfilepwd_entry failed!

            

4.Problem:

            Creating account: WKS100$

            [2003/10/30 15:40:36, 0]
utils/net_rpc_samsync.c:fetch_account_info(494)

            Could not find unix group 4294967295 for user WKS100$ (group
SID=S-1-5-21-652432627-1391426974-1536833037-513)

 

5.Problem:

            Creating account: ErSchmiz

            [2003/10/30 15:40:37, 0]
utils/net_rpc_samsync.c:fetch_account_info(494)

            Could not find unix group 4294967295 for user ErSchmiz (group
SID=S-1-5-21-652432627-1391426974-1536833037-513)

 

6.Problem:

            Creating account: ThHellma

            [2003/10/30 15:40:37, 0]
passdb/pdb_smbpasswd.c:build_smb_pass(1146)

            build_sam_pass: Failing attempt to store user with non-uid based
user RID.

 

7.Problem:

            [2003/10/30 15:40:38, 0]
utils/net_rpc_samsync.c:fetch_group_mem_info(591)

            Could not find global group 514

 

            Creating unix group: 'Projekt2'

 


-- 
NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien...
Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService

Jetzt kostenlos anmelden unter http://www.gmx.net

+++ GMX - die erste Adresse für Mail, Message, More! +++




More information about the samba mailing list