[Samba] RE: Need urgent help with "user_info->client_domain.str" and "user_info->domain.str"

Dirk Brenckmann Dirk.Brenckmann at first-private.de
Fri Mar 12 12:27:37 GMT 2004


... of course ... sorry - replied to your account directly...

# Global parameters
[global]
        # Some basic server settings
        netbios name            = XDC 
        workgroup               = FRSTPRV.DE

        # Act as Domain and local master browser
        os level                = 128
        preferred master        = yes
        domain master           = yes
        local master            = yes

        # Security settings of a PDC must be of user security type
        security                = user

        # NT and 2000 do not accept unencrypted passwords
        encrypt passwords       = yes
        min password length     = 8

        # 
#############################################################
#############
        #
        #                       LDAP  related parameters
        #
        # Samba V 2.2.8 and higher - LDAP parameters
        #
        # DN used for retreiving user account information (see man smb.conf)
        ldap admin dn = "uid=SambaAdmin302,ou=Technische 
Nutzer,ou=people,dc=first-private,dc=de"

        # Define the SSL option, when connecting to the directory
        # ['off'|'start tls'|'on'(default)]
        ldap ssl                = off

        #
        # Samba V 3.0.0 and higher - LDAP parameters
        #
        passdb backend          = ldapsam:ldap://ldap.first-private.de

        # idmap backend server used for mapping unix and windows uids 
and gids.
        # This option is essential, if using PDC/BDC concepts.
        # idmap backend                 = ldap://cicero.first-private.de
        # idmap gid             = 10000-99999
        # idmap uid             = 10000-99999

        # Delete requests onle remove smb specific information. Any other
        # LDAP attributes will be left unchanged.
        ldap delete dn          = no

        # Suffic used for all ldap objects
        ldap suffix             = ou=people,dc=first-private,dc=de

        # Self explaining...
        # no = Only update ntPassword and lmPassword
        # (iplanet does not support [yes|only]!)
        ldap passwd sync        = no 

        #
        # 
#############################################################
##############

        # Support domain logons
        domain logons           = yes

        # Support wins
        wins support            = yes

        # Put the profile to:
        logon path              = \\%N\profiles\%U
        logon drive             = I:
        logon home              = \\%N\%U
        logon script            = logon.bat

        # User definitions
        admin users             = Samba301Admin

        # Keep alive options
        deadtime                = 240
        socket options          = TCP_NODELAY IPTOS_LOWDELAY 
SO_KEEPALIVE
        keepalive               = 20
        read raw                = yes
        write raw               = yes
        oplocks                 = yes
        max xmit                = 65535
        getwd cache             = yes

        # Been taking this from old ffmkag server - maybe it's relevant:
        log file                = /usr/local/samba/var/log/log.%m
        log level               = 100
        max log size            = 500

        # Some debug options
        debug uid               = yes

# Include necessary shares for domain controller:
include = /usr/local/samba/lib/shares/windows/windows.conf

# Include group shares 
include = /usr/local/samba/lib/shares/group/group.conf




More information about the samba mailing list