NSS mit nss_ldap -> segfault unter fbsd 5.2.1 + smb.conf

From: Otto Kucera <ok(at)72pixel.at>
Date: Thu, 01 Apr 2004 20:24:02 +0200

hi!

that's my smb.conf for Charles Bauer :-). at first samba needs the
password to enter the ldap directory:

smbpasswd -w xxxxxxxxx

this config works as a pdc with ldap backend.

/usr/local/etc/smb.conf:

[global]

         ldap server = 10.1.0.1
         ldap suffix = dc=my,dc=hosting
         ldap admin dn = cn=Manager,dc=my,dc=hosting
         ldap filter = (&(objectclass=sambaAccount)(uid=%u))
         ldap ssl = no

         unix password sync = yes
         pam password change = yes

         workgroup = LAN
         netbios name = wigwam
         netbios aliases = bsd
         server string = freebsd 5.2.1
         log file = /var/log/samba/log.%m
         max log size = 50
         character set = ISO8859-1

         logon script = netlogon.bat
         logon path = \\wigwam\profiles\%u
         logon drive = H:
         logon home = \\wigwam\%u

         encrypt passwords = Yes
         domain logons = Yes
         os level = 64
         preferred master = Yes
         domain master = Yes
         wins support = Yes

         domain admin group = kucera,
         printcap name = cups
         printing = cups

         hosts allow = 127.0.0.1 10.1.0.0/255.255.255.0
         interfaces = 127.0.0.1 10.1.0.1/255.255.255.0

[homes]
         comment = Home directory
         path = /home/%S/home
         read only = No
         create mask = 0660
         force create mode = 0660
         directory mask = 0770
         force directory mode = 0770
         browseable = Yes

[daten]
         comment = daten
         path = /home/daten/daten
         read only = No
         create mask = 0660
         force create mode = 0660
         directory mask = 0770
         force directory mode = 0770
         browseable = YES

[install]
         comment = install
         path = /home/daten/install
         read only = No
         create mask = 0660
         force create mode = 0660
         directory mask = 0770
         force directory mode = 0770
         browseable = YES

[profiles]
         path = /home/samba/profiles
         read only = No
         create mask = 0600
         directory mask = 0700

[Printers]
         comment = Network Printer
         path = /var/spool/samba
         guest ok = Yes
         printable = Yes

[print$]
         comment = Printer drivers
         path = /home/samba/printers
         read only = No
         guest ok = Yes

[netlogon]
         comment = Network Logon Service
         path = /home/samba/netlogon
         guest ok = Yes
         browseable = No

creatings to Brazil ... :-).

otto

p.s.: ich hab mir gedacht ich stell es in die liste damit alle was davon
haben. ich werd mal was für die bugat.at seite schreiben ... wann ich
halt zeit hab.

-- 
-----------------------------------
Otto Kucera
A-1020 Wien Engerthstrasse 137/6/7
Tel: +43 699 1 942 30 91 [neue Nummer!]
Email: ok(at)72pixel.at
Icq: 65351173
-----------------------------------
And root said rm -rf /     ......and there was nothing
*BSD is like a wigwam: NO windows, NO gates and an Apache inside!
Your mailserver MUST resolve properly (Fully Qualified Domain Name) or 
the mail will not go through!
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Thu 01 Apr 2004 - 20:25:58 CEST

search this site