Réf. : [Samba] My story installing Samba-LDAP PDC (it has a happy ending)
Craig White
craigwhite at azapple.com
Fri Feb 6 05:31:11 GMT 2004
What is the question? Help you with what? groupmap?
what is net groupmap list tell you?
On Thu, 2004-02-05 at 20:58, Muhammad Reza wrote:
> this my .conf file
>
> please help me...
>
> > #slapd.conf
> > include /usr/local/etc/openldap/schema/core.schema
> > include /usr/local/etc/openldap/schema/cosine.schema
> > include /usr/local/etc/openldap/schema/inetorgperson.schema
> > include /usr/local/etc/openldap/schema/nis.schema
> > include /usr/local/etc/openldap/schema/samba.schema
> > include /usr/local/etc/openldap/schema/extension.schema
> >
> > include /usr/local/etc/openldap/slapd.access.conf
> >
> > pidfile /usr/local/var/slapd.pid
> > argsfile /usr/local/var/slapd.args
> >
> >
> > database ldbm
> > suffix "dc=mra,dc=net"
> > rootdn "cn=root,dc=mra,dc=net"
> > rootpw secret
> > directory /usr/local/var/openldap-data
> >
> > index cn,sn,uid,displayName pres,sub,eq
> > index uidNumber,gidNumber eq
> > index objectClass pres,eq
> >
> > index sambaSID eq
> > index sambaPrimaryGroupSID eq
> > index sambaDomainName eq
> >
> > -----------------------------------------------------------------
> > #smb.conf
> > [global]
> > Only allow hosts in my network
> > hosts allow = 172.16.0.0/255.255.0.0
> > netbios name = BEASTIE
> > workgroup = MRANET
> > security = user
> > encrypt passwords = yes
> > preferred master = yes
> > domain master = yes
> > local master = yes
> > domain logons = yes
> > unix charset = "ISO-8859-1"
> >
> > os level = 33
> >
> > ldap suffix = dc=mra,dc=net
> > ldap admin dn = "cn=root,dc=mra,dc=net"
> >
> > idmap backend = ldap:ldap://localhost
> > idmap gid = 10000-20000
> > idmap uid = 10000-20000
> > ldap idmap suffix = ou=Idmap
> >
> > passdb backend = ldapsam:ldap://localhost
> > ldap ssl = off
> > ldap delete dn = no
> > ldap user suffix = ou=People
> > ldap group suffix = ou=Groups
> > ldap machine suffix = ou=People
> > #ldap machine suffix = ou=Computers
> > #ldap filter = (&(uid=%u)(objectclass=sambaSamAccount))
> > ldap filter = (uid=%u)
> >
> > logon path = \\%N\profiles\%u
> > logon drive = H:
> > logon home = \\homeserver\%u\winprofile
> > #logon home = \\%N\%u
> > logon script = logon.cmd
> >
> > #logging
> > log level = 2
> > log file = /var/lib/samba/%m.log
> >
> > [netlogon]
> > path = /var/lib/samba/netlogon
> > read only = yes
> > write list = domadmin
> >
> > [profiles]
> > path = /var/lib/samba/profiles
> > read only = no
> > create mask = 0644
> > directory mask = 0755
> >
> > index default sub
> >
> >
> >
> >> Could you send the ldap conf of samba (smb.conf) ?
> >>
> >>
> >> Stéphane
> >>
> >> -----------------------------------
> >> Stéphane PURNELLE stephane.purnelle at corman.be
> >> Service Informatique Corman S.A. Tel : 00 32 087/342467
> >>
> >>
> >> Muhammad Reza <reza at mra.co.id> Envoyé par : Pour : samba at lists.samba.org samba-bounces+stephane.purnelle=corman.be at lists cc : .samba.org Objet : [Samba] My story installing Samba-LDAP PDC (it has a happy ending)
> 05/02/2004 11:08
> >>
> >>
> >>
> >> hi.
> >>
> >> I Failed when try to mapping (create) samba (NT) group
> >>
> >> #net groupmap add rid=513 ntgroup="Domain Guests" unixgroup=nobody
> >> adding entry for group Domain Guests failed!
> >>
> >>
> >> # ldapsearch -x -h localhost -b "cn=nobody,ou=Groups,dc=mra,dc=net"
> >> # extended LDIF
> >> #
> >> # LDAPv3
> >> # base <cn=nobody,ou=Groups,dc=mra,dc=net> with scope sub
> >> # filter: (objectclass=*)
> >> # requesting: ALL
> >> #
> >>
> >> # nobody, Groups, mra.net
> >> dn: cn=nobody,ou=Groups,dc=mra,dc=net
> >> objectClass: posixGroup
> >> objectClass: top
> >> cn: nobody
> >> description: Local Unix group
> >> gidNumber: 65533
> >>
> >> # search result
> >> search: 2
> >> result: 0 Success
> >>
> >> # numResponses: 2
> >> # numEntries: 1
> >>
> >> please help me...
> >>
> >> regards
> >> reza
> >>
> >> --
> >> To unsubscribe from this list go to the following URL and read the
> >> instructions: http://lists.samba.org/mailman/listinfo/samba
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >
> >
More information about the samba
mailing list