[Samba] smba + ldap net command how to

Wim Bakker koreander at planet.nl
Sat Apr 10 13:42:34 GMT 2004


Hello,

I have set up a primitive samba + ldap configuration,
the basics work , ik can add and delete users , they
can login, I can add workstations. So far so good.
Now I tried to use the net command like:
net groupmap list
and it returns nothing
openldap gives , run with slpad -d 10 :
-------------------------------------
bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)
bdb_db_init: Initializing BDB database
slapd starting
daemon: added 6r
daemon: select: listen=6 active_threads=0 tvp=NULL
daemon: activity on 1 descriptors
daemon: new connection on 11
daemon: added 11r
daemon: activity on:
daemon: select: listen=6 active_threads=0 tvp=NULL
daemon: activity on 1 descriptors
daemon: activity on: 11r
daemon: read activity on 11
ldap_read: want=8, got=8
  0000:  30 29 02 01 01 60 24 02                            0)...`$.
ldap_read: want=35, got=35
  0000:  01 03 04 17 63 6e 3d 4d  61 6e 61 67 65 72 2c 64   ....cn=Manager,d
  0010:  63 3d 61 68 6d 2c 64 63  3d 6e 6c 80 06 6d 6f 6e   c=ahm,dc=nl..mon
  0020:  6b 31 32                                           k12
ldap_read: want=8 error=Resource temporarily unavailable
daemon: select: listen=6 active_threads=1 tvp=NULL
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........
ldap_write: want=14, written=14
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........
daemon: activity on 1 descriptors
daemon: activity on: 11r
daemon: read activity on 11
ldap_read: want=8, got=8
  0000:  30 81 cf 02 01 02 63 81                            0.....c.
ldap_read: want=202, got=202
  0000:  c9 04 0c 64 63 3d 61 68  6d 2c 64 63 3d 6e 6c 0a   ...dc=ahm,dc=nl.
  0010:  01 02 0a 01 00 02 01 00  02 01 00 01 01 00 a0 34   ...............4
  0020:  a3 1a 04 0b 6f 62 6a 65  63 74 43 6c 61 73 73 04   ....objectClass.
  0030:  0b 73 61 6d 62 61 44 6f  6d 61 69 6e a3 16 04 0f   .sambaDomain....
  0040:  73 61 6d 62 61 44 6f 6d  61 69 6e 4e 61 6d 65 04   sambaDomainName.
  0050:  03 41 48 4d 30 74 04 0f  73 61 6d 62 61 44 6f 6d   .AHM0t..sambaDom
  0060:  61 69 6e 4e 61 6d 65 04  0c 73 61 6d 62 61 4e 65   ainName..sambaNe
  0070:  78 74 52 69 64 04 10 73  61 6d 62 61 4e 65 78 74   xtRid..sambaNext
  0080:  55 73 65 72 52 69 64 04  11 73 61 6d 62 61 4e 65   UserRid..sambaNe
  0090:  78 74 47 72 6f 75 70 52  69 64 04 08 73 61 6d 62   xtGroupRid..samb
  00a0:  61 53 49 44 04 17 73 61  6d 62 61 41 6c 67 6f 72   aSID..sambaAlgor
  00b0:  69 74 68 6d 69 63 52 69  64 42 61 73 65 04 0b 6f   ithmicRidBase..o
  00c0:  62 6a 65 63 74 43 6c 61  73 73                     bjectClass
ldap_read: want=8 error=Resource temporarily unavailable
daemon: select: listen=6 active_threads=1 tvp=NULL
  0000:  30 81 fa 02 01 02 64 81  f4 04 20 73 61 6d 62 61   0.....d... samba
  0010:  44 6f 6d 61 69 6e 4e 61  6d 65 3d 41 48 4d 2c 64   DomainName=AHM,d
  0020:  63 3d 61 68 6d 2c 64 63  3d 6e 6c 30 81 cf 30 18   c=ahm,dc=nl0..0.
  0030:  04 0f 73 61 6d 62 61 44  6f 6d 61 69 6e 4e 61 6d   ..sambaDomainNam
  0040:  65 31 05 04 03 41 48 4d  30 37 04 08 73 61 6d 62   e1...AHM07..samb
  0050:  61 53 49 44 31 2b 04 29  53 2d 31 2d 35 2d 32 31   aSID1+.)S-1-5-21
  0060:  2d 34 32 36 39 37 32 38  33 30 32 2d 31 36 35 35   -4269728302-1655
  0070:  38 37 30 34 39 33 2d 33  38 39 34 34 37 39 39 39   870493-389447999
  0080:  35 30 21 04 17 73 61 6d  62 61 41 6c 67 6f 72 69   50!..sambaAlgori
  0090:  74 68 6d 69 63 52 69 64  42 61 73 65 31 06 04 04   thmicRidBase1...
  00a0:  31 30 30 30 30 1c 04 0b  6f 62 6a 65 63 74 43 6c   10000...objectCl
  00b0:  61 73 73 31 0d 04 0b 73  61 6d 62 61 44 6f 6d 61   ass1...sambaDoma
  00c0:  69 6e 30 1b 04 10 73 61  6d 62 61 4e 65 78 74 55   in0...sambaNextU
  00d0:  73 65 72 52 69 64 31 07  04 05 34 31 30 30 30 30   serRid1...410000
  00e0:  1c 04 11 73 61 6d 62 61  4e 65 78 74 47 72 6f 75   ...sambaNextGrou
  00f0:  70 52 69 64 31 07 04 05  34 31 30 30 31            pRid1...41001
ldap_write: want=253, written=253
  0000:  30 81 fa 02 01 02 64 81  f4 04 20 73 61 6d 62 61   0.....d... samba
  0010:  44 6f 6d 61 69 6e 4e 61  6d 65 3d 41 48 4d 2c 64   DomainName=AHM,d
  0020:  63 3d 61 68 6d 2c 64 63  3d 6e 6c 30 81 cf 30 18   c=ahm,dc=nl0..0.
  0030:  04 0f 73 61 6d 62 61 44  6f 6d 61 69 6e 4e 61 6d   ..sambaDomainNam
  0040:  65 31 05 04 03 41 48 4d  30 37 04 08 73 61 6d 62   e1...AHM07..samb
  0050:  61 53 49 44 31 2b 04 29  53 2d 31 2d 35 2d 32 31   aSID1+.)S-1-5-21
  0060:  2d 34 32 36 39 37 32 38  33 30 32 2d 31 36 35 35   -4269728302-1655
  0070:  38 37 30 34 39 33 2d 33  38 39 34 34 37 39 39 39   870493-389447999
  0080:  35 30 21 04 17 73 61 6d  62 61 41 6c 67 6f 72 69   50!..sambaAlgori
  0090:  74 68 6d 69 63 52 69 64  42 61 73 65 31 06 04 04   thmicRidBase1...
  00a0:  31 30 30 30 30 1c 04 0b  6f 62 6a 65 63 74 43 6c   10000...objectCl
  00b0:  61 73 73 31 0d 04 0b 73  61 6d 62 61 44 6f 6d 61   ass1...sambaDoma
  00c0:  69 6e 30 1b 04 10 73 61  6d 62 61 4e 65 78 74 55   in0...sambaNextU
  00d0:  73 65 72 52 69 64 31 07  04 05 34 31 30 30 30 30   serRid1...410000
  00e0:  1c 04 11 73 61 6d 62 61  4e 65 78 74 47 72 6f 75   ...sambaNextGrou
  00f0:  70 52 69 64 31 07 04 05  34 31 30 30 31            pRid1...41001
  0000:  30 0c 02 01 02 65 07 0a  01 00 04 00 04 00         0....e........
ldap_write: want=14, written=14
  0000:  30 0c 02 01 02 65 07 0a  01 00 04 00 04 00         0....e........
daemon: activity on 1 descriptors
daemon: activity on: 11r
daemon: read activity on 11
ldap_read: want=8, got=8
  0000:  30 81 a1 02 01 03 63 81                            0.....c.
ldap_read: want=156, got=156
  0000:  9b 04 16 6f 75 3d 50 65  6f 70 6c 65 2c 64 63 3d   ...ou=People,dc=
  0010:  61 68 6d 2c 64 63 3d 6e  6c 0a 01 02 0a 01 00 02   ahm,dc=nl.......
  0020:  01 00 02 01 00 01 01 00  a3 20 04 0b 6f 62 6a 65   ......... ..obje
  0030:  63 74 63 6c 61 73 73 04  11 73 61 6d 62 61 47 72   ctclass..sambaGr
  0040:  6f 75 70 4d 61 70 70 69  6e 67 30 50 04 09 67 69   oupMapping0P..gi
  0050:  64 4e 75 6d 62 65 72 04  08 73 61 6d 62 61 53 49   dNumber..sambaSI
  0060:  44 04 0e 73 61 6d 62 61  47 72 6f 75 70 54 79 70   D..sambaGroupTyp
  0070:  65 04 0b 64 65 73 63 72  69 70 74 69 6f 6e 04 0b   e..description..
  0080:  64 69 73 70 6c 61 79 4e  61 6d 65 04 02 63 6e 04   displayName..cn.
  0090:  0b 6f 62 6a 65 63 74 43  6c 61 73 73               .objectClass
ldap_read: want=8 error=Resource temporarily unavailable
daemon: select: listen=6 active_threads=1 tvp=NULL
  0000:  30 0c 02 01 03 65 07 0a  01 00 04 00 04 00         0....e........
ldap_write: want=14, written=14
  0000:  30 0c 02 01 03 65 07 0a  01 00 04 00 04 00         0....e........
daemon: activity on 1 descriptors
daemon: activity on: 11r
daemon: read activity on 11
ldap_read: want=8, got=0

daemon: removing 11
daemon: select: listen=6 active_threads=0 tvp=NULL
daemon: activity on 1 descriptors
daemon: select: listen=6 active_threads=0 tvp=NULL
-----------------------------------------------
I used the configuration as described in the reference guide
chapter 2 .

TIA
Wim Bakker 


More information about the samba mailing list