[Samba] smbldap-populate failure

Heupink, Mourik Jan C. Heupink at INTECH.UNU.EDU
Fri Feb 4 12:32:11 GMT 2005


finally solved this. SOO happy. :)

I'm posting it here, in case anyone else ever has this issue. It was my own
fault...

In the idealx howto, smb.conf has three entries commented out:

  # ldap filter = (&(objectclass=sambaSamAccount)(uid=%u))
  #delete user script = /usr/local/sbin/smbldap-userdel "%u"
  #delete group script = /usr/local/sbin/smbldap-groupdel "%g"

I (accidentally?) uncommented the first one, so there was an ldap filter in
place. (no idea what the filter exactly does, but the result was my having
all these problems)

Anyway, glad to be able to proceed again! Stupid me! :)

Mourik Jan


> -----Original Message-----
> From: Heupink, Mourik Jan C. [mailto:Heupink at INTECH.UNU.EDU] 
> Sent: 04 February 2005 10:39
> To: 'Bruno Guerreiro'
> Cc: 'samba at lists.samba.org'
> Subject: RE: [Samba] smbldap-populate failure
> 
> 
> oh yes, something important (maybe) that I forgot to mention...
> 
> the howto's tell me that the command to 'vampire' is:
> net rpc vampire -Uadministrator%adminpassword
> 
> this FAILS here. without an error or anything, the cursor is 
> simply returned immediately, and nothing at all happened.
> 
> then what did:
> added an administrator account to ldap, with my domain admin 
> password, and then issued the following:
> 
> net rpc vampire -S pdcname
> 
> that works, but with the errors as indicated earlier.
> 
> Apologies for not letting you know this in the first place. 
> (I simply forgot to mention it.)
> 
> Yours,
> Mourik Jan
> 
> > -----Original Message-----
> > From: Heupink, Mourik Jan C. [mailto:Heupink at INTECH.UNU.EDU]
> > Sent: 03 February 2005 22:09
> > To: 'Bruno Guerreiro'
> > Cc: 'samba at lists.samba.org'
> > Subject: RE: [Samba] smbldap-populate failure
> > 
> > 
> > Hi!
> > 
> > > You're missing UID_START= and GID_START=  but i think 
> that has been 
> > > superseede by NextFreeUnixId. When you ran the script, 
> the sid was 
> > > already defined, right? As the error seems to occur when 
> the userSID 
> > > is beeing generated.
> > You mean the sid of the current production nt4 domain in
> > smbldap.conf, right..? That's there, yes.
> > 
> > What would you like me to show you, that could help?
> > smb.conf? smbldap.conf? /var/log/warn containing the errors? 
> > I'm NOT using start tls (yet), what else would you like to know?
> > 
> > A bit off topic perhaps, but:
> > I wonder: shouldn't there be a script to modify a user? there
> > is "add user script", "delete user script", but no "modify 
> > user script". Is that right..?
> > 
> > Thanks for the help so far!
> > 
> > mj
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  https://lists.samba.org/mailman/listinfo/samba
> > 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
> 


More information about the samba mailing list