[Samba] Regarding net groupmap

Tom Skeren tms3 at fskklaw.com
Fri Jul 9 16:04:23 GMT 2004


Well, my Samba 3.0.4 is joined to a w2k AD and works fairly well so far, 
as it's not in a production environment yet.  I am now testing it for 
such a release and have encountered a permission problem.  Unless I 
chmod -R 777 the Samba share directroy, users can only read files on the 
share, including the ADS users in Domain Admins.  Reading the Samba 
online manual, I figured the groupmap function would solve this.  I did 
as the manual suggested and got teh following errors:

>fskkweb# net groupmap add ntgroup="Domain Admins" unixgroup=domadm
>No rid or sid specified, choosing algorithmic mapping
>[2004/07/09 08:54:36, 0] lib/smbldap.c:fetch_ldap_pw(260)
>  fetch_ldap_pw: neither ldap secret retrieved!
>[2004/07/09 08:54:36, 0] lib/smbldap.c:smbldap_connect_system(760)
>  ldap_connect_system: Failed to retrieve password from secrets.tdb
>[2004/07/09 08:54:36, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(1763)
>  ldapsam_search_one_group: Problem during the LDAP search: LDAP error: (unknown) (Invalid credentials)
>[2004/07/09 08:54:36, 0] lib/smbldap.c:fetch_ldap_pw(260)
>  fetch_ldap_pw: neither ldap secret retrieved!
>[2004/07/09 08:54:36, 0] lib/smbldap.c:smbldap_connect_system(760)
>  ldap_connect_system: Failed to retrieve password from secrets.tdb
>[2004/07/09 08:54:36, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(1763)
>  ldapsam_search_one_group: Problem during the LDAP search: LDAP error: (unknown) (Invalid credentials)
>[2004/07/09 08:54:36, 0] lib/smbldap.c:fetch_ldap_pw(260)
>  fetch_ldap_pw: neither ldap secret retrieved!
>[2004/07/09 08:54:36, 0] lib/smbldap.c:smbldap_connect_system(760)
>  ldap_connect_system: Failed to retrieve password from secrets.tdb
>[2004/07/09 08:54:36, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(1763)
>  ldapsam_search_one_group: Problem during the LDAP search: LDAP error: (unknown) (Invalid credentials)
>[2004/07/09 08:54:36, 0] lib/smbldap.c:fetch_ldap_pw(260)
>  fetch_ldap_pw: neither ldap secret retrieved!
>[2004/07/09 08:54:36, 0] lib/smbldap.c:smbldap_connect_system(760)
>  ldap_connect_system: Failed to retrieve password from secrets.tdb
>[2004/07/09 08:54:36, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(1763)
>  ldapsam_search_one_group: Problem during the LDAP search: LDAP error: (unknown) (Invalid credentials)
>[2004/07/09 08:54:36, 0] lib/smbldap.c:fetch_ldap_pw(260)
>  fetch_ldap_pw: neither ldap secret retrieved!
>adding entry for group Domain Admins failed!
>
This is snipped but the errors repeat over and over for several pages.  
Anyone have any thoughts.

TMS III





More information about the samba mailing list