[Samba] Scripting the next UID/GID number to use

Marco Gaiarin gaio at sv.lnf.it
Wed May 30 13:48:17 UTC 2018


Mandi! Rowland Penny via samba
  In chel di` si favelave...

> If you just do a 'replace' it will do just that, it will replace the
> attribute value, even if something has managed to get in before you and
> changed it, so you could 'replace' the value with the same value.

> If you 'delete' the old value first and it isn't the value you think it
> is, the delete will fail and the entire update will fail.
> if you 'add' a new value and the 'delete' failed, the 'add' will fail
> because the attribute is singled valued and already exists.

Uh, wonderful, now it is perfectly clear.

And i've also noted, only now, that i can do a 'delete with value', i
was not aware of...


Thanks!

-- 
dott. Marco Gaiarin				        GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''          http://www.lanostrafamiglia.it/
  Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
  marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
      http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)



More information about the samba mailing list